Bug#1120207: opencity: FTBFS: guicontainer.cpp:204:9: error: 'gluOrtho2D' was not declared in this scope; did you mean 'glOrtho'?

Santiago Vila sanvila at debian.org
Thu Nov 6 11:59:40 GMT 2025


Package: src:opencity
Version: 0.0.6.5stable-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:opencity, 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
aclocal: warning: couldn't open directory 'm4': No such file or directory
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'

[... snipped ...]

/bin/bash ../../../libtool  --tag=CXX   --mode=link g++  -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -L/usr/X11R6/lib   -Wl,-z,relro -Wl,--as-needed -o libSystem.la  AValueType.lo CConsole.lo CNullValue.lo CObject.lo CString.lo CType.lo Information/libInformation.la Reflection/libReflection.la -lSDL_net -lSDL_image -lGLU -lGL -lSDL -lSDL_mixer -lpng16 
libtool: link: (cd .libs/libSystem.lax/libInformation.a && ar x "/<<PKGBUILDDIR>>/src/framework/System/Information/.libs/libInformation.a")
libtool: link: (cd .libs/libSystem.lax/libReflection.a && ar x "/<<PKGBUILDDIR>>/src/framework/System/Reflection/.libs/libReflection.a")
libtool: link: ar cr .libs/libSystem.a .libs/AValueType.o .libs/CConsole.o .libs/CNullValue.o .libs/CObject.o .libs/CString.o .libs/CType.o   .libs/libSystem.lax/libInformation.a/CSdl.o  .libs/libSystem.lax/libReflection.a/CMemberInfo.o 
libtool: link: ranlib .libs/libSystem.a
libtool: link: rm -fr .libs/libSystem.lax
libtool: link: ( cd ".libs" && rm -f "libSystem.la" && ln -s "../libSystem.la" "libSystem.la" )
make[6]: Leaving directory '/<<PKGBUILDDIR>>/src/framework/System'
make[5]: Leaving directory '/<<PKGBUILDDIR>>/src/framework/System'
make[5]: Entering directory '/<<PKGBUILDDIR>>/src/framework'
/bin/bash ../../libtool  --tag=CC   --mode=link gcc  -std=c99 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -L/usr/X11R6/lib   -Wl,-z,relro -Wl,--as-needed -o libsharpplus.la   System/libSystem.la -lSDL_net -lSDL_image -lGLU -lGL -lSDL -lSDL_mixer -lpng16 
libtool: link: (cd .libs/libsharpplus.lax/libSystem.a && ar x "/<<PKGBUILDDIR>>/src/framework/System/.libs/libSystem.a")
libtool: link: ar cr .libs/libsharpplus.a   .libs/libsharpplus.lax/libSystem.a/AValueType.o .libs/libsharpplus.lax/libSystem.a/CConsole.o .libs/libsharpplus.lax/libSystem.a/CMemberInfo.o .libs/libsharpplus.lax/libSystem.a/CNullValue.o .libs/libsharpplus.lax/libSystem.a/CObject.o .libs/libsharpplus.lax/libSystem.a/CSdl.o .libs/libsharpplus.lax/libSystem.a/CString.o .libs/libsharpplus.lax/libSystem.a/CType.o 
libtool: link: ranlib .libs/libsharpplus.a
libtool: link: rm -fr .libs/libsharpplus.lax
libtool: link: ( cd ".libs" && rm -f "libsharpplus.la" && ln -s "../libsharpplus.la" "libsharpplus.la" )
make[5]: Leaving directory '/<<PKGBUILDDIR>>/src/framework'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/framework'
Making all in mapgen
make[4]: Entering directory '/<<PKGBUILDDIR>>/src/mapgen'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src/mapgen -I../../src/mapgen/filter -I../../src/mapgen/generator -I../../src/pngfuncs -I../../src -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o map.o map.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src/mapgen -I../../src/mapgen/filter -I../../src/mapgen/generator -I../../src/pngfuncs -I../../src -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o mapmaker.o mapmaker.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src/mapgen -I../../src/mapgen/filter -I../../src/mapgen/generator -I../../src/pngfuncs -I../../src -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o filter/choper.o filter/choper.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src/mapgen -I../../src/mapgen/filter -I../../src/mapgen/generator -I../../src/pngfuncs -I../../src -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o filter/context.o filter/context.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src/mapgen -I../../src/mapgen/filter -I../../src/mapgen/generator -I../../src/pngfuncs -I../../src -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o filter/contextOnlyPositive.o filter/contextOnlyPositive.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src/mapgen -I../../src/mapgen/filter -I../../src/mapgen/generator -I../../src/pngfuncs -I../../src -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o filter/contextualizer.o filter/contextualizer.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src/mapgen -I../../src/mapgen/filter -I../../src/mapgen/generator -I../../src/pngfuncs -I../../src -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o filter/cutter.o filter/cutter.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src/mapgen -I../../src/mapgen/filter -I../../src/mapgen/generator -I../../src/pngfuncs -I../../src -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o filter/filter.o filter/filter.cpp
filter/cutter.cpp: In destructor ‘virtual MapGen::Cutter::~Cutter()’:
filter/cutter.cpp:49:9: warning: deleting object of polymorphic class type ‘MapGen::CutterFunctor’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
   49 |         delete _cutterfunctor;
      |         ^~~~~~~~~~~~~~~~~~~~~
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src/mapgen -I../../src/mapgen/filter -I../../src/mapgen/generator -I../../src/pngfuncs -I../../src -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o filter/flattern.o filter/flattern.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src/mapgen -I../../src/mapgen/filter -I../../src/mapgen/generator -I../../src/pngfuncs -I../../src -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o filter/gaussblur.o filter/gaussblur.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src/mapgen -I../../src/mapgen/filter -I../../src/mapgen/generator -I../../src/pngfuncs -I../../src -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o filter/normalize.o filter/normalize.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src/mapgen -I../../src/mapgen/filter -I../../src/mapgen/generator -I../../src/pngfuncs -I../../src -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o filter/shaper.o filter/shaper.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src/mapgen -I../../src/mapgen/filter -I../../src/mapgen/generator -I../../src/pngfuncs -I../../src -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o filter/shape.o filter/shape.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src/mapgen -I../../src/mapgen/filter -I../../src/mapgen/generator -I../../src/pngfuncs -I../../src -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o filter/shapeBubble.o filter/shapeBubble.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src/mapgen -I../../src/mapgen/filter -I../../src/mapgen/generator -I../../src/pngfuncs -I../../src -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o filter/shapeTopRound.o filter/shapeTopRound.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src/mapgen -I../../src/mapgen/filter -I../../src/mapgen/generator -I../../src/pngfuncs -I../../src -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o filter/shapeVolcano.o filter/shapeVolcano.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src/mapgen -I../../src/mapgen/filter -I../../src/mapgen/generator -I../../src/pngfuncs -I../../src -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o generator/diamon.o generator/diamon.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src/mapgen -I../../src/mapgen/filter -I../../src/mapgen/generator -I../../src/pngfuncs -I../../src -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o generator/generator.o generator/generator.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src/mapgen -I../../src/mapgen/filter -I../../src/mapgen/generator -I../../src/pngfuncs -I../../src -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o generator/heightMap.o generator/heightMap.cpp
rm -f libmapgen.a
ar cr libmapgen.a map.o mapmaker.o filter/choper.o filter/context.o filter/contextOnlyPositive.o filter/contextualizer.o filter/cutter.o filter/filter.o filter/flattern.o filter/gaussblur.o filter/normalize.o filter/shaper.o filter/shape.o filter/shapeBubble.o filter/shapeTopRound.o filter/shapeVolcano.o generator/diamon.o generator/generator.o generator/heightMap.o 
ranlib libmapgen.a
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/mapgen'
Making all in mas
make[4]: Entering directory '/<<PKGBUILDDIR>>/src/mas'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src -I../../src/enum -I../../src/networking -I../../src/structure -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o agent.o agent.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src -I../../src/enum -I../../src/networking -I../../src/structure -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o agentdemonstrator.o agentdemonstrator.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src -I../../src/enum -I../../src/networking -I../../src/structure -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o agentpolice.o agentpolice.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src -I../../src/enum -I../../src/networking -I../../src/structure -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o agentrobber.o agentrobber.cpp
agentpolice.cpp: In member function ‘void AgentPolice::followPath()’:
agentpolice.cpp:423:14: warning: variable ‘ok’ set but not used [-Wunused-but-set-variable]
  423 |         bool ok = false;
      |              ^~
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src -I../../src/enum -I../../src/networking -I../../src/structure -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o any.o any.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src -I../../src/enum -I../../src/networking -I../../src/structure -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o environment.o environment.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src -I../../src/enum -I../../src/networking -I../../src/structure -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o kernel.o kernel.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src -I../../src/enum -I../../src/networking -I../../src/structure -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o message.o message.cpp
rm -f libmas.a
ar cr libmas.a agent.o agentdemonstrator.o agentpolice.o agentrobber.o any.o environment.o kernel.o message.o 
ranlib libmas.a
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/mas'
Making all in model
make[4]: Entering directory '/<<PKGBUILDDIR>>/src/model'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src/triangulation -I../../src -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ac3dmaterial.o ac3dmaterial.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src/triangulation -I../../src -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ac3dmodel.o ac3dmodel.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src/triangulation -I../../src -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ac3dobject.o ac3dobject.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src/triangulation -I../../src -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ac3dsurface.o ac3dsurface.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src/triangulation -I../../src -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o model.o model.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src/triangulation -I../../src -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o modelloader.o modelloader.cpp
model.cpp: In member function ‘void Model::DisplayList(const float&, const float&, const signed char*, uint) const’:
model.cpp:129:26: warning: narrowing conversion of ‘(((int)(*(tabY + 3))) - ((int)(* tabY)))’ from ‘int’ to ‘GLdouble’ {aka ‘double’} is ill-formed in C++11 [-Wnarrowing]
  129 |                 1,tabY[3]-tabY[0],0,0,
      |                   ~~~~~~~^~~~~~~~
model.cpp:131:26: warning: narrowing conversion of ‘(((int)(*(tabY + 1))) - ((int)(* tabY)))’ from ‘int’ to ‘GLdouble’ {aka ‘double’} is ill-formed in C++11 [-Wnarrowing]
  131 |                 0,tabY[1]-tabY[0],1,0,
      |                   ~~~~~~~^~~~~~~~
rm -f libmodel.a
ar cr libmodel.a ac3dmaterial.o ac3dmodel.o ac3dobject.o ac3dsurface.o model.o modelloader.o 
ranlib libmodel.a
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/model'
Making all in networking
make[4]: Entering directory '/<<PKGBUILDDIR>>/src/networking'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src/ -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o networking.o networking.cpp
rm -f libnet.a
ar cr libnet.a networking.o 
ranlib libnet.a
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/networking'
Making all in pngfuncs
make[4]: Entering directory '/<<PKGBUILDDIR>>/src/pngfuncs'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src/pngfuncs -I../../src -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c99 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o pngfuncs.o pngfuncs.c
rm -f libpngfuncs.a
ar cr libpngfuncs.a pngfuncs.o 
ranlib libpngfuncs.a
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/pngfuncs'
Making all in simulator
make[4]: Entering directory '/<<PKGBUILDDIR>>/src/simulator'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src -I../../src/enum -I../../src/mas -I../../src/networking -I../../src/structure -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o commercialsim.o commercialsim.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src -I../../src/enum -I../../src/mas -I../../src/networking -I../../src/structure -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o electricitysim.o electricitysim.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src -I../../src/enum -I../../src/mas -I../../src/networking -I../../src/structure -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o industrialsim.o industrialsim.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src -I../../src/enum -I../../src/mas -I../../src/networking -I../../src/structure -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o mainsim.o mainsim.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src -I../../src/enum -I../../src/mas -I../../src/networking -I../../src/structure -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o residentialsim.o residentialsim.cpp
In file included from mainsim.h:24,
                 from mainsim.cpp:25:
simulator.h:194:9: warning: ‘virtual const int Simulator::GetMaxValue() const’ was hidden [-Woverloaded-virtual=]
  194 |         GetMaxValue() const;
      |         ^~~~~~~~~~~
mainsim.h:155:9: note:   by ‘const int MainSim::GetMaxValue(Simulator::OPENCITY_SIMULATOR) const’
  155 |         GetMaxValue( const OPENCITY_SIMULATOR sim ) const;
      |         ^~~~~~~~~~~
simulator.h:126:9: warning: ‘virtual void Simulator::RemoveStructure(const uint&, const uint&, const uint&, const uint&)’ was hidden [-Woverloaded-virtual=]
  126 |         RemoveStructure(
      |         ^~~~~~~~~~~~~~~
mainsim.h:99:9: note:   by ‘void MainSim::RemoveStructure(uint, uint, uint, uint, Simulator::OPENCITY_SIMULATOR)’
   99 |         RemoveStructure(
      |         ^~~~~~~~~~~~~~~
simulator.h:119:9: warning: ‘virtual void Simulator::AddStructure(const uint&, const uint&, const uint&, const uint&)’ was hidden [-Woverloaded-virtual=]
  119 |         AddStructure(
      |         ^~~~~~~~~~~~
mainsim.h:86:9: note:   by ‘void MainSim::AddStructure(uint, uint, uint, uint, Simulator::OPENCITY_SIMULATOR)’
   86 |         AddStructure(
      |         ^~~~~~~~~~~~
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src -I../../src/enum -I../../src/mas -I../../src/networking -I../../src/structure -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o simulator.o simulator.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src -I../../src/enum -I../../src/mas -I../../src/networking -I../../src/structure -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o trafficsim.o trafficsim.cpp
rm -f libsim.a
ar cr libsim.a commercialsim.o electricitysim.o industrialsim.o mainsim.o residentialsim.o simulator.o trafficsim.o 
ranlib libsim.a
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/simulator'
Making all in structure
make[4]: Entering directory '/<<PKGBUILDDIR>>/src/structure'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src -I../../src/enum -I../../src/mas -I../../src/networking -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o pathstructure.o pathstructure.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src -I../../src/enum -I../../src/mas -I../../src/networking -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rcistructure.o rcistructure.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src -I../../src/enum -I../../src/mas -I../../src/networking -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o structure.o structure.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src -I../../src/enum -I../../src/mas -I../../src/networking -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o treestructure.o treestructure.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src -I../../src/enum -I../../src/mas -I../../src/networking -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o wegstructure.o wegstructure.cpp
rm -f libstruct.a
ar cr libstruct.a pathstructure.o rcistructure.o structure.o treestructure.o wegstructure.o 
ranlib libstruct.a
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/structure'
Making all in tinyxml
make[4]: Entering directory '/<<PKGBUILDDIR>>/src/tinyxml'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/tinyxml'
Making all in tinyxpath
make[4]: Entering directory '/<<PKGBUILDDIR>>/src/tinyxpath'
g++ -DHAVE_CONFIG_H -I. -I../..  -ltinyxml -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o action_store.o action_store.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -ltinyxml -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o lex_util.o lex_util.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -ltinyxml -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o node_set.o node_set.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -ltinyxml -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tokenlist.o tokenlist.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -ltinyxml -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xml_util.o xml_util.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -ltinyxml -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xpath_expression.o xpath_expression.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -ltinyxml -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xpath_processor.o xpath_processor.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -ltinyxml -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xpath_stack.o xpath_stack.cpp
xpath_processor.cpp: In member function ‘void TinyXPath::xpath_processor::v_execute_absolute_path(unsigned int, bool, bool)’:
xpath_processor.cpp:1003:11: warning: variable ‘i_bak_position’ set but not used [-Wunused-but-set-variable]
 1003 |       int i_bak_position, i_current, i_first, i_relative;
      |           ^~~~~~~~~~~~~~
xpath_processor.cpp: In member function ‘void TinyXPath::xpath_processor::v_order_recurs(TiXmlNode*, int&)’:
xpath_processor.cpp:2077:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 2077 |    Np_base -> SetUserData ((void *) i_current++);
      |                            ^~~~~~~~~~~~~~~~~~~~
g++ -DHAVE_CONFIG_H -I. -I../..  -ltinyxml -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xpath_static.o xpath_static.cpp
In file included from xpath_processor.cpp:26:
In member function ‘void TinyXPath::xpath_processor::v_push_bool(bool)’,
    inlined from ‘void TinyXPath::xpath_processor::v_function_relational(TinyXPath::expression_result**, unsigned int)’ at xpath_processor.cpp:1985:16:
xpath_processor.h:120:60: warning: ‘o_res’ may be used uninitialized [-Wmaybe-uninitialized]
  120 |    void v_push_bool (bool o_val)   {xs_stack . v_push_bool (o_val);}
      |                                     ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
xpath_processor.cpp: In member function ‘void TinyXPath::xpath_processor::v_function_relational(TinyXPath::expression_result**, unsigned int)’:
xpath_processor.cpp:1931:9: note: ‘o_res’ was declared here
 1931 |    bool o_res;
      |         ^~~~~
In member function ‘void TinyXPath::xpath_processor::v_push_int(int, const char*)’,
    inlined from ‘void TinyXPath::xpath_processor::v_function_mult(TinyXPath::expression_result**, unsigned int)’ at xpath_processor.cpp:2036:18:
xpath_processor.h:118:87: warning: ‘i_res’ may be used uninitialized [-Wmaybe-uninitialized]
  118 |    void v_push_int (int i_val, const char * cp_comment = "")   {xs_stack . v_push_int (i_val, cp_comment);}
      |                                                                 ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
xpath_processor.cpp: In member function ‘void TinyXPath::xpath_processor::v_function_mult(TinyXPath::expression_result**, unsigned int)’:
xpath_processor.cpp:2021:29: note: ‘i_res’ was declared here
 2021 |       int i_arg_1, i_arg_2, i_res;
      |                             ^~~~~
In member function ‘void TinyXPath::xpath_processor::v_push_double(double)’,
    inlined from ‘void TinyXPath::xpath_processor::v_function_mult(TinyXPath::expression_result**, unsigned int)’ at xpath_processor.cpp:2017:21:
xpath_processor.h:121:66: warning: ‘d_res’ may be used uninitialized [-Wmaybe-uninitialized]
  121 |    void v_push_double (double d_val)   {xs_stack . v_push_double (d_val);}
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
xpath_processor.cpp: In member function ‘void TinyXPath::xpath_processor::v_function_mult(TinyXPath::expression_result**, unsigned int)’:
xpath_processor.cpp:1997:32: note: ‘d_res’ was declared here
 1997 |       double d_arg_1, d_arg_2, d_res;
      |                                ^~~~~
g++ -DHAVE_CONFIG_H -I. -I../..  -ltinyxml -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xpath_stream.o xpath_stream.cpp
g++ -DHAVE_CONFIG_H -I. -I../..  -ltinyxml -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xpath_syntax.o xpath_syntax.cpp
rm -f libtinyxpath.a
ar cr libtinyxpath.a action_store.o lex_util.o node_set.o tokenlist.o xml_util.o xpath_expression.o xpath_processor.o xpath_stack.o xpath_static.o xpath_stream.o xpath_syntax.o 
ranlib libtinyxpath.a
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/tinyxpath'
Making all in triangulation
make[4]: Entering directory '/<<PKGBUILDDIR>>/src/triangulation'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src/triangulation -I../../src -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o star.o star.cpp
rm -f libtriangulation.a
ar cr libtriangulation.a star.o 
ranlib libtriangulation.a
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/triangulation'
make[4]: Entering directory '/<<PKGBUILDDIR>>/src'
g++ -DHAVE_CONFIG_H -I. -I..  -I../src -I../src/binreloc -I../src/enum -I../src/framework -I../src/mas -I../src/mapgen -I../src/model -I../src/networking -I../src/pngfuncs -I../src/simulator -I../src/structure -ltinyxml -I../src/tinyxpath -I../src/triangulation -DDATADIR=\"/usr/share/games\" -DSYSCONFDIR=\"/etc\" -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o audiomanagersdl.o audiomanagersdl.cpp
g++ -DHAVE_CONFIG_H -I. -I..  -I../src -I../src/binreloc -I../src/enum -I../src/framework -I../src/mas -I../src/mapgen -I../src/model -I../src/networking -I../src/pngfuncs -I../src/simulator -I../src/structure -ltinyxml -I../src/tinyxpath -I../src/triangulation -DDATADIR=\"/usr/share/games\" -DSYSCONFDIR=\"/etc\" -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o buildinglayer.o buildinglayer.cpp
g++ -DHAVE_CONFIG_H -I. -I..  -I../src -I../src/binreloc -I../src/enum -I../src/framework -I../src/mas -I../src/mapgen -I../src/model -I../src/networking -I../src/pngfuncs -I../src/simulator -I../src/structure -ltinyxml -I../src/tinyxpath -I../src/triangulation -DDATADIR=\"/usr/share/games\" -DSYSCONFDIR=\"/etc\" -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o city.o city.cpp
g++ -DHAVE_CONFIG_H -I. -I..  -I../src -I../src/binreloc -I../src/enum -I../src/framework -I../src/mas -I../src/mapgen -I../src/model -I../src/networking -I../src/pngfuncs -I../src/simulator -I../src/structure -ltinyxml -I../src/tinyxpath -I../src/triangulation -DDATADIR=\"/usr/share/games\" -DSYSCONFDIR=\"/etc\" -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o conf.o conf.cpp
In file included from ../src/simulator/mainsim.h:24,
                 from city.cpp:27:
../src/simulator/simulator.h:194:9: warning: ‘virtual const int Simulator::GetMaxValue() const’ was hidden [-Woverloaded-virtual=]
  194 |         GetMaxValue() const;
      |         ^~~~~~~~~~~
../src/simulator/mainsim.h:155:9: note:   by ‘const int MainSim::GetMaxValue(Simulator::OPENCITY_SIMULATOR) const’
  155 |         GetMaxValue( const OPENCITY_SIMULATOR sim ) const;
      |         ^~~~~~~~~~~
../src/simulator/simulator.h:126:9: warning: ‘virtual void Simulator::RemoveStructure(const uint&, const uint&, const uint&, const uint&)’ was hidden [-Woverloaded-virtual=]
  126 |         RemoveStructure(
      |         ^~~~~~~~~~~~~~~
../src/simulator/mainsim.h:99:9: note:   by ‘void MainSim::RemoveStructure(uint, uint, uint, uint, Simulator::OPENCITY_SIMULATOR)’
   99 |         RemoveStructure(
      |         ^~~~~~~~~~~~~~~
../src/simulator/simulator.h:119:9: warning: ‘virtual void Simulator::AddStructure(const uint&, const uint&, const uint&, const uint&)’ was hidden [-Woverloaded-virtual=]
  119 |         AddStructure(
      |         ^~~~~~~~~~~~
../src/simulator/mainsim.h:86:9: note:   by ‘void MainSim::AddStructure(uint, uint, uint, uint, Simulator::OPENCITY_SIMULATOR)’
   86 |         AddStructure(
      |         ^~~~~~~~~~~~
city.cpp: In member function ‘void City::Display()’:
city.cpp:325:21: warning: variable ‘boolKeyDown’ set but not used [-Wunused-but-set-variable]
  325 |         static bool boolKeyDown;
      |                     ^~~~~~~~~~~
g++ -DHAVE_CONFIG_H -I. -I..  -I../src -I../src/binreloc -I../src/enum -I../src/framework -I../src/mas -I../src/mapgen -I../src/model -I../src/networking -I../src/pngfuncs -I../src/simulator -I../src/structure -ltinyxml -I../src/tinyxpath -I../src/triangulation -DDATADIR=\"/usr/share/games\" -DSYSCONFDIR=\"/etc\" -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o destination.o destination.cpp
g++ -DHAVE_CONFIG_H -I. -I..  -I../src -I../src/binreloc -I../src/enum -I../src/framework -I../src/mas -I../src/mapgen -I../src/model -I../src/networking -I../src/pngfuncs -I../src/simulator -I../src/structure -ltinyxml -I../src/tinyxpath -I../src/triangulation -DDATADIR=\"/usr/share/games\" -DSYSCONFDIR=\"/etc\" -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o extensionmanager.o extensionmanager.cpp
g++ -DHAVE_CONFIG_H -I. -I..  -I../src -I../src/binreloc -I../src/enum -I../src/framework -I../src/mas -I../src/mapgen -I../src/model -I../src/networking -I../src/pngfuncs -I../src/simulator -I../src/structure -ltinyxml -I../src/tinyxpath -I../src/triangulation -DDATADIR=\"/usr/share/games\" -DSYSCONFDIR=\"/etc\" -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o globalvar.o globalvar.cpp
g++ -DHAVE_CONFIG_H -I. -I..  -I../src -I../src/binreloc -I../src/enum -I../src/framework -I../src/mas -I../src/mapgen -I../src/model -I../src/networking -I../src/pngfuncs -I../src/simulator -I../src/structure -ltinyxml -I../src/tinyxpath -I../src/triangulation -DDATADIR=\"/usr/share/games\" -DSYSCONFDIR=\"/etc\" -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o graphicmanager.o graphicmanager.cpp
graphicmanager.cpp: In member function ‘void GraphicManager::DisplayTerrain(const uint&, const uint&) const’:
graphicmanager.cpp:141:24: warning: variable ‘ax’ set but not used [-Wunused-but-set-variable]
  141 |         static GLfloat ax, ay, az;
      |                        ^~
graphicmanager.cpp:141:32: warning: variable ‘az’ set but not used [-Wunused-but-set-variable]
  141 |         static GLfloat ax, ay, az;
      |                                ^~
graphicmanager.cpp:142:24: warning: variable ‘bx’ set but not used [-Wunused-but-set-variable]
  142 |         static GLfloat bx, by, bz;
      |                        ^~
graphicmanager.cpp:142:32: warning: variable ‘bz’ set but not used [-Wunused-but-set-variable]
  142 |         static GLfloat bx, by, bz;
      |                                ^~
graphicmanager.cpp: In member function ‘void GraphicManager::DisplayStructure(const Structure*, const uint&, const uint&) const’:
graphicmanager.cpp:195:24: warning: variable ‘delta’ set but not used [-Wunused-but-set-variable]
  195 |         static GLfloat delta;
      |                        ^~~~~
g++ -DHAVE_CONFIG_H -I. -I..  -I../src -I../src/binreloc -I../src/enum -I../src/framework -I../src/mas -I../src/mapgen -I../src/model -I../src/networking -I../src/pngfuncs -I../src/simulator -I../src/structure -ltinyxml -I../src/tinyxpath -I../src/triangulation -DDATADIR=\"/usr/share/games\" -DSYSCONFDIR=\"/etc\" -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o gui3dview.o gui3dview.cpp
g++ -DHAVE_CONFIG_H -I. -I..  -I../src -I../src/binreloc -I../src/enum -I../src/framework -I../src/mas -I../src/mapgen -I../src/model -I../src/networking -I../src/pngfuncs -I../src/simulator -I../src/structure -ltinyxml -I../src/tinyxpath -I../src/triangulation -DDATADIR=\"/usr/share/games\" -DSYSCONFDIR=\"/etc\" -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o guibar.o guibar.cpp
g++ -DHAVE_CONFIG_H -I. -I..  -I../src -I../src/binreloc -I../src/enum -I../src/framework -I../src/mas -I../src/mapgen -I../src/model -I../src/networking -I../src/pngfuncs -I../src/simulator -I../src/structure -ltinyxml -I../src/tinyxpath -I../src/triangulation -DDATADIR=\"/usr/share/games\" -DSYSCONFDIR=\"/etc\" -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o guibutton.o guibutton.cpp
g++ -DHAVE_CONFIG_H -I. -I..  -I../src -I../src/binreloc -I../src/enum -I../src/framework -I../src/mas -I../src/mapgen -I../src/model -I../src/networking -I../src/pngfuncs -I../src/simulator -I../src/structure -ltinyxml -I../src/tinyxpath -I../src/triangulation -DDATADIR=\"/usr/share/games\" -DSYSCONFDIR=\"/etc\" -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o guicontainer.o guicontainer.cpp
g++ -DHAVE_CONFIG_H -I. -I..  -I../src -I../src/binreloc -I../src/enum -I../src/framework -I../src/mas -I../src/mapgen -I../src/model -I../src/networking -I../src/pngfuncs -I../src/simulator -I../src/structure -ltinyxml -I../src/tinyxpath -I../src/triangulation -DDATADIR=\"/usr/share/games\" -DSYSCONFDIR=\"/etc\" -I/usr/X11R6/include  -DNDEBUG -Wall -Wmissing-braces -Wparentheses -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16   -std=c++98 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o guilabel.o guilabel.cpp
guicontainer.cpp: In member function ‘virtual void GUIContainer::Display() const’:
guicontainer.cpp:204:9: error: ‘gluOrtho2D’ was not declared in this scope; did you mean ‘glOrtho’?
  204 |         gluOrtho2D( 0, _uiWinWidth-1, 0, _uiWinHeight-1 );
      |         ^~~~~~~~~~
      |         glOrtho
make[4]: *** [Makefile:712: guicontainer.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[3]: *** [Makefile:743: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:512: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:402: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 returned exit code 2
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the Pkg-games-devel mailing list