[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/firewalk_5.0-5_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
[...]
init.c:62:27: error: passing argument 2 of ‘catch_sig’ from incompatible pointer type [-Wincompatible-pointer-types]
62 | if (catch_sig(SIGINT, catch_sigint) == -1)
| ^~~~~~~~~~~~
| |
| void (*)(int)
In file included from init.c:38:
../include/firewalk.h:256:5: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(int)’
256 | void (*)() /* new signal handler */
| ^~~~~~~~~~
../include/firewalk.h:261:1: note: ‘catch_sigint’ declared here
261 | catch_sigint(
| ^~~~~~~~~~~~
init.c: In function ‘fw_init_net’:
init.c:92:23: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
92 | (*fp)->device = libnet_getdevice((*fp)->l);
| ^
make[2]: *** [Makefile:392: init.o] Error 1
make[2]: *** Waiting for unfinished jobs....
packet_filter.c: In function ‘fw_set_pcap_filter’:
packet_filter.c:50:68: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 238 [-Wformat-truncation=]
50 | snprintf((*fp)->errbuf, FW_ERRBUF_SIZE, "pcap_lookupnet(): %s",
| ^~
51 | errbuf);
| ~~~~~~
In file included from /usr/include/stdio.h:970,
from /usr/include/pcap/pcap.h:136,
from /usr/include/pcap.h:43,
from ../include/firewalk.h:45,
from packet_filter.c:38:
In function ‘snprintf’,
inlined from ‘fw_set_pcap_filter’ at packet_filter.c:50:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output between 19 and 274 bytes into a destination of size 256
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
main.c: In function ‘main’:
main.c:78:27: warning: pointer targets in passing argument 1 of ‘usage’ differ in signedness [-Wpointer-sign]
78 | usage(argv[0]);
| ~~~~^~~
| |
| char *
In file included from main.c:38:
../include/firewalk.h:288:5: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
288 | u_char * /* argv[0] */
| ^~~~~~~~
main.c:125:27: warning: pointer targets in passing argument 1 of ‘usage’ differ in signedness [-Wpointer-sign]
125 | usage(argv[0]);
| ~~~~^~~
| |
| char *
../include/firewalk.h:288:5: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
288 | u_char * /* argv[0] */
| ^~~~~~~~
main.c:136:19: warning: pointer targets in passing argument 1 of ‘usage’ differ in signedness [-Wpointer-sign]
136 | usage(argv[0]);
| ~~~~^~~
| |
| char *
../include/firewalk.h:288:5: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
288 | u_char * /* argv[0] */
| ^~~~~~~~
make[2]: Leaving directory '/build/reproducible-path/firewalk-5.0/src'
make[1]: *** [Makefile:391: all-recursive] Error 1
make[1]: Leaving directory '/build/reproducible-path/firewalk-5.0'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2