-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug][linuxdeploy] Linux AppImage script fails #8929
Comments
ah probably related to linuxdeploy/linuxdeploy#272 Yes I confirm, running with |
Hello @doums I have the same issue on Arch Linux too. In Arch Linux do you know what is the linuxdeploy related package? I am using
but still getting that error. |
Hi @D3vil0p3r,
Sorry I'm not sure to understand the question. Nevertheless, the issue is related to linuxdeploy (which is used under the wood by tauri to generate the appimage bundle). As it seems to use a bundled Regarding your PKGBUILD it seems correct to me. Maybe try |
U understood the issue. Btw I already tried that solution but getting same error (you can try too, the source is public). |
Fix by using NO_STRIP=true pnpm tauri build |
Hello, I have come here to add in. If you are wondering why the command:
isn't fixing this, make sure you delete the |
This advice helped me on Arch Linux. Thank you very much! |
with network proxy opening, it also fixes it. |
How is |
Is that for a debug build or release? In release builds i don't even see a difference (on ubuntu). That said, we only consider this a valid workaround because so far it's only required on arch and fedora (and similar distros) which are not really suitable build systems for Linux applications due to https://tauri.app/v1/guides/building/linux/#limitations |
Yeah mine is 239 MB too |
Where/what file does NO_STRIP=true npm run tauri build get added? |
it's a cli command so wherever you typically run |
I wouldn't recommend doing that because you are going to get an app with 200-300 mb. Try to build your app via Github Actions like I did. |
Oddly, for me, this issue occurs in Distrobox (arch); however, it does not occur when building with GitHub Actions or directly(fedora). I will try Distrobox that is not arch too, perhaps arch is the issue. |
GitHub actions uses Ubuntu which is still fine. If your fedora install is on the latest version and fully updated it should also have the issue afaik but not sure. |
As I mention in the linuxdeploy issue, linuxdeploy/linuxdeploy#272 (comment), it is straightforward to patch the linuxdeploy AppImage to remove |
Describe the bug
Trying to build on Linux (amd64) for Linux (amd64), running
tauri build
is failing on AppImage step. I went through the list of existing issues on the topic, but couldn't find any relevant info to my specific caseI hit a bunch of
find: Permission denied
errors (why that script would require root access?) and a bunch ofstrip: Unable to recognise the format of the input file
Reproduction
cargo tauri build --verbose
Expected behavior
build and generate the AppImage
Full
tauri info
outputStack trace
Additional context
No response
The text was updated successfully, but these errors were encountered: