#1133617 redeclipse: ftbfs with GCC-16

#1133617#5
Date:
2026-04-13 13:10:26 UTC
From:
To:
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

#1133617#10
Date:
2026-08-06 10:48:51 UTC
From:
To:
Hello,

Bug #1133617 in redeclipse reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/games-team/redeclipse/-/commit/6aba1988d41ce215599bb94d7b674f1ebf143953
------------------------------------------------------------------------
fix FTBFS with gcc-16 -- Closes: #1133617
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1133617

#1133617#15
Date:
2026-08-06 10:53:18 UTC
From:
To:
Hello,

Bug #1133617 in redeclipse reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/games-team/redeclipse/-/commit/eef540d8a4a7ff1c45281eba43c1d228f05aff96
------------------------------------------------------------------------
fix FTBFS with gcc-16 -- Closes: #1133617
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1133617

#1133617#20
Date:
2026-08-06 11:04:25 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
redeclipse, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1133617@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sébastien Noel <twolife@debian.org> (supplier of updated redeclipse package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 06 Aug 2026 12:17:46 +0200
Source: redeclipse
Architecture: source
Version: 1.6.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Changed-By: Sébastien Noel <twolife@debian.org>
Closes: 1133617
Changes:
 redeclipse (1.6.0-4) unstable; urgency=medium
 .
   * Team upload.
   * Add patch to fix FTBFS with gcc-16 (Closes: #1133617)
Checksums-Sha1:
 9451e4eddc2bea0296b70a2d019ba57edbf4123d 1879 redeclipse_1.6.0-4.dsc
 636cb776a1021beabb52db7325dbc34fcc614e33 17396 redeclipse_1.6.0-4.debian.tar.xz
 94e447f234105bb7540035b471543048a461e4d9 12764 redeclipse_1.6.0-4_amd64.buildinfo
Checksums-Sha256:
 145c66067ac0a5708186cc8285d00e3a13c23aed46a74b7e54fe08d567199e4a 1879 redeclipse_1.6.0-4.dsc
 dd9190d4a7243206a39cf4e36e848607fc64e00d4dfea55a660fbe1a6686c794 17396 redeclipse_1.6.0-4.debian.tar.xz
 28dd6d8fd20fb55e43403804e751b95d5f01a7c94b295043f842a592f2373268 12764 redeclipse_1.6.0-4_amd64.buildinfo
Files:
 1a725e92cdb62998a9bfa2099b606774 1879 games optional redeclipse_1.6.0-4.dsc
 2278e59b7fb8fd83ad42907b12e8a86a 17396 games optional redeclipse_1.6.0-4.debian.tar.xz
 dbe7c6e4916c8d45a08e89fb576b3ce3 12764 games optional redeclipse_1.6.0-4_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQFHBAEBCgAxFiEEdlP6my3wO8aMe9FCrKAIuMk0p9QFAmp0YXETHHR3b2xpZmVA
ZGViaWFuLm9yZwAKCRCsoAi4yTSn1GbhB/9xc82k5OgM1FtcGTBQoxiT2P1vLM6n
w4bnPbxNWwsyl9LAEqgdm3STBPR/o3NGmDw/fK/giZ63QG3DjuZcO0WZj0YW+wUd
Ov82QlmST5/2LDbJBl0bFW4LkFDKWIlpWAFG8ekLGyr6iTGt2Npex5vaKA9WJkP0
QDtxUi5ObCcDc8SBmYN+LEma7SsKL4gqby5twkUulOP6La5n/p5HpW6qdZCxm+sI
AqcYbNjuG5jqSKqLirRJVz5LSu5PCSWxCqitU6o19GdazcJ/pbl2GeegQiCqiRCn
8xQbZfAuFtGprr0CfJ0Fol0WmpOmHhZRj4+9bSBizUHtO+9eDo3uOkZI
=VWV6
-----END PGP SIGNATURE-----