tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Rust broken again!
Folks,
once again rust is not buildable for me. This is due to the fact that pkgsrc
does not allow $ORIGIN shared lirbary refs.
This is a stupid decision and we really should be more flexible, independ
of whether the *final* pkgsrc binaries are allowed to have relative paths
(and I am not exactly sure why we try to enforce it there either).
Due to a *very* stupid decision (that I have complained upstream about,
but was recieved ... not well) by the librsvg folks, this breaks most
of my pkgs.
Help!
Martin
===> Building for rust-1.38.0
[..]
running: /usr/pkgobj/lang/rust/work/rust-bootstrap/bin/cargo build --manifest-path /usr/pkgobj/lang/rust/work/rustc-1.38.0-src/src/bootstrap/Cargo.toml --frozen
error: process didn't exit successfully: `/usr/pkgobj/lang/rust/work/rust-bootstrap/bin/rustc -vV` (exit code: 1)
--- stdout
rustc 1.37.0
binary: rustc
commit-hash: unknown
commit-date: unknown
host: sparc64-unknown-netbsd
release: 1.37.0
--- stderr
error: couldn't load codegen backend "/usr/pkgobj/lang/rust/work/rust-bootstrap/lib/rustlib/sparc64-unknown-netbsd/codegen-backends/librustc_codegen_llvm-llvm.so": "/usr/pkgobj/lang/rust/work/rust-bootstrap/lib/rustlib/sparc64-unknown-netbsd/codegen-backends/librustc_codegen_llvm-llvm.so: Shared object \"libLLVM-7.so\" not found"
Traceback (most recent call last):
File "./x.py", line 11, in <module>
bootstrap.main()
File "/usr/pkgobj/lang/rust/work/rustc-1.38.0-src/src/bootstrap/bootstrap.py", line 873, in main
bootstrap(help_triggered)
File "/usr/pkgobj/lang/rust/work/rustc-1.38.0-src/src/bootstrap/bootstrap.py", line 844, in bootstrap
build.build_bootstrap()
File "/usr/pkgobj/lang/rust/work/rustc-1.38.0-src/src/bootstrap/bootstrap.py", line 655, in build_bootstrap
run(args, env=env, verbose=self.verbose)
File "/usr/pkgobj/lang/rust/work/rustc-1.38.0-src/src/bootstrap/bootstrap.py", line 141, in run
raise RuntimeError(err)
RuntimeError: failed to run: /usr/pkgobj/lang/rust/work/rust-bootstrap/bin/cargo build --manifest-path /usr/pkgobj/lang/rust/work/rustc-1.38.0-src/src/bootstrap/Cargo.toml --frozen
*** Error code 1
Stop.
make[1]: stopped in /usr/pkgsrc/lang/rust
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/lang/rust
Home |
Main Index |
Thread Index |
Old Index