[Lucas Nussbaum]
> During a rebuild of all packages in sid, your package failed to
> build on amd64.

The problematic flag seem to originate from dpkg-buildflags:

% for f in $(dpkg-buildflags --list); do echo $f=$(dpkg-buildflags --get $f); 
done
ASFLAGS=
ASFLAGS_FOR_BUILD=
CFLAGS=-g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/home/pere/src/firmware-microbit-micropython-salsa=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection
CFLAGS_FOR_BUILD=-g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/home/pere/src/firmware-microbit-micropython-salsa=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection
CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2
CPPFLAGS_FOR_BUILD=-Wdate-time -D_FORTIFY_SOURCE=2
CXXFLAGS=-g -O2 
-ffile-prefix-map=/home/pere/src/firmware-microbit-micropython-salsa=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection
CXXFLAGS_FOR_BUILD=-g -O2 
-ffile-prefix-map=/home/pere/src/firmware-microbit-micropython-salsa=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection
DFLAGS=-frelease
DFLAGS_FOR_BUILD=-frelease
FCFLAGS=-g -O2 
-ffile-prefix-map=/home/pere/src/firmware-microbit-micropython-salsa=. 
-fstack-protector-strong -fstack-clash-protection -fcf-protection
FCFLAGS_FOR_BUILD=-g -O2 
-ffile-prefix-map=/home/pere/src/firmware-microbit-micropython-salsa=. 
-fstack-protector-strong -fstack-clash-protection -fcf-protection
FFLAGS=-g -O2 
-ffile-prefix-map=/home/pere/src/firmware-microbit-micropython-salsa=. 
-fstack-protector-strong -fstack-clash-protection -fcf-protection
FFLAGS_FOR_BUILD=-g -O2 
-ffile-prefix-map=/home/pere/src/firmware-microbit-micropython-salsa=. 
-fstack-protector-strong -fstack-clash-protection -fcf-protection
LDFLAGS=-Wl,-z,relro
LDFLAGS_FOR_BUILD=-Wl,-z,relro
OBJCFLAGS=-g -O2 
-ffile-prefix-map=/home/pere/src/firmware-microbit-micropython-salsa=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection
OBJCFLAGS_FOR_BUILD=-g -O2 
-ffile-prefix-map=/home/pere/src/firmware-microbit-micropython-salsa=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection
OBJCXXFLAGS=-g -O2 
-ffile-prefix-map=/home/pere/src/firmware-microbit-micropython-salsa=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection
OBJCXXFLAGS_FOR_BUILD=-g -O2 
-ffile-prefix-map=/home/pere/src/firmware-microbit-micropython-salsa=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection
%

Not quite sure how to best avoid it.

-- 
Happy hacking
Petter Reinholdtsen

Reply via email to