pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

not a PIE errors with rust-bin



While trying to upgrade rust-bin I get these errors:

=> Checking for PIE in rust-bin-1.56.1
ERROR: lib/rustlib/x86_64-unknown-netbsd/bin/llc: not a PIE
ERROR: lib/rustlib/x86_64-unknown-netbsd/bin/llvm-ar: not a PIE
ERROR: lib/rustlib/x86_64-unknown-netbsd/bin/llvm-as: not a PIE
ERROR: lib/rustlib/x86_64-unknown-netbsd/bin/llvm-cov: not a PIE
ERROR: lib/rustlib/x86_64-unknown-netbsd/bin/llvm-dis: not a PIE
ERROR: lib/rustlib/x86_64-unknown-netbsd/bin/llvm-nm: not a PIE
ERROR: lib/rustlib/x86_64-unknown-netbsd/bin/llvm-objcopy: not a PIE
ERROR: lib/rustlib/x86_64-unknown-netbsd/bin/llvm-objdump: not a PIE
ERROR: lib/rustlib/x86_64-unknown-netbsd/bin/llvm-profdata: not a PIE
ERROR: lib/rustlib/x86_64-unknown-netbsd/bin/llvm-readobj: not a PIE
ERROR: lib/rustlib/x86_64-unknown-netbsd/bin/llvm-size: not a PIE
ERROR: lib/rustlib/x86_64-unknown-netbsd/bin/llvm-strip: not a PIE
ERROR: lib/rustlib/x86_64-unknown-netbsd/bin/opt: not a PIE

I had rust-bin-1.54.0 installed, but firefox build raises the following
error, hence thought of upgrading rust-bin first:

/usr/pkg/bin/cargo rustc  --release --frozen --manifest-path
/usr/local/netbsd/work/www/firefox/work/firefox-96.0.2/toolkit/library/rust/Cargo.toml
-vv -j1 -j1 --lib --target=x86_64-unknown-netbsd --features
'cubeb_pulse_rust moz_places webrtc glean_with_gecko glean_disable_upload'
--  -Clto
error: The argument '--jobs <N>' was provided more than once, but cannot
be used multiple times

USAGE:
    cargo rustc --features <FEATURES>... --frozen --jobs <N> --lib
--manifest-path <PATH> --release --target <TRIPLE>... --verbose


Is it right to try and upgrade rust-bin first or is it some other issue?
Either way, how to resolve the same?

-- 
Mayuresh


Home | Main Index | Thread Index | Old Index