Building on linux failed on linuxdeploy #12960
-
Hey it's me again sorry for all the message I'm trying to understand how Tauri works 😅 In any case thanks for the help and for this piece of software :) I have built my application for window both Now I'm trying with Linux (I'm using arch) but I have an error when the project needs to run Finished `release` profile [optimized] target(s) in 1m 34s
Built application at: /home/a2n/samus/postier/postier-app/src-tauri/target/release/tauri-app
Bundling Postier_1.0.0_amd64.deb (/home/a2n/samus/postier/postier-app/src-tauri/target/release/bundle/deb/Postier_1.0.0_amd64.deb)
Bundling Postier-1.0.0-1.x86_64.rpm (/home/a2n/samus/postier/postier-app/src-tauri/target/release/bundle/rpm/Postier-1.0.0-1.x86_64.rpm)
Bundling Postier_1.0.0_amd64.AppImage (/home/a2n/samus/postier/postier-app/src-tauri/target/release/bundle/appimage/Postier_1.0.0_amd64.AppImage)
failed to bundle project: `failed to run linuxdeploy`
Error failed to bundle project: `failed to run linuxdeploy`
ELIFECYCLE Command failed with exit code 1. I have installed the prerequisite like the doc say (here), After the first attempt, I have installed the Now I run Some of the log from the command when run with Debug [globset] built glob set; 1 literals, 6 basenames, 5 extensions, 0 prefixes, 0 suffixes, 0 required extensions, 8 regexes
Debug [ignore::walk] ignoring /home/a2n/samus/postier/postier-app/.gitignore: Ignore(IgnoreMatch(Hidden))
Debug [ignore::gitignore] opened gitignore file: /home/a2n/samus/postier/postier-app/src-tauri/.gitignore
Debug [globset] built glob set; 2 literals, 0 basenames, 0 extensions, 0 prefixes, 0 suffixes, 0 required extensions, 0 regexes
Running [tauri_cli::helpers] beforeBuildCommand `pnpm build`
Debug [tauri_cli::helpers] Setting environment for hook {"TAURI_ENV_PLATFORM_VERSION": "Rolling Release", "TAURI_ENV_TARGET_TRIPLE": "x86_64-unknown-linux-gnu", "TAURI_ENV_PLATFORM": "linux", "TAURI_ENV_FAMILY": "unix", "TAURI_ENV_ARCH": "x86_64"}
Running [tauri_cli] Command `sh -c pnpm build` A lot of error have this format: Calling strip on library /home/a2n/samus/postier/postier-app/src-tauri/target/release/bundle/appimage/Postier.AppDir/usr/lib/libzstd.so.1
ERROR: Strip call failed: /tmp/appimage_extracted_5a27dadc81a3abf452534fdbee9c58ee/usr/bin/strip: /home/a2n/samus/postier/postier-app/src-tauri/target/release/bundle/appimage/Postier.AppDir/usr/lib/libzstd.so.1: unknown type [0x13] section `.relr.dyn'
/tmp/appimage_extracted_5a27dadc81a3abf452534fdbee9c58ee/usr/bin/strip: Unable to recognise the format of the input file `/home/a2n/samus/postier/postier-app/src-tauri/target/release/bundle/appimage/Postier.AppDir/usr/lib/libzstd.so.1' So I wonder if I miss just some package since the log say If needed, my repo is here: https://github.com/bouteillerAlan/postier |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
See #8929 - you can run it with the |
Beta Was this translation helpful? Give feedback.
See #8929 - you can run it with the
NO_STRIP=true
env var set to get rid of the error. (note that appimages build on arch can't really be distributed due to glibc)