Skip to content
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

AppImage fails to build on Arch Linux #71

Open
esmersmith opened this issue May 8, 2024 · 1 comment
Open

AppImage fails to build on Arch Linux #71

esmersmith opened this issue May 8, 2024 · 1 comment

Comments

@esmersmith
Copy link
Contributor

When running npm run tauri build on Arch Linux, the AppImage fails to build with:

Error failed to bundle project: error running appimage.sh

Running with the verbose flag shows the underlying issue (truncated for brevity):

Calling strip on library lrcget.AppDir/usr/lib/libxslt.so.1 

ERROR: Strip call failed: /tmp/appimage_extracted_f792e8e8b92755a0433a3895ce0e35fc/usr/bin/strip: lrcget.AppDir/usr/lib/libxslt.so.1: unknown type [0x13] section `.relr.dyn'

/tmp/appimage_extracted_f792e8e8b92755a0433a3895ce0e35fc/usr/bin/strip: Unable to recognise the format of the input file `lrcget.AppDir/usr/lib/libxslt.so.1'

Calling strip on library lrcget.AppDir/usr/lib/libyuv.so 
Calling strip on library lrcget.AppDir/usr/lib/libzstd.so.1 
       Error [tauri_cli_node] failed to bundle project: error running appimage.sh

I did some digging and it looks like it's an issue with linuxdeploy and has caused issues in other libraries depending on it. This likely hasn't been encountered yet as the last commit was prior to the linuxdeploy update in Debian. I suspect by now this change is in Debian and the next build will fail. Until the issue is resolved in linuxdeploy, the AppImage will compile if NO_STRIP=true is in the build environment.

@tranxuanthang
Copy link
Owner

There are more similar issues on upstream such as this one: tauri-apps/tauri#8929, they also suggest NO_STRIP=true.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants