From ola at inguza.com Tue Feb 7 14:58:10 2017 From: ola at inguza.com (Ola Lundqvist) Date: Tue, 7 Feb 2017 23:58:10 +0100 Subject: [Debian] Bug#853619: ploop: ftbfs with GCC-7 In-Reply-To: References: Message-ID: forwarded 853619 https://bugs.openvz.org/browse/OVZ-6872 thanks Hi Matthias Thank you for the report. I have now forwarded the issue. Best regards // Ola On 31 January 2017 at 10:35, Matthias Klose wrote: > Package: src:ploop > Version: 1.15-2 > Severity: normal > Tags: sid buster > User: debian-gcc at lists.debian.org > 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/ploop_ > 1.15-2_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 > > [...] > make[3]: Entering directory '/<>/etc' > make[3]: Nothing to be done for 'distclean'. > make[3]: Leaving directory '/<>/etc' > make[2]: Leaving directory '/<>' > rm -f lib/ploop.pc > make[1]: Leaving directory '/<>' > dh_clean > dpkg-source -b ploop-1.15 > dpkg-source: info: using source format '3.0 (quilt)' > dpkg-source: info: building ploop using existing ./ploop_1.15.orig.tar.bz2 > dpkg-source: info: building ploop in ploop_1.15-2.debian.tar.xz > dpkg-source: info: building ploop in ploop_1.15-2.dsc > debian/rules build > dh build > dh_testdir > dh_update_autotools_config > dh_auto_configure > dh_auto_build > make -j1 > make[1]: Entering directory '/<>' > make[2]: Entering directory '/<>/include' > CHECK dynload.h > make[2]: Leaving directory '/<>/include' > make[2]: Entering directory '/<>/lib' > DEP .depend > CC uuid.o > CC delta_read.o > CC delta_sysfs.o > delta_sysfs.c: In function 'ploop_get_dev_by_delta': > delta_sysfs.c:430:36: error: '%s' directive output may be truncated > writing between 0 and 255 bytes into a region of size 59 > [-Werror=format-truncation=] > snprintf(dev, sizeof(dev), "/dev/%s", de->d_name); > ^~ > In file included from /usr/include/stdio.h:938:0, > from delta_sysfs.c:19: > /usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: format output > between 6 and 261 bytes into a destination of size 64 > return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > __bos (__s), __fmt, __va_arg_pack ()); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > cc1: all warnings being treated as errors > ../Makefile.inc:48: recipe for target 'delta_sysfs.o' failed > make[2]: *** [delta_sysfs.o] Error 1 > make[2]: Leaving directory '/<>/lib' > Makefile:9: recipe for target 'all' failed > make[1]: *** [all] Error 2 > make[1]: Leaving directory '/<>' > dh_auto_build: make -j1 returned exit code 2 > debian/rules:5: recipe for target 'build' failed > make: *** [build] Error 2 > dpkg-buildpackage: error: debian/rules build gave error exit status 2 > -- --- Inguza Technology AB --- MSc in Information Technology ---- / ola at inguza.com Folkebogatan 26 \ | opal at debian.org 654 68 KARLSTAD | | http://inguza.com/ Mobile: +46 (0)70-332 1551 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: