-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Raspbian Buster on RaspberryPi 4: ./xonsh: cannot execute binary file: Exec format error #18
Comments
Hello @jaraco! Thank you for reporting this! By default xonsh packed in AppImage app. And the error ( I suggest to try alternative way - standard tar packing: xxh +R xxh-shell-xonsh +I https://github.com/anki-code/xxh-shell-xonsh-zip # repack AppImage to `tar.bzip2`
xxh +L
# Returns: xxh-shell-xonsh-zip
# Try to connect with reinstalling packages:
xxh katsushiro +if +s xonsh-zip # option `+if` is needed once to reinstall xxh packages
# Next time connection:
xxh katsushiro +s xonsh-zip If it works for you I'll patch the xxh-shell-xonsh and |
Hi anki-code. Sorry it took some time to get around to this, but I'm looping back on it. Unfortunately,
I notice that |
Hi jaraco! We're using xonsh AppImage that contain both python3.8 and package (xonsh and requirements). The xxh is not using python from host. What I was done to create xonsh-zip is I repacked AppImage to zip archive because I thought that the error about exec format refer to AppImage. But now we see that the error refer to python3.8 that packed in archive. The AppImage was built with python-appimage on manylinux image. The libraries from this image cover many of Linux distributes. But in case with Raspbian Buster we see an error. This means that we should build AppImage and xxh-shell for this platform i.e. Sorry but I have no manual how to do it but I believe it's achievable by diving into python-appimage. Also it may be easy if there is a way to replace manylinux to Debian Raspbian Buster docker container. PS: you can put in this issue a bit more info if do |
Aha. I see. The issue is probably then that Raspbian (by virtue of being on RaspberryPi) is compiled for ARM64, so doesn't yet have manylinux support. I don't recall who referred me to xxh as a way to work around issues with xonsh on Raspbian, but it looks like there's a whole suite of supporting services that will need to mature before xxh can support this platform. I suggest to flag this as won't fix. Sorry for the distraction. Still, I'm glad to know about xxh. |
Got it! I'm going to reopen issue because it's not solved. Thanks! |
Local OS (where xxh is installed): macOS 10.15
Destination host OS: Raspbian Buster
xxh version: 0.8.6
xxh-plugins installed: None (unless homebrew installs them)
Steps to Reproduce
I'm brand new to xxh. Attempting to connect for the first time:
I'd previously used
xonsh
on the target host usingpipx
andchsh
, so there is a xonsh install at~/.local/bin/xonsh
. The user's shell is set to/bin/bash
.I'm on Raspbian Buster on RaspberryPi 4 (ARM).
Suggestions?
For community:
⬇️ Please click the 👍 reaction instead of leaving a
+1
or 👍 commentThe text was updated successfully, but these errors were encountered: