>>> Emerging (1 of 1) app-text/tesseract-3.01 from local * tesseract-3.01.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] * tesseract-ocr-3.01.eng.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] * nor.traineddata.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking tesseract-3.01.tar.gz to /tmp/portage/app-text/tesseract-3.01/work >>> Unpacking tesseract-ocr-3.01.eng.tar.gz to /tmp/portage/app-text/tesseract-3.01/work >>> Unpacking nor.traineddata.gz to /tmp/portage/app-text/tesseract-3.01/work >>> Source unpacked in /tmp/portage/app-text/tesseract-3.01/work patching locally >>> Preparing source in /tmp/portage/app-text/tesseract-3.01/work/tesseract-3.01 ... * Running eautoreconf in '/tmp/portage/app-text/tesseract-3.01/work/tesseract-3.01' ... * Running libtoolize --install --copy --force --automake ... [ ok ] * Running aclocal -I m4 ... [ ok ] * Running autoconf ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy ... [ ok ] * Running elibtoolize in: tesseract-3.01/config/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.2 patch ... >>> Source prepared. >>> Configuring source in /tmp/portage/app-text/tesseract-3.01/work/tesseract-3.01 ... * econf: updating tesseract-3.01/config/config.sub with /usr/share/gnuconfig/config.sub * econf: updating tesseract-3.01/config/config.guess with /usr/share/gnuconfig/config.guess ./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 --disable-dependency-tracking --enable-graphics --disable-dependency-tracking checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking --enable-graphics argument... yes checking --enable-multiple-libraries argument... no checking for x86_64-pc-linux-gnu-cl.exe... no checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking how to print strings... printf checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc 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 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 how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop 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-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ 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 for gawk... gawk checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... no checking for x86_64-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no 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... yes 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... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate 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 whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... none checking dependency style of x86_64-pc-linux-gnu-g++... none checking whether to enable maintainer-specific portions of Makefiles... no checking whether byte ordering is bigendian... no checking for sem_init in -lpthread... yes checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking allheaders.h usability... no checking allheaders.h presence... no checking for allheaders.h... no checking for stdbool.h that conforms to C99... yes checking for _Bool... no checking whether #! works in shell scripts... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for wchar_t... yes checking for long long int... yes checking for mbstate_t... yes checking for size_t... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for strerror... yes checking for vsnprintf... yes checking for gethostname... yes checking for strchr... yes checking for memcpy... yes checking for acos... yes checking for asin... yes checking for leptonica... yes checking for pixCreate in -llept... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating api/Makefile config.status: creating ccmain/Makefile config.status: creating ccstruct/Makefile config.status: creating ccutil/Makefile config.status: creating classify/Makefile config.status: creating cube/Makefile config.status: creating cutil/Makefile config.status: creating dict/Makefile config.status: creating image/Makefile config.status: creating neural_networks/runtime/Makefile config.status: creating textord/Makefile config.status: creating viewer/Makefile config.status: creating wordrec/Makefile config.status: creating training/Makefile config.status: creating tessdata/Makefile config.status: creating tessdata/configs/Makefile config.status: creating tessdata/tessconfigs/Makefile config.status: creating testing/Makefile config.status: creating java/Makefile config.status: creating java/com/Makefile config.status: creating java/com/google/Makefile config.status: creating java/com/google/scrollview/Makefile config.status: creating java/com/google/scrollview/events/Makefile config.status: creating java/com/google/scrollview/ui/Makefile config.status: creating doc/Makefile config.status: creating config_auto.h config.status: executing libtool commands config.status: executing depfiles commands Configuration is done. You can now build tesseract by running: % make >>> Source configured. >>> Compiling source in /tmp/portage/app-text/tesseract-3.01/work/tesseract-3.01 ... make -j1 make all-recursive make[1]: Entering directory `/tmp/portage/app-text/tesseract-3.01/work/tesseract-3.01' Making all in ccutil make[2]: Entering directory `/tmp/portage/app-text/tesseract-3.01/work/tesseract-3.01/ccutil' make[3]: Entering directory `/tmp/portage/app-text/tesseract-3.01/work/tesseract-3.01/ccutil' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c -o ambigs.lo ambigs.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c ambigs.cpp -fPIC -DPIC -o .libs/ambigs.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c ambigs.cpp -o ambigs.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c -o basedir.lo basedir.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c basedir.cpp -fPIC -DPIC -o .libs/basedir.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c basedir.cpp -o basedir.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c -o bits16.lo bits16.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c bits16.cpp -fPIC -DPIC -o .libs/bits16.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c bits16.cpp -o bits16.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c -o boxread.lo boxread.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c boxread.cpp -fPIC -DPIC -o .libs/boxread.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c boxread.cpp -o boxread.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c -o ccutil.lo ccutil.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c ccutil.cpp -fPIC -DPIC -o .libs/ccutil.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c ccutil.cpp -o ccutil.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c -o clst.lo clst.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c clst.cpp -fPIC -DPIC -o .libs/clst.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c clst.cpp -o clst.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c -o elst2.lo elst2.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c elst2.cpp -fPIC -DPIC -o .libs/elst2.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c elst2.cpp -o elst2.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c -o elst.lo elst.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c elst.cpp -fPIC -DPIC -o .libs/elst.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c elst.cpp -o elst.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c -o errcode.lo errcode.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c errcode.cpp -fPIC -DPIC -o .libs/errcode.o errcode.cpp: In member function 'void ERRCODE::error(const char*, inT8, const char*, ...) const': errcode.cpp:78:22: warning: format not a string literal and no format arguments [-Wformat-security] libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c errcode.cpp -o errcode.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c -o globaloc.lo globaloc.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c globaloc.cpp -fPIC -DPIC -o .libs/globaloc.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c globaloc.cpp -o globaloc.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c -o hashfn.lo hashfn.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c hashfn.cpp -fPIC -DPIC -o .libs/hashfn.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c hashfn.cpp -o hashfn.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c -o mainblk.lo mainblk.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c mainblk.cpp -fPIC -DPIC -o .libs/mainblk.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c mainblk.cpp -o mainblk.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c -o memblk.lo memblk.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c memblk.cpp -fPIC -DPIC -o .libs/memblk.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c memblk.cpp -o memblk.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c -o memry.lo memry.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c memry.cpp -fPIC -DPIC -o .libs/memry.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c memry.cpp -o memry.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c -o serialis.lo serialis.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c serialis.cpp -fPIC -DPIC -o .libs/serialis.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c serialis.cpp -o serialis.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c -o strngs.lo strngs.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c strngs.cpp -fPIC -DPIC -o .libs/strngs.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c strngs.cpp -o strngs.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c -o tessdatamanager.lo tessdatamanager.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c tessdatamanager.cpp -fPIC -DPIC -o .libs/tessdatamanager.o tessdatamanager.cpp: In static member function 'static void tesseract::TessdataManager::WriteMetadata(inT64*, FILE*)': tessdatamanager.cpp:96:54: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] tessdatamanager.cpp:97:73: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] tessdatamanager.cpp: In static member function 'static void tesseract::TessdataManager::CopyFile(FILE*, FILE*, bool, inT64)': tessdatamanager.cpp:79:57: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] tessdatamanager.cpp: In member function 'bool tesseract::TessdataManager::Init(const char*, int)': tessdatamanager.cpp:43:69: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] tessdatamanager.cpp:50:50: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c tessdatamanager.cpp -o tessdatamanager.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c -o tprintf.lo tprintf.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c tprintf.cpp -fPIC -DPIC -o .libs/tprintf.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c tprintf.cpp -o tprintf.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c -o unichar.lo unichar.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c unichar.cpp -fPIC -DPIC -o .libs/unichar.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c unichar.cpp -o unichar.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c -o unicharmap.lo unicharmap.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c unicharmap.cpp -fPIC -DPIC -o .libs/unicharmap.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c unicharmap.cpp -o unicharmap.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c -o unicharset.lo unicharset.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c unicharset.cpp -fPIC -DPIC -o .libs/unicharset.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c unicharset.cpp -o unicharset.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c -o params.lo params.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c params.cpp -fPIC -DPIC -o .libs/params.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -c params.cpp -o params.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -DTESSDATA_PREFIX=/usr/share/ -march=corei7-avx -O2 -pipe -Wl,-O1 -Wl,--as-needed -o libtesseract_ccutil.la ambigs.lo basedir.lo bits16.lo boxread.lo ccutil.lo clst.lo elst2.lo elst.lo errcode.lo globaloc.lo hashfn.lo mainblk.lo memblk.lo memry.lo serialis.lo strngs.lo tessdatamanager.lo tprintf.lo unichar.lo unicharmap.lo unicharset.lo params.lo -llept -lpthread libtool: link: x86_64-pc-linux-gnu-ar cru .libs/libtesseract_ccutil.a .libs/ambigs.o .libs/basedir.o .libs/bits16.o .libs/boxread.o .libs/ccutil.o .libs/clst.o .libs/elst2.o .libs/elst.o .libs/errcode.o .libs/globaloc.o .libs/hashfn.o .libs/mainblk.o .libs/memblk.o .libs/memry.o .libs/serialis.o .libs/strngs.o .libs/tessdatamanager.o .libs/tprintf.o .libs/unichar.o .libs/unicharmap.o .libs/unicharset.o .libs/params.o libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libtesseract_ccutil.a libtool: link: ( cd ".libs" && rm -f "libtesseract_ccutil.la" && ln -s "../libtesseract_ccutil.la" "libtesseract_ccutil.la" ) make[3]: Leaving directory `/tmp/portage/app-text/tesseract-3.01/work/tesseract-3.01/ccutil' make[2]: Leaving directory `/tmp/portage/app-text/tesseract-3.01/work/tesseract-3.01/ccutil' Making all in viewer make[2]: Entering directory `/tmp/portage/app-text/tesseract-3.01/work/tesseract-3.01/viewer' make[3]: Entering directory `/tmp/portage/app-text/tesseract-3.01/work/tesseract-3.01/viewer' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -march=corei7-avx -O2 -pipe -c -o scrollview.lo scrollview.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -march=corei7-avx -O2 -pipe -c scrollview.cpp -fPIC -DPIC -o .libs/scrollview.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -march=corei7-avx -O2 -pipe -c scrollview.cpp -o scrollview.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -march=corei7-avx -O2 -pipe -c -o svmnode.lo svmnode.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -march=corei7-avx -O2 -pipe -c svmnode.cpp -fPIC -DPIC -o .libs/svmnode.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -march=corei7-avx -O2 -pipe -c svmnode.cpp -o svmnode.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -march=corei7-avx -O2 -pipe -c -o svutil.lo svutil.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/leptonica -march=corei7-avx -O2 -pipe -c svutil.cpp -fPIC -DPIC -o .libs/svutil.o svutil.cpp: In static member function 'static void SVSync::StartProcess(const char*, const char*)': svutil.cpp:89:18: error: 'fork' was not declared in this scope svutil.cpp:119:28: error: 'execvp' was not declared in this scope svutil.cpp: In member function 'void SVNetwork::Close()': svutil.cpp:262:16: error: 'close' was not declared in this scope svutil.cpp: In constructor 'SVNetwork::SVNetwork(const char*, int)': svutil.cpp:417:14: error: 'sleep' was not declared in this scope make[3]: *** [svutil.lo] Error 1 make[3]: Leaving directory `/tmp/portage/app-text/tesseract-3.01/work/tesseract-3.01/viewer' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/tmp/portage/app-text/tesseract-3.01/work/tesseract-3.01/viewer' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/portage/app-text/tesseract-3.01/work/tesseract-3.01' make: *** [all] Error 2 * ERROR: app-text/tesseract-3.01 failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-text/tesseract-3.01'`, * the complete build log and the output of `emerge -pqv '=app-text/tesseract-3.01'`. * This ebuild is from an overlay named 'local': '/usr/local/portage/' * The complete build log is located at '/tmp/portage/app-text/tesseract-3.01/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/app-text/tesseract-3.01/temp/environment'. * Working directory: '/tmp/portage/app-text/tesseract-3.01/work/tesseract-3.01' * S: '/tmp/portage/app-text/tesseract-3.01/work/tesseract-3.01'