Bug#1096357: barrage: ftbfs with GCC-15
Matthias Klose
doko at debian.org
Mon Feb 17 17:04:43 GMT 2025
Package: src:barrage
Version: 1.0.7-1
Severity: important
Tags: sid forky
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-15
[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/barrage_1.0.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
[...]
make[1]: Leaving directory '/build/reproducible-path/barrage-1.0.7'
dh_auto_build
make -j8
make[1]: Entering directory '/build/reproducible-path/barrage-1.0.7'
make all-recursive
make[2]: Entering directory '/build/reproducible-path/barrage-1.0.7'
Making all in src
make[3]: Entering directory '/build/reproducible-path/barrage-1.0.7/src'
Making all in gfx
make[4]: Entering directory '/build/reproducible-path/barrage-1.0.7/src/gfx'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/build/reproducible-path/barrage-1.0.7/src/gfx'
Making all in sounds
make[4]: Entering directory '/build/reproducible-path/barrage-1.0.7/src/sounds'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/build/reproducible-path/barrage-1.0.7/src/sounds'
make[4]: Entering directory '/build/reproducible-path/barrage-1.0.7/src'
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/barrage-1.0.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DAUDIO_ENABLED -DSRC_DIR=\"/usr/share/barrage\" -DCONFIGDIRNAME=\"~/.config\" -DHISCOREDIR=\"/var\" -c -o main.o main.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/barrage-1.0.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DAUDIO_ENABLED -DSRC_DIR=\"/usr/share/barrage\" -DCONFIGDIRNAME=\"~/.config\" -DHISCOREDIR=\"/var\" -c -o particle.o particle.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/barrage-1.0.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DAUDIO_ENABLED -DSRC_DIR=\"/usr/share/barrage\" -DCONFIGDIRNAME=\"~/.config\" -DHISCOREDIR=\"/var\" -c -o shots.o shots.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/barrage-1.0.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DAUDIO_ENABLED -DSRC_DIR=\"/usr/share/barrage\" -DCONFIGDIRNAME=\"~/.config\" -DHISCOREDIR=\"/var\" -c -o units.o units.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/barrage-1.0.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DAUDIO_ENABLED -DSRC_DIR=\"/usr/share/barrage\" -DCONFIGDIRNAME=\"~/.config\" -DHISCOREDIR=\"/var\" -c -o data.o data.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/barrage-1.0.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DAUDIO_ENABLED -DSRC_DIR=\"/usr/share/barrage\" -DCONFIGDIRNAME=\"~/.config\" -DHISCOREDIR=\"/var\" -c -o chart.o chart.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/barrage-1.0.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DAUDIO_ENABLED -DSRC_DIR=\"/usr/share/barrage\" -DCONFIGDIRNAME=\"~/.config\" -DHISCOREDIR=\"/var\" -c -o bfield.o bfield.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/barrage-1.0.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DAUDIO_ENABLED -DSRC_DIR=\"/usr/share/barrage\" -DCONFIGDIRNAME=\"~/.config\" -DHISCOREDIR=\"/var\" -c -o menu.o menu.c
main.c: In function ‘fade_screen’:
main.c:304:17: error: too many arguments to function ‘refresh_screen’; expected 0, have 1
304 | refresh_screen(screen);
| ^~~~~~~~~~~~~~ ~~~~~~
main.c:251:6: note: declared here
251 | void refresh_screen()
| ^~~~~~~~~~~~~~
main.c:314:9: error: too many arguments to function ‘refresh_screen’; expected 0, have 1
314 | refresh_screen(screen);
| ^~~~~~~~~~~~~~ ~~~~~~
main.c:251:6: note: declared here
251 | void refresh_screen()
| ^~~~~~~~~~~~~~
main.c: In function ‘game_finalize’:
main.c:532:25: error: too many arguments to function ‘refresh_screen’; expected 0, have 1
532 | refresh_screen(screen);
| ^~~~~~~~~~~~~~ ~~~~~~
main.c:251:6: note: declared here
251 | void refresh_screen()
| ^~~~~~~~~~~~~~
main.c:541:25: error: too many arguments to function ‘refresh_screen’; expected 0, have 1
541 | refresh_screen(screen);
| ^~~~~~~~~~~~~~ ~~~~~~
main.c:251:6: note: declared here
251 | void refresh_screen()
| ^~~~~~~~~~~~~~
main.c: In function ‘main_loop’:
main.c:638:17: error: too many arguments to function ‘refresh_screen’; expected 0, have 1
638 | refresh_screen(screen);
| ^~~~~~~~~~~~~~ ~~~~~~
main.c:251:6: note: declared here
251 | void refresh_screen()
| ^~~~~~~~~~~~~~
make[4]: *** [Makefile:438: main.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/build/reproducible-path/barrage-1.0.7/src'
make[3]: *** [Makefile:454: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/barrage-1.0.7/src'
make[2]: *** [Makefile:465: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/barrage-1.0.7'
make[1]: *** [Makefile:362: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/barrage-1.0.7'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Pkg-games-devel
mailing list