Bug#1120195: enemylines7: FTBFS: util.cc:17:21: error: 'gluErrorString' was not declared in this scope; did you mean 'errorstring'?

Santiago Vila sanvila at debian.org
Thu Nov 6 11:58:48 GMT 2025


Package: src:enemylines7
Version: 0.6-6
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202511/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:enemylines7, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_auto_clean
	make -j2 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f *.o models/*.o block/*.o tweak/*.o math/*.o elements/*.o enemylines7
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   dh_auto_build
	make -j2 INSTALL="install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
g++ -O2 -Wall `sdl-config --cflags` -I./ `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CXXFLAGS` -Wdate-time -D_FORTIFY_SOURCE=2  -c -o audio.o audio.cc
g++ -O2 -Wall `sdl-config --cflags` -I./ `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CXXFLAGS` -Wdate-time -D_FORTIFY_SOURCE=2  -c -o config.o config.cc
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
In file included from audio.cc:4:
audio.h:10:1: warning: ‘typedef’ was ignored in this declaration
   10 | typedef enum E_AudioSample {
      | ^~~~~~~
audio.h:22:1: warning: ‘typedef’ was ignored in this declaration
   22 | typedef enum E_AudioChannel {
      | ^~~~~~~
g++ -O2 -Wall `sdl-config --cflags` -I./ `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CXXFLAGS` -Wdate-time -D_FORTIFY_SOURCE=2  -c -o container.o container.cc
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
In file included from container.h:8,
                 from container.cc:5:
entitytype.h:8:1: warning: ‘typedef’ was ignored in this declaration
    8 | typedef enum e_entitytype {
      | ^~~~~~~
In file included from math/mymath.h:15,
                 from coordinate.h:1,
                 from container.h:10:
math/matrix4_tpl.h:25:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
   25 |         Matrix4_tpl <T>() {
      |                        ^
math/matrix4_tpl.h:25:24: note: remove the ‘< >’
g++ -O2 -Wall `sdl-config --cflags` -I./ `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CXXFLAGS` -Wdate-time -D_FORTIFY_SOURCE=2  -c -o entity.o entity.cc
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
g++ -O2 -Wall `sdl-config --cflags` -I./ `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CXXFLAGS` -Wdate-time -D_FORTIFY_SOURCE=2  -c -o random.o random.cc
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
In file included from math/mymath.h:15,
                 from coordinate.h:1,
                 from entity.h:7,
                 from entity.cc:1:
math/matrix4_tpl.h:25:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
   25 |         Matrix4_tpl <T>() {
      |                        ^
math/matrix4_tpl.h:25:24: note: remove the ‘< >’
In file included from entity.h:8:
entitytype.h:8:1: warning: ‘typedef’ was ignored in this declaration
    8 | typedef enum e_entitytype {
      | ^~~~~~~
In file included from game.h:8,
                 from entity.cc:10:
menu.h:14:1: warning: ‘typedef’ was ignored in this declaration
   14 | typedef enum E_Menuid {
      | ^~~~~~~
In file included from elements/energy.h:8,
                 from game.h:13:
elements/../font_ogl.h:6:1: warning: ‘typedef’ was ignored in this declaration
    6 | typedef enum E_FontAnchor {
      | ^~~~~~~
In file included from game.h:17:
elements/difficulty.h:13:1: warning: ‘typedef’ was ignored in this declaration
   13 | typedef enum E_Difficulty {
      | ^~~~~~~
In file included from block/block.h:10,
                 from block/map2.h:7,
                 from game.h:19:
block/material.h:11:1: warning: ‘typedef’ was ignored in this declaration
   11 | typedef enum E_Material {
      | ^~~~~~~
game.h:26:1: warning: ‘typedef’ was ignored in this declaration
   26 | typedef enum E_Action {
      | ^~~~~~~
game.h:49:1: warning: ‘typedef’ was ignored in this declaration
   49 | typedef enum E_GameState {
      | ^~~~~~~
In file included from entity.cc:12:
audio.h:10:1: warning: ‘typedef’ was ignored in this declaration
   10 | typedef enum E_AudioSample {
      | ^~~~~~~
audio.h:22:1: warning: ‘typedef’ was ignored in this declaration
   22 | typedef enum E_AudioChannel {
      | ^~~~~~~
In file included from entity.cc:13:
radio.h:16:1: warning: ‘typedef’ was ignored in this declaration
   16 | typedef enum E_RadioTrigger {
      | ^~~~~~~
entity.cc: In member function ‘void el7::Entity::tick(unsigned int)’:
entity.cc:201:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  201 |                 if (ttl<=ticks) { ttl=0; remove=true; return; }
      |                     ~~~^~~~~~~
entity.cc:277:13: warning: variable ‘dp’ set but not used [-Wunused-but-set-variable]
  277 |         C3f dp=get_position();
      |             ^~
g++ -O2 -Wall `sdl-config --cflags` -I./ `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CXXFLAGS` -Wdate-time -D_FORTIFY_SOURCE=2  -c -o game.o game.cc
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
g++ -O2 -Wall `sdl-config --cflags` -I./ `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CXXFLAGS` -Wdate-time -D_FORTIFY_SOURCE=2  -c -o util.o util.cc
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
In file included from container.h:8,
                 from game.h:7,
                 from game.cc:5:
entitytype.h:8:1: warning: ‘typedef’ was ignored in this declaration
    8 | typedef enum e_entitytype {
      | ^~~~~~~
In file included from math/mymath.h:15,
                 from coordinate.h:1,
                 from container.h:10:
math/matrix4_tpl.h:25:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
   25 |         Matrix4_tpl <T>() {
      |                        ^
math/matrix4_tpl.h:25:24: note: remove the ‘< >’
In file included from game.h:8:
menu.h:14:1: warning: ‘typedef’ was ignored in this declaration
   14 | typedef enum E_Menuid {
      | ^~~~~~~
In file included from elements/energy.h:8,
                 from game.h:13:
elements/../font_ogl.h:6:1: warning: ‘typedef’ was ignored in this declaration
    6 | typedef enum E_FontAnchor {
      | ^~~~~~~
In file included from game.h:17:
elements/difficulty.h:13:1: warning: ‘typedef’ was ignored in this declaration
   13 | typedef enum E_Difficulty {
      | ^~~~~~~
In file included from block/block.h:10,
                 from block/map2.h:7,
                 from game.h:19:
block/material.h:11:1: warning: ‘typedef’ was ignored in this declaration
   11 | typedef enum E_Material {
      | ^~~~~~~
game.h:26:1: warning: ‘typedef’ was ignored in this declaration
   26 | typedef enum E_Action {
      | ^~~~~~~
game.h:49:1: warning: ‘typedef’ was ignored in this declaration
   49 | typedef enum E_GameState {
      | ^~~~~~~
In file included from game.cc:12:
audio.h:10:1: warning: ‘typedef’ was ignored in this declaration
   10 | typedef enum E_AudioSample {
      | ^~~~~~~
audio.h:22:1: warning: ‘typedef’ was ignored in this declaration
   22 | typedef enum E_AudioChannel {
      | ^~~~~~~
In file included from game.cc:16:
radio.h:16:1: warning: ‘typedef’ was ignored in this declaration
   16 | typedef enum E_RadioTrigger {
      | ^~~~~~~
game.cc:24:1: warning: ‘typedef’ was ignored in this declaration
   24 | typedef enum e_ingamemenuids {
      | ^~~~~~~
game.cc: In member function ‘bool el7::Game::isactive()’:
game.cc:111:19: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  111 |         if (ticks_>Tweak::balance_win_time_i()) {
      |             ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
game.cc: In member function ‘void el7::Game::tick(unsigned int)’:
game.cc:233:19: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  233 |         if (ticks_<Tweak::balance_win_time_i()-20000&&nextwave.over()) {
      |             ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
game.cc:237:27: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  237 |                 if (ticks_>Tweak::balance_extrawave1_i()&&Random::sget(Tweak::balance_extrawave_random_i())==0) { num++; }
      |                     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
game.cc:238:27: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  238 |                 if (ticks_>Tweak::balance_extrawave2_i()&&Random::sget(Tweak::balance_extrawave_random_i())==0) { num++; }
      |                     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
game.cc:254:19: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  254 |         if (ticks_>Tweak::balance_win_time_i()-1500) {
      |             ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
game.cc:259:23: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  259 |                 ticks_>Tweak::balance_inbetweenwave_i()&&
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
game.cc:261:23: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  261 |                 ticks_<Tweak::balance_win_time_i()-20000
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
game.cc: In member function ‘void el7::Game::incr_score()’:
game.cc:281:23: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  281 |                 ticks_>(Tweak::balance_win_time_i()/2)&&
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
game.cc: In member function ‘void el7::Game::draw_hud()’:
game.cc:322:19: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  322 |         if (ticks_>Tweak::balance_win_time_i()) {
      |             ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
game.cc:326:19: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  326 |         if (ticks_<Tweak::ui_mouselock_i()) {
      |             ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
game.cc: In member function ‘bool el7::Game::handle_event(SDL_Event)’:
game.cc:368:25: warning: case label value is less than minimum value for type [-Wswitch-outside-range]
  368 |                         case MI_POP:
      |                         ^~~~
game.cc:367:25: warning: case label value is less than minimum value for type [-Wswitch-outside-range]
  367 |                         case MI_NONE: return true; break;
      |                         ^~~~
In file included from math/mymath.h:15,
                 from coordinate.h:1,
                 from util.h:3,
                 from util.cc:5:
math/matrix4_tpl.h:25:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
   25 |         Matrix4_tpl <T>() {
      |                        ^
math/matrix4_tpl.h:25:24: note: remove the ‘< >’
util.cc: In function ‘void el7::error()’:
util.cc:17:21: error: ‘gluErrorString’ was not declared in this scope; did you mean ‘errorstring’?
   17 |       errorstring = gluErrorString(errorcode);
      |                     ^~~~~~~~~~~~~~
      |                     errorstring
util.cc: In function ‘void el7::ortho2d(float, float)’:
util.cc:33:9: error: ‘gluOrtho2D’ was not declared in this scope; did you mean ‘glOrtho’?
   33 |         gluOrtho2D(0.0,dx,dy,0.0);
      |         ^~~~~~~~~~
      |         glOrtho
util.cc: In function ‘C3f el7::unproject(int, int)’:
util.cc:97:9: error: ‘gluUnProject’ was not declared in this scope; did you mean ‘unproject’?
   97 |         gluUnProject( winX, winY,(GLdouble) winZ, modelview, projection, viewport, &posX, &posY, &posZ);
      |         ^~~~~~~~~~~~
      |         unproject
make[1]: *** [<builtin>: util.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 INSTALL="install --strip-program=true" returned exit code 2
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the Pkg-games-devel mailing list