Package: src:cups-bjnp Version: 2.0.1-1 Severity: normal Tags: sid bullseye User: [email protected] 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/cups-bjnp_2.0.1-1_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 netinet/in.h... (cached) yes checking for arpa/nameser.h... yes checking for netdb.h... (cached) yes checking for resolv.h... yes checking for size_t... yes checking for ssize_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint8_t... yes checking whether to enable maintainer-specific portions of Makefiles... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build -a make -j4 make[1]: Entering directory '/<<PKGBUILDDIR>>' make all-am make[2]: Entering directory '/<<PKGBUILDDIR>>' gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bjnp-bjnp.o `test -f 'bjnp.c' || echo './'`bjnp.c gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bjnp-bjnp-runloop.o `test -f 'bjnp-runloop.c' || echo './'`bjnp-runloop.c gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bjnp-bjnp-io.o `test -f 'bjnp-io.c' || echo './'`bjnp-io.c gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bjnp-bjnp-debug.o `test -f 'bjnp-debug.c' || echo './'`bjnp-debug.c gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bjnp-bjnp-utils.o `test -f 'bjnp-utils.c' || echo './'`bjnp-utils.c gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bjnp-bjnp-discover.o `test -f 'bjnp-discover.c' || echo './'`bjnp-discover.c gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bjnp-bjnp-commands.o `test -f 'bjnp-commands.c' || echo './'`bjnp-commands.c gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bjnp-bjnp-levels.o `test -f 'bjnp-levels.c' || echo './'`bjnp-levels.c In file included from /usr/include/string.h:494, from /usr/include/cups/http.h:25, from /usr/include/cups/ipp.h:23, from /usr/include/cups/cups.h:32, from bjnp.h:22, from bjnp-commands.c:21: In function 'strncpy', inlined from 'bjnp_set_command_header' at bjnp-commands.c:40:5, inlined from 'bjnp_defaults_set_command_header' at bjnp-commands.c:52:5, inlined from 'get_printer_id' at bjnp-commands.c:155:5: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Werror=stringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'bjnp_set_command_header' at bjnp-commands.c:40:5, inlined from 'bjnp_defaults_set_command_header' at bjnp-commands.c:52:5, inlined from 'bjnp_send_job_details' at bjnp-commands.c:290:5: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Werror=stringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'bjnp_set_command_header' at bjnp-commands.c:40:5, inlined from 'bjnp_defaults_set_command_header' at bjnp-commands.c:52:5: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Werror=stringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'bjnp_set_command_header' at bjnp-commands.c:40:5, inlined from 'bjnp_printer_set_command_header' at bjnp-commands.c:60:5: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Werror=stringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[2]: *** [Makefile:545: bjnp-bjnp-commands.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/<<PKGBUILDDIR>>' make[1]: *** [Makefile:322: all] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: make -j4 returned exit code 2 make: *** [debian/rules:4: build-arch] Error 2 dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
