[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/xphoon_20000613+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
[...]
40 | extern void getbits();
| ^~~~~~~
xphoon.c:167:5: error: too many arguments to function ‘xinit’; expected 0, have 1
167 | xinit( display_name );
| ^~~~~ ~~~~~~~~~~~~
xphoon.c:47:13: note: declared here
47 | static void xinit();
| ^~~~~
xphoon.c:178:9: error: too many arguments to function ‘hack_bits’; expected 0, have 10
178 | hack_bits(
| ^~~~~~~~~
179 | dtwstime(), moon_w, moon_h, moon, cx, cy, r, blackflag, demoflag,
| ~~~~~~~~~~
xphoon.c:49:13: note: declared here
49 | static void hack_bits();
| ^~~~~~~~~
xphoon.c:181:9: error: too many arguments to function ‘set_root’; expected 0, have 6
181 | set_root( moon_w, moon_h, moon, cx, cy, r );
| ^~~~~~~~ ~~~~~~
xphoon.c:50:13: note: declared here
50 | static void set_root();
| ^~~~~~~~
xphoon.c:239:9: error: too many arguments to function ‘hack_bits’; expected 0, have 10
239 | hack_bits(
| ^~~~~~~~~
240 | dtwstime(), moon_w, moon_h, mooncopy, cx, cy, r, blackflag,
| ~~~~~~~~~~
xphoon.c:49:13: note: declared here
49 | static void hack_bits();
| ^~~~~~~~~
xphoon.c:242:9: error: too many arguments to function ‘set_root’; expected 0, have 6
242 | set_root( moon_w, moon_h, mooncopy, cx, cy, r );
| ^~~~~~~~ ~~~~~~
xphoon.c:50:13: note: declared here
50 | static void set_root();
| ^~~~~~~~
xphoon.c: In function ‘xinit’:
xphoon.c:271:1: warning: old-style function definition [-Wold-style-definition]
271 | xinit( display_name )
| ^~~~~
xphoon.c: In function ‘byte_flip’:
xphoon.c:471:1: warning: old-style function definition [-Wold-style-definition]
471 | byte_flip( orig_bits )
| ^~~~~~~~~
xphoon.c: In function ‘hack_bits’:
xphoon.c:518:1: warning: old-style function definition [-Wold-style-definition]
518 | hack_bits( t, bits_w, bits_h, bits, cx, cy, r, blackflag, demoflag, southflag )
| ^~~~~~~~~
xphoon.c:540:10: error: too many arguments to function ‘jtime’; expected 0, have 1
540 | jd = jtime( t );
| ^~~~~ ~
xphoon.c:41:15: note: declared here
41 | extern double jtime();
| ^~~~~
xphoon.c:548:16: error: too many arguments to function ‘phase’; expected 0, have 7
548 | angphase = phase( jd, &cphase, &aom, &cdist, &cangdia, &csund, &csuang );
| ^~~~~ ~~
xphoon.c:42:15: note: declared here
42 | extern double phase();
| ^~~~~
xphoon.c: In function ‘set_root’:
xphoon.c:628:1: warning: old-style function definition [-Wold-style-definition]
628 | set_root( bits_w, bits_h, bits, cx, cy, r )
| ^~~~~~~~
make[2]: *** [<builtin>: xphoon.o] Error 1
make[2]: Leaving directory '/build/reproducible-path/xphoon-20000613+0'
make[1]: *** [debian/rules:15: override_dh_auto_build] Error 2
make[1]: Leaving directory '/build/reproducible-path/xphoon-20000613+0'
make: *** [debian/rules:11: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2