Package: src:scanbd Version: 1.5.1-4 Severity: normal Tags: sid bullseye User: debian-...@lists.debian.org Usertags: ftbfs-gcc-9
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-9/g++-9, but succeeds to build with gcc-8/g++-8. 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/gcc9-20190321/scanbd_1.5.1-4_unstable_gcc9.log The last lines of the build log are at the end of this report. To build with GCC 9, either set CC=gcc-9 CXX=g++-9 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-9/porting_to.html GCC 9 also passes the linker option --as-needed by default; typical build issues are passing libraries before object files to the linker, or underlinking of convenience libraries built from the same source. [...] checking for utmpx.h... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for CONFUSE... yes checking for DBUS... yes checking for UDEV... yes checking for pkg-config... (cached) /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes Package systemd was not found in the pkg-config search path. Perhaps you should add the directory containing `systemd.pc' to the PKG_CONFIG_PATH environment variable No package 'systemd' found checking for SANE... yes configure: Using user: saned configure: Using group: scanner checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/scanbd/Makefile config.status: creating src/scanbuttond/Makefile config.status: creating src/scanbuttond/backends/Makefile config.status: creating src/scanbuttond/interface/Makefile config.status: creating src/scanbuttond/include/Makefile config.status: creating integration/Makefile config.status: creating contrib/Makefile config.status: creating doc/Makefile config.status: creating conf/Makefile config.status: creating scripts/Makefile config.status: executing depfiles commands config.status: executing libtool commands make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build -a make -j4 make[1]: Entering directory '/<<PKGBUILDDIR>>' Making all in src/scanbd make[2]: Entering directory '/<<PKGBUILDDIR>>/src/scanbd' gcc -DPACKAGE_NAME=\"scanbd\" -DPACKAGE_TARNAME=\"scanbd\" -DPACKAGE_VERSION=\"1.92\" -DPACKAGE_STRING=\"scanbd\ 1.92\" -DPACKAGE_BUGREPORT=\"wilhelm.me...@fh-kl.de\" -DPACKAGE_URL=\"\" -DPACKAGE=\"scanbd\" -DVERSION=\"1.92\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ALARM=1 -DHAVE_DUP2=1 -DHAVE_FTRUNCATE=1 -DHAVE_GETCWD=1 -DHAVE_MEMSET=1 -DHAVE_PUTENV=1 -DHAVE_REGCOMP=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_ARPA_INET_H=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_PTHREAD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CHOWN=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_LINUX_LIMITS_H=1 -DHAVE_UTMP_H=1 -DHAVE_UTMPX_H=1 -DUSE_LIB UDEV=1 -DHAVE_SYSTEMD=1 -DUSE_SANE=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=c11 -g -Werror -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DSCANBUTTOND_LIB_DIR=\"/usr/lib/x86_64-linux-gnu/scanbd/scanbuttond/backends\" -DSCANBD_CFG_DIR=\"/etc/scanbd\" -DSANED_PATH=\"\" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=clobbered -Wno-error=missing-field-initializers -c -o scanbd.o scanbd.c gcc -DPACKAGE_NAME=\"scanbd\" -DPACKAGE_TARNAME=\"scanbd\" -DPACKAGE_VERSION=\"1.92\" -DPACKAGE_STRING=\"scanbd\ 1.92\" -DPACKAGE_BUGREPORT=\"wilhelm.me...@fh-kl.de\" -DPACKAGE_URL=\"\" -DPACKAGE=\"scanbd\" -DVERSION=\"1.92\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ALARM=1 -DHAVE_DUP2=1 -DHAVE_FTRUNCATE=1 -DHAVE_GETCWD=1 -DHAVE_MEMSET=1 -DHAVE_PUTENV=1 -DHAVE_REGCOMP=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_ARPA_INET_H=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_PTHREAD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CHOWN=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_LINUX_LIMITS_H=1 -DHAVE_UTMP_H=1 -DHAVE_UTMPX_H=1 -DUSE_LIB UDEV=1 -DHAVE_SYSTEMD=1 -DUSE_SANE=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=c11 -g -Werror -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DSCANBUTTOND_LIB_DIR=\"/usr/lib/x86_64-linux-gnu/scanbd/scanbuttond/backends\" -DSCANBD_CFG_DIR=\"/etc/scanbd\" -DSANED_PATH=\"\" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=clobbered -Wno-error=missing-field-initializers -c -o config.o config.c gcc -DPACKAGE_NAME=\"scanbd\" -DPACKAGE_TARNAME=\"scanbd\" -DPACKAGE_VERSION=\"1.92\" -DPACKAGE_STRING=\"scanbd\ 1.92\" -DPACKAGE_BUGREPORT=\"wilhelm.me...@fh-kl.de\" -DPACKAGE_URL=\"\" -DPACKAGE=\"scanbd\" -DVERSION=\"1.92\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ALARM=1 -DHAVE_DUP2=1 -DHAVE_FTRUNCATE=1 -DHAVE_GETCWD=1 -DHAVE_MEMSET=1 -DHAVE_PUTENV=1 -DHAVE_REGCOMP=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_ARPA_INET_H=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_PTHREAD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CHOWN=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_LINUX_LIMITS_H=1 -DHAVE_UTMP_H=1 -DHAVE_UTMPX_H=1 -DUSE_LIB UDEV=1 -DHAVE_SYSTEMD=1 -DUSE_SANE=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=c11 -g -Werror -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DSCANBUTTOND_LIB_DIR=\"/usr/lib/x86_64-linux-gnu/scanbd/scanbuttond/backends\" -DSCANBD_CFG_DIR=\"/etc/scanbd\" -DSANED_PATH=\"\" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=clobbered -Wno-error=missing-field-initializers -c -o daemonize.o daemonize.c gcc -DPACKAGE_NAME=\"scanbd\" -DPACKAGE_TARNAME=\"scanbd\" -DPACKAGE_VERSION=\"1.92\" -DPACKAGE_STRING=\"scanbd\ 1.92\" -DPACKAGE_BUGREPORT=\"wilhelm.me...@fh-kl.de\" -DPACKAGE_URL=\"\" -DPACKAGE=\"scanbd\" -DVERSION=\"1.92\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ALARM=1 -DHAVE_DUP2=1 -DHAVE_FTRUNCATE=1 -DHAVE_GETCWD=1 -DHAVE_MEMSET=1 -DHAVE_PUTENV=1 -DHAVE_REGCOMP=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_ARPA_INET_H=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_PTHREAD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CHOWN=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_LINUX_LIMITS_H=1 -DHAVE_UTMP_H=1 -DHAVE_UTMPX_H=1 -DUSE_LIB UDEV=1 -DHAVE_SYSTEMD=1 -DUSE_SANE=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=c11 -g -Werror -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DSCANBUTTOND_LIB_DIR=\"/usr/lib/x86_64-linux-gnu/scanbd/scanbuttond/backends\" -DSCANBD_CFG_DIR=\"/etc/scanbd\" -DSANED_PATH=\"\" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=clobbered -Wno-error=missing-field-initializers -c -o dbus.o dbus.c gcc -DPACKAGE_NAME=\"scanbd\" -DPACKAGE_TARNAME=\"scanbd\" -DPACKAGE_VERSION=\"1.92\" -DPACKAGE_STRING=\"scanbd\ 1.92\" -DPACKAGE_BUGREPORT=\"wilhelm.me...@fh-kl.de\" -DPACKAGE_URL=\"\" -DPACKAGE=\"scanbd\" -DVERSION=\"1.92\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ALARM=1 -DHAVE_DUP2=1 -DHAVE_FTRUNCATE=1 -DHAVE_GETCWD=1 -DHAVE_MEMSET=1 -DHAVE_PUTENV=1 -DHAVE_REGCOMP=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_ARPA_INET_H=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_PTHREAD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CHOWN=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_LINUX_LIMITS_H=1 -DHAVE_UTMP_H=1 -DHAVE_UTMPX_H=1 -DUSE_LIB UDEV=1 -DHAVE_SYSTEMD=1 -DUSE_SANE=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=c11 -g -Werror -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DSCANBUTTOND_LIB_DIR=\"/usr/lib/x86_64-linux-gnu/scanbd/scanbuttond/backends\" -DSCANBD_CFG_DIR=\"/etc/scanbd\" -DSANED_PATH=\"\" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=clobbered -Wno-error=missing-field-initializers -c -o udev.o udev.c In file included from /usr/include/string.h:494, from common.h:57, from scanbd.h:36, from config.c:23: In function 'strncpy', inlined from 'cfg_do_parse' at config.c:117:5: /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 file included from /usr/include/string.h:494, from common.h:57, from scanbd.h:36, from scanbd.c:23: In function 'strncpy', inlined from 'main' at scanbd.c:354:5: /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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[2]: *** [Makefile:520: config.o] Error 1 make[2]: *** Waiting for unfinished jobs.... cc1: all warnings being treated as errors make[2]: *** [Makefile:520: scanbd.o] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/scanbd' make[1]: *** [Makefile:427: all-recursive] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: make -j4 returned exit code 2 make: *** [debian/rules:6: build-arch] Error 2 dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2