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

Bug#871155: brltty: FTBFS: cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security]



Control: reassign -1 python2.7
Control: affects -1 brltty

Hello,

Lucas Nussbaum, on dim. 06 août 2017 17:15:27 -0400, wrote:
> Relevant part (hopefully):
> > gcc -shared -Wl,-soname,libbrlapi.so.0.6 -o libbrlapi.so brlapi_client.o -lpthread -lsupc++ 
> > ar rc libbrlapi.a brlapi_client.o
> > /usr/bin/ranlib libbrlapi.a
> > make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-py2.7/Programs'
> > set -- --quiet build --build-temp .; \
> > [ "linux-gnu" != "mingw32" ] || set -- "${@}" --compiler mingw32; \
> > /usr/bin/python2.7 ./setup.py "${@}"
> > cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security]
> > cc1: some warnings being treated as errors
> > error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
> > Makefile:72: recipe for target 'brlapi.so' failed
> > make[1]: *** [brlapi.so] Error 1
> 
> The full build log is available from:
>    http://aws-logs.debian.net/2017/08/05/brltty_5.4-7_unstable.log

AIUI, this is coming from python2.7 itself:

/usr/lib/python2.7/plat-x86_64-linux-gnu/_sysconfigdata_nd.py: 'PY_CFLAGS': '-fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-HVkOs2/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security  ',

Samuel


Reply to: