tech-pkg archive

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

rust 1.33.0 bootstrap fails on NetBSD/aarch64 (Re: CVS commit: pkgsrc/lang/rust)



Hi,

Bootstrap fails on NetBSD/aarch64 (built from -HEAD as of today):

----
% cd /usr/pkgsrc/lang/rust && make
...
RuntimeError: failed to run: /build/pkgsrc/lang/rust/work.aarch64/rust-bootstrap/bin/cargo build --manifest-path /build/pkgsrc/lang/rust/work.aarch64/rustc-1.33.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
----

Here, rustc cannot find shared libraries:

----
% /build/pkgsrc/lang/rust/work.aarch64/rust-bootstrap/bin/rustc -vV
/build/pkgsrc/lang/rust/work.aarch64/rust-bootstrap/bin/rustc: Shared object "librustc_driver-a2d819b432607e40.so" not found
% ldd /build/pkgsrc/lang/rust/work.aarch64/rust-bootstrap/bin/rustc
/build/pkgsrc/lang/rust/work.aarch64/rust-bootstrap/bin/rustc:
        -lrustc_driver-a2d819b432607e40 => not found
        -lstd-de3e806b77351a11 => not found
        -lc.12 => /lib/libc.so.12
----

However, these libraries exist in working directories:

----
% find /build/pkgsrc/lang/rust/work.aarch64 -name 'librustc_driver-a2d819b432607e40.so'
/build/pkgsrc/lang/rust/work.aarch64/rust-1.33.0-aarch64-unknown-netbsd/rustc/lib/librustc_driver-a2d819b432607e40.so
/build/pkgsrc/lang/rust/work.aarch64/rust-1.33.0-aarch64-unknown-netbsd/rust-std-aarch64-unknown-netbsd/lib/rustlib/aarch64-unknown-netbsd/lib/librustc_driver-a2d819b432607e40.so
/build/pkgsrc/lang/rust/work.aarch64/rust-bootstrap/lib/rustlib/aarch64-unknown-netbsd/lib/librustc_driver-a2d819b432607e40.so
/build/pkgsrc/lang/rust/work.aarch64/rust-bootstrap/lib/librustc_driver-a2d819b432607e40.so
/build/pkgsrc/lang/rust/work.aarch64/rust-std-1.33.0-aarch64-unknown-netbsd/rust-std-aarch64-unknown-netbsd/lib/rustlib/aarch64-unknown-netbsd/lib/librustc_driver-a2d819b432607e40.so
----

Am I missing something?

Thanks,
rin

On 2019/03/04 7:23, Havard Eidnes wrote:
Module Name:	pkgsrc
Committed By:	he
Date:		Sun Mar  3 22:23:53 UTC 2019

Modified Files:
	pkgsrc/lang/rust: Makefile distinfo

Log Message:
Bump bootstrap kit for NetBSD/aarch64 to 1.33.0, for NetBSD/aarch64 8.99.34.


To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 pkgsrc/lang/rust/Makefile
cvs rdiff -u -r1.61 -r1.62 pkgsrc/lang/rust/distinfo


Home | Main Index | Thread Index | Old Index