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 --------------------------------------------------------------------------------

