Closed mojolo closed 10 months ago
I have the same problem on my x86_64 Arch Linux.
znit
gh-r
downloads the wrong arch version for mcfly. It downloads mcfly-v0.8.1-aarch64-unknown-linux-gnu.tar.gz
.
Here's the install code (from mcfly doc):
zinit ice lucid wait"0a" from"gh-r" as"program" atload'eval "$(mcfly init zsh)"'
zinit light cantino/mcfly
zinit output:
Downloading cantino/mcfly…
(Requesting `mcfly-v0.8.1-aarch64-unknown-linux-gnu.tar.gz'…)
####################################################################################################################### 100.0%
[ziextract] Unpacking the files from: `mcfly-v0.8.1-aarch64-unknown-linux-gnu.tar.gz'…
[ziextract] Successfully extracted and assigned +x chmod to the file: mcfly.
When I run mcfly
, zsh
outputs the following:
❯ mcfly
zsh: exec format error: mcfly
mcfly_prompt_command:14: exec format error: /home/xun/.local/share/zinit/plugins/cantino---mcfly/mcfly
Operating System & Version:
OS: linux-gnu | Vendor: pc | Machine: x86_64 | CPU: x86_64 | Processor: unknown | Hardware: x86_64
Zsh version:
zsh 5.9 (x86_64-pc-linux-gnu)
Terminal emulator:
xterm-256color (alacritty)
@Xunop,
Thank you for reporting! I have added a mcfly
test.
@mojolo,
I have fixed this bug.
:tada: This issue has been resolved in version 3.12.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
What happened?
On my x86_64 system running Kubuntu 23.04,
znit
gh-r
downloads the wrong arch version for navi. It downloadsnavi-v2.22.1-aarch64-unknown-linux-gnu.tar.gz
instead ofnavi-v2.22.1-x86_64-unknown-linux-musl.tar.gz
.Similar bug report: #374
Steps to reproduce
I'm using the
binary-symlink
annex to load navi. It downloads the correct arch for all the other bins I load. Here's the snippet from my.zshrc
:Relevant output
Here's the
zinit
output when installing:Here's the
zsh
output when trying to execute theaarch64
version ofnavi
:Operating System & Version
OS: linux-gnu | Vendor: ubuntu | Machine: x86_64 | CPU: x86_64 | Processor: x86_64 | Hardware: x86_64
Zsh version
zsh 5.9 (x86_64-ubuntu-linux-gnu)
Terminal emulator
xterm-256color (tilix)
Code of Conduct