[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/lwipv6_1.5a-10_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
[...]
323 | ip = ip_addr_list_maskfind(netif->autoconf->addrs_tentative, (struct ip_addr *) &ina->targetip);
| ^~~~~~~~~~~~~~
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../.. -I../../../../ports/unix/include -I../../../../../lwip-v6/src/include -I../../../../../lwip-v6/src/include/ipv6 -Iapps -I. -I../../../../../lwip-v6/src/include/userfilter -I../../../../../lwip-v6/src/include/radv -Wdate-time -D_FORTIFY_SOURCE=2 -g3 -ggdb3 -c ../../../../../lwip-v6/src/core/ipv6/ip6_autoconf.c -o ip6_autoconf.o >/dev/null 2>&1
/bin/bash ../../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../.. -I../../../../ports/unix/include -I../../../../../lwip-v6/src/include -I../../../../../lwip-v6/src/include/ipv6 -Iapps -I. -I../../../../../lwip-v6/src/include/userfilter -I../../../../../lwip-v6/src/include/radv -Wdate-time -D_FORTIFY_SOURCE=2 -g3 -ggdb3 -c -o ip6_radv.lo `test -f '../../../../../lwip-v6/src/core/ipv6/ip6_radv.c' || echo './'`../../../../../lwip-v6/src/core/ipv6/ip6_radv.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../.. -I../../../../ports/unix/include -I../../../../../lwip-v6/src/include -I../../../../../lwip-v6/src/include/ipv6 -Iapps -I. -I../../../../../lwip-v6/src/include/userfilter -I../../../../../lwip-v6/src/include/radv -Wdate-time -D_FORTIFY_SOURCE=2 -g3 -ggdb3 -c ../../../../../lwip-v6/src/core/ipv6/ip6_radv.c -fPIC -DPIC -o .libs/ip6_radv.o
../../../../../lwip-v6/src/core/ipv6/ip6_radv.c: In function 'send_ra':
../../../../../lwip-v6/src/core/ipv6/ip6_radv.c:320:48: warning: taking address of packed member of 'struct icmp_opt_prefix' may result in an unaligned pointer value [-Waddress-of-packed-member]
320 | ip_addr_set((struct ip_addr *) &opt_prefix->prefix, &list->Prefix);
| ^~~~~~~~~~~~~~~~~~~
../../../../../lwip-v6/src/core/ipv6/ip6_radv.c: In function 'ip_radv_handle_rs':
../../../../../lwip-v6/src/core/ipv6/ip6_radv.c:664:51: warning: taking address of packed member of 'struct ip_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member]
664 | send_unicast_ra_with_delay(netif, &iphdr->src);
| ^~~~~~~~~~~
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../.. -I../../../../ports/unix/include -I../../../../../lwip-v6/src/include -I../../../../../lwip-v6/src/include/ipv6 -Iapps -I. -I../../../../../lwip-v6/src/include/userfilter -I../../../../../lwip-v6/src/include/radv -Wdate-time -D_FORTIFY_SOURCE=2 -g3 -ggdb3 -c ../../../../../lwip-v6/src/core/ipv6/ip6_radv.c -o ip6_radv.o >/dev/null 2>&1
/bin/bash ../../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../.. -I../../../../ports/unix/include -I../../../../../lwip-v6/src/include -I../../../../../lwip-v6/src/include/ipv6 -Iapps -I. -I../../../../../lwip-v6/src/include/userfilter -I../../../../../lwip-v6/src/include/radv -Wdate-time -D_FORTIFY_SOURCE=2 -g3 -ggdb3 -c -o api_lib.lo `test -f '../../../../../lwip-v6/src/api/api_lib.c' || echo './'`../../../../../lwip-v6/src/api/api_lib.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../.. -I../../../../ports/unix/include -I../../../../../lwip-v6/src/include -I../../../../../lwip-v6/src/include/ipv6 -Iapps -I. -I../../../../../lwip-v6/src/include/userfilter -I../../../../../lwip-v6/src/include/radv -Wdate-time -D_FORTIFY_SOURCE=2 -g3 -ggdb3 -c ../../../../../lwip-v6/src/api/api_lib.c -fPIC -DPIC -o .libs/api_lib.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../.. -I../../../../ports/unix/include -I../../../../../lwip-v6/src/include -I../../../../../lwip-v6/src/include/ipv6 -Iapps -I. -I../../../../../lwip-v6/src/include/userfilter -I../../../../../lwip-v6/src/include/radv -Wdate-time -D_FORTIFY_SOURCE=2 -g3 -ggdb3 -c ../../../../../lwip-v6/src/api/api_lib.c -o api_lib.o >/dev/null 2>&1
/bin/bash ../../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../.. -I../../../../ports/unix/include -I../../../../../lwip-v6/src/include -I../../../../../lwip-v6/src/include/ipv6 -Iapps -I. -I../../../../../lwip-v6/src/include/userfilter -I../../../../../lwip-v6/src/include/radv -Wdate-time -D_FORTIFY_SOURCE=2 -g3 -ggdb3 -c -o api_msg.lo `test -f '../../../../../lwip-v6/src/api/api_msg.c' || echo './'`../../../../../lwip-v6/src/api/api_msg.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../.. -I../../../../ports/unix/include -I../../../../../lwip-v6/src/include -I../../../../../lwip-v6/src/include/ipv6 -Iapps -I. -I../../../../../lwip-v6/src/include/userfilter -I../../../../../lwip-v6/src/include/radv -Wdate-time -D_FORTIFY_SOURCE=2 -g3 -ggdb3 -c ../../../../../lwip-v6/src/api/api_msg.c -fPIC -DPIC -o .libs/api_msg.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../.. -I../../../../ports/unix/include -I../../../../../lwip-v6/src/include -I../../../../../lwip-v6/src/include/ipv6 -Iapps -I. -I../../../../../lwip-v6/src/include/userfilter -I../../../../../lwip-v6/src/include/radv -Wdate-time -D_FORTIFY_SOURCE=2 -g3 -ggdb3 -c ../../../../../lwip-v6/src/api/api_msg.c -o api_msg.o >/dev/null 2>&1
/bin/bash ../../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../.. -I../../../../ports/unix/include -I../../../../../lwip-v6/src/include -I../../../../../lwip-v6/src/include/ipv6 -Iapps -I. -I../../../../../lwip-v6/src/include/userfilter -I../../../../../lwip-v6/src/include/radv -Wdate-time -D_FORTIFY_SOURCE=2 -g3 -ggdb3 -c -o tcpip.lo `test -f '../../../../../lwip-v6/src/api/tcpip.c' || echo './'`../../../../../lwip-v6/src/api/tcpip.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../.. -I../../../../ports/unix/include -I../../../../../lwip-v6/src/include -I../../../../../lwip-v6/src/include/ipv6 -Iapps -I. -I../../../../../lwip-v6/src/include/userfilter -I../../../../../lwip-v6/src/include/radv -Wdate-time -D_FORTIFY_SOURCE=2 -g3 -ggdb3 -c ../../../../../lwip-v6/src/api/tcpip.c -fPIC -DPIC -o .libs/tcpip.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../.. -I../../../../ports/unix/include -I../../../../../lwip-v6/src/include -I../../../../../lwip-v6/src/include/ipv6 -Iapps -I. -I../../../../../lwip-v6/src/include/userfilter -I../../../../../lwip-v6/src/include/radv -Wdate-time -D_FORTIFY_SOURCE=2 -g3 -ggdb3 -c ../../../../../lwip-v6/src/api/tcpip.c -o tcpip.o >/dev/null 2>&1
/bin/bash ../../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../.. -I../../../../ports/unix/include -I../../../../../lwip-v6/src/include -I../../../../../lwip-v6/src/include/ipv6 -Iapps -I. -I../../../../../lwip-v6/src/include/userfilter -I../../../../../lwip-v6/src/include/radv -Wdate-time -D_FORTIFY_SOURCE=2 -g3 -ggdb3 -c -o err.lo `test -f '../../../../../lwip-v6/src/api/err.c' || echo './'`../../../../../lwip-v6/src/api/err.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../.. -I../../../../ports/unix/include -I../../../../../lwip-v6/src/include -I../../../../../lwip-v6/src/include/ipv6 -Iapps -I. -I../../../../../lwip-v6/src/include/userfilter -I../../../../../lwip-v6/src/include/radv -Wdate-time -D_FORTIFY_SOURCE=2 -g3 -ggdb3 -c ../../../../../lwip-v6/src/api/err.c -fPIC -DPIC -o .libs/err.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../.. -I../../../../ports/unix/include -I../../../../../lwip-v6/src/include -I../../../../../lwip-v6/src/include/ipv6 -Iapps -I. -I../../../../../lwip-v6/src/include/userfilter -I../../../../../lwip-v6/src/include/radv -Wdate-time -D_FORTIFY_SOURCE=2 -g3 -ggdb3 -c ../../../../../lwip-v6/src/api/err.c -o err.o >/dev/null 2>&1
/bin/bash ../../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../.. -I../../../../ports/unix/include -I../../../../../lwip-v6/src/include -I../../../../../lwip-v6/src/include/ipv6 -Iapps -I. -I../../../../../lwip-v6/src/include/userfilter -I../../../../../lwip-v6/src/include/radv -Wdate-time -D_FORTIFY_SOURCE=2 -g3 -ggdb3 -c -o netlink.lo `test -f '../../../../../lwip-v6/src/api/netlink.c' || echo './'`../../../../../lwip-v6/src/api/netlink.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../.. -I../../../../ports/unix/include -I../../../../../lwip-v6/src/include -I../../../../../lwip-v6/src/include/ipv6 -Iapps -I. -I../../../../../lwip-v6/src/include/userfilter -I../../../../../lwip-v6/src/include/radv -Wdate-time -D_FORTIFY_SOURCE=2 -g3 -ggdb3 -c ../../../../../lwip-v6/src/api/netlink.c -fPIC -DPIC -o .libs/netlink.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../.. -I../../../../ports/unix/include -I../../../../../lwip-v6/src/include -I../../../../../lwip-v6/src/include/ipv6 -Iapps -I. -I../../../../../lwip-v6/src/include/userfilter -I../../../../../lwip-v6/src/include/radv -Wdate-time -D_FORTIFY_SOURCE=2 -g3 -ggdb3 -c ../../../../../lwip-v6/src/api/netlink.c -o netlink.o >/dev/null 2>&1
/bin/bash ../../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../.. -I../../../../ports/unix/include -I../../../../../lwip-v6/src/include -I../../../../../lwip-v6/src/include/ipv6 -Iapps -I. -I../../../../../lwip-v6/src/include/userfilter -I../../../../../lwip-v6/src/include/radv -Wdate-time -D_FORTIFY_SOURCE=2 -g3 -ggdb3 -c -o sockets.lo `test -f '../../../../../lwip-v6/src/api/sockets.c' || echo './'`../../../../../lwip-v6/src/api/sockets.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../.. -I../../../../ports/unix/include -I../../../../../lwip-v6/src/include -I../../../../../lwip-v6/src/include/ipv6 -Iapps -I. -I../../../../../lwip-v6/src/include/userfilter -I../../../../../lwip-v6/src/include/radv -Wdate-time -D_FORTIFY_SOURCE=2 -g3 -ggdb3 -c ../../../../../lwip-v6/src/api/sockets.c -fPIC -DPIC -o .libs/sockets.o
../../../../../lwip-v6/src/api/sockets.c: In function 'um_sel_rec_signal':
../../../../../lwip-v6/src/api/sockets.c:1256:25: error: too many arguments to function 'p->cb'; expected 0, have 1
1256 | p->cb(p->arg);
| ^ ~~~~~~
../../../../../lwip-v6/src/api/sockets.c:1204:17: note: declared here
1204 | void (* cb)();
| ^~
../../../../../lwip-v6/src/api/sockets.c: In function 'lwip_pselect':
../../../../../lwip-v6/src/api/sockets.c:2270:65: error: passing argument 1 of 'lwip_event_subscribe' from incompatible pointer type [-Wincompatible-pointer-types]
2270 | revents |= lwip_event_subscribe(lwip_pipecb,fdp,i,events);
| ^~~~~~~~~~~
| |
| void (*)(int *)
../../../../../lwip-v6/src/api/sockets.c:1272:34: note: expected 'void (*)(void)' but argument is of type 'void (*)(int *)'
1272 | int lwip_event_subscribe(void (* cb)(), void *arg, int fd, int events)
| ~~~~~~~~^~~~~
../../../../../lwip-v6/src/api/sockets.c:2240:6: note: 'lwip_pipecb' declared here
2240 | void lwip_pipecb(int *fdp)
| ^~~~~~~~~~~
../../../../../lwip-v6/src/api/sockets.c: In function 'lwip_ppoll':
../../../../../lwip-v6/src/api/sockets.c:2420:69: error: passing argument 1 of 'lwip_event_subscribe' from incompatible pointer type [-Wincompatible-pointer-types]
2420 | fds[i].revents=lwip_event_subscribe(lwip_pipecb,fdp,fds[i].fd,events[i]);
| ^~~~~~~~~~~
| |
| void (*)(int *)
../../../../../lwip-v6/src/api/sockets.c:1272:34: note: expected 'void (*)(void)' but argument is of type 'void (*)(int *)'
1272 | int lwip_event_subscribe(void (* cb)(), void *arg, int fd, int events)
| ~~~~~~~~^~~~~
../../../../../lwip-v6/src/api/sockets.c:2240:6: note: 'lwip_pipecb' declared here
2240 | void lwip_pipecb(int *fdp)
| ^~~~~~~~~~~
make[3]: *** [Makefile:789: sockets.lo] Error 1
make[3]: Leaving directory '/build/reproducible-path/lwipv6-1.5a/lwip-contrib/ports/unix/proj/lib'
make[2]: *** [Makefile:291: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/lwipv6-1.5a'
make[1]: *** [Makefile:220: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/lwipv6-1.5a'
make: *** [/usr/share/cdbs/1/class/makefile.mk:77: debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2