Package: src:scanbd Version: 1.5.1-5 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/scanbd_1.5.1-5_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 [...] checking for GNU libc compatible malloc... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking linux/limits.h usability... yes checking linux/limits.h presence... yes checking for linux/limits.h... yes checking utmp.h usability... yes checking utmp.h presence... yes checking for utmp.h... yes checking utmpx.h usability... yes checking utmpx.h presence... yes 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 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:495, from common.h:57, from scanbd.h:36, from config.c:23: In function ‘strncpy’, inlined from ‘make_script_path_abs’ at config.c:159:9: /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.... make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/scanbd' make[1]: *** [Makefile:427: all-recursive] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: error: make -j4 returned exit code 2 make: *** [debian/rules:6: build] Error 25 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2