>>> Unpacking source... >>> Unpacking kyra_src_2_0_7.tar.gz to /var/tmp/portage/dev-games/kyra-2.0.7/work * Applying kyra-2.0.7-gcc41.patch ...  [ ok ] * Applying kyra-2.0.7-sdl.patch ...  [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/dev-games/kyra-2.0.7/work/kyra ... * econf: updating kyra/config.sub with /usr/share/gnuconfig/config.sub * econf: updating kyra/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --without-opengl --build=i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets ${MAKE}... yes checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking for C++ compiler default output... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-g++... gcc3 checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/i686-pc-linux-gnu-nm -B checking whether ln -s works... yes checking how to recognise dependant libraries... pass_all checking command to parse /usr/bin/i686-pc-linux-gnu-nm -B output... ok checking how to run the C preprocessor... i686-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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip checking for objdir... .libs checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-gcc static flag -static works... yes checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes checking if i686-pc-linux-gnu-gcc supports -c -o file.lo... yes checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether -lc should be explicitly linked in... no creating libtool checking for ANSI C header files... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for memory.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for stdlib.h... (cached) yes checking for working malloc... yes checking for vprintf... yes checking for _doprnt... no checking for atexit... yes checking for memset... yes checking for sqrt... no checking for strchr... yes checking for strrchr... yes checking for strstr... yes checking for strtoul... yes checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.0... yes checking for main in -lSDL_image... yes checking for main in -lGL... yes configure: creating ./config.status config.status: creating Makefile config.status: creating tinyxml/Makefile config.status: creating util/Makefile config.status: creating gui/Makefile config.status: creating guiExtended/Makefile config.status: creating engine/Makefile config.status: creating encoder/Makefile config.status: creating spriteed/Makefile config.status: creating kyra-config config.status: executing depfiles commands make -j14 Making all in tinyxml make[1]: Entering directory `/var/tmp/portage/dev-games/kyra-2.0.7/work/kyra/tinyxml' source='tinyxml.cpp' object='tinyxml.lo' libtool=yes \ depfile='.deps/tinyxml.Plo' tmpdepfile='.deps/tinyxml.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"Kyra\" -DPACKAGE_TARNAME=\"kyra\" -DPACKAGE_VERSION=\"2.0.7\" -DPACKAGE_STRING=\"Kyra\ 2.0.7\" -DPACKAGE_BUGREPORT=\"kyra-general@lists.sourceforge.net\" -DPACKAGE=\"Kyra\" -DVERSION=\"2.0.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_VPRINTF=1 -DHAVE_ATEXIT=1 -DHAVE_MEMSET=1 -DHAVE_STRCHR=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOUL=1 -I. -I. -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/local/include -I/usr/X11R6/include -DKYRA_SUPPORT_OPENGL -c -o tinyxml.lo `test -f 'tinyxml.cpp' || echo './'`tinyxml.cpp source='tinyxmlerror.cpp' object='tinyxmlerror.lo' libtool=yes \ depfile='.deps/tinyxmlerror.Plo' tmpdepfile='.deps/tinyxmlerror.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"Kyra\" -DPACKAGE_TARNAME=\"kyra\" -DPACKAGE_VERSION=\"2.0.7\" -DPACKAGE_STRING=\"Kyra\ 2.0.7\" -DPACKAGE_BUGREPORT=\"kyra-general@lists.sourceforge.net\" -DPACKAGE=\"Kyra\" -DVERSION=\"2.0.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_VPRINTF=1 -DHAVE_ATEXIT=1 -DHAVE_MEMSET=1 -DHAVE_STRCHR=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOUL=1 -I. -I. -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/local/include -I/usr/X11R6/include -DKYRA_SUPPORT_OPENGL -c -o tinyxmlerror.lo `test -f 'tinyxmlerror.cpp' || echo './'`tinyxmlerror.cpp source='tinyxmlparser.cpp' object='tinyxmlparser.lo' libtool=yes \ depfile='.deps/tinyxmlparser.Plo' tmpdepfile='.deps/tinyxmlparser.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"Kyra\" -DPACKAGE_TARNAME=\"kyra\" -DPACKAGE_VERSION=\"2.0.7\" -DPACKAGE_STRING=\"Kyra\ 2.0.7\" -DPACKAGE_BUGREPORT=\"kyra-general@lists.sourceforge.net\" -DPACKAGE=\"Kyra\" -DVERSION=\"2.0.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_VPRINTF=1 -DHAVE_ATEXIT=1 -DHAVE_MEMSET=1 -DHAVE_STRCHR=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOUL=1 -I. -I. -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/local/include -I/usr/X11R6/include -DKYRA_SUPPORT_OPENGL -c -o tinyxmlparser.lo `test -f 'tinyxmlparser.cpp' || echo './'`tinyxmlparser.cpp mkdir .libs i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"Kyra\" -DPACKAGE_TARNAME=\"kyra\" -DPACKAGE_VERSION=\"2.0.7\" "-DPACKAGE_STRING=\"Kyra 2.0.7\"" -DPACKAGE_BUGREPORT=\"kyra-general@lists.sourceforge.net\" -DPACKAGE=\"Kyra\" -DVERSION=\"2.0.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_VPRINTF=1 -DHAVE_ATEXIT=1 -DHAVE_MEMSET=1 -DHAVE_STRCHR=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOUL=1 -I. -I. -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/local/include -I/usr/X11R6/include -DKYRA_SUPPORT_OPENGL -c tinyxml.cpp -MT tinyxml.lo -MD -MP -MF .deps/tinyxml.TPlo -fPIC -DPIC -o .libs/tinyxml.lo rm -f .libs/tinyxmlparser.lo rm -f .libs/tinyxmlerror.lo i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"Kyra\" -DPACKAGE_TARNAME=\"kyra\" -DPACKAGE_VERSION=\"2.0.7\" "-DPACKAGE_STRING=\"Kyra 2.0.7\"" -DPACKAGE_BUGREPORT=\"kyra-general@lists.sourceforge.net\" -DPACKAGE=\"Kyra\" -DVERSION=\"2.0.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_VPRINTF=1 -DHAVE_ATEXIT=1 -DHAVE_MEMSET=1 -DHAVE_STRCHR=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOUL=1 -I. -I. -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/local/include -I/usr/X11R6/include -DKYRA_SUPPORT_OPENGL -c tinyxmlparser.cpp -MT tinyxmlparser.lo -MD -MP -MF .deps/tinyxmlparser.TPlo -fPIC -DPIC -o .libs/tinyxmlparser.lo i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"Kyra\" -DPACKAGE_TARNAME=\"kyra\" -DPACKAGE_VERSION=\"2.0.7\" "-DPACKAGE_STRING=\"Kyra 2.0.7\"" -DPACKAGE_BUGREPORT=\"kyra-general@lists.sourceforge.net\" -DPACKAGE=\"Kyra\" -DVERSION=\"2.0.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_VPRINTF=1 -DHAVE_ATEXIT=1 -DHAVE_MEMSET=1 -DHAVE_STRCHR=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOUL=1 -I. -I. -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/local/include -I/usr/X11R6/include -DKYRA_SUPPORT_OPENGL -c tinyxmlerror.cpp -MT tinyxmlerror.lo -MD -MP -MF .deps/tinyxmlerror.TPlo -fPIC -DPIC -o .libs/tinyxmlerror.lo tinyxml.cpp: In member function 'const std::string* TiXmlElement::Attribute(const std::string&, int*) const': tinyxml.cpp:380: error: 'atoi' was not declared in this scope tinyxml.cpp: In member function 'bool TiXmlDocument::LoadFile(const std::string&)': tinyxml.cpp:536: error: 'strchr' was not declared in this scope tinyxmlparser.cpp: In member function 'virtual const char* TiXmlUnknown::Parse(const char*)': tinyxmlparser.cpp:319: error: 'strchr' was not declared in this scope tinyxmlparser.cpp: In member function 'virtual const char* TiXmlComment::Parse(const char*)': tinyxmlparser.cpp:343: error: 'strstr' was not declared in this scope i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"Kyra\" -DPACKAGE_TARNAME=\"kyra\" -DPACKAGE_VERSION=\"2.0.7\" "-DPACKAGE_STRING=\"Kyra 2.0.7\"" -DPACKAGE_BUGREPORT=\"kyra-general@lists.sourceforge.net\" -DPACKAGE=\"Kyra\" -DVERSION=\"2.0.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_VPRINTF=1 -DHAVE_ATEXIT=1 -DHAVE_MEMSET=1 -DHAVE_STRCHR=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOUL=1 -I. -I. -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/local/include -I/usr/X11R6/include -DKYRA_SUPPORT_OPENGL -c tinyxmlerror.cpp -MT tinyxmlerror.lo -MD -MP -MF .deps/tinyxmlerror.TPlo -o tinyxmlerror.o >/dev/null 2>&1 tinyxmlparser.cpp: In member function 'const char* TiXmlAttribute::Parse(const char*)': tinyxmlparser.cpp:408: error: 'strchr' was not declared in this scope tinyxmlparser.cpp:413: error: 'strchr' was not declared in this scope make[1]: *** [tinyxml.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... tinyxmlparser.cpp: In member function 'virtual const char* TiXmlDeclaration::Parse(const char*)': tinyxmlparser.cpp:477: error: 'strstr' was not declared in this scope make[1]: *** [tinyxmlparser.lo] Error 1 mv -f .libs/tinyxmlerror.lo tinyxmlerror.lo make[1]: Leaving directory `/var/tmp/portage/dev-games/kyra-2.0.7/work/kyra/tinyxml' make: *** [all-recursive] Error 1 * * ERROR: dev-games/kyra-2.0.7 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2104: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/dev-games/kyra-2.0.7:20081213-023439.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-games/kyra-2.0.7/temp/environment'. *