tech-pkg archive

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

Rust broken again!


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.



===> 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/": "/usr/pkgobj/lang/rust/work/rust-bootstrap/lib/rustlib/sparc64-unknown-netbsd/codegen-backends/ Shared object \"\" not found"

Traceback (most recent call last):
  File "./", line 11, in <module>
  File "/usr/pkgobj/lang/rust/work/rustc-1.38.0-src/src/bootstrap/", line 873, in main
  File "/usr/pkgobj/lang/rust/work/rustc-1.38.0-src/src/bootstrap/", line 844, in bootstrap
  File "/usr/pkgobj/lang/rust/work/rustc-1.38.0-src/src/bootstrap/", 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/", 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

make[1]: stopped in /usr/pkgsrc/lang/rust
*** Error code 1

make: stopped in /usr/pkgsrc/lang/rust

Home | Main Index | Thread Index | Old Index