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

Broken build for broot on aarch64-apple-darwin #255

Open
ilyagr opened this issue Jul 19, 2024 · 6 comments
Open

Broken build for broot on aarch64-apple-darwin #255

ilyagr opened this issue Jul 19, 2024 · 6 comments

Comments

@ilyagr
Copy link

ilyagr commented Jul 19, 2024

Installing broot 1.40.0 from QuickInstall on Mac OS Apple Silicon results in a broken build.

$ uname -a
Darwin macaw.local 23.5.0 Darwin Kernel Version 23.5.0: Wed May  1 20:14:38 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6020 arm64 arm Darwin

$ cargo binstall broot --force
 INFO resolve: Resolving package: 'broot'
 INFO resolve: Verified signature for package 'broot-1.40.0-aarch64-apple-darwin': timestamp:1721145288  file:broot-1.40.0-aarch64-apple-darwin.tar.gz    hashed
 WARN The package broot v1.40.0 (aarch64-apple-darwin) has been downloaded from third-party source QuickInstall
 INFO This will install the following binaries:
 INFO   - broot (broot -> /Users/ilyagr/.cargo/bin/broot)
Do you wish to continue? yes/[no]
? yes
 INFO Installing binaries...
 INFO Done in 3.464556292s

$ ~/.cargo/bin/broot
fish: Job 1, '~/.cargo/bin/broot' terminated by signal SIGILL (Illegal instruction)

OTOH, installing broot 1.40.0 with cargo install --locked --features clipboard broot works for me.

@NobodyXu
Copy link
Member

Our CI uses cargo-auditable to build the binary, I suppose that could be the problem?

@ilyagr
Copy link
Author

ilyagr commented Jul 19, 2024

I don't have an idea of what's going on, but I can perhaps test another binary if you try to do something differently.

I'm also wondering whether the Linux QuickInstall binary works. I don't currently have a good way to test x86 Linux binaries, but maybe I'll set some VM up.

@ilyagr ilyagr changed the title Broken build for broot Broken build for broot on aarch64-apple-darwin Jul 19, 2024
@ilyagr
Copy link
Author

ilyagr commented Jul 19, 2024

Actually, I realized I could test the Linux binary via a Codespace or Gitpod. The x86_64-unknown-linux-gnu broot binary seems to work OK.

@NobodyXu
Copy link
Member

I changed the CI to macOS 14 which uses M1, perhaps that will fix it

@NobodyXu
Copy link
Member

I've removed broot 1.40.0 aarch64-apple-darwin build, it should then be rebuilt later.

@ilyagr
Copy link
Author

ilyagr commented Jul 21, 2024

The newly recreated https://github.com/cargo-bins/cargo-quickinstall/releases/download/broot-1.40.0/broot-1.40.0-aarch64-apple-darwin.tar.gz still fails with the same message, unfortunately.

The x86 version runs OK via Rosetta.

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

No branches or pull requests

2 participants