[Pkg-rust-maintainers] 1.7 nightly builds/tests ok but fails "binary" target

Ximin Luo infinity0 at debian.org
Wed Jan 6 04:02:38 UTC 2016

On 04/01/16 12:43, Luca BRUNO wrote:
> On Monday, January 04, 2016 11:44:02 AM Ximin Luo wrote:
>> I auto-generated source tarballs out of current git using the attached
>> script. It builds fine but fails during "fakeroot debian/rules binary". I
>> don't have time to debug it right now but I thought perhaps the error would
>> be more easily recognised by someone else.
> Two (not-checked) ides:
> 1) Try adding --disable-rpath to configure options, due to
>    https://github.com/rust-lang/rust/pull/30353
> 2) Have the libraries been moved in the hierarchy? As in
>> # Replace duplicated compile-time/run-time dylibs with symlinks
>> ln -sf ../../../x86_64-linux-gnu/libarena-17a8ccbd.so /build/rustc-1.7.0~~nightly.20160103+dfsg1/debian/tmp/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libarena-17a8ccbd.so
>> ls: cannot access debian/libstd-rust-1.7.0~~nightly.201601/usr/lib/x86_64-linux-gnu/lib*.so: No such file or directory

Oh I figured it out, it was a combination of my upgrade script being buggy (forgot to update libstd-rust version) and debian/rules being too strict in how it calculates RUST_VERSION.

Will upload builds soon.



More information about the Pkg-rust-maintainers mailing list