Package: src:blobandconquer Version: 1.11-dfsg+20-5 Severity: important Tags: sid forky ftbfs User: [email protected] Usertags: ftbfs-gcc-16
Hi, blobandconquer 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/blobandconquer_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. [...] src/cplusplus/../cplusplus/CSwitch.h:36:24: error: expected unqualified-id before ‘requires’ 36 | String requires; | ^~~~~~~~ make[2]: *** [makefile:101: particles.o] Error 1 In file included from src/combat/../headers.h:112, from src/combat/explosions.h:21, from src/combat/explosions.cpp:21: src/combat/../cplusplus/CSwitch.h:36:24: error: expected unqualified-id before ‘requires’ 36 | String requires; | ^~~~~~~~ In file included from src/entities/../headers.h:112, from src/entities/lift.h:21, from src/entities/lift.cpp:21: src/entities/../cplusplus/CSwitch.h:36:24: error: expected unqualified-id before ‘requires’ 36 | String requires; | ^~~~~~~~ In file included from src/cplusplus/../headers.h:112, from src/cplusplus/CBaseWidget.cpp:21: src/cplusplus/../cplusplus/CSwitch.h:36:24: error: expected unqualified-id before ‘requires’ 36 | String requires; | ^~~~~~~~ make[2]: *** [makefile:101: CBoundingBox.o] Error 1 make[2]: *** [makefile:101: CCheckBox.o] Error 1 make[2]: *** [makefile:101: CVector.o] Error 1 make[2]: *** [makefile:101: finalBoss.o] Error 1 make[2]: *** [makefile:101: camera.o] Error 1 make[2]: *** [makefile:101: CPoint.o] Error 1 In file included from src/cplusplus/../headers.h:112, from src/cplusplus/CCutsceneCamera.cpp:21: src/cplusplus/../cplusplus/CSwitch.h:36:24: error: expected unqualified-id before ‘requires’ 36 | String requires; | ^~~~~~~~ make[2]: *** [makefile:101: eyeDroidCommander.o] Error 1 In file included from src/hud/../headers.h:112, from src/hud/dialogs.h:21, from src/hud/dialogs.cpp:21: src/hud/../cplusplus/CSwitch.h:36:24: error: expected unqualified-id before ‘requires’ 36 | String requires; | ^~~~~~~~ make[2]: *** [makefile:101: laserGrid.o] Error 1 make[2]: *** [makefile:101: CVectori.o] Error 1 make[2]: *** [makefile:101: CCollision.o] Error 1 make[2]: *** [makefile:101: darkBioMechs.o] Error 1 src/hud/dialogs.cpp: In function ‘SDL_Surface* buildMainDialog(const char*)’: src/hud/dialogs.cpp:124:44: warning: narrowing conversion of ‘graphics->Graphics::textWidth’ from ‘int’ to ‘Uint16’ {aka ‘short unsigned int’} [-Wnarrowing] 124 | SDL_Rect source = {0, 0, graphics->textWidth, graphics->textHeight}; | ~~~~~~~~~~^~~~~~~~~ src/hud/dialogs.cpp:124:65: warning: narrowing conversion of ‘graphics->Graphics::textHeight’ from ‘int’ to ‘Uint16’ {aka ‘short unsigned int’} [-Wnarrowing] 124 | SDL_Rect source = {0, 0, graphics->textWidth, graphics->textHeight}; | ~~~~~~~~~~^~~~~~~~~~ src/hud/dialogs.cpp:125:44: warning: narrowing conversion of ‘graphics->Graphics::textWidth’ from ‘int’ to ‘Uint16’ {aka ‘short unsigned int’} [-Wnarrowing] 125 | SDL_Rect dest = {10, 10, graphics->textWidth, graphics->textHeight}; | ~~~~~~~~~~^~~~~~~~~ src/hud/dialogs.cpp:125:65: warning: narrowing conversion of ‘graphics->Graphics::textHeight’ from ‘int’ to ‘Uint16’ {aka ‘short unsigned int’} [-Wnarrowing] 125 | SDL_Rect dest = {10, 10, graphics->textWidth, graphics->textHeight}; | ~~~~~~~~~~^~~~~~~~~~ make[2]: *** [makefile:101: cryptBoss.o] Error 1 make[2]: *** [makefile:101: doors.o] Error 1 make[2]: *** [makefile:101: md2.o] Error 1 make[2]: *** [makefile:101: CBullet.o] Error 1 make[2]: *** [makefile:101: explosions.o] Error 1 make[2]: *** [makefile:101: lift.o] Error 1 make[2]: *** [makefile:101: CBaseWidget.o] Error 1 make[2]: *** [makefile:101: CCutsceneCamera.o] Error 1 make[2]: *** [makefile:101: dialogs.o] Error 1 make[2]: Leaving directory '/build/reproducible-path/blobandconquer-1.11-dfsg+20' dh_auto_build: error: make -j128 INSTALL="install --strip-program=true" RELEASE=1 returned exit code 2 make[1]: *** [debian/rules:8: override_dh_auto_build] Error 25 make[1]: Leaving directory '/build/reproducible-path/blobandconquer-1.11-dfsg+20' make: *** [debian/rules:5: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2

