[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/xskat_4.0-9_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
[...]
xio.c:3257:6: warning: old-style function definition [-Wold-style-definition]
3257 | VOID setcurs(f)
| ^~~~~~~
xio.c:3259:1: error: number of arguments doesn’t match prototype
3259 | {
| ^
defs.h:397:6: error: prototype declaration
397 | VOID setcurs();
| ^~~~~~~
xio.c:3280:9: error: too many arguments to function ‘di_info’; expected 0, have 2
3280 | di_info(sn,-1);
| ^~~~~~~ ~~
defs.h:268:6: note: declared here
268 | VOID di_info();
| ^~~~~~~
xio.c:3312:49: error: too many arguments to function ‘di_info’; expected 0, have 2
3312 | if (phase!=WEITER && phase!=REVOLUTION) di_info(sn,actsn);
| ^~~~~~~ ~~
defs.h:268:6: note: declared here
268 | VOID di_info();
| ^~~~~~~
xio.c:3318:45: error: too many arguments to function ‘di_info’; expected 0, have 2
3318 | if (phase!=WEITER && phase!=REVOLUTION) di_info(f-1,actsn);
| ^~~~~~~ ~~~
defs.h:268:6: note: declared here
268 | VOID di_info();
| ^~~~~~~
irc.c: In function ‘irc_out’:
irc.c:68:3: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
68 | write(irc_o,s,strlen(s));
| ^~~~~~~~~~~~~~~~~~~~~~~~
xio.c:3332:7: error: too many arguments to function ‘v_gtext’; expected 0, have 5
3332 | v_gtext(wsn,x,y,0,clr);
| ^~~~~~~ ~~~
xio.c:116:6: note: declared here
116 | VOID v_gtext(sn,x,y,w,t)
| ^~~~~~~
xio.c:3344:11: error: too many arguments to function ‘v_gtext’; expected 0, have 5
3344 | v_gtext(wsn,x,y,0,textarr[TX_BOCK_SPIEL].t[lang[wsn]]);
| ^~~~~~~ ~~~
xio.c:116:6: note: declared here
116 | VOID v_gtext(sn,x,y,w,t)
| ^~~~~~~
xio.c:3348:9: error: too many arguments to function ‘v_gtext’; expected 0, have 5
3348 | v_gtext(wsn,x,y,0,textarr[TX_DU_BIST_DRAN].t[lang[wsn]]);
| ^~~~~~~ ~~~
xio.c:116:6: note: declared here
116 | VOID v_gtext(sn,x,y,w,t)
| ^~~~~~~
irc.c: In function ‘irc_connect’:
irc.c:1384:3: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
1384 | pipe(pipe1fd);
| ^~~~~~~~~~~~~
irc.c:1385:3: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
1385 | pipe(pipe2fd);
| ^~~~~~~~~~~~~
make[2]: *** [<builtin>: irc.o] Error 1
xio.c: In function ‘read_cards’:
xio.c:1818:7: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
1818 | fscanf(f,"%*s ");
| ^~~~~~~~~~~~~~~~
make[2]: *** [<builtin>: xdial.o] Error 1
make[2]: *** [<builtin>: skat.o] Error 1
make[2]: *** [<builtin>: xio.o] Error 1
make[2]: Leaving directory '/build/reproducible-path/xskat-4.0'
dh_auto_build: error: make -j8 CC=x86_64-linux-gnu-gcc "CCOPTIONS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xskat-4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2" "EXTRA_LDOPTIONS=-Wl,-z,relro -Wl,-z,now" PREPROCESSMANPAGES= returned exit code 2
make[1]: *** [debian/rules:16: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/xskat-4.0'
make: *** [debian/rules:13: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2