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

2017-08-07 Thread Samuel Thibault
Control: tags -1 + pending

Matthias Klose, on lun. 07 août 2017 19:38:01 -0400, wrote:
> but it's brltty setting -Wno-format

Oh, right, we haven't uploaded brltty 5.5 to unstable yet. That version
doesn't set that any more.

Thanks,
Samuel



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

2017-08-07 Thread Matthias Klose
Control: reassign -1 brltty
Control: tags -1 + patch

http://launchpadlibrarian.net/332236575/brltty_5.4-7ubuntu3_5.4-7ubuntu4.diff.gz

On 07.08.2017 19:18, Samuel Thibault wrote:
> 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 '/<>/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
> 

but it's brltty setting -Wno-format



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

2017-08-07 Thread Samuel Thibault
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 '/<>/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



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

2017-08-06 Thread Lucas Nussbaum
Source: brltty
Version: 5.4-7
Severity: serious
Tags: buster sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20170805 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

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 '/<>/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

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.