Your message dated Fri, 07 Nov 2025 02:39:34 +0000
with message-id <[email protected]>
and subject line Bug#1120181: fixed in sdl12-compat 1.2.70-3
has caused the Debian Bug report #1120181,
regarding cytadela: FTBFS: COGLClass.cpp:134:69: error: 'GLU_VERSION' was not 
declared in this scope; did you mean 'GL_VERSION'?
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1120181: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1120181
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:cytadela
Version: 1.1.0-5
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:cytadela, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh  clean
   dh_clean
 debian/rules binary
dh  binary
   dh_update_autotools_config
   dh_autoreconf
configure.ac:19: warning: AC_CHECK_HEADERS("GL/gl.h"): you should use literals
./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from...
configure.ac:19: the top level
configure.ac:20: warning: AC_CHECK_HEADERS("GL/glu.h"): you should use literals
./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from...
configure.ac:20: the top level
configure.ac:21: warning: AC_CHECK_HEADERS("vlc/vlc.h"): you should use literals
./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from...
configure.ac:21: the top level
configure.ac:26: warning: AC_OUTPUT should be used without arguments.
configure.ac:26: You should run autoupdate.
configure.ac:19: installing './compile'
src/Makefile.am:7: warning: source file 'cmf/CMFile.cpp' is in a subdirectory,
src/Makefile.am:7: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least one source file is in a subdirectory, but the 
'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding 
output
automake: object file(s) will be placed in the top-level directory.  However, 
this
automake: behavior may change in a future Automake major version, with object
automake: files being placed in the same subdirectory as the corresponding 
sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibility.
src/Makefile.am:7: warning: source file 'cmf/File3Dg.cpp' is in a subdirectory,
src/Makefile.am:7: but option 'subdir-objects' is disabled
src/Makefile.am:7: warning: source file 'cmf/GameObjectsManager.cpp' is in a 
subdirectory,
src/Makefile.am:7: but option 'subdir-objects' is disabled
src/Makefile.am:7: warning: source file 'cmf/I3Dg.cpp' is in a subdirectory,
src/Makefile.am:7: but option 'subdir-objects' is disabled
src/Makefile.am:7: warning: source file 'cmf/Enemy.cpp' is in a subdirectory,
src/Makefile.am:7: but option 'subdir-objects' is disabled
src/Makefile.am:7: warning: source file 'cmf/fileio.cpp' is in a subdirectory,
src/Makefile.am:7: but option 'subdir-objects' is disabled
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- --bindir=/usr/games --datadir=/usr/share/games
        ./configure --build=x86_64-linux-gnu --prefix=/usr 
--includedir=\${prefix}/include --mandir=\${prefix}/share/man 
--infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
--disable-option-checking --disable-silent-rules 
--libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run 
--disable-maintainer-mode --disable-dependency-tracking --bindir=/usr/games 
--datadir=/usr/share/games
checking for a BSD-compatible install... /usr/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 0.01
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking xargs -n works... yes
checking whether UID '999' is supported by ustar format... yes
checking whether GID '999' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking whether make supports the include directive... yes (GNU style)
checking dependency style of g++... none
checking for sdl-config... yes
checking for gcc... gcc
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for GL/gl.h... yes
checking for GL/glu.h... yes
checking for vlc/vlc.h... yes
checking for glLoadIdentity in -lGL... yes
checking for gluCheckExtension in -lGLU... yes
checking for libvlc_new in -lvlc... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating data/Makefile
config.status: executing depfiles commands
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_build
        make -j2
make[1]: Entering directory '/<<PKGBUILDDIR>>'
Making all in src
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
g++ -DDATADIR=\"/usr/share/games/cytadela\" -I.   -Wdate-time 
-D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -I/usr/include/SDL -D_GNU_SOURCE=1 
-D_REENTRANT -c -o CMFile.o `test -f 'cmf/CMFile.cpp' || echo 
'./'`cmf/CMFile.cpp
g++ -DDATADIR=\"/usr/share/games/cytadela\" -I.   -Wdate-time 
-D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -I/usr/include/SDL -D_GNU_SOURCE=1 
-D_REENTRANT -c -o File3Dg.o `test -f 'cmf/File3Dg.cpp' || echo 
'./'`cmf/File3Dg.cpp
g++ -DDATADIR=\"/usr/share/games/cytadela\" -I.   -Wdate-time 
-D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -I/usr/include/SDL -D_GNU_SOURCE=1 
-D_REENTRANT -c -o GameObjectsManager.o `test -f 'cmf/GameObjectsManager.cpp' 
|| echo './'`cmf/GameObjectsManager.cpp
g++ -DDATADIR=\"/usr/share/games/cytadela\" -I.   -Wdate-time 
-D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -I/usr/include/SDL -D_GNU_SOURCE=1 
-D_REENTRANT -c -o I3Dg.o `test -f 'cmf/I3Dg.cpp' || echo './'`cmf/I3Dg.cpp
g++ -DDATADIR=\"/usr/share/games/cytadela\" -I.   -Wdate-time 
-D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -I/usr/include/SDL -D_GNU_SOURCE=1 
-D_REENTRANT -c -o Enemy.o `test -f 'cmf/Enemy.cpp' || echo './'`cmf/Enemy.cpp
g++ -DDATADIR=\"/usr/share/games/cytadela\" -I.   -Wdate-time 
-D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -I/usr/include/SDL -D_GNU_SOURCE=1 
-D_REENTRANT -c -o fileio.o `test -f 'cmf/fileio.cpp' || echo 
'./'`cmf/fileio.cpp
g++ -DDATADIR=\"/usr/share/games/cytadela\" -I.   -Wdate-time 
-D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -I/usr/include/SDL -D_GNU_SOURCE=1 
-D_REENTRANT -c -o CCytadelaConfig.o CCytadelaConfig.cpp
g++ -DDATADIR=\"/usr/share/games/cytadela\" -I.   -Wdate-time 
-D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -I/usr/include/SDL -D_GNU_SOURCE=1 
-D_REENTRANT -c -o CCytadelaGame.o CCytadelaGame.cpp
g++ -DDATADIR=\"/usr/share/games/cytadela\" -I.   -Wdate-time 
-D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -I/usr/include/SDL -D_GNU_SOURCE=1 
-D_REENTRANT -c -o CCytadelaMain.o CCytadelaMain.cpp
CCytadelaGame.cpp: In member function ‘bool CCytadelaGame::processInput()’:
CCytadelaGame.cpp:998:59: warning: iteration 7 invokes undefined behavior 
[-Waggressive-loop-optimizations]
  998 |                         mPlayerText[j] = mPlayerText[j + 1];
      |                                          ~~~~~~~~~~~~~~~~~^
CCytadelaGame.cpp:997:38: note: within this loop
  997 |                 for(int32_t j = 0; j < USERTEXT_LEN; ++j)
CCytadelaGame.cpp:994:67: warning: iteration 7 invokes undefined behavior 
[-Waggressive-loop-optimizations]
  994 |                                 mPlayerText[j] = mPlayerText[j + 1];
      |                                                  ~~~~~~~~~~~~~~~~~^
CCytadelaGame.cpp:993:46: note: within this loop
  993 |                         for(int32_t j = 0; j < USERTEXT_LEN; ++j)
CCytadelaGame.cpp:981:67: warning: iteration 7 invokes undefined behavior 
[-Waggressive-loop-optimizations]
  981 |                                 mPlayerText[j] = mPlayerText[j + 1];
      |                                                  ~~~~~~~~~~~~~~~~~^
CCytadelaGame.cpp:980:46: note: within this loop
  980 |                         for(int32_t j = 0; j < USERTEXT_LEN; ++j)
CCytadelaGame.cpp:973:67: warning: iteration 7 invokes undefined behavior 
[-Waggressive-loop-optimizations]
  973 |                                 mPlayerText[j] = mPlayerText[j + 1];
      |                                                  ~~~~~~~~~~~~~~~~~^
CCytadelaGame.cpp:972:46: note: within this loop
  972 |                         for(int32_t j = 0; j < USERTEXT_LEN; ++j)
CCytadelaGame.cpp:949:67: warning: iteration 7 invokes undefined behavior 
[-Waggressive-loop-optimizations]
  949 |                                 mPlayerText[j] = mPlayerText[j + 1];
      |                                                  ~~~~~~~~~~~~~~~~~^
CCytadelaGame.cpp:948:46: note: within this loop
  948 |                         for(int32_t j = 0; j < USERTEXT_LEN; ++j)
CCytadelaGame.cpp:940:67: warning: iteration 7 invokes undefined behavior 
[-Waggressive-loop-optimizations]
  940 |                                 mPlayerText[j] = mPlayerText[j + 1];
      |                                                  ~~~~~~~~~~~~~~~~~^
CCytadelaGame.cpp:939:46: note: within this loop
  939 |                         for(int32_t j = 0; j < USERTEXT_LEN; ++j)
CCytadelaGame.cpp:931:67: warning: iteration 7 invokes undefined behavior 
[-Waggressive-loop-optimizations]
  931 |                                 mPlayerText[j] = mPlayerText[j + 1];
      |                                                  ~~~~~~~~~~~~~~~~~^
CCytadelaGame.cpp:930:46: note: within this loop
  930 |                         for(int32_t j = 0; j < USERTEXT_LEN; ++j)
CCytadelaGame.cpp:923:67: warning: iteration 7 invokes undefined behavior 
[-Waggressive-loop-optimizations]
  923 |                                 mPlayerText[j] = mPlayerText[j + 1];
      |                                                  ~~~~~~~~~~~~~~~~~^
CCytadelaGame.cpp:922:46: note: within this loop
  922 |                         for(int32_t j = 0; j < USERTEXT_LEN; ++j)
CCytadelaMain.cpp: In member function ‘bool 
CCytadelaMain::saveScreen(uint32_t*)’:
CCytadelaMain.cpp:683:71: warning: narrowing conversion of 
‘(((((CCytadelaMain*)this)->CCytadelaMain::mSDL->CSDLClass::getTicks() / 500) 
& 1) * 34)’ from ‘uint32_t’ {aka ‘unsigned int’} to ‘Sint16’ {aka 
‘short int’} [-Wnarrowing]
  683 |                 SDL_Rect srcRect = {0, ((mSDL->getTicks() / 500) & 1) * 
34, 260, 34};
      |                                        
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
CCytadelaMain.cpp: In member function ‘void 
CCytadelaMain::animateMapCursor(uint32_t, uint32_t*, uint32_t*, uint32_t)’:
CCytadelaMain.cpp:921:32: warning: narrowing conversion of ‘(26 * (* 
cursorFrame))’ from ‘uint32_t’ {aka ‘unsigned int’} to ‘Sint16’ 
{aka ‘short int’} [-Wnarrowing]
  921 |         SDL_Rect srcRect = {26 * (*cursorFrame), 0, 26, 38};
      |                             ~~~^~~~~~~~~~~~~~~~
CCytadelaMain.cpp: In member function ‘bool CCytadelaMain::gameOver()’:
CCytadelaMain.cpp:950:68: warning: narrowing conversion of ‘(196 - y)’ from 
‘uint32_t’ {aka ‘unsigned int’} to ‘Sint16’ {aka ‘short int’} 
[-Wnarrowing]
  950 |                                         SDL_Rect srcRect = {0, 196 - y, 
624, 4 + y};
      |                                                                ~~~~^~~
CCytadelaMain.cpp:950:80: warning: narrowing conversion of ‘(4 + y)’ from 
‘uint32_t’ {aka ‘unsigned int’} to ‘Uint16’ {aka ‘short unsigned 
int’} [-Wnarrowing]
  950 |                                         SDL_Rect srcRect = {0, 196 - y, 
624, 4 + y};
      |                                                                         
     ~~^~~
CCytadelaGame.cpp: In member function ‘bool CCytadelaGame::loadImages()’:
CCytadelaGame.cpp:210:38: warning: ‘%s’ directive writing up to 4095 bytes 
into a region of size 4086 [-Wformat-overflow=]
  210 |         sprintf(fontPath, "tex/fonts/%s.far", 
mLocInterface->getCurrentLocalization());
      |                                      ^~
In file included from /usr/include/stdio.h:970,
                 from /usr/include/c++/15/cstdio:47,
                 from /usr/include/c++/15/ext/string_conversions.h:47,
                 from /usr/include/c++/15/bits/basic_string.h:4444,
                 from /usr/include/c++/15/string:56,
                 from /usr/include/c++/15/bits/locale_classes.h:42,
                 from /usr/include/c++/15/bits/ios_base.h:43,
                 from /usr/include/c++/15/ios:46,
                 from /usr/include/c++/15/bits/ostream.h:43,
                 from /usr/include/c++/15/ostream:42,
                 from /usr/include/c++/15/iostream:43,
                 from CCytadelaGame.cpp:26:
In function ‘int sprintf(char*, const char*, ...)’,
    inlined from ‘bool CCytadelaGame::loadImages()’ at 
CCytadelaGame.cpp:210:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: 
‘__builtin___sprintf_chk’ output between 15 and 4110 bytes into a 
destination of size 4096
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
CCytadelaMain.cpp: In member function ‘bool CCytadelaMain::endLevel()’:
CCytadelaMain.cpp:579:38: warning: ‘%s’ directive writing up to 4095 bytes 
into a region of size 4086 [-Wformat-overflow=]
  579 |         sprintf(fontPath, "tex/fonts/%s.far", 
mLocalization->getCurrentLocalization());
      |                                      ^~
In file included from /usr/include/stdio.h:970,
                 from /usr/include/SDL/SDL_stdinc.h:33,
                 from /usr/include/SDL/SDL_main.h:29,
                 from /usr/include/SDL/SDL.h:29,
                 from CSDLClass.h:25,
                 from CCytadelaMain.h:26,
                 from CCytadelaMain.cpp:22:
In function ‘int sprintf(char*, const char*, ...)’,
    inlined from ‘bool CCytadelaMain::endLevel()’ at 
CCytadelaMain.cpp:579:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: 
‘__builtin___sprintf_chk’ output between 15 and 4110 bytes into a 
destination of size 4096
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
CCytadelaMain.cpp: In member function ‘bool CCytadelaMain::chooseComplex()’:
CCytadelaMain.cpp:763:38: warning: ‘%s’ directive writing up to 4095 bytes 
into a region of size 4086 [-Wformat-overflow=]
  763 |         sprintf(fontPath, "tex/fonts/%s.far", 
mLocalization->getCurrentLocalization());
      |                                      ^~
In function ‘int sprintf(char*, const char*, ...)’,
    inlined from ‘bool CCytadelaMain::chooseComplex()’ at 
CCytadelaMain.cpp:763:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: 
‘__builtin___sprintf_chk’ output between 15 and 4110 bytes into a 
destination of size 4096
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
g++ -DDATADIR=\"/usr/share/games/cytadela\" -I.   -Wdate-time 
-D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -I/usr/include/SDL -D_GNU_SOURCE=1 
-D_REENTRANT -c -o CCytadelaMenu.o CCytadelaMenu.cpp
CCytadelaMenu.cpp: In member function ‘void CCytadelaMenu::animateCursor()’:
CCytadelaMenu.cpp:694:45: warning: narrowing conversion of 
‘(((CCytadelaMenu*)this)->CCytadelaMenu::mCursorFrame * 16)’ from 
‘uint32_t’ {aka ‘unsigned int’} to ‘Sint16’ {aka ‘short int’} 
[-Wnarrowing]
  694 |         SDL_Rect srcRect = {0, mCursorFrame * 16, 288, 16};
      |                                ~~~~~~~~~~~~~^~~~
CCytadelaMenu.cpp: In member function ‘bool CCytadelaMenu::initMenu(const 
char**)’:
CCytadelaMenu.cpp:295:40: warning: ‘%s’ directive writing up to 4095 bytes 
into a region of size 4086 [-Wformat-overflow=]
  295 |         sprintf(textBuffer, "tex/fonts/%s.far", 
mLocalization->getCurrentLocalization());
      |                                        ^~
In file included from /usr/include/stdio.h:970,
                 from /usr/include/SDL/SDL_stdinc.h:33,
                 from /usr/include/SDL/SDL_main.h:29,
                 from /usr/include/SDL/SDL.h:29,
                 from CSDLClass.h:25,
                 from CCytadelaMenu.h:26,
                 from CCytadelaMenu.cpp:23:
In function ‘int sprintf(char*, const char*, ...)’,
    inlined from ‘bool CCytadelaMenu::initMenu(const char**)’ at 
CCytadelaMenu.cpp:295:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: 
‘__builtin___sprintf_chk’ output between 15 and 4110 bytes into a 
destination of size 4096
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
CCytadelaMenu.cpp: In member function ‘bool CCytadelaMenu::initMenu(const 
char**)’:
CCytadelaMenu.cpp:319:45: warning: ‘%s’ directive writing up to 4095 bytes 
into a region of size 20 [-Wformat-overflow=]
  319 |         sprintf(mMenuTexts[MENU_VIDEO][0], "%s", textBuffer);
      |                                             ^~   ~~~~~~~~~~
In function ‘int sprintf(char*, const char*, ...)’,
    inlined from ‘bool CCytadelaMenu::initMenu(const char**)’ at 
CCytadelaMenu.cpp:319:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: 
‘__builtin___sprintf_chk’ output between 1 and 4096 bytes into a 
destination of size 20
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
g++ -DDATADIR=\"/usr/share/games/cytadela\" -I.   -Wdate-time 
-D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -I/usr/include/SDL -D_GNU_SOURCE=1 
-D_REENTRANT -c -o CytadelaSaveFile.o CytadelaSaveFile.cpp
g++ -DDATADIR=\"/usr/share/games/cytadela\" -I.   -Wdate-time 
-D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -I/usr/include/SDL -D_GNU_SOURCE=1 
-D_REENTRANT -c -o CInfoText.o CInfoText.cpp
g++ -DDATADIR=\"/usr/share/games/cytadela\" -I.   -Wdate-time 
-D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -I/usr/include/SDL -D_GNU_SOURCE=1 
-D_REENTRANT -c -o COGLClass.o COGLClass.cpp
g++ -DDATADIR=\"/usr/share/games/cytadela\" -I.   -Wdate-time 
-D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -I/usr/include/SDL -D_GNU_SOURCE=1 
-D_REENTRANT -c -o CSDLClass.o CSDLClass.cpp
CSDLClass.cpp: In member function ‘void CSDLClass::displayImage(uint32_t, 
SDL_Rect*, int16_t, int16_t)’:
CSDLClass.cpp:337:65: warning: narrowing conversion of 
‘(((CSDLClass*)this)->CSDLClass::mImgArray.CImagesArray::mImageDims + 
((sizetype)(((long unsigned int)imgNum) * 16)))->tagImgDims::width’ from 
‘uint32_t’ {aka ‘unsigned int’} to ‘Uint16’ {aka ‘short unsigned 
int’} [-Wnarrowing]
  337 |         SDL_Rect destRect = {x, y, mImgArray.mImageDims[imgNum].width,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
CSDLClass.cpp:338:59: warning: narrowing conversion of 
‘(((CSDLClass*)this)->CSDLClass::mImgArray.CImagesArray::mImageDims + 
((sizetype)(((long unsigned int)imgNum) * 16)))->tagImgDims::height’ from 
‘uint32_t’ {aka ‘unsigned int’} to ‘Uint16’ {aka ‘short unsigned 
int’} [-Wnarrowing]
  338 |                              mImgArray.mImageDims[imgNum].height};
      |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
COGLClass.cpp: In member function ‘bool COGLClass::checkOGL()’:
COGLClass.cpp:134:69: error: ‘GLU_VERSION’ was not declared in this scope; 
did you mean ‘GL_VERSION’?
  134 |         fprintf(stdout, "GLU version: %s\n\n", (char 
*)gluGetString(GLU_VERSION));
      |                                                                     
^~~~~~~~~~~
      |                                                                     
GL_VERSION
COGLClass.cpp:134:56: error: ‘gluGetString’ was not declared in this scope; 
did you mean ‘glGetString’?
  134 |         fprintf(stdout, "GLU version: %s\n\n", (char 
*)gluGetString(GLU_VERSION));
      |                                                        ^~~~~~~~~~~~
      |                                                        glGetString
COGLClass.cpp: In member function ‘void COGLClass::projectionMatrix(GLsizei, 
GLsizei)’:
COGLClass.cpp:261:9: error: ‘gluPerspective’ was not declared in this scope
  261 |         gluPerspective(45.0f, aspectRatio, 1.0f, 3200.0f);
      |         ^~~~~~~~~~~~~~
COGLClass.cpp: In member function ‘void COGLClass::setCamMatrix(float, float, 
float, float)’:
COGLClass.cpp:290:9: error: ‘gluLookAt’ was not declared in this scope
  290 |         gluLookAt(x, 50.0f, z, x + sin, 50.0f, z - cos, 0.0f, 1.0f, 
0.0f);
      |         ^~~~~~~~~
COGLClass.cpp: In member function ‘bool COGLClass::loadTexture(uint32_t)’:
COGLClass.cpp:629:25: error: ‘gluBuild2DMipmaps’ was not declared in this 
scope
  629 |         GLenum result = gluBuild2DMipmaps(GL_TEXTURE_2D, bytesPerPixel,
      |                         ^~~~~~~~~~~~~~~~~
COGLClass.cpp:636:51: error: ‘gluErrorString’ was not declared in this scope
  636 |                         farFileName, texFileName, 
gluErrorString(result));
      |                                                   ^~~~~~~~~~~~~~
COGLClass.cpp: In member function ‘bool COSDClass::loadImg(uint32_t, const 
char*, const char*)’:
COGLClass.cpp:789:59: error: ‘gluErrorString’ was not declared in this scope
  789 |                                 farFilePath, imgFileName, 
gluErrorString(result));
      |                                                           ^~~~~~~~~~~~~~
g++ -DDATADIR=\"/usr/share/games/cytadela\" -I.   -Wdate-time 
-D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -I/usr/include/SDL -D_GNU_SOURCE=1 
-D_REENTRANT -c -o farread.o farread.cpp
make[2]: *** [Makefile:414: COGLClass.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [Makefile:344: all-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 returned exit code 2
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

--- End Message ---
--- Begin Message ---
Source: sdl12-compat
Source-Version: 1.2.70-3
Done: Simon McVittie <[email protected]>

We believe that the bug you reported is fixed in the latest version of
sdl12-compat, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Simon McVittie <[email protected]> (supplier of updated sdl12-compat 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 06 Nov 2025 21:43:09 +0000
Source: sdl12-compat
Architecture: source
Version: 1.2.70-3
Distribution: unstable
Urgency: medium
Maintainer: Debian SDL packages maintainers 
<[email protected]>
Changed-By: Simon McVittie <[email protected]>
Closes: 1120174 1120175 1120181 1120183 1120186 1120195 1120196 1120199 1120207 
1120218 1120224 1120225
Changes:
 sdl12-compat (1.2.70-3) unstable; urgency=medium
 .
   * d/p/Revert-Don-t-include-glu.h-by-default.patch:
     Add patch from upstream to include <GL/glu.h> as was historically done,
     reverting a change in 1.2.70 that caused several older games to FTBFS
     (Closes: #1120174, #1120175, #1120181, #1120183, #1120186, #1120195)
     (Closes: #1120196, #1120199, #1120207, #1120218, #1120224, #1120225)
Checksums-Sha1:
 d05fdf816d093923d286b76dccaeeec2f0ca1e59 2809 sdl12-compat_1.2.70-3.dsc
 6e64a1f81c974654ead15d2e23df3040e3e84bab 15144 
sdl12-compat_1.2.70-3.debian.tar.xz
 dc2423d572b7ca74908667ccbb4fc18fcb39836d 669324 
sdl12-compat_1.2.70-3.git.tar.xz
 78fa7f98fb4c8ea2b73662926b4d8ba0042c5ee5 18242 
sdl12-compat_1.2.70-3_source.buildinfo
Checksums-Sha256:
 26f0a0692a3bff279274fc23bac056bce1a375459326c92c2087bd5b4c42152e 2809 
sdl12-compat_1.2.70-3.dsc
 992b38548b947c5d0333554e84facd7e8e7945197241e2014aea148efc5aef2b 15144 
sdl12-compat_1.2.70-3.debian.tar.xz
 11d3d91d9a2554349f287de6d740b08c0c0d783010e3fff62753f1a5b103821b 669324 
sdl12-compat_1.2.70-3.git.tar.xz
 1356a9e82cbca165fb8c7dcf372d586374a76cd0a72232b079e697997ffeb3c4 18242 
sdl12-compat_1.2.70-3_source.buildinfo
Files:
 312a301d4a94d6808557a91d323e1e1b 2809 libs optional sdl12-compat_1.2.70-3.dsc
 7f0b7bd59a19ae62287956582714bf16 15144 libs optional 
sdl12-compat_1.2.70-3.debian.tar.xz
 817fc2edf85570e957695d42f261532e 669324 libs optional 
sdl12-compat_1.2.70-3.git.tar.xz
 78dded15201cad4e7f2634f8bd7b86d1 18242 libs optional 
sdl12-compat_1.2.70-3_source.buildinfo
Git-Tag-Info: tag=190cd2f8ca8a79210fc80e4d6a3d8b06c6bba135 
fp=7a073ad1ae694fa25bff62e5235c099d3eb33076
Git-Tag-Tagger: Simon McVittie <[email protected]>

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmkNWA8ACgkQYG0ITkaD
wHljMQ/9Gl16976AHP5ssEooSd167LuwQb3iwzx4IjlQMhJE9sI5olRY+SO36746
y5CyKQZqFra0XppEINEcx/PRdJRkEd2tIZPAzoiO/SU4VPC1QV/hTdc0EboL5c5E
/fbSL8VXcE1yocPyu89TCTvCEtDiHAQiCts2pDEnnckJD4obhUa/chPKFVzPVzSb
hDPkvKOq+NyWPglXIlamb7X0ejtI8w9ypGewQ+S3NDx4t7bc1GT1EyEhzlRThQnE
Rq/CpC7+1OhJD+CDiHkZ3M983ddwJcFeCTu7csW6fiXzOpNcNbMljRGFUJnBKzSm
3PXrsywYwH1CgYMhXROoPyElA9s0dGL0HxYJtANZXUmvcOS/kFx4vTi+qrK+x9nr
J7MtnL+GNbnMsUKqQ02yeD004Io8rU5TGsloHRUfuv8W+NUz0DMZhEZL5kplzWSU
8CIERCeYDBMNmPM76zwLIL6L1OIXNBOKqX6cxKzoLafnDQiREsWcM6ON/FwHyEb9
SUam+MOazevI+qcvy4kcbha4Wy+xq7PAFw3MsdwrXW++3xFfufIHpeDb4DNDcOWY
pTj0O0JczhRT4RSoG702im83BotL0hznSu/uZWPgg6XGHIQOoK0n2eoI5duBDAOn
9dwkO1xY+cneZg1QSKWvUcNToxpiiMDvdyQbSdoO9YT0Q/Oo/Gw=
=ydLI
-----END PGP SIGNATURE-----

Attachment: pgp0JTbI2U7wy.pgp
Description: PGP signature


--- End Message ---

Reply via email to