[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/ucspi-unix_1.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
[...]
| ~~~~~~~~~~~~~^~~~~~
unixserver.c:310:6: note: ‘handle_children’ declared here
310 | void handle_children()
| ^~~~~~~~~~~~~~~
/usr/include/diet/signal.h:219:16: note: ‘sighandler_t’ declared here
219 | typedef void (*sighandler_t)(int);
| ^~~~~~~~~~~~
unixserver.c: In function ‘main’:
unixserver.c:348:19: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types]
348 | signal(SIGCHLD, handle_children);
| ^~~~~~~~~~~~~~~
| |
| void (*)(void)
/usr/include/diet/signal.h:524:46: note: expected ‘sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’
524 | sighandler_t signal(int signum, sighandler_t action);
| ~~~~~~~~~~~~~^~~~~~
unixserver.c:310:6: note: ‘handle_children’ declared here
310 | void handle_children()
| ^~~~~~~~~~~~~~~
/usr/include/diet/signal.h:219:16: note: ‘sighandler_t’ declared here
219 | typedef void (*sighandler_t)(int);
| ^~~~~~~~~~~~
unixserver.c:349:18: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types]
349 | signal(SIGINT, handle_intr);
| ^~~~~~~~~~~
| |
| void (*)(void)
/usr/include/diet/signal.h:524:46: note: expected ‘sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’
524 | sighandler_t signal(int signum, sighandler_t action);
| ~~~~~~~~~~~~~^~~~~~
unixserver.c:337:6: note: ‘handle_intr’ declared here
337 | void handle_intr()
| ^~~~~~~~~~~
/usr/include/diet/signal.h:219:16: note: ‘sighandler_t’ declared here
219 | typedef void (*sighandler_t)(int);
| ^~~~~~~~~~~~
unixserver.c:350:19: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types]
350 | signal(SIGTERM, handle_intr);
| ^~~~~~~~~~~
| |
| void (*)(void)
/usr/include/diet/signal.h:524:46: note: expected ‘sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’
524 | sighandler_t signal(int signum, sighandler_t action);
| ~~~~~~~~~~~~~^~~~~~
unixserver.c:337:6: note: ‘handle_intr’ declared here
337 | void handle_intr()
| ^~~~~~~~~~~
/usr/include/diet/signal.h:219:16: note: ‘sighandler_t’ declared here
219 | typedef void (*sighandler_t)(int);
| ^~~~~~~~~~~~
unixserver.c:351:19: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types]
351 | signal(SIGQUIT, handle_intr);
| ^~~~~~~~~~~
| |
| void (*)(void)
/usr/include/diet/signal.h:524:46: note: expected ‘sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’
524 | sighandler_t signal(int signum, sighandler_t action);
| ~~~~~~~~~~~~~^~~~~~
unixserver.c:337:6: note: ‘handle_intr’ declared here
337 | void handle_intr()
| ^~~~~~~~~~~
/usr/include/diet/signal.h:219:16: note: ‘sighandler_t’ declared here
219 | typedef void (*sighandler_t)(int);
| ^~~~~~~~~~~~
make[2]: *** [Makefile:91: unixserver.o] Error 1
make[2]: Leaving directory '/build/reproducible-path/ucspi-unix-1.0/diet'
make[1]: *** [debian/rules:47: override_dh_auto_build] Error 2
make[1]: Leaving directory '/build/reproducible-path/ucspi-unix-1.0'
make: *** [debian/rules:33: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2