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

Ximin Luo infinity0 at debian.org
Wed Jan 6 11:36:15 UTC 2016


On 06/01/16 05:02, Ximin Luo wrote:
> Will upload builds soon.

OK, I managed to compile amd64 successfully, they are here:

https://people.debian.org/~infinity0/apt/pool/contrib/r/rustc/

However I get failures compiling for i386 (i686):

$ sudo cowbuilder --build rustc_1.7.0~~nightly.20160105+dfsg1-1.dsc --basepath /home/pbuilder/base-sid-i386.cow --binary-arch
[..]
  COMPILE:   triple/builtins/i386: /build/rustc-1.7.0~~nightly.20160105+dfsg1/src/compiler-rt/lib/builtins/absvdi2.c
gcc -I/build/rustc-1.7.0~~nightly.20160105+dfsg1/src/compiler-rt/lib -I/build/rustc-1.7.0~~nightly.20160105+dfsg1/src/compiler-rt/include -Wall -g -fPIC -m32 -g -O2 -fstack-protector-strong -Wformat =format-security -std=c99 -c -o /build/rustc-1.7.0~~nightly.20160105+dfsg1/i686-unknown-linux-gnu/rt/compiler-rt/triple/builtins/i386/SubDir.lib__builtins/absvdi2.o /build/rustc-1.7.0~~nightly.20160105+dfsg1/src/compiler-rt/lib/builtins/absvdi2.c
gcc: error: =format-security: No such file or directory


Normally this should be -Werror=format-security. Digging around a bit gets me this:

mk/rt.mk
# This also removes the -Werror flag specifically to prevent errors during
# configuration.

Not sure the best way to solve it:

1. Remove this functionality that removes -Werror
2. Fix this functionality to remove -Werror(?:=\S*)? instead.

Thoughts?

X

-- 
GPG: 4096R/1318EFAC5FBBDBCE
git://github.com/infinity0/pubkeys.git



More information about the Pkg-rust-maintainers mailing list