Package: src:altermime Version: 0.3.10-8 Severity: normal Tags: sid buster User: debian-...@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/altermime_0.3.10-8_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[1]: Entering directory '/<<PKGBUILDDIR>>' rm -rf debian/docs/html dh_auto_clean make -j1 clean make[2]: Entering directory '/<<PKGBUILDDIR>>' rm -f *.o altermime make[2]: Leaving directory '/<<PKGBUILDDIR>>' make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_clean dpkg-source -b altermime-0.3.10 dpkg-source: info: using source format '3.0 (quilt)' dpkg-source: info: building altermime using existing ./altermime_0.3.10.orig.tar.gz dpkg-source: info: building altermime in altermime_0.3.10-8.debian.tar.xz dpkg-source: info: building altermime in altermime_0.3.10-8.dsc debian/rules build dh build dh_testdir dh_update_autotools_config debian/rules override_dh_auto_configure make[1]: Entering directory '/<<PKGBUILDDIR>>' linuxdoc --backend=html debian/docs/postfix-altermime-howto.sgml Processing file debian/docs/postfix-altermime-howto.sgml mkdir -p debian/docs/html mv -f postfix-altermime-howto*.html debian/docs/html dh_auto_configure make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build make -j1 make[1]: Entering directory '/<<PKGBUILDDIR>>' cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror -g -I. -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c strstack.c cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror -g -I. -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c mime_alter.c mime_alter.c: In function 'AM_add_disclaimer_insert_html': mime_alter.c:1509:45: error: output may be truncated before the last format character [-Werror=format-truncation=] snprintf(boundary, sizeof(boundary), "--%s", dd->boundary); ~~~~^ In file included from /usr/include/stdio.h:938:0, from mime_alter.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: format output between 3 and 1026 bytes into a destination of size 1025 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors Makefile:17: recipe for target 'mime_alter.o' failed make[1]: *** [mime_alter.o] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: make -j1 returned exit code 2 debian/rules:7: recipe for target 'build' failed make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2