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

AppImages made for x86 don't run via Rosetta #821

Closed
georgeboot opened this issue Nov 23, 2023 · 3 comments
Closed

AppImages made for x86 don't run via Rosetta #821

georgeboot opened this issue Nov 23, 2023 · 3 comments
Labels
t/bug Something isn't working
Milestone

Comments

@georgeboot
Copy link

Describe the bug

I have an AppImage made for x86, but when running it with Orbstack, I get the following error:

cannot execute binary file: Exec format error

I believe this is due to AppImage/AppImageKit#965

To Reproduce

  1. Download https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage
  2. Bake it into a docker container (I used ubuntu)
  3. Run /path/to/appimagetool-x86_64.AppImage in the container, on an M-based Mac

Expected behavior

Rosetta picks it up and executes the AppImage

Diagnostic report (REQUIRED)

OrbStack info:
Version: 1.1.0
Commit: bfae870a3b9d4fba5c1c26711ac5a5b9183bdb74 (v1.1.0)

System info:
macOS: 14.1.1 (23B81)
CPU: arm64, 10 cores
CPU model: Apple M1 Pro
Model: MacBookPro18,1
Memory: 32 GiB

Full report: https://orbstack.dev/_admin/diag/orbstack-diagreport_2023-11-23T13-50-42.747206Z.zip

Screenshots and additional context (optional)

No response

@georgeboot georgeboot added the t/bug Something isn't working label Nov 23, 2023
@kdrag0n
Copy link
Member

kdrag0n commented Nov 24, 2023

Fixed for the next version:

$ ./appimagetool-x86_64.AppImage -h
Usage:
  appimagetool [OPTION?] SOURCE [DESTINATION] - Generate, extract, and inspect AppImages

Help Options:
  -h, --help                  Show help options

Application Options:
  -l, --list                  List files in SOURCE AppImage
  -u, --updateinformation     Embed update information STRING; if zsyncmake is installed, generate zsync file
  -g, --guess                 Guess update information based on Travis CI or GitLab environment variables
  --bintray-user              Bintray user name
  --bintray-repo              Bintray repository
  --version                   Show version number
  -v, --verbose               Produce verbose output
  -s, --sign                  Sign with gpg[2]
  --comp                      Squashfs compression
  --mksquashfs-opt            Argument to pass through to mksquashfs; can be specified multiple times
  -n, --no-appstream          Do not check AppStream metadata
  --exclude-file              Uses given file as exclude file for mksquashfs, in addition to .appimageignore.
  --runtime-file              Runtime file to use
  --sign-key                  Key ID to use for gpg[2] signatures

@kdrag0n kdrag0n closed this as completed Nov 24, 2023
@kdrag0n kdrag0n added this to the v1.1.1 milestone Nov 24, 2023
@kdrag0n
Copy link
Member

kdrag0n commented Dec 4, 2023

Released in v1.2.0 Canary 1.

@kdrag0n
Copy link
Member

kdrag0n commented Dec 20, 2023

Released in v1.2.0.

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

No branches or pull requests

2 participants