tauthy
tauthy copied to clipboard
[Bug]: Error failed to bundle project: error running appimage.sh
Describe the bug
Failed to build the app by following the instructions to build from source.
Side-note: The field labeled Tauthy version in the issue template is stuck at v0.2.3
.
Reproduce
git clone --recurse-submodules https://github.com/pwltr/tauthy.git
cd tauthy
yarn install
yarn tauri build
Tauthy version
v0.2.3
Operating system
Linux
Log output
yarn tauri build
Compiling tauri-plugin-stronghold v0.1.0 (/ho/me/tauthy/tauri-plugin-stronghold)
warning: variable does not need to be mutable
--> /ho/me/tauthy/tauri-plugin-stronghold/src/stronghold.rs:829:33
|
829 | async fn clear_stronghold_cache(mut runtime: &mut ActorRuntime, persist: bool) -> Result<()> {
| ----^^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
warning: `tauri-plugin-stronghold` (lib) generated 1 warning (run `cargo fix --lib -p tauri-plugin-stronghold` to apply 1 suggestion)
Finished release [optimized] target(s) in 6m 07s
warning: the following packages contain code that will be rejected by a future version of Rust: snow v0.8.0
note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
Bundling tauthy_0.2.7_amd64.deb (/ho/me/tauthy/src-tauri/target/release/bundle/deb/tauthy_0.2.7_amd64.deb)
Bundling tauthy_0.2.7_amd64.AppImage (/ho/me/tauthy/src-tauri/target/release/bundle/appimage/tauthy_0.2.7_amd64.AppImage)
Error failed to bundle project: error running appimage.sh
cd tauri-plugin-stronghold && cargo fix --lib -p tauri-plugin-stronghold
Checking tauri-plugin-stronghold v0.1.0 (/ho/me/tauthy/tauri-plugin-stronghold)
Fixed src/stronghold.rs (1 fix)
Finished dev [unoptimized + debuginfo] target(s) in 2m 16s
warning: the following packages contain code that will be rejected by a future version of Rust: snow v0.8.0
note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
cd - && yarn tauri build
Running beforeBuildCommand `yarn build`
The CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
vite v5.0.2 building for production...
✓ 1861 modules transformed.
dist/index.html 0.32 kB │ gzip: 0.23 kB
dist/assets/icon-round-bordered-KG9XE7dv.png 153.64 kB
dist/assets/index-nRc-zUoX.js 1,721.53 kB │ gzip: 599.56 kB
(!) Some chunks are larger than 500 kB after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
✓ built in 5.04s
Compiling tauri-plugin-stronghold v0.1.0 (/ho/me/tauthy/tauri-plugin-stronghold)
Compiling tauthy v0.2.7 (/ho/me/tauthy/src-tauri)
Finished release [optimized] target(s) in 32.87s
warning: the following packages contain code that will be rejected by a future version of Rust: snow v0.8.0
note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
Bundling tauthy_0.2.7_amd64.deb (/ho/me/tauthy/src-tauri/target/release/bundle/deb/tauthy_0.2.7_amd64.deb)
Bundling tauthy_0.2.7_amd64.AppImage (/ho/me/tauthy/src-tauri/target/release/bundle/appimage/tauthy_0.2.7_amd64.AppImage)
Error failed to bundle project: error running appimage.sh
Hey it looks like you've got a solution? Would you like to open a PR for review?
I would have opened a PR if I had a solution. Is the build failing just for me?