* Package: app-text/tesseract-4.1.1 * Repository: gentoo * Maintainer: voyageur@gentoo.org chutzpah@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc jpeg kernel_linux openmp png tiff training userland_GNU webp * FEATURES: ccache network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking tesseract-4.1.1.tar.gz to /slag/portage/app-text/tesseract-4.1.1/work >>> Source unpacked in /slag/portage/app-text/tesseract-4.1.1/work >>> Preparing source in /slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1 ... * Running eautoreconf in '/slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1' ... * Running libtoolize --install --copy --force --automake ... [ ok ] * Running aclocal -I m4 ... [ ok ] * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy --foreign --force-missing ... [ ok ] * Running elibtoolize in: tesseract-4.1.1/ * Running elibtoolize in: tesseract-4.1.1/config/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... >>> Source prepared. >>> Configuring source in /slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_configure * econf: updating tesseract-4.1.1/config/config.guess with /usr/share/gnuconfig/config.guess * econf: updating tesseract-4.1.1/config/config.sub with /usr/share/gnuconfig/config.sub /slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1/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 --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/tesseract-4.1.1 --htmldir=/usr/share/doc/tesseract-4.1.1/html --with-sysroot=/ --libdir=/usr/lib64 --enable-shared --disable-graphics --disable-opencl --enable-openmp --disable-static 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 for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/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 whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of x86_64-pc-linux-gnu-g++... none checking for a sed that does not truncate output... /bin/sed checking Major version... 4 checking Minor version... 1 checking Point version... 1 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking whether C++ compiler accepts -Werror=unused-command-line-argument... no checking whether C++ compiler accepts -mavx... yes checking whether C++ compiler accepts -mavx2... yes checking whether C++ compiler accepts -mfma... yes checking whether C++ compiler accepts -msse4.1... yes checking whether C++ compiler accepts -march=native... yes checking --enable-graphics argument... no checking --enable-legacy argument... checking for x86_64-pc-linux-gnu-g++ option to support OpenMP... -fopenmp checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -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 tiffio.h usability... yes checking tiffio.h presence... yes checking for tiffio.h... yes checking --enable-opencl argument... no checking tensorflow/core/framework/graph.pb.h usability... no checking tensorflow/core/framework/graph.pb.h presence... no checking for tensorflow/core/framework/graph.pb.h... no checking --enable-visibility argument... checking whether to use tessdata-prefix... yes checking if compiling with clang... no checking whether to enable debugging... checking whether byte ordering is bigendian... no 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 whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for a sed that does not truncate output... (cached) /bin/sed 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/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 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 command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... / checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no 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 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 whether C++ compiler accepts -std=c++11... yes checking whether C++ compiler accepts -std=c++14... yes checking whether C++ compiler accepts -std=c++17... yes checking for library containing pthread_create... -lpthread 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 for stdbool.h that conforms to C99... no checking for _Bool... no checking for asciidoc... true checking for xsltproc... true checking for wchar_t... yes checking for long long int... yes checking for off_t... yes checking for mbstate_t... yes checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for libcurl... yes checking for lept >= 1.74... yes checking for libarchive... yes checking for icu-uc >= 52.1... yes checking for icu-i18n >= 52.1... yes checking for pango >= 1.22.0... yes checking for cairo... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating tesseract.pc config.status: creating src/api/Makefile config.status: creating src/api/tess_version.h config.status: creating src/arch/Makefile config.status: creating src/ccmain/Makefile config.status: creating src/opencl/Makefile config.status: creating src/ccstruct/Makefile config.status: creating src/ccutil/Makefile config.status: creating src/classify/Makefile config.status: creating src/cutil/Makefile config.status: creating src/dict/Makefile config.status: creating src/lstm/Makefile config.status: creating src/textord/Makefile config.status: creating src/viewer/Makefile config.status: creating src/wordrec/Makefile config.status: creating tessdata/Makefile config.status: creating tessdata/configs/Makefile config.status: creating tessdata/tessconfigs/Makefile config.status: creating unittest/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 src/training/Makefile config.status: creating config_auto.h config.status: executing depfiles commands config.status: executing libtool commands Configuration is done. You can now build and install tesseract by running: $ make $ sudo make install $ sudo ldconfig This will also build the documentation. Training tools can be built and installed with: $ make training $ sudo make training-install >>> Source configured. >>> Compiling source in /slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_compile make -j1 make all-recursive make[1]: Entering directory '/slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1-abi_x86_64.amd64' Making all in src/arch make[2]: Entering directory '/slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1-abi_x86_64.amd64/src/arch' /bin/sh ../../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1/src/arch -I../.. -O2 -DNDEBUG -I/slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1/src/ccstruct -I/slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1/src/ccutil -I/slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1/src/viewer -I/usr/include/leptonica -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/lib64/libffi/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libdrm -I/usr/include/libpng16 -O3 -ffast-math -march=native -mtune=native -march=bdver2 -mtune=bdver2 -O2 -pipe -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -msse4a -mcx16 -msahf -mno-movbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mlwp -mfma -mfma4 -mxop -mbmi -mno-bmi2 -mtbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-hle -mno-rdrnd -mf16c -mno-fsgsbase -mno-rdseed -mprfchw -mno-adx -mfxsr -mxsave -mno-xsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -fstack-protector-strong --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=2048 -std=c++17 -c -o libtesseract_native_la-dotproduct.lo `test -f 'dotproduct.cpp' || echo '/slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1/src/arch/'`dotproduct.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1/src/arch -I../.. -O2 -DNDEBUG -I/slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1/src/ccstruct -I/slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1/src/ccutil -I/slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1/src/viewer -I/usr/include/leptonica -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/lib64/libffi/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libdrm -I/usr/include/libpng16 -O3 -ffast-math -march=native -mtune=native -march=bdver2 -mtune=bdver2 -O2 -pipe -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -msse4a -mcx16 -msahf -mno-movbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mlwp -mfma -mfma4 -mxop -mbmi -mno-bmi2 -mtbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-hle -mno-rdrnd -mf16c -mno-fsgsbase -mno-rdseed -mprfchw -mno-adx -mfxsr -mxsave -mno-xsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -fstack-protector-strong --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=2048 -std=c++17 -c /slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1/src/arch/dotproduct.cpp -fPIC -DPIC -o .libs/libtesseract_native_la-dotproduct.o /bin/sh ../../libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -O3 -ffast-math -march=native -mtune=native -march=bdver2 -mtune=bdver2 -O2 -pipe -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -msse4a -mcx16 -msahf -mno-movbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mlwp -mfma -mfma4 -mxop -mbmi -mno-bmi2 -mtbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-hle -mno-rdrnd -mf16c -mno-fsgsbase -mno-rdseed -mprfchw -mno-adx -mfxsr -mxsave -mno-xsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -fstack-protector-strong --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=2048 -std=c++17 -Wl,-O1 -Wl,--as-needed -o libtesseract_native.la libtesseract_native_la-dotproduct.lo -lpthread libtool: link: x86_64-pc-linux-gnu-ar cru .libs/libtesseract_native.a .libs/libtesseract_native_la-dotproduct.o libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libtesseract_native.a libtool: link: ( cd ".libs" && rm -f "libtesseract_native.la" && ln -s "../libtesseract_native.la" "libtesseract_native.la" ) /bin/sh ../../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1/src/arch -I../.. -O2 -DNDEBUG -I/slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1/src/ccstruct -I/slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1/src/ccutil -I/slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1/src/viewer -I/usr/include/leptonica -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/lib64/libffi/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libdrm -I/usr/include/libpng16 -mavx -march=bdver2 -mtune=bdver2 -O2 -pipe -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -msse4a -mcx16 -msahf -mno-movbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mlwp -mfma -mfma4 -mxop -mbmi -mno-bmi2 -mtbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-hle -mno-rdrnd -mf16c -mno-fsgsbase -mno-rdseed -mprfchw -mno-adx -mfxsr -mxsave -mno-xsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -fstack-protector-strong --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=2048 -std=c++17 -c -o libtesseract_avx_la-dotproductavx.lo `test -f 'dotproductavx.cpp' || echo '/slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1/src/arch/'`dotproductavx.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1/src/arch -I../.. -O2 -DNDEBUG -I/slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1/src/ccstruct -I/slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1/src/ccutil -I/slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1/src/viewer -I/usr/include/leptonica -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/lib64/libffi/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libdrm -I/usr/include/libpng16 -mavx -march=bdver2 -mtune=bdver2 -O2 -pipe -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -msse4a -mcx16 -msahf -mno-movbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mlwp -mfma -mfma4 -mxop -mbmi -mno-bmi2 -mtbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-hle -mno-rdrnd -mf16c -mno-fsgsbase -mno-rdseed -mprfchw -mno-adx -mfxsr -mxsave -mno-xsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -fstack-protector-strong --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=2048 -std=c++17 -c /slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1/src/arch/dotproductavx.cpp -fPIC -DPIC -o .libs/libtesseract_avx_la-dotproductavx.o /bin/sh ../../libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -mavx -march=bdver2 -mtune=bdver2 -O2 -pipe -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -msse4a -mcx16 -msahf -mno-movbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mlwp -mfma -mfma4 -mxop -mbmi -mno-bmi2 -mtbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-hle -mno-rdrnd -mf16c -mno-fsgsbase -mno-rdseed -mprfchw -mno-adx -mfxsr -mxsave -mno-xsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -fstack-protector-strong --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=2048 -std=c++17 -Wl,-O1 -Wl,--as-needed -o libtesseract_avx.la libtesseract_avx_la-dotproductavx.lo -lpthread libtool: link: x86_64-pc-linux-gnu-ar cru .libs/libtesseract_avx.a .libs/libtesseract_avx_la-dotproductavx.o libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libtesseract_avx.a libtool: link: ( cd ".libs" && rm -f "libtesseract_avx.la" && ln -s "../libtesseract_avx.la" "libtesseract_avx.la" ) /bin/sh ../../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1/src/arch -I../.. -O2 -DNDEBUG -I/slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1/src/ccstruct -I/slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1/src/ccutil -I/slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1/src/viewer -I/usr/include/leptonica -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/lib64/libffi/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libdrm -I/usr/include/libpng16 -mavx2 -march=bdver2 -mtune=bdver2 -O2 -pipe -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -msse4a -mcx16 -msahf -mno-movbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mlwp -mfma -mfma4 -mxop -mbmi -mno-bmi2 -mtbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-hle -mno-rdrnd -mf16c -mno-fsgsbase -mno-rdseed -mprfchw -mno-adx -mfxsr -mxsave -mno-xsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -fstack-protector-strong --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=2048 -std=c++17 -c -o libtesseract_avx2_la-intsimdmatrixavx2.lo `test -f 'intsimdmatrixavx2.cpp' || echo '/slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1/src/arch/'`intsimdmatrixavx2.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1/src/arch -I../.. -O2 -DNDEBUG -I/slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1/src/ccstruct -I/slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1/src/ccutil -I/slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1/src/viewer -I/usr/include/leptonica -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/lib64/libffi/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libdrm -I/usr/include/libpng16 -mavx2 -march=bdver2 -mtune=bdver2 -O2 -pipe -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -msse4a -mcx16 -msahf -mno-movbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mlwp -mfma -mfma4 -mxop -mbmi -mno-bmi2 -mtbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-hle -mno-rdrnd -mf16c -mno-fsgsbase -mno-rdseed -mprfchw -mno-adx -mfxsr -mxsave -mno-xsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -fstack-protector-strong --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=2048 -std=c++17 -c /slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1/src/arch/intsimdmatrixavx2.cpp -fPIC -DPIC -o .libs/libtesseract_avx2_la-intsimdmatrixavx2.o /slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1/src/arch/intsimdmatrixavx2.cpp:20:2: error: #error Implementation only for AVX2 capable architectures 20 | #error Implementation only for AVX2 capable architectures | ^~~~~ make[2]: *** [Makefile:599: libtesseract_avx2_la-intsimdmatrixavx2.lo] Error 1 make[2]: Leaving directory '/slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1-abi_x86_64.amd64/src/arch' make[1]: *** [Makefile:503: all-recursive] Error 1 make[1]: Leaving directory '/slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1-abi_x86_64.amd64' make: *** [Makefile:412: all] Error 2 * ERROR: app-text/tesseract-4.1.1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-text/tesseract-4.1.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-text/tesseract-4.1.1::gentoo'`. * The complete build log is located at '/var/log/portage/build/app-text/tesseract-4.1.1:20200114-093906.log'. * For convenience, a symlink to the build log is located at '/slag/portage/app-text/tesseract-4.1.1/temp/build.log'. * The ebuild environment file is located at '/slag/portage/app-text/tesseract-4.1.1/temp/environment'. * Working directory: '/slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1-abi_x86_64.amd64' * S: '/slag/portage/app-text/tesseract-4.1.1/work/tesseract-4.1.1'