Your message dated Wed, 19 Apr 2017 15:07:35 +0000
with message-id <[email protected]>
and subject line Bug#853511: fixed in libusb 2:0.1.12-31
has caused the Debian Bug report #853511,
regarding libusb: ftbfs with GCC-7
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
853511: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853511
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:libusb
Version: 2:0.1.12-30
Severity: normal
Tags: sid buster
User: [email protected]
Usertags: ftbfs-gcc-7
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.
The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/libusb_0.1.12-30_unstable_gcc7.log
The last lines of the build log are at the end of this report.
To build with GCC 7, either set CC=gcc-7 CXX=g++-7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-7/porting_to.html
[...]
/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -c -o usbpp.lo
../usbpp.cpp
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2
-Werror -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-Wformat -Werror=format-security -Wall -c ../error.c -fPIC -DPIC -o
.libs/error.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2
-Werror -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-Wformat -Werror=format-security -Wall -c ../descriptors.c -fPIC -DPIC -o
.libs/descriptors.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2
-Werror -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-Wformat -Werror=format-security -Wall -c ../linux.c -fPIC -DPIC -o
.libs/linux.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2
-Werror -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-Wformat -Werror=format-security -Wall -c ../usb.c -fPIC -DPIC -o .libs/usb.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g
-O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -c ../usbpp.cpp -fPIC -DPIC -o .libs/usbpp.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2
-Werror -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-Wformat -Werror=format-security -Wall -c ../error.c -o error.o >/dev/null 2>&1
../linux.c: In function 'device_open':
../linux.c:28:48: error: '%s' directive output may be truncated writing between
0 and 4096 bytes into a region of size 4095 [-Werror=format-truncation=]
snprintf(filename, sizeof(filename) - 1, "%s/%s/%s",
^~
In file included from /usr/include/stdio.h:938:0,
from ../linux.c:12:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: format output between
3 and 8195 bytes into a destination of size 4096
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2
-Werror -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-Wformat -Werror=format-security -Wall -c ../usb.c -o usb.o >/dev/null 2>&1
../linux.c: In function 'usb_os_find_devices':
../linux.c:382:35: error: '%s' directive output may be truncated writing
between 0 and 4096 bytes into a region of size 4095 [-Werror=format-truncation=]
snprintf(dirpath, PATH_MAX, "%s/%s", usb_path, bus->dirname);
^~
In file included from /usr/include/stdio.h:938:0,
from ../linux.c:12:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: format output between
2 and 4098 bytes into a destination of size 4096
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2
-Werror -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-Wformat -Werror=format-security -Wall -c ../descriptors.c -o descriptors.o
>/dev/null 2>&1
cc1: all warnings being treated as errors
Makefile:684: recipe for target 'linux.lo' failed
make[4]: *** [linux.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g
-O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -c ../usbpp.cpp -o usbpp.o >/dev/null 2>&1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-deb'
Makefile:789: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-deb'
Makefile:504: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-deb'
dh_auto_build: make -j64 returned exit code 2
debian/rules:17: recipe for target 'override_dh_auto_build-arch' failed
make[1]: *** [override_dh_auto_build-arch] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:4: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
--- End Message ---
--- Begin Message ---
Source: libusb
Source-Version: 2:0.1.12-31
We believe that the bug you reported is fixed in the latest version of
libusb, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Aurelien Jarno <[email protected]> (supplier of updated libusb 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 19 Apr 2017 13:50:36 +0000
Source: libusb
Binary: libusb-0.1-4 libusb-dev libusb-0.1-udeb
Architecture: source
Version: 2:0.1.12-31
Distribution: unstable
Urgency: medium
Maintainer: Aurelien Jarno <[email protected]>
Changed-By: Aurelien Jarno <[email protected]>
Description:
libusb-0.1-4 - userspace USB programming library
libusb-0.1-udeb - userspace USB programming library (udeb)
libusb-dev - userspace USB programming library development files
Closes: 853511
Changes:
libusb (2:0.1.12-31) unstable; urgency=medium
.
* Add patches/12_ENAMETOOLONG.diff to correctly handle too long filename
failures and FTBFS with GCC 7 (closes: #853511).
Checksums-Sha1:
d035dd7110a584afe045d140429ee02eaa3d1be8 1890 libusb_0.1.12-31.dsc
81dc17ff198dc66b867964e7a3874d7ba17f1bac 22120 libusb_0.1.12-31.debian.tar.xz
f9380634244cfc339a9c9220026c92f31bf5ff45 5593 libusb_0.1.12-31_source.buildinfo
Checksums-Sha256:
10633d23c1324a8cc6aed34743b54a9fb58618fa3389cf30b615c0f307463f29 1890
libusb_0.1.12-31.dsc
053af75a8952dcd472764997ecf7c237619b41f8417a39dcb91b6ff57222ac5e 22120
libusb_0.1.12-31.debian.tar.xz
4aa81e9b8476f028708349731c71593f64aef87f0d4fa96e0d4475043da8c2b5 5593
libusb_0.1.12-31_source.buildinfo
Files:
5c70ca99b1316cb462e843919a800dd8 1890 libs optional libusb_0.1.12-31.dsc
cd5af173ff52d773c819d1d8d2c4a9b7 22120 libs optional
libusb_0.1.12-31.debian.tar.xz
6085e72244e3a1903e8786b321e0f486 5593 libs optional
libusb_0.1.12-31_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEd0YmQqnvlP0Pdxltupx4Bh3djJsFAlj3a6oACgkQupx4Bh3d
jJsugw//dPFCjDl3l4jCDaar9Hp49PJhd1ucS60ca+0UwYl+4V/y59oZdACALWEn
w5G+Ue2G7xwmXdYkjWnmOc34XqxUcNjmP7FNTMYmkl3nOsABpeaqTsRVwLjEyNis
1g3hjw6HoL8FXjX+r2np64jYp4eS0ryY1HBb4BMkRTPIc4+aa7iqL/Sx9C+ZYI1N
4Ri87c2zbbCKX/3BLAq0VO9GnRsqgiPPDEYJD7+T4xDKTbo0UH9zCT+wkpLZdcdV
Hd5zAddZhoE2MY+KsbYxVSV9DGhWu6rFKSnSS6Q/ZpcxunCTpQdeqMLQHYbBrO0q
7gtkb3X6+TzlYaqsse99xYinrgpKPcn2PUq7NuwcpQEts9rr1nEsGZF9K7HVD2OC
d/ZMGkYNJXWmh+FWfxKPnVp/5gerIsKNTHKHXJTVrkp2KzAmlb8e1lKBb7NMO+l/
/WwlVI2yDgLEnNVz7ozLg2UbpfRAFqvTwxqEGRPu6N1t16noKuKD4QwYgnjrtnGT
m29Nv5fi77M16p1/nRTS+P/llV4+fin17W9D1c+6DGYwesI8/a5cg37np5tDwiJh
pjTXyXC8IDldLrDkyuFWTgIQlpbfcj+P5FWph8U3IBA75oFtp/oXh3mHrgDklA9/
zCn5/GoZoTydCuDlaJ8XcdYVogEDzT3XCo6P4T2qMhhh7pdEkaY=
=Pwaf
-----END PGP SIGNATURE-----
--- End Message ---