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

version graph

Package: brltty; Maintainer for brltty is Debian Accessibility Team <pkg-a11y-devel@alioth-lists.debian.net>; Source for brltty is src:brltty (PTS, buildd, popcon).

Affects: brltty

Reported by: Lucas Nussbaum <lucas@debian.org>

Date: Sun, 6 Aug 2017 22:24:08 UTC

Severity: serious

Tags: buster, ftbfs, patch, sid

Fixed in versions 5.5-1, brltty/5.5-2

Done: Samuel Thibault <sthibault@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Accessibility Team <debian-accessibility@lists.debian.org>:
Bug#871155; Package src:brltty. (Sun, 06 Aug 2017 22:24:11 GMT) (full text, mbox, link).


Acknowledgement sent to Lucas Nussbaum <lucas@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Accessibility Team <debian-accessibility@lists.debian.org>. (Sun, 06 Aug 2017 22:24:11 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Lucas Nussbaum <lucas@debian.org>
To: submit@bugs.debian.org
Subject: brltty: FTBFS: cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security]
Date: Sun, 6 Aug 2017 17:15:27 -0400
Source: brltty
Version: 5.4-7
Severity: serious
Tags: buster sid
User: debian-qa@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 '/<<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

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.



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Accessibility Team <debian-accessibility@lists.debian.org>:
Bug#871155; Package src:brltty. (Mon, 07 Aug 2017 23:21:03 GMT) (full text, mbox, link).


Acknowledgement sent to Samuel Thibault <sthibault@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Accessibility Team <debian-accessibility@lists.debian.org>. (Mon, 07 Aug 2017 23:21:03 GMT) (full text, mbox, link).


Message #10 received at 871155@bugs.debian.org (full text, mbox, reply):

From: Samuel Thibault <sthibault@debian.org>
To: Lucas Nussbaum <lucas@debian.org>, 871155@bugs.debian.org, python2.7@packages.debian.org
Subject: Re: Bug#871155: brltty: FTBFS: cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security]
Date: Tue, 8 Aug 2017 01:18:33 +0200
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



Bug reassigned from package 'src:brltty' to 'python2.7'. Request was from Samuel Thibault <sthibault@debian.org> to 871155-submit@bugs.debian.org. (Mon, 07 Aug 2017 23:21:03 GMT) (full text, mbox, link).


No longer marked as found in versions brltty/5.4-7. Request was from Samuel Thibault <sthibault@debian.org> to 871155-submit@bugs.debian.org. (Mon, 07 Aug 2017 23:21:04 GMT) (full text, mbox, link).


Added indication that 871155 affects brltty Request was from Samuel Thibault <sthibault@debian.org> to 871155-submit@bugs.debian.org. (Mon, 07 Aug 2017 23:21:05 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#871155; Package python2.7. (Mon, 07 Aug 2017 23:42:02 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <doko@debian.org>:
Extra info received and forwarded to list. (Mon, 07 Aug 2017 23:42:02 GMT) (full text, mbox, link).


Message #21 received at 871155@bugs.debian.org (full text, mbox, reply):

From: Matthias Klose <doko@debian.org>
To: Samuel Thibault <sthibault@debian.org>, Lucas Nussbaum <lucas@debian.org>, 871155@bugs.debian.org, python2.7@packages.debian.org
Subject: Re: Bug#871155: brltty: FTBFS: cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security]
Date: Mon, 7 Aug 2017 19:38:01 -0400
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 '/<<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
> 

but it's brltty setting -Wno-format



Bug reassigned from package 'python2.7' to 'brltty'. Request was from Matthias Klose <doko@debian.org> to 871155-submit@bugs.debian.org. (Mon, 07 Aug 2017 23:42:02 GMT) (full text, mbox, link).


Added tag(s) patch. Request was from Matthias Klose <doko@debian.org> to 871155-submit@bugs.debian.org. (Mon, 07 Aug 2017 23:42:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Accessibility Team <debian-accessibility@lists.debian.org>:
Bug#871155; Package brltty. (Tue, 08 Aug 2017 00:03:05 GMT) (full text, mbox, link).


Acknowledgement sent to Samuel Thibault <sthibault@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Accessibility Team <debian-accessibility@lists.debian.org>. (Tue, 08 Aug 2017 00:03:06 GMT) (full text, mbox, link).


Message #30 received at 871155@bugs.debian.org (full text, mbox, reply):

From: Samuel Thibault <sthibault@debian.org>
To: Matthias Klose <doko@debian.org>
Cc: Lucas Nussbaum <lucas@debian.org>, 871155@bugs.debian.org, python2.7@packages.debian.org
Subject: Re: Bug#871155: brltty: FTBFS: cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security]
Date: Tue, 8 Aug 2017 02:00:43 +0200
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



Added tag(s) pending. Request was from Samuel Thibault <sthibault@debian.org> to 871155-submit@bugs.debian.org. (Tue, 08 Aug 2017 00:03:06 GMT) (full text, mbox, link).


Reply sent to Adrian Bunk <bunk@debian.org>:
You have taken responsibility. (Tue, 22 Aug 2017 11:21:06 GMT) (full text, mbox, link).


Notification sent to Lucas Nussbaum <lucas@debian.org>:
Bug acknowledged by developer. (Tue, 22 Aug 2017 11:21:06 GMT) (full text, mbox, link).


Message #37 received at 871155-done@bugs.debian.org (full text, mbox, reply):

From: Adrian Bunk <bunk@debian.org>
To: Samuel Thibault <sthibault@debian.org>, 871155-done@bugs.debian.org
Cc: Lucas Nussbaum <lucas@debian.org>
Subject: Re: Bug#871155: brltty: FTBFS: cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security]
Date: Tue, 22 Aug 2017 14:17:32 +0300
Version: 5.5-1

On Tue, Aug 08, 2017 at 02:00:43AM +0200, Samuel Thibault wrote:
> 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.

I'm closing this with proper version information,
so that the BTS knows that testing/unstable are
broken but experimental is fixed.

An upload from experimental version to unstable will
then automatically be considered fixing it in unstable.

> Thanks,
> Samuel

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed




Reply sent to Samuel Thibault <sthibault@debian.org>:
You have taken responsibility. (Sun, 01 Oct 2017 21:09:16 GMT) (full text, mbox, link).


Notification sent to Lucas Nussbaum <lucas@debian.org>:
Bug acknowledged by developer. (Sun, 01 Oct 2017 21:09:16 GMT) (full text, mbox, link).


Message #42 received at 871155-close@bugs.debian.org (full text, mbox, reply):

From: Samuel Thibault <sthibault@debian.org>
To: 871155-close@bugs.debian.org
Subject: Bug#871155: fixed in brltty 5.5-2
Date: Sun, 01 Oct 2017 21:04:59 +0000
Source: brltty
Source-Version: 5.5-2

We believe that the bug you reported is fixed in the latest version of
brltty, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 871155@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Samuel Thibault <sthibault@debian.org> (supplier of updated brltty package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 01 Oct 2017 22:09:51 +0200
Source: brltty
Binary: brltty libbrlapi0.6 libbrlapi-dev libbrlapi-jni libbrlapi-java brltty-flite brltty-speechd brltty-espeak brltty-udeb brltty-x11 xbrlapi cl-brlapi python-brlapi python3-brlapi
Architecture: source
Version: 5.5-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Accessibility Team <pkg-a11y-devel@lists.alioth.debian.org>
Changed-By: Samuel Thibault <sthibault@debian.org>
Description:
 brltty     - Access software for a blind person using a braille display
 brltty-espeak - Access software for a blind person - espeak driver
 brltty-flite - Access software for a blind person - Flite speech driver
 brltty-speechd - Access software for a blind person - Speech Dispatcher driver
 brltty-udeb - Access software for a blind person using a braille display (udeb)
 brltty-x11 - Access software for a blind person using a braille display - X11
 cl-brlapi  - Common Lisp bindings for BrlAPI
 libbrlapi-dev - Library for communication with BRLTTY - static libs and headers
 libbrlapi-java - Java bindings for BrlAPI
 libbrlapi-jni - Java bindings for BrlAPI (native library)
 libbrlapi0.6 - braille display access via BRLTTY - shared library
 python-brlapi - Braille display access via BRLTTY - Python bindings
 python3-brlapi - Braille display access via BRLTTY - Python3 bindings
 xbrlapi    - Access software for a blind person using a braille display - xbrl
Closes: 864670 869972 871155
Changes:
 brltty (5.5-2) unstable; urgency=medium
 .
   * Upload to unstable (Closes: #871155)
   * patches/git-07ecca2240c680373e9c2e5e38241edde9d1a677: Apply upstream patch
     to fix finnish table (Closes: Bug#864670).
   * control: Update maintainer mailing list.
   * libbrlapi-dev.install: Also install device-specific brldefs headers
     (Closes: Bug#869972).
   * patches/brldefs-install: Fix installing device-specific brldefs headers.
   * control: Migrate priority to optional.
   * control: Bump Standards-Version to 4.1.1
Checksums-Sha1:
 3071b4b0c3f88ad3c7f49d554f6c0082d00d1619 3191 brltty_5.5-2.dsc
 a58bac3712cf3b6b700f9409fb971e556e07bd34 30276 brltty_5.5-2.debian.tar.xz
Checksums-Sha256:
 e1a713845ec647c989c9807c453ee98efc7f5f11f0b5376211d792e2174dda86 3191 brltty_5.5-2.dsc
 435ff52846feba68a426750fa7a70bcb569d95b54d5485ad1e342bc48d3a62a9 30276 brltty_5.5-2.debian.tar.xz
Files:
 6bfacafd8a0b743297a2ab863dda7dcb 3191 admin optional brltty_5.5-2.dsc
 7c0f2e342c1e2ef7312cfcbbf36f19eb 30276 admin optional brltty_5.5-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEErr90SPq5RTpFUjkOsKUb9YyRecUFAlnRTYYACgkQsKUb9YyR
ecWmAA/5AWXqR4LEgARzekpiOIKOSZeNbVUIIAoCaACX6KTnycGX/PNp8RM1h101
xtXgsKhMGFoqYGsFf6/VLfOuIh7r2+2uB+IcT5Pfi0cncd+8/w89hlMBCBS/dl26
P7D0IcRrNPzZCjISRaIbaq7iVl4XVvW11CxYEKzdsXo7jufQ7xcNMra0HjGS8TmG
/k5RChyjDI5taL7EnvoXeR0bPU+tT1mhcCyAA3V20hjhGM9myaxqF8G1UdQmFytu
Fb90Uof8b4dRuYw7YBw2FIj4OV3u2O1IF78ttBAj+y7Tc3V/hbVEtOAC1ULEgnZY
BKd+NItj5LqmJgXM5scQFm5thLdWFGY4xyh3kCsSPf5DeDvsSdshORipwO0q2Y1w
O9Gwlwcq/E4OC/n96kDQP9nt8ZwovkgaAA+wVWy9o84dVN8/GG5E48D/Cp50dnQ6
K3SLGkp2pQKff1Sv+O4XGuF9blx25T716VHzuAdsGhGGDKHmuUJ7NTLs6A6oE0X7
049/I0ieUCIYYGEJvvqerKCNM9q7hNQJLOLYthQcgbUSUuLn3RGo47vMLj9aqMsa
aQYf34EWk8ckX5US7TDnUO4rx1Pkj2hGy4NdsO5EcGG9OmbpnKwRWS8OLPuX4mfj
7kb9vXg50WMzcgp5VIonqPE1Lu32oHzNr+uBAaEX+JqmEEsMLMM=
=rheD
-----END PGP SIGNATURE-----




Added tag(s) ftbfs. Request was from Adrian Bunk <bunk@debian.org> to control@bugs.debian.org. (Fri, 22 Jun 2018 16:41:09 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 05 Nov 2018 07:29:21 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 13:58:10 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.