[Pkg-rust-maintainers] Bug#837433: cargo: FTBFS with bindnow and PIE enabled

Balint Reczey balint at balintreczey.hu
Sun Sep 11 15:20:15 UTC 2016


Source: cargo
Version: 0.11.0-2
Severity: important
User: balint at balintreczey.hu
Usertags: pie-bindnow-20160906
Justification: FTBFS on amd64 with extra hardening

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64 with patched GCC and dpkg.

The rebuild tested if packages are ready for a transition
enabling PIE and bindnow for amd64.

For more information about the changes to sid's dpkg and GCC please
visit:
 https://wiki.debian.org/Hardening/PIEByDefaultTransition

Relevant part (hopefully):
...
   Compiling strsim v0.3.0 (registry file:///<<PKGBUILDDIR>>/vendor/index)
     Running `rustc .cargohome/registry/src/-797c7c204f0503ca/strsim-0.3.0/src/lib.rs --crate-name str
sim --crate-type lib -C opt-level=3 -C metadata=17a8c122310cffc9 -C extra-filename=-17a8c122310cffc9 -
-out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps --emit=dep-info,link --target x
86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps -L
 dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps --cap-lints allow -C link-ar
gs=-Wl,-z,relro -Wl,-z,now`
error: unknown lint: `l,_z,now`
note: requested on the command line with `-W l,_z,now`
error: aborting due to previous error
Build failed, waiting for other jobs to finish...
error: unknown lint: `l,_z,now`
note: requested on the command line with `-W l,_z,now`
error: aborting due to previous error
error: unknown lint: `l,_z,now`
note: requested on the command line with `-W l,_z,now`
error: aborting due to previous error
error: unknown lint: `l,_z,now`
note: requested on the command line with `-W l,_z,now`
error: aborting due to previous error
error: Could not compile `matches`.
...

The full build log is available from:
 https://people.debian.org/~rbalint/build-logs/pie-bindnow-20160906/cargo_0.11.0-2_amd64.build.gz

Thanks,
Balint



More information about the Pkg-rust-maintainers mailing list