Your message dated Fri, 04 May 2018 20:57:52 +0000
with message-id <[email protected]>
and subject line Bug#897799: fixed in libusb 2:0.1.12-32
has caused the Debian Bug report #897799,
regarding libusb: ftbfs with GCC-8
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.)


-- 
897799: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897799
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:libusb
Version: 2:0.1.12-31
Severity: normal
Tags: sid buster
User: [email protected]
Usertags: ftbfs-gcc-8

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-8/g++-8, but succeeds to build with gcc-7/g++-7. The
severity of this report will be raised before the buster release.

The full build log can be found at:
http://aws-logs.debian.net/2018/05/01/gcc8/libusb_0.1.12-31_unstable_gcc8.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 8, either set CC=gcc-8 CXX=g++-8 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-8/porting_to.html

[...]
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../linux.c: In function 'usb_os_find_devices':
../linux.c:418:49: error: '/' directive output may be truncated writing 1 byte 
into a region of size between 0 and 4095 [-Werror=format-truncation=]
     snprintf(filename, sizeof(filename) - 1, "%s/%s", dirpath, entry->d_name);
                                                 ^
In file included from /usr/include/stdio.h:862,
                 from ../linux.c:12:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: 
'__builtin___snprintf_chk' output between 2 and 4352 bytes into a destination 
of size 4095
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../usbi.h:6,
                 from ../linux.c:19:
../linux.c:393:27: error: '%s' directive output may be truncated writing up to 
4095 bytes into a region of size 1006 [-Werror=format-truncation=]
     USB_ERROR_STR(-errno, "couldn't opendir(%s): %s", dirpath,
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~~~~~
../error.h:24:55: note: in definition of macro 'USB_ERROR_STR'
    snprintf(usb_error_str, sizeof(usb_error_str) - 1, format, ## args); \
                                                       ^~~~~~
In file included from /usr/include/stdio.h:862,
                 from ../linux.c:12:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: 
'__builtin___snprintf_chk' output 21 or more bytes (assuming 4116) into a 
destination of size 1023
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[4]: *** [Makefile:684: linux.lo] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-deb'
make[4]: *** Waiting for unfinished jobs....
make[4]: Entering directory '/<<PKGBUILDDIR>>/build-deb'
/bin/bash ./libtool  --tag=CC   --mode=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 -o descriptors.lo ../descriptors.c
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 ../descriptors.c -o descriptors.o 
>/dev/null 2>&1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-deb'
make[4]: Entering directory '/<<PKGBUILDDIR>>/build-deb'
/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:  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:  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'
make[3]: *** [Makefile:789: all-recursive] Error 1
make[2]: *** [Makefile:504: all] Error 2
dh_auto_build: cd build-deb && make -j8 -Oline returned exit code 2
make[1]: *** [debian/rules:17: override_dh_auto_build-arch] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit 
status 2

--- End Message ---
--- Begin Message ---
Source: libusb
Source-Version: 2:0.1.12-32

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: Fri, 04 May 2018 20:07:10 +0000
Source: libusb
Binary: libusb-0.1-4 libusb-dev libusb-0.1-udeb
Architecture: source
Version: 2:0.1.12-32
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: 893556 897799
Changes:
 libusb (2:0.1.12-32) unstable; urgency=medium
 .
   * Update debian/patches/12_ENAMETOOLONG.diff to handle more failures with
     GCC 8 (closes: #897799).
   * Downgrade priority to optional following the recent policy change (closes:
     #893556).
   * Bump Standards-Version to 4.1.4.
Checksums-Sha1:
 6ce3b94703c6b3f2de1fe7fab01f7fb06e65a8b3 1889 libusb_0.1.12-32.dsc
 6595889f42a7442f8818ca8e0a42626e234ef6c4 22440 libusb_0.1.12-32.debian.tar.xz
 c07ffbc4f1cbb87542daf215c5b8431e78415244 5504 libusb_0.1.12-32_source.buildinfo
Checksums-Sha256:
 2d488ef32868447242b1d94a3cd0757739ea18e4d3742485df3e3ba7f9eacf49 1889 
libusb_0.1.12-32.dsc
 76f265bb5dbe6adff1cfcabce3091269d2e8f85f2dbd13496eb27fd0731a1b74 22440 
libusb_0.1.12-32.debian.tar.xz
 4608558c6b51d78a9ccc95ff047d812d54645d0463659e499af0f1a8abae0dd8 5504 
libusb_0.1.12-32_source.buildinfo
Files:
 409f906b2588aa01f2b3cb5166ba7af9 1889 libs optional libusb_0.1.12-32.dsc
 3ecdfcf535e4ce7f03ff91065b2d9aae 22440 libs optional 
libusb_0.1.12-32.debian.tar.xz
 dc508f13106e464444ce8f95c513af02 5504 libs optional 
libusb_0.1.12-32_source.buildinfo

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

iQIzBAEBCgAdFiEEUryGlb40+QrX1Ay4E4jA+JnoM2sFAlrsxJwACgkQE4jA+Jno
M2vTFA/+OLmYqgVQsJsBKXXu/CTvnr77l4LzfFth70XJL6NgM7n8D5P/J0YK04z6
EzCTM8m8pXWRQySOeiX1UO+cAsrA4zl+u/vuWk99ESTXOb0oQUMNJtozpYOV3JvJ
raTvSf4xdQ+Pc6sSjKNMqzHwhrowE86Z/6Z+fkfd5jA+xzEWGusHmmnic9CaYnSd
FWxKNoR21G52KgBuUsWtE25wYtcxq+Wkubi/+rhoZFHRKQ7e4Cv3zqvmJKqsEPEM
VSSqMjRKuDT2K3kvw/WcorGvmh7jxvWrX05olwwM/UpCHg1wkv6Ncm7XJ/NsCIkx
lnO/uIVznWX87cTaS9qtjsLYPMiX3xHt4dlH95iynFsvOircmjrvTQt/Xz+vqKFT
faxC8wVYDRvbWQoT9+xVA5/B5W7q/fCb+juEVPsyWXZGvLb4f2KfczkMhudUNiEa
OVwvQ/30NNfbUsvoKn1jhdVWnl9iMIrxDLSXbVGWDZOAQT2CPhnygsLl8Q7aMC6w
pMrR3BnPqZp5vEdkatyCKKAppHApHCEceOK1IJiO0siwQY5NXFmPNNFdxptkmPc/
c+cRET63KdN8x4FhX6IandfpANFLSvSnS1eYNpshW0Frwi1Aj36RuXM4G6/MO7MB
vcWwsylo5/5eEDxzO7ZfzPGJrL1L58fbJF7VjyL5j5t4Sjd6uhA=
=TUEP
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to