Could not determine LLVM version from llvm-config
I could reproduce that issue on arm64/aarch64 Debian. The error looks like:
#0 226.8 error: failed to run custom build command for `llvm-sys v140.0.2`
#0 226.8
#0 226.9 process didn't exit successfully: `/tmp/cargo-installo2SmB6/release/build/llvm-sys-ab6cf1e2b1c2bf54/build-script-build` (exit status: 101)
#0 226.9 --- stdout
#0 226.9 cargo:rerun-if-env-changed=LLVM_SYS_140_PREFIX
#0 226.9 cargo:rerun-if-env-changed=LLVM_SYS_140_IGNORE_BLOCKLIST
#0 226.9 cargo:rerun-if-env-changed=LLVM_SYS_140_STRICT_VERSIONING
#0 226.9 cargo:rerun-if-env-changed=LLVM_SYS_140_NO_CLEAN_CFLAGS
#0 226.9 cargo:rerun-if-env-changed=LLVM_SYS_140_USE_DEBUG_MSVCRT
#0 226.9 cargo:rerun-if-env-changed=LLVM_SYS_140_FFI_WORKAROUND
#0 226.9
#0 226.9 --- stderr
#0 226.9 thread 'main' panicked at 'Could not determine LLVM version from llvm-config.', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/llvm-sys-140.0.2/build.rs:229:10
#0 226.9 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
#0 226.9 warning: build failed, waiting for other jobs to finish...
#0 246.6 error: failed to compile `bpf-linker v0.9.4 (https://github.com/aya-rs/bpf-linker?tag=v0.9.4#0ecf2f04)`, intermediate artifacts can be found at `/tmp/cargo-installo2SmB6`
#0 247.2 make: *** [Makefile:5: setup] Error 101
#0 247.2 make: Leaving directory '/parca-agent/bpf'