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

[Bug]: Error failed to bundle project: error running appimage.sh #223

Open
yvanzo opened this issue Mar 18, 2024 · 2 comments
Open

[Bug]: Error failed to bundle project: error running appimage.sh #223

yvanzo opened this issue Mar 18, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@yvanzo
Copy link

yvanzo commented Mar 18, 2024

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
@yvanzo yvanzo added the bug Something isn't working label Mar 18, 2024
@pwltr
Copy link
Owner

pwltr commented Mar 19, 2024

Hey it looks like you've got a solution? Would you like to open a PR for review?

@yvanzo
Copy link
Author

yvanzo commented Mar 20, 2024

I would have opened a PR if I had a solution. Is the build failing just for me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants