You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to build a bundle, in Docker, using staticx+pyinstaller. The target is amd64 Linux; the host machine is an M2 Macbook Pro. In Gitlab CI, this builds and runs fine. In Docker for Mac (with Rosetta emulation enabled), this builds fine, but shows this error at run time:
rosetta error: failed to open elf at
bundle: Child exited for unknown reason! (wstatus == 5)
Hi Brett, sorry I failed to reply here. I don't have a Macbook so I can't really help here. The best I can do is point you at the troubleshooting guide and see if that helps you to gather any more information.
rosetta error: failed to open elf at
The fact that this line is truncated leaves me thinking that this is some deep incompatibility with Rosetta and the tricks that StaticX has to play. This is probably going to take some thorough investigation to understand what Rosetta is doing.
I'm attempting to build a bundle, in Docker, using staticx+pyinstaller. The target is amd64 Linux; the host machine is an M2 Macbook Pro. In Gitlab CI, this builds and runs fine. In Docker for Mac (with Rosetta emulation enabled), this builds fine, but shows this error at run time:
Minimal repro project here: https://github.com/brettdh/staticx-pyinstaller-rosetta-error-repro
Manual for now, but if I have time soon, I will set up Github Actions for Linux and Mac.
The text was updated successfully, but these errors were encountered: