Open nickeb96 opened 1 year ago
It also can't be installed with brew install austinjones/taps/tab
anymore.
==> Installing austinjones/taps/tab
==> cargo install tab/
Last 15 lines from /Users/Nick/Library/Logs/Homebrew/tab/01.cargo:
Compiling which v4.0.2
Compiling toml_edit v0.2.0
error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/opt/homebrew/Cellar/rust/1.70.0/lib/rustlib/aarch64-apple-darwin/bin:/opt/homebrew/Library/Homebrew/shims/mac/super:/opt/homebrew/opt/rust/bin:/usr/bin:/bin:/usr/sbin:/sbin" VSLANG="1033" ZERO_AR_DATE="1" "cc" "-arch" "arm64" "/private/tmp/rustcJAhZ4z/symbols.o" "/private/tmp/tab-20230625-31271-1735vbc/tab-rs-0.5.7/target/release/deps/tab-f363be1fa3f1e01e.tab.562d9761-cgu.1.rcgu.o" "-L" "/private/tmp/tab-20230625-31271-1735vbc/tab-rs-0.5.7/target/release/deps" "-L" "/opt/homebrew/Cellar/rust/1.70.0/lib/rustlib/aarch64-apple-darwin/lib" "/opt/homebrew/Cellar/rust/1.70.0/lib/rustlib/aarch64-apple-darwin/lib/libcompiler_builtins-78d8acd8481e50c0.rlib" "-framework" "IOKit" "-framework" "CoreFoundation" "-lSystem" "-lc" "-lm" "-L" "/opt/homebrew/Cellar/rust/1.70.0/lib/rustlib/aarch64-apple-darwin/lib" "-o" "/private/tmp/tab-20230625-31271-1735vbc/tab-rs-0.5.7/target/release/deps/tab-f363be1fa3f1e01e" "-Wl,-dead_strip" "-nodefaultlibs"
= note: Undefined symbols for architecture arm64:
"_statfs$INODE64", referenced from:
_$LT$sysinfo..mac..system..System$u20$as$u20$sysinfo..traits..SystemExt$GT$::new_with_specifics::h22f3a7979dc5094e in tab-f363be1fa3f1e01e.tab.562d9761-cgu.1.rcgu.o
_$LT$core..iter..adapters..flatten..FlatMap$LT$I$C$U$C$F$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$::next::h6f89117358276c00 in tab-f363be1fa3f1e01e.tab.562d9761-cgu.1.rcgu.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: could not compile `tab` (bin "tab") due to previous error
error: failed to compile `tab v0.5.7 (/private/tmp/tab-20230625-31271-1735vbc/tab-rs-0.5.7/tab)`, intermediate artifacts can be found at `/private/tmp/tab-20230625-31271-1735vbc/tab-rs-0.5.7/target`
If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
https://github.com/austinjones/homebrew-taps/issues
I can confirm these issues on:
Tthere is no linuxbrew for aarch64: Homebrew on Linux is not supported on ARM processors.
.
I cannot find prebuilt binaries for aarch64 in Github Releases (last release is over 2 years old, too).
If you don't mind @nickeb96, can you try building on x86_64 Linux? (e.g. with https://mac.getutm.app or https://lima-vm.io with custom config)
Checking out repo locally and running cargo build --release
works (since cargo install
ignores Cargo.lock, while cargo build
doesn't).
If you trust me enough:
SOLUTION: cargo install tab --locked