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

v25.0.0 breaks linux AppImage build #8351

Closed
arantes555 opened this issue Jul 18, 2024 · 11 comments · Fixed by #8353, #8343 or #8387
Closed

v25.0.0 breaks linux AppImage build #8351

arantes555 opened this issue Jul 18, 2024 · 11 comments · Fixed by #8353, #8343 or #8387

Comments

@arantes555
Copy link

  • Electron-Builder Version: 25.0.0
  • Node Version: tried multiple versions
  • Electron Version: 31.2.1
  • Electron Type (current, beta, nightly): current
  • Target: Linux AppImage

When building with electron-builder 25.0.0, the resulting AppImage fails to launch on Debian 12, with the following error:

Squashfs image uses (null) compression, this version supports only xz, zlib.
Cannot mount AppImage, please check your FUSE setup.
You might still be able to extract the contents of this AppImage
if you run it with the --appimage-extract option.
See https://github.com/AppImage/AppImageKit/wiki/FUSE
for more information
open dir error: No such file or directory

When rolling-back electron-builder to 24.13.3, the built AppImage launches without problem.

This seems related to #6678 or #6624.

@mmaietta
Copy link
Collaborator

Thanks for the report!

@beyondkmp I think we may need to downgrade app-builder-bin to use AppImage 12.0.0 since this error is due to 13.0.0
develar/app-builder#113

What are your thoughts?

@mmaietta
Copy link
Collaborator

Found an alternative route using current mksquashfs version, just seems to need this PR to resolve develar/app-builder#123

Tested locally using CUSTOM_APP_BUILDER_PATH=/Users/mmaietta/Development/app-builder/mac/app-builder_arm64 yarn app:pack -- -l to generate an AppImage with the app-builder changes locally

@mmaietta
Copy link
Collaborator

Alrighty, the fix should be in 25.0.1 once it deploys!

@arantes555
Copy link
Author

@mmaietta Sorry but this seems to be still broken in 25.0.2 :/ I still get the same error message.

@mmaietta
Copy link
Collaborator

@beyondkmp would you be willing to take a look at this? I was unable to reproduce on my ParallelsVM with AppImage builds during my local testing

@mmaietta mmaietta reopened this Jul 24, 2024
@mmaietta
Copy link
Collaborator

@arantes555 can you share a minimum reproducible repo? Or at least your electron-builder configuration? Trying to discern how to repro this locally

@arantes555
Copy link
Author

@mmaietta here is a repo with a reproduction : https://github.com/arantes555/electron-builder-issue8351

I based it on our project and cut most of everything, sorry if I didn't make it 100% as minimal as possible.

@arantes555
Copy link
Author

@mmaietta if there is anything else I can do, to help you reproduce, or to test a potential fix on my side, do let me know :)

@mmaietta
Copy link
Collaborator

Alright, I've pushed a fix but am waiting on another PR to (hopefully) get included today/tomorrow in this next patch release. Then will redeploy a new release.

@mmaietta
Copy link
Collaborator

Please try 25.0.3. This should be the same appimage binary being used in app-builder-bin 4.0

@arantes555
Copy link
Author

@mmaietta Yep, seems to work ! Thank you ! Closing this now :)

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