Bug#1120218: enemylines3: FTBFS: main.cc:95:4: error: 'gluPerspective' was not declared in this scope
Santiago Vila
sanvila at debian.org
Thu Nov 6 11:58:46 GMT 2025
Package: src:enemylines3
Version: 1.25-1
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:enemylines3, 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 elements/*.o models/*.o generators/*.o tweak/*.o enemylines3
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
make -j2 INSTALL="install --strip-program=true"
make[2]: Entering directory '/<<PKGBUILDDIR>>'
g++ `dpkg-buildflags --get CXXFLAGS` `sdl-config --cflags` -I./ -Ielements/ -Wdate-time -D_FORTIFY_SOURCE=2 -c -o audio.o audio.cc
g++ `dpkg-buildflags --get CXXFLAGS` `sdl-config --cflags` -I./ -Ielements/ -Wdate-time -D_FORTIFY_SOURCE=2 -c -o config.o config.cc
In file included from audio.cc:4:
audio.h:9:1: warning: âtypedefâ was ignored in this declaration
9 | typedef enum E_AudioSample {
| ^~~~~~~
audio.h:23:1: warning: âtypedefâ was ignored in this declaration
23 | typedef enum E_AudioChannel {
| ^~~~~~~
g++ `dpkg-buildflags --get CXXFLAGS` `sdl-config --cflags` -I./ -Ielements/ -Wdate-time -D_FORTIFY_SOURCE=2 -c -o container.o container.cc
In file included from container.h:7,
from container.cc:5:
entitytype.h:7:1: warning: âtypedefâ was ignored in this declaration
7 | typedef enum e_entitytype {
| ^~~~~~~
g++ `dpkg-buildflags --get CXXFLAGS` `sdl-config --cflags` -I./ -Ielements/ -Wdate-time -D_FORTIFY_SOURCE=2 -c -o entity.o entity.cc
g++ `dpkg-buildflags --get CXXFLAGS` `sdl-config --cflags` -I./ -Ielements/ -Wdate-time -D_FORTIFY_SOURCE=2 -c -o font_data.o font_data.cc
In file included from entity.h:8,
from entity.cc:1:
entitytype.h:7:1: warning: âtypedefâ was ignored in this declaration
7 | typedef enum e_entitytype {
| ^~~~~~~
In file included from game.h:8,
from entity.cc:9:
menu.h:14:1: warning: âtypedefâ was ignored in this declaration
14 | typedef enum E_Menuid {
| ^~~~~~~
In file included from game.h:11:
tiletype.h:8:1: warning: âtypedefâ was ignored in this declaration
8 | typedef enum e_tiletype {
| ^~~~~~~
In file included from elements/energy.h:8,
from game.h:13:
elements/../font_ogl.h:7:1: warning: âtypedefâ was ignored in this declaration
7 | typedef enum E_FontAnchor {
| ^~~~~~~
In file included from game.h:16:
elements/supercharge.h:12:1: warning: âtypedefâ was ignored in this declaration
12 | typedef enum E_SuperCharge {
| ^~~~~~~
game.h:31:1: warning: âtypedefâ was ignored in this declaration
31 | typedef enum E_Action {
| ^~~~~~~
game.h:57:1: warning: âtypedefâ was ignored in this declaration
57 | typedef enum E_GameState {
| ^~~~~~~
game.h:66:1: warning: âtypedefâ was ignored in this declaration
66 | typedef enum E_Diffi {
| ^~~~~~~
game.h:74:1: warning: âtypedefâ was ignored in this declaration
74 | typedef enum E_LevelType {
| ^~~~~~~
In file included from entity.cc:12:
audio.h:9:1: warning: âtypedefâ was ignored in this declaration
9 | typedef enum E_AudioSample {
| ^~~~~~~
audio.h:23:1: warning: âtypedefâ was ignored in this declaration
23 | typedef enum E_AudioChannel {
| ^~~~~~~
g++ `dpkg-buildflags --get CXXFLAGS` `sdl-config --cflags` -I./ -Ielements/ -Wdate-time -D_FORTIFY_SOURCE=2 -c -o font.o font.cc
g++ `dpkg-buildflags --get CXXFLAGS` `sdl-config --cflags` -I./ -Ielements/ -Wdate-time -D_FORTIFY_SOURCE=2 -c -o font_ogl.o font_ogl.cc
In file included from font.cc:5:
font_ogl.h:7:1: warning: âtypedefâ was ignored in this declaration
7 | typedef enum E_FontAnchor {
| ^~~~~~~
g++ `dpkg-buildflags --get CXXFLAGS` `sdl-config --cflags` -I./ -Ielements/ -Wdate-time -D_FORTIFY_SOURCE=2 -c -o font_ttf.o font_ttf.cc
In file included from font_ogl.cc:5:
font_ogl.h:7:1: warning: âtypedefâ was ignored in this declaration
7 | typedef enum E_FontAnchor {
| ^~~~~~~
g++ `dpkg-buildflags --get CXXFLAGS` `sdl-config --cflags` -I./ -Ielements/ -Wdate-time -D_FORTIFY_SOURCE=2 -c -o frustum.o frustum.cc
g++ `dpkg-buildflags --get CXXFLAGS` `sdl-config --cflags` -I./ -Ielements/ -Wdate-time -D_FORTIFY_SOURCE=2 -c -o game.o game.cc
g++ `dpkg-buildflags --get CXXFLAGS` `sdl-config --cflags` -I./ -Ielements/ -Wdate-time -D_FORTIFY_SOURCE=2 -c -o help.o help.cc
In file included from container.h:7,
from game.h:7,
from game.cc:5:
entitytype.h:7:1: warning: âtypedefâ was ignored in this declaration
7 | typedef enum e_entitytype {
| ^~~~~~~
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 game.h:11:
tiletype.h:8:1: warning: âtypedefâ was ignored in this declaration
8 | typedef enum e_tiletype {
| ^~~~~~~
In file included from elements/energy.h:8,
from game.h:13:
elements/../font_ogl.h:7:1: warning: âtypedefâ was ignored in this declaration
7 | typedef enum E_FontAnchor {
| ^~~~~~~
In file included from game.h:16:
elements/supercharge.h:12:1: warning: âtypedefâ was ignored in this declaration
12 | typedef enum E_SuperCharge {
| ^~~~~~~
game.h:31:1: warning: âtypedefâ was ignored in this declaration
31 | typedef enum E_Action {
| ^~~~~~~
game.h:57:1: warning: âtypedefâ was ignored in this declaration
57 | typedef enum E_GameState {
| ^~~~~~~
game.h:66:1: warning: âtypedefâ was ignored in this declaration
66 | typedef enum E_Diffi {
| ^~~~~~~
game.h:74:1: warning: âtypedefâ was ignored in this declaration
74 | typedef enum E_LevelType {
| ^~~~~~~
In file included from game.cc:16:
audio.h:9:1: warning: âtypedefâ was ignored in this declaration
9 | typedef enum E_AudioSample {
| ^~~~~~~
audio.h:23:1: warning: âtypedefâ was ignored in this declaration
23 | typedef enum E_AudioChannel {
| ^~~~~~~
game.cc:28:1: warning: âtypedefâ was ignored in this declaration
28 | typedef enum e_ingamemenuids {
| ^~~~~~~
game.cc: In member function âbool el3::Game::handle_event(SDL_Event)â:
game.cc:755:25: warning: case label value is less than minimum value for type [-Wswitch-outside-range]
755 | case MI_POP:
| ^~~~
game.cc:754:25: warning: case label value is less than minimum value for type [-Wswitch-outside-range]
754 | case MI_NONE: return true; break;
| ^~~~
In file included from help.cc:3:
font_ogl.h:7:1: warning: âtypedefâ was ignored in this declaration
7 | typedef enum E_FontAnchor {
| ^~~~~~~
In file included from container.h:7,
from game.h:7,
from help.h:6,
from help.cc:7:
entitytype.h:7:1: warning: âtypedefâ was ignored in this declaration
7 | typedef enum e_entitytype {
| ^~~~~~~
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 game.h:11:
tiletype.h:8:1: warning: âtypedefâ was ignored in this declaration
8 | typedef enum e_tiletype {
| ^~~~~~~
In file included from game.h:16:
elements/supercharge.h:12:1: warning: âtypedefâ was ignored in this declaration
12 | typedef enum E_SuperCharge {
| ^~~~~~~
game.h:31:1: warning: âtypedefâ was ignored in this declaration
31 | typedef enum E_Action {
| ^~~~~~~
game.h:57:1: warning: âtypedefâ was ignored in this declaration
57 | typedef enum E_GameState {
| ^~~~~~~
game.h:66:1: warning: âtypedefâ was ignored in this declaration
66 | typedef enum E_Diffi {
| ^~~~~~~
game.h:74:1: warning: âtypedefâ was ignored in this declaration
74 | typedef enum E_LevelType {
| ^~~~~~~
g++ `dpkg-buildflags --get CXXFLAGS` `sdl-config --cflags` -I./ -Ielements/ -Wdate-time -D_FORTIFY_SOURCE=2 -c -o hiscore.o hiscore.cc
g++ `dpkg-buildflags --get CXXFLAGS` `sdl-config --cflags` -I./ -Ielements/ -Wdate-time -D_FORTIFY_SOURCE=2 -c -o main.o main.cc
In file included from hiscore.cc:12:
font_ogl.h:7:1: warning: âtypedefâ was ignored in this declaration
7 | typedef enum E_FontAnchor {
| ^~~~~~~
hiscore.cc: In function âsize_t el3::WriteMemoryCallback(void*, size_t, size_t, void*)â:
hiscore.cc:38:16: warning: ISO C++17 does not allow âregisterâ storage class specifier [-Wregister]
38 | register int realsize = size * nmemb;
| ^~~~~~~~
In file included from container.h:7,
from game.h:7,
from main.cc:7:
entitytype.h:7:1: warning: âtypedefâ was ignored in this declaration
7 | typedef enum e_entitytype {
| ^~~~~~~
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 game.h:11:
tiletype.h:8:1: warning: âtypedefâ was ignored in this declaration
8 | typedef enum e_tiletype {
| ^~~~~~~
In file included from elements/energy.h:8,
from game.h:13:
elements/../font_ogl.h:7:1: warning: âtypedefâ was ignored in this declaration
7 | typedef enum E_FontAnchor {
| ^~~~~~~
In file included from game.h:16:
elements/supercharge.h:12:1: warning: âtypedefâ was ignored in this declaration
12 | typedef enum E_SuperCharge {
| ^~~~~~~
game.h:31:1: warning: âtypedefâ was ignored in this declaration
31 | typedef enum E_Action {
| ^~~~~~~
game.h:57:1: warning: âtypedefâ was ignored in this declaration
57 | typedef enum E_GameState {
| ^~~~~~~
game.h:66:1: warning: âtypedefâ was ignored in this declaration
66 | typedef enum E_Diffi {
| ^~~~~~~
game.h:74:1: warning: âtypedefâ was ignored in this declaration
74 | typedef enum E_LevelType {
| ^~~~~~~
In file included from main.cc:17:
audio.h:9:1: warning: âtypedefâ was ignored in this declaration
9 | typedef enum E_AudioSample {
| ^~~~~~~
audio.h:23:1: warning: âtypedefâ was ignored in this declaration
23 | typedef enum E_AudioChannel {
| ^~~~~~~
main.cc: In function âbool el3::setmode(int, int, bool)â:
main.cc:95:4: error: âgluPerspectiveâ was not declared in this scope
95 | gluPerspective(60.0f,(GLfloat)screen->w/(GLfloat)screen->h,0.15f,75.0f);
| ^~~~~~~~~~~~~~
main.cc: At global scope:
main.cc:103:1: warning: âtypedefâ was ignored in this declaration
103 | typedef enum e_menuids {
| ^~~~~~~
g++ `dpkg-buildflags --get CXXFLAGS` `sdl-config --cflags` -I./ -Ielements/ -Wdate-time -D_FORTIFY_SOURCE=2 -c -o mapbase.o mapbase.cc
make[2]: *** [<builtin>: main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from mapbase.h:5,
from mapbase.cc:1:
tiletype.h:8:1: warning: âtypedefâ was ignored in this declaration
8 | typedef enum e_tiletype {
| ^~~~~~~
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 INSTALL="install --strip-program=true" returned exit code 2
make[1]: *** [debian/rules:8: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:5: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the Pkg-games-devel
mailing list