cool-easter-32542
12/22/2023, 12:19 AM./scie-pants-macos-aarch64 or install via get-pants.sh, then running ./scie-pants-macos-aarch64 or pants, we get:
dyld[69639]: Library not loaded: /opt/homebrew/opt/xz/lib/liblzma.5.dylib
Referenced from: <2077079D-7541-3421-8EEB-DB3F2CC8F35C> /Users/ctsai/.local/bin/pants
Reason: tried: '/opt/homebrew/opt/xz/lib/liblzma.5.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/xz/lib/liblzma.5.dylib' (no such file), '/opt/homebrew/opt/xz/lib/liblzma.5.dylib' (no such file)
[1] 69639 abort pants
It looks like xz is a required dependency but it's not mentioned.
Installing via brew resolves this:
/opt/homebrew/bin/brew install xz
Given scie-pants is supposed to be standalone, I would have expected to be able to use it directly without having to install something else. brew doesn't seem like a hard requirement? It looks like most people don't encounter this issue because xz is pulled in by other packages often installed via brew.
Pants version
Following the install instructions from v2.18
OS
macOS Ventura 13.6.2,
Additional info
N/A
pantsbuild/pants