>>> Unpacking source... >>> Unpacking CRF++-0.50.tar.gz to /var/tmp/portage/app-text/crf++-0.50/work * Applying crf++-0.50-gcc43.patch ...  [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/app-text/crf++-0.50/work/CRF++-0.50 ... * econf: updating CRF++-0.50/config.guess with /usr/share/gnuconfig/config.guess * econf: updating CRF++-0.50/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... yes checking for working aclocal-1.4... missing checking for working autoconf... found checking for working automake-1.4... missing checking for working autoheader... found checking for working makeinfo... found checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... 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-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ accepts -g... yes checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether i686-pc-linux-gnu-gcc needs -traditional... no checking whether make sets $(MAKE)... (cached) yes checking for library containing strerror... none required checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for ld used by i686-pc-linux-gnu-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/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking for ANSI C header files... no 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... no configure: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: dlfcn.h: proceeding with the compiler's result checking for dlfcn.h... yes checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E checking for i686-pc-linux-gnu-g77... no checking for i686-pc-linux-gnu-f77... no checking for i686-pc-linux-gnu-xlf... no checking for i686-pc-linux-gnu-frt... no checking for i686-pc-linux-gnu-pgf77... no checking for i686-pc-linux-gnu-cf77... no checking for i686-pc-linux-gnu-fort77... no checking for i686-pc-linux-gnu-fl32... no checking for i686-pc-linux-gnu-af77... no checking for i686-pc-linux-gnu-f90... no checking for i686-pc-linux-gnu-xlf90... no checking for i686-pc-linux-gnu-pgf90... no checking for i686-pc-linux-gnu-pghpf... no checking for i686-pc-linux-gnu-epcf90... no checking for i686-pc-linux-gnu-gfortran... i686-pc-linux-gnu-gfortran checking whether we are using the GNU Fortran 77 compiler... yes checking whether i686-pc-linux-gnu-gfortran accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok checking for objdir... .libs checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar 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 if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no 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 whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) 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... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC checking if i686-pc-linux-gnu-g++ PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-g++ static flag -static works... yes checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for i686-pc-linux-gnu-gfortran option to produce PIC... -fPIC checking if i686-pc-linux-gnu-gfortran PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-gfortran static flag -static works... yes checking if i686-pc-linux-gnu-gfortran supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-gfortran linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for ANSI C header files... (cached) no checking for string.h... (cached) yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for sys/stat.h... (cached) yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking for sys/types.h... (cached) yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for size_t... yes checking for pow in -lm... yes checking for exp in -lm... yes checking for log in -lm... yes checking for pthread_create in -lpthread... yes checking for pthread_join in -lpthread... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking whether make is GNU Make... yes checking whether i686-pc-linux-gnu-gcc accepts -mieee-fp... ok, adding -mieee-fp to CFLAGS checking whether i686-pc-linux-gnu-g++ accepts -mieee-fp... ok, adding -mieee-fp to CXXFLAGS checking if i686-pc-linux-gnu-g++ supports stl (required)... yes checking if i686-pc-linux-gnu-g++ supports stl (required)... yes checking if i686-pc-linux-gnu-g++ supports stl (required)... yes checking if i686-pc-linux-gnu-g++ supports stl (required)... yes checking if i686-pc-linux-gnu-g++ supports stl (required)... yes checking if i686-pc-linux-gnu-g++ supports stl (required)... yes checking if i686-pc-linux-gnu-g++ supports stl (required)... yes checking if i686-pc-linux-gnu-g++ supports stl (required)... yes checking if i686-pc-linux-gnu-g++ supports template (required)... yes checking if i686-pc-linux-gnu-g++ supports const_cast<> (required)... yes checking if i686-pc-linux-gnu-g++ supports static_cast<> (required)... yes checking if i686-pc-linux-gnu-g++ supports dynamic_cast<> (required)... yes checking if i686-pc-linux-gnu-g++ supports exception handler (required)... yes checking if i686-pc-linux-gnu-g++ supports namespaces (required) ... yes checking if i686-pc-linux-gnu-g++ environment provides all required features... yes configure: creating ./config.status config.status: creating Makefile config.status: creating Makefile.msvc config.status: creating swig/version.h config.status: creating config.h config.status: executing default-1 commands /bin/sh ./libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -O3 -Wall -Wno-deprecated -mieee-fp -c libcrfpp.cpp /bin/sh ./libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -O3 -Wall -Wno-deprecated -mieee-fp -c lbfgs.cpp /bin/sh ./libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -O3 -Wall -Wno-deprecated -mieee-fp -c param.cpp /bin/sh ./libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -O3 -Wall -Wno-deprecated -mieee-fp -c encoder.cpp /bin/sh ./libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -O3 -Wall -Wno-deprecated -mieee-fp -c feature.cpp /bin/sh ./libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -O3 -Wall -Wno-deprecated -mieee-fp -c feature_cache.cpp /bin/sh ./libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -O3 -Wall -Wno-deprecated -mieee-fp -c feature_index.cpp /bin/sh ./libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -O3 -Wall -Wno-deprecated -mieee-fp -c node.cpp mkdir .libs i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -O3 -Wall -Wno-deprecated -mieee-fp -c lbfgs.cpp -fPIC -DPIC -o .libs/lbfgs.o i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -O3 -Wall -Wno-deprecated -mieee-fp -c feature_cache.cpp -fPIC -DPIC -o .libs/feature_cache.o i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -O3 -Wall -Wno-deprecated -mieee-fp -c node.cpp -fPIC -DPIC -o .libs/node.o i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -O3 -Wall -Wno-deprecated -mieee-fp -c feature.cpp -fPIC -DPIC -o .libs/feature.o i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -O3 -Wall -Wno-deprecated -mieee-fp -c feature_index.cpp -fPIC -DPIC -o .libs/feature_index.o i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -O3 -Wall -Wno-deprecated -mieee-fp -c param.cpp -fPIC -DPIC -o .libs/param.o i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -O3 -Wall -Wno-deprecated -mieee-fp -c libcrfpp.cpp -fPIC -DPIC -o .libs/libcrfpp.o i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -O3 -Wall -Wno-deprecated -mieee-fp -c encoder.cpp -fPIC -DPIC -o .libs/encoder.o i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -O3 -Wall -Wno-deprecated -mieee-fp -c feature_cache.cpp -o feature_cache.o >/dev/null 2>&1 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -O3 -Wall -Wno-deprecated -mieee-fp -c node.cpp -o node.o >/dev/null 2>&1 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -O3 -Wall -Wno-deprecated -mieee-fp -c libcrfpp.cpp -o libcrfpp.o >/dev/null 2>&1 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -O3 -Wall -Wno-deprecated -mieee-fp -c lbfgs.cpp -o lbfgs.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -O3 -Wall -Wno-deprecated -mieee-fp -c path.cpp /bin/sh ./libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -O3 -Wall -Wno-deprecated -mieee-fp -c tagger.cpp i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -O3 -Wall -Wno-deprecated -mieee-fp -c feature.cpp -o feature.o >/dev/null 2>&1 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -O3 -Wall -Wno-deprecated -mieee-fp -c crf_learn.cpp i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -O3 -Wall -Wno-deprecated -mieee-fp -c crf_test.cpp i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -O3 -Wall -Wno-deprecated -mieee-fp -c tagger.cpp -fPIC -DPIC -o .libs/tagger.o i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -O3 -Wall -Wno-deprecated -mieee-fp -c path.cpp -fPIC -DPIC -o .libs/path.o i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -O3 -Wall -Wno-deprecated -mieee-fp -c path.cpp -o path.o >/dev/null 2>&1 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -O3 -Wall -Wno-deprecated -mieee-fp -c param.cpp -o param.o >/dev/null 2>&1 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -O3 -Wall -Wno-deprecated -mieee-fp -c feature_index.cpp -o feature_index.o >/dev/null 2>&1 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -O3 -Wall -Wno-deprecated -mieee-fp -c encoder.cpp -o encoder.o >/dev/null 2>&1 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -O3 -Wall -Wno-deprecated -mieee-fp -c tagger.cpp -o tagger.o >/dev/null 2>&1 /bin/sh ./libtool --mode=link i686-pc-linux-gnu-g++ -O3 -Wall -Wno-deprecated -mieee-fp -Wl,-O1 -o libcrfpp.la -rpath /usr/lib libcrfpp.lo lbfgs.lo param.lo encoder.lo feature.lo feature_cache.lo feature_index.lo node.lo path.lo tagger.lo -lpthread -lpthread -lm -lm -lm i686-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../crti.o /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/crtbeginS.o .libs/libcrfpp.o .libs/lbfgs.o .libs/param.o .libs/encoder.o .libs/feature.o .libs/feature_cache.o .libs/feature_index.o .libs/node.o .libs/path.o .libs/tagger.o -lpthread -L/usr/lib/gcc/i686-pc-linux-gnu/4.1.2 -L/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/crtendS.o /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../crtn.o -mieee-fp -Wl,-O1 -Wl,-soname -Wl,libcrfpp.so.0 -o .libs/libcrfpp.so.0.0.0 .libs/encoder.o: In function `std::basic_string, std::allocator > CRFPP::lexical_cast, std::allocator >, std::basic_string, std::allocator > >(std::basic_string, std::allocator >)': encoder.cpp:(.text+0x0): multiple definition of `std::basic_string, std::allocator > CRFPP::lexical_cast, std::allocator >, std::basic_string, std::allocator > >(std::basic_string, std::allocator >)' .libs/param.o:param.cpp:(.text+0x0): first defined here .libs/feature.o: In function `std::basic_string, std::allocator > CRFPP::lexical_cast, std::allocator >, std::basic_string, std::allocator > >(std::basic_string, std::allocator >)': feature.cpp:(.text+0x0): multiple definition of `std::basic_string, std::allocator > CRFPP::lexical_cast, std::allocator >, std::basic_string, std::allocator > >(std::basic_string, std::allocator >)' .libs/param.o:param.cpp:(.text+0x0): first defined here .libs/tagger.o: In function `std::basic_string, std::allocator > CRFPP::lexical_cast, std::allocator >, std::basic_string, std::allocator > >(std::basic_string, std::allocator >)': tagger.cpp:(.text+0x30): multiple definition of `std::basic_string, std::allocator > CRFPP::lexical_cast, std::allocator >, std::basic_string, std::allocator > >(std::basic_string, std::allocator >)' .libs/param.o:param.cpp:(.text+0x0): first defined here .libs/tagger.o: In function `(anonymous namespace)::close__(int)': tagger.cpp:(.text+0x2e0): multiple definition of `(anonymous namespace)::close__(int)' .libs/encoder.o:encoder.cpp:(.text+0xe0): first defined here .libs/tagger.o: In function `(anonymous namespace)::open__(char const*, int)': tagger.cpp:(.text+0x310): multiple definition of `(anonymous namespace)::open__(char const*, int)' .libs/encoder.o:encoder.cpp:(.text+0x110): first defined here collect2: ld returned 1 exit status make: *** [libcrfpp.la] Error 1 * * ERROR: app-text/crf++-0.50 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2118: Called base_src_compile * environment, line 167: Called base_src_compile 'all' * environment, line 181: Called base_src_compile 'configure' 'make' * environment, line 177: Called die * The specific snippet of code: * emake || die "died running emake, $FUNCNAME:make" * The die message: * died running emake, base_src_compile:make * * 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/app-text:crf++-0.50:20081005-194957.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/crf++-0.50/temp/environment'. *