Package: src:pktstat Version: 1.8.5-8 Severity: important Tags: sid forky User: debian-...@lists.debian.org Usertags: ftbfs-gcc-15
[This bug is NOT targeted to the upcoming trixie release] 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-15/g++-15, but succeeds to build with gcc-14/g++-14. The severity of this report will be raised before the forky release. The full build log can be found at: http://qa-logs.debian.net/2025/02/16/amd64exp/pktstat_1.8.5-8_unstable_gccexp.log.gz The last lines of the build log are at the end of this report. To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly, or install the gcc, g++, gfortran, ... packages from experimental. apt-get -t=experimental install g++ GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS. Other 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-15/porting_to.html [...] In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from tcp_http.c:9: /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ tcp_http.c: In function ‘tcp_http’: tcp_http.c:36:1: warning: old-style function definition [-Wold-style-definition] 36 | tcp_http(f, data, end, toserver) | ^~~~~~~~ tcp.c: In function ‘tcp_cmp’: tcp.c:68:1: warning: old-style function definition [-Wold-style-definition] 68 | tcp_cmp(a, b) | ^~~~~~~ tcp.c: In function ‘tcp_hash’: tcp.c:79:1: warning: old-style function definition [-Wold-style-definition] 79 | tcp_hash(a) | ^~~~~~~~ tcp.c: In function ‘tcp_lookup’: tcp.c:102:1: warning: old-style function definition [-Wold-style-definition] 102 | tcp_lookup(port) | ^~~~~~~~~~ tcp.c: In function ‘tcp_tag’: tcp.c:148:1: warning: old-style function definition [-Wold-style-definition] 148 | tcp_tag(p, end, ip, ip6) | ^~~~~~~ tcp.c: In function ‘link_ftp_port’: tcp.c:333:1: warning: old-style function definition [-Wold-style-definition] 333 | link_ftp_port(d, tag, end) | ^~~~~~~~~~~~~ tcp.c: In function ‘link_ftp_eport’: tcp.c:370:1: warning: old-style function definition [-Wold-style-definition] 370 | link_ftp_eport(d, tag, end, defaddr, defaddr6) | ^~~~~~~~~~~~~~ tcp_http.c:89:67: warning: ‘%.*s’ directive output may be truncated writing up to 1021 bytes into a region of size 1018 [-Wformat-truncation=] 89 | snprintf(f->desc, sizeof f->desc, "%c%c%c %.*s", | ^~~~ 90 | data[9], data[10], data[11], 91 | (int)sizeof cp, cp); | ~~ In file included from /usr/include/stdio.h:970: In function ‘snprintf’, inlined from ‘tcp_http’ at tcp_http.c:89:4: /usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output between 5 and 1026 bytes into a destination of size 1022 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ tcp.c: In function ‘link_ftp_port.constprop’: tcp.c:349:43: warning: array subscript 1025 is outside array bounds of ‘char[1024]’ [-Warray-bounds=] 349 | for (b = buf; d < end && b < buf+1+sizeof buf && | ~~~~~^~~~~~~~~~~ tcp.c:346:14: note: at offset 1025 into object ‘buf’ of size 1024 346 | char buf[TAGLEN], *b; | ^~~ tcp.c: In function ‘link_ftp_eport.constprop’: tcp.c:382:43: warning: array subscript 1025 is outside array bounds of ‘char[1024]’ [-Warray-bounds=] 382 | for (b = buf; d < end && b < buf+1+sizeof buf && | ~~~~~^~~~~~~~~~~ tcp.c:379:14: note: at offset 1025 into object ‘buf’ of size 1024 379 | char buf[TAGLEN], *b; | ^~~ make[2]: Leaving directory '/build/reproducible-path/pktstat-1.8.5' make[1]: *** [Makefile:343: all] Error 2 make[1]: Leaving directory '/build/reproducible-path/pktstat-1.8.5' dh_auto_build: error: make -j8 returned exit code 2 make: *** [debian/rules:11: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2