Package: src:ploop Version: 1.15-7 Severity: normal Tags: sid bullseye User: debian-...@lists.debian.org Usertags: ftbfs-gcc-10
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-10/g++-10, but succeeds to build with gcc-9/g++-9. The severity of this report will be raised before the bullseye release, so nothing has to be done for the buster release. The full build log can be found at: http://people.debian.org/~doko/logs/gcc10-20200225/ploop_1.15-7_unstable_gcc10.log The last lines of the build log are at the end of this report. To build with GCC 10, either set CC=gcc-10 CXX=g++-10 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-10/porting_to.html [...] make[2]: Entering directory '/<<PKGBUILDDIR>>' make[3]: Entering directory '/<<PKGBUILDDIR>>/include' ../gensym.sh libploop.h new-dynload.h sed -e '1,/^struct ploop_functions {$/d' \ -e '/\/\* struct ploop_functions \*\/$/,$d' dynload.h | \ grep -vE '^[[:space:]]*/\*.**/$' | \ grep -v '^ void \*padding\[' | \ sort > cur-dynload.h diff -u cur-dynload.h new-dynload.h || \ ( echo "*** API CHANGED, PLEASE UPDATE dynload.h"; exit 1 ) rm -f cur-dynload.h new-dynload.h make[3]: Leaving directory '/<<PKGBUILDDIR>>/include' make[3]: Entering directory '/<<PKGBUILDDIR>>/lib' gcc -g -O0 -DDEBUG -g -O0 -DDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I. -I../include -fno-strict-aliasing -Wall -Wstrict-prototypes -Werror -Wformat-security -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I../include -fno-strict-aliasing -Wall -Wstrict-prototypes -Werror -Wformat-security -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libxml2 -fPIC -fvisibility=hidden -M uuid.c delta_read.c delta_sysfs.c balloon_util.c check.c ploop.c xml.c logger.c balloon.c lock.c fsutils.c gpt.c crc32.c merge.c util.c pcopy.c ploop-copy.c di.c cleanup.c deprecated.c snapshot.c > .depend gcc -g -O0 -DDEBUG -g -O0 -DDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I. -I../include -fno-strict-aliasing -Wall -Wstrict-prototypes -Werror -Wformat-security -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I../include -fno-strict-aliasing -Wall -Wstrict-prototypes -Werror -Wformat-security -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libxml2 -fPIC -fvisibility=hidden -c uuid.c -o uuid.o gcc -g -O0 -DDEBUG -g -O0 -DDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I. -I../include -fno-strict-aliasing -Wall -Wstrict-prototypes -Werror -Wformat-security -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I../include -fno-strict-aliasing -Wall -Wstrict-prototypes -Werror -Wformat-security -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libxml2 -fPIC -fvisibility=hidden -c delta_read.c -o delta_read.o gcc -g -O0 -DDEBUG -g -O0 -DDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I. -I../include -fno-strict-aliasing -Wall -Wstrict-prototypes -Werror -Wformat-security -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I../include -fno-strict-aliasing -Wall -Wstrict-prototypes -Werror -Wformat-security -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libxml2 -fPIC -fvisibility=hidden -c delta_sysfs.c -o delta_sysfs.o gcc -g -O0 -DDEBUG -g -O0 -DDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I. -I../include -fno-strict-aliasing -Wall -Wstrict-prototypes -Werror -Wformat-security -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I../include -fno-strict-aliasing -Wall -Wstrict-prototypes -Werror -Wformat-security -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libxml2 -fPIC -fvisibility=hidden -c balloon_util.c -o balloon_util.o gcc -g -O0 -DDEBUG -g -O0 -DDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I. -I../include -fno-strict-aliasing -Wall -Wstrict-prototypes -Werror -Wformat-security -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I../include -fno-strict-aliasing -Wall -Wstrict-prototypes -Werror -Wformat-security -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libxml2 -fPIC -fvisibility=hidden -c check.c -o check.o gcc -g -O0 -DDEBUG -g -O0 -DDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I. -I../include -fno-strict-aliasing -Wall -Wstrict-prototypes -Werror -Wformat-security -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I../include -fno-strict-aliasing -Wall -Wstrict-prototypes -Werror -Wformat-security -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libxml2 -fPIC -fvisibility=hidden -c ploop.c -o ploop.o gcc -g -O0 -DDEBUG -g -O0 -DDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I. -I../include -fno-strict-aliasing -Wall -Wstrict-prototypes -Werror -Wformat-security -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I../include -fno-strict-aliasing -Wall -Wstrict-prototypes -Werror -Wformat-security -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libxml2 -fPIC -fvisibility=hidden -c xml.c -o xml.o gcc -g -O0 -DDEBUG -g -O0 -DDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I. -I../include -fno-strict-aliasing -Wall -Wstrict-prototypes -Werror -Wformat-security -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I../include -fno-strict-aliasing -Wall -Wstrict-prototypes -Werror -Wformat-security -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libxml2 -fPIC -fvisibility=hidden -c logger.c -o logger.o gcc -g -O0 -DDEBUG -g -O0 -DDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I. -I../include -fno-strict-aliasing -Wall -Wstrict-prototypes -Werror -Wformat-security -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I../include -fno-strict-aliasing -Wall -Wstrict-prototypes -Werror -Wformat-security -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libxml2 -fPIC -fvisibility=hidden -c balloon.c -o balloon.o gcc -g -O0 -DDEBUG -g -O0 -DDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I. -I../include -fno-strict-aliasing -Wall -Wstrict-prototypes -Werror -Wformat-security -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I../include -fno-strict-aliasing -Wall -Wstrict-prototypes -Werror -Wformat-security -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libxml2 -fPIC -fvisibility=hidden -c lock.c -o lock.o In file included from /usr/include/string.h:495, from xml.c:22: In function ‘strncpy’, inlined from ‘get_basedir’ at xml.c:281:2, inlined from ‘ploop_read_dd’ at xml.c:408:2: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 4096 equals destination size [-Werror=stringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘get_basedir’ at xml.c:281:2, inlined from ‘ploop_store_diskdescriptor’ at xml.c:463:2: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 4096 equals destination size [-Werror=stringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O0 -DDEBUG -g -O0 -DDEBUG -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I. -I../include -fno-strict-aliasing -Wall -Wstrict-prototypes -Werror -Wformat-security -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I../include -fno-strict-aliasing -Wall -Wstrict-prototypes -Werror -Wformat-security -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libxml2 -fPIC -fvisibility=hidden -c fsutils.c -o fsutils.o cc1: all warnings being treated as errors make[3]: *** [../Makefile.inc:49: xml.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from balloon.c:38: balloon.c: In function ‘ploop_discard’: ploop.h:72:24: error: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 4080 [-Werror=format-truncation=] 72 | #define PLOOP_LOCK_DIR "/var/lock/ploop" | ^~~~~~~~~~~~~~~~~ balloon.c:1175:22: note: in expansion of macro ‘PLOOP_LOCK_DIR’ 1175 | snprintf(out, size, PLOOP_LOCK_DIR "/%s.defrag.pid", | ^~~~~~~~~~~~~~ balloon.c:1175:39: note: format string is defined here 1175 | snprintf(out, size, PLOOP_LOCK_DIR "/%s.defrag.pid", | ^~ In file included from /usr/include/stdio.h:867, from balloon.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 28 and 4123 bytes into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[3]: *** [../Makefile.inc:48: balloon.o] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>/lib' make[2]: *** [Makefile:9: all] Error 2 make[2]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: error: make -j4 "INSTALL=install --strip-program=true" V=1 returned exit code 2 make[1]: *** [debian/rules:9: override_dh_auto_build] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:6: build] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2