[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/ircd-irc2_2.11.2p3~dfsg-7.1_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
[...]
checking for working vfork... (cached) yes
checking for setpgrp... yes
checking for strchr... yes
checking for strrchr... yes
checking for memcmp... yes
checking for memset... yes
checking for memmove... yes
checking for memcpy... yes
checking for index... yes
checking for rindex... yes
checking for bcmp... yes
checking for bcopy... yes
checking for bzero... yes
checking for select... yes
checking for inet_ntoa... yes
checking for inet_aton... yes
checking for inet_addr... yes
checking for inet_netof... yes
checking for getrusage... yes
checking for times... yes
checking for strerror... yes
checking for strtoken... no
checking for strtok... yes
checking for sigaction... yes
checking for sigset... yes
checking for truncate... yes
checking for poll... yes
checking for vsyslog... yes
checking for strlcpy... yes
checking for sys_errlist declaration in stdio.h, errno.h or sys/errno.h... no
checking for 8-bit clean memcmp... no
checking whether select or poll system call will be used... poll
checking for signal implementation... using POSIX sigaction
checking for a working non-blocking system... using none
configure: WARNING: I can't find a working non-blocking system.
checking for resolver configuration file... /etc/resolv.conf
checking IPv6 system type... native
checking for getipnodebyname... no
checking whether this is an alpha/beta release... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating version.c.SH
config.status: creating sums
config.status: creating tkconf.h
config.status: creating setup.h
config.status: executing chmod commands
make[1]: Leaving directory '/build/reproducible-path/ircd-irc2-2.11.2p3~dfsg'
debian/rules override_dh_auto_build
make[1]: Entering directory '/build/reproducible-path/ircd-irc2-2.11.2p3~dfsg'
/usr/bin/make -C builddir all
make[2]: Entering directory '/build/reproducible-path/ircd-irc2-2.11.2p3~dfsg/builddir'
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ircd-irc2-2.11.2p3~dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I../ircd -I../common -c -o bsd.o ../common/bsd.c
../common/bsd.c: In function ‘dummy’:
../common/bsd.c:48:24: error: assignment to ‘__sighandler_t’ {aka ‘void (*)(int)’} from incompatible pointer type ‘int (*)(int)’ [-Wincompatible-pointer-types]
48 | act.sa_handler = dummy;
| ^
../common/bsd.c:34:17: note: ‘dummy’ declared here
34 | RETSIGTYPE dummy(int s)
| ^~~~~
In file included from ../common/os.h:105,
from ../common/bsd.c:25:
/usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here
72 | typedef void (*__sighandler_t) (int);
| ^~~~~~~~~~~~~~
make[2]: *** [Makefile:295: bsd.o] Error 1
make[2]: Leaving directory '/build/reproducible-path/ircd-irc2-2.11.2p3~dfsg/builddir'
make[1]: *** [debian/rules:63: override_dh_auto_build] Error 2
make[1]: Leaving directory '/build/reproducible-path/ircd-irc2-2.11.2p3~dfsg'
make: *** [debian/rules:39: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2