Bug#1133617: redeclipse: ftbfs with GCC-16
Emanuele Rocca
ema at debian.org
Mon Apr 13 14:10:26 BST 2026
Package: src:redeclipse
Version: 1.6.0-3
Severity: important
Tags: sid forky ftbfs
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-16
Hi,
redeclipse fails to build in a test rebuild on at least amd64 and arm64 with
gcc-16/g++-16, but builds properly with gcc-15/g++-15. The severity of this
report will be raised before the forky release.
The full build log can be found at:
https://people.debian.org/~ema/gcc-16-rebuilds/output-1/redeclipse_arm64.build.xz
The last lines of the build log are at the end of this report.
To build with GCC 16, either set CC=gcc-16 CXX=g++-16 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures include unused (but set) variables, array subscripts
partly outside array bounds, and new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-16/porting_to.html
Please only close this issue after double-checking that the package can be
built correctly with GCC 16.
Please do not reassign this bug to another package. If a fix in another package
is required, then file a bug for the other package (or clone), and mark this
bug as blocked by the bug in the other package.
[...]
48 | S_PISTOL = S_CLAW+S_W_OFFSET,
| ~~~~~~^~~~~~~~~~~
In file included from game/game.h:289:
game/weapons.h:48:25: warning: arithmetic between different enumeration types ‘<unnamed enum>’ and ‘<unnamed enum>’ is deprecated [-Wdeprecated-enum-enum-conversion]
48 | S_PISTOL = S_CLAW+S_W_OFFSET,
| ~~~~~~^~~~~~~~~~~
In file included from game/game.h:289:
game/weapons.h:48:25: warning: arithmetic between different enumeration types ‘<unnamed enum>’ and ‘<unnamed enum>’ is deprecated [-Wdeprecated-enum-enum-conversion]
48 | S_PISTOL = S_CLAW+S_W_OFFSET,
| ~~~~~~^~~~~~~~~~~
In file included from game/game.h:289:
game/weapons.h:48:25: warning: arithmetic between different enumeration types ‘<unnamed enum>’ and ‘<unnamed enum>’ is deprecated [-Wdeprecated-enum-enum-conversion]
48 | S_PISTOL = S_CLAW+S_W_OFFSET,
| ~~~~~~^~~~~~~~~~~
In file included from game/game.h:289:
game/weapons.h:48:25: warning: arithmetic between different enumeration types ‘<unnamed enum>’ and ‘<unnamed enum>’ is deprecated [-Wdeprecated-enum-enum-conversion]
48 | S_PISTOL = S_CLAW+S_W_OFFSET,
| ~~~~~~^~~~~~~~~~~
In file included from game/game.h:289:
game/weapons.h:48:25: warning: arithmetic between different enumeration types ‘<unnamed enum>’ and ‘<unnamed enum>’ is deprecated [-Wdeprecated-enum-enum-conversion]
48 | S_PISTOL = S_CLAW+S_W_OFFSET,
| ~~~~~~^~~~~~~~~~~
In file included from game/game.h:289:
game/weapons.h:48:25: warning: arithmetic between different enumeration types ‘<unnamed enum>’ and ‘<unnamed enum>’ is deprecated [-Wdeprecated-enum-enum-conversion]
48 | S_PISTOL = S_CLAW+S_W_OFFSET,
| ~~~~~~^~~~~~~~~~~
In file included from game/game.h:289:
game/weapons.h:48:25: warning: arithmetic between different enumeration types ‘<unnamed enum>’ and ‘<unnamed enum>’ is deprecated [-Wdeprecated-enum-enum-conversion]
48 | S_PISTOL = S_CLAW+S_W_OFFSET,
| ~~~~~~^~~~~~~~~~~
In file included from game/game.h:289:
game/weapons.h:48:25: warning: arithmetic between different enumeration types ‘<unnamed enum>’ and ‘<unnamed enum>’ is deprecated [-Wdeprecated-enum-enum-conversion]
48 | S_PISTOL = S_CLAW+S_W_OFFSET,
| ~~~~~~^~~~~~~~~~~
In file included from game/game.h:289:
game/weapons.h:48:25: warning: arithmetic between different enumeration types ‘<unnamed enum>’ and ‘<unnamed enum>’ is deprecated [-Wdeprecated-enum-enum-conversion]
48 | S_PISTOL = S_CLAW+S_W_OFFSET,
| ~~~~~~^~~~~~~~~~~
In file included from game/game.h:289:
game/weapons.h:48:25: warning: arithmetic between different enumeration types ‘<unnamed enum>’ and ‘<unnamed enum>’ is deprecated [-Wdeprecated-enum-enum-conversion]
48 | S_PISTOL = S_CLAW+S_W_OFFSET,
| ~~~~~~^~~~~~~~~~~
game/physics.cpp: In function ‘void physics::updatematerial(physent*, const vec&, const vec&, bool)’:
game/physics.cpp:1058:113: warning: ‘?:’ using integer constants in boolean context, the expression will always evaluate to ‘true’ [-Wint-in-bool-context]
1058 | mattrig(bottom, watercol, 0.5f, int(radius), PHYSMILLIS, 0.25f, PART_SPARK, curmat != MAT_WATER ? S_SPLASH2 : S_SPLASH1);
| ^
game/physics.cpp:1053:20: note: in definition of macro ‘mattrig’
1053 | if(mw >= 0) playsound(mw, mo, pl); \
| ^~
make[2]: *** [<builtin>: game/weapons.o] Error 1
make[2]: *** [<builtin>: game/scoreboard.o] Error 1
make[2]: *** [<builtin>: game/bomber.o] Error 1
make[2]: *** [<builtin>: game/defend.o] Error 1
make[2]: *** [<builtin>: game/waypoint.o] Error 1
make[2]: *** [<builtin>: game/capture.o] Error 1
make[2]: *** [<builtin>: game/ai.o] Error 1
make[2]: *** [<builtin>: game/physics.o] Error 1
make[2]: *** [<builtin>: game/entities.o] Error 1
make[2]: *** [<builtin>: game/client.o] Error 1
make[2]: *** [<builtin>: game/hud.o] Error 1
make[2]: *** [<builtin>: game/projs.o] Error 1
make[2]: *** [Makefile:204: game/server-standalone.o] Error 1
make[2]: *** [<builtin>: game/game.o] Error 1
make[2]: *** [<builtin>: game/server.o] Error 1
make[2]: *** [Makefile:200: shared/cube.h.gch] Error 1
make[2]: Leaving directory '/build/reproducible-path/redeclipse-1.6.0/src'
dh_auto_build: error: cd src && make -j128 INSTALL="install --strip-program=true" CXXFLAGS="-g -O2 -ffile-prefix-map=/build/reproducible-path/redeclipse-1.6.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -ffast-math" LIBENET= client server returned exit code 2
make[1]: *** [debian/rules:22: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/redeclipse-1.6.0'
make: *** [debian/rules:14: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
More information about the Pkg-games-devel
mailing list