* Package: dev-games/mercator-0.2.9 * Repository: gentoo * Maintainer: games@gentoo.org * USE: amd64 elibc_glibc kernel_linux multilib test userland_GNU * FEATURES: ccache sandbox >>> Unpacking source... >>> Unpacking mercator-0.2.9.tar.gz to /var/tmp/portage/dev-games/mercator-0.2.9/work >>> Source unpacked in /var/tmp/portage/dev-games/mercator-0.2.9/work >>> Preparing source in /var/tmp/portage/dev-games/mercator-0.2.9/work/mercator-0.2.9 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-games/mercator-0.2.9/work/mercator-0.2.9 ... * econf: updating mercator-0.2.9/config.guess with /usr/share/gnuconfig/config.guess * econf: updating mercator-0.2.9/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc 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 we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking dependency style of x86_64-pc-linux-gnu-g++... gcc3 checking whether we are using the GNU C++ compiler... (cached) yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... (cached) yes checking dependency style of x86_64-pc-linux-gnu-g++... (cached) gcc3 checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for lrintf... yes checking for rintf... yes checking for rint... yes checking for fabsf... yes checking for x86_64-pc-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for WF... yes configure: creating ./config.status config.status: creating Makefile config.status: creating Mercator/Makefile config.status: creating tests/Makefile config.status: creating mercator.spec config.status: creating mingw32-mercator.spec config.status: creating mercator-0.2.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-games/mercator-0.2.9/work/mercator-0.2.9 ... make -j5 make all-recursive make[1]: Entering directory `/var/tmp/portage/dev-games/mercator-0.2.9/work/mercator-0.2.9' Making all in Mercator make[2]: Entering directory `/var/tmp/portage/dev-games/mercator-0.2.9/work/mercator-0.2.9/Mercator' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -I/usr/include/wfmath-0.3 -O2 -pipe -march=native -Wall -DNDEBUG -MT Mercator.lo -MD -MP -MF .deps/Mercator.Tpo -c -o Mercator.lo Mercator.cpp /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -I/usr/include/wfmath-0.3 -O2 -pipe -march=native -Wall -DNDEBUG -MT Matrix.lo -MD -MP -MF .deps/Matrix.Tpo -c -o Matrix.lo Matrix.cpp /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -I/usr/include/wfmath-0.3 -O2 -pipe -march=native -Wall -DNDEBUG -MT Terrain.lo -MD -MP -MF .deps/Terrain.Tpo -c -o Terrain.lo Terrain.cpp /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -I/usr/include/wfmath-0.3 -O2 -pipe -march=native -Wall -DNDEBUG -MT TerrainMod.lo -MD -MP -MF .deps/TerrainMod.Tpo -c -o TerrainMod.lo TerrainMod.cpp /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -I/usr/include/wfmath-0.3 -O2 -pipe -march=native -Wall -DNDEBUG -MT BasePoint.lo -MD -MP -MF .deps/BasePoint.Tpo -c -o BasePoint.lo BasePoint.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -I/usr/include/wfmath-0.3 -O2 -pipe -march=native -Wall -DNDEBUG -MT Matrix.lo -MD -MP -MF .deps/Matrix.Tpo -c Matrix.cpp -fPIC -DPIC -o .libs/Matrix.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -I/usr/include/wfmath-0.3 -O2 -pipe -march=native -Wall -DNDEBUG -MT Terrain.lo -MD -MP -MF .deps/Terrain.Tpo -c Terrain.cpp -fPIC -DPIC -o .libs/Terrain.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -I/usr/include/wfmath-0.3 -O2 -pipe -march=native -Wall -DNDEBUG -MT Mercator.lo -MD -MP -MF .deps/Mercator.Tpo -c Mercator.cpp -fPIC -DPIC -o .libs/Mercator.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -I/usr/include/wfmath-0.3 -O2 -pipe -march=native -Wall -DNDEBUG -MT BasePoint.lo -MD -MP -MF .deps/BasePoint.Tpo -c BasePoint.cpp -fPIC -DPIC -o .libs/BasePoint.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -I/usr/include/wfmath-0.3 -O2 -pipe -march=native -Wall -DNDEBUG -MT TerrainMod.lo -MD -MP -MF .deps/TerrainMod.Tpo -c TerrainMod.cpp -fPIC -DPIC -o .libs/TerrainMod.o mv -f .deps/Mercator.Tpo .deps/Mercator.Plo /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -I/usr/include/wfmath-0.3 -O2 -pipe -march=native -Wall -DNDEBUG -MT Buffer.lo -MD -MP -MF .deps/Buffer.Tpo -c -o Buffer.lo Buffer.cpp mv -f .deps/Matrix.Tpo .deps/Matrix.Plo /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -I/usr/include/wfmath-0.3 -O2 -pipe -march=native -Wall -DNDEBUG -MT Segment.lo -MD -MP -MF .deps/Segment.Tpo -c -o Segment.lo Segment.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -I/usr/include/wfmath-0.3 -O2 -pipe -march=native -Wall -DNDEBUG -MT Buffer.lo -MD -MP -MF .deps/Buffer.Tpo -c Buffer.cpp -fPIC -DPIC -o .libs/Buffer.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -I/usr/include/wfmath-0.3 -O2 -pipe -march=native -Wall -DNDEBUG -MT Segment.lo -MD -MP -MF .deps/Segment.Tpo -c Segment.cpp -fPIC -DPIC -o .libs/Segment.o In file included from ../Mercator/TerrainMod_impl.h:8, from TerrainMod.cpp:5: ../Mercator/TerrainMod.h:30: error: field 'm_id' has incomplete typemv -f .deps/BasePoint.Tpo .deps/BasePoint.Plo ../Mercator/TerrainMod.h: In member function 'const std::string& Mercator::TerrainMod::Context::id()': ../Mercator/TerrainMod.h:26: error: 'm_id' was not declared in this scope /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -I/usr/include/wfmath-0.3 -O2 -pipe -march=native -Wall -DNDEBUG -MT Shader.lo -MD -MP -MF .deps/Shader.Tpo -c -o Shader.lo Shader.cpp TerrainMod.cpp: In member function 'void Mercator::TerrainMod::Context::setId(const std::string&)': TerrainMod.cpp:19: error: 'm_id' was not declared in this scope TerrainMod.cpp: In member function 'virtual void Mercator::CraterTerrainMod::apply(float&, int, int) const': TerrainMod.cpp:65: error: 'sqrt' was not declared in this scope make[2]: *** [TerrainMod.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -I/usr/include/wfmath-0.3 -O2 -pipe -march=native -Wall -DNDEBUG -MT Shader.lo -MD -MP -MF .deps/Shader.Tpo -c Shader.cpp -fPIC -DPIC -o .libs/Shader.o mv -f .deps/Buffer.Tpo .deps/Buffer.Plo mv -f .deps/Shader.Tpo .deps/Shader.Plo Terrain.cpp: In member function 'void Mercator::Terrain::removeArea(const Mercator::Area*)': Terrain.cpp:613: error: 'assert' was not declared in this scope make[2]: *** [Terrain.lo] Error 1 mv -f .deps/Segment.Tpo .deps/Segment.Plo make[2]: Leaving directory `/var/tmp/portage/dev-games/mercator-0.2.9/work/mercator-0.2.9/Mercator' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-games/mercator-0.2.9/work/mercator-0.2.9' make: *** [all] Error 2 emake failed * ERROR: dev-games/mercator-0.2.9 failed (compile phase): * died running emake, base_src_make * * Call stack: * ebuild.sh, line 91: Called src_compile * environment, line 2298: Called base_src_compile * environment, line 287: Called base_src_make * environment, line 325: Called die * The specific snippet of code: * emake "$@" || die "died running emake, $FUNCNAME"; * * If you need support, post the output of 'emerge --info =dev-games/mercator-0.2.9', * the complete build log and the output of 'emerge -pqv =dev-games/mercator-0.2.9'. * The complete build log is located at '/var/log/portage/build/dev-games/mercator-0.2.9:20111109-195814.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-games/mercator-0.2.9/temp/environment'. * S: '/var/tmp/portage/dev-games/mercator-0.2.9/work/mercator-0.2.9'