* Package: app-text/gocr-0.50 * Repository: gentoo * Maintainer: tex@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux split-usr userland_GNU * FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox >>> Unpacking source... >>> Unpacking gocr-0.50.tar.gz to /var/tmp/portage/app-text/gocr-0.50/work >>> Source unpacked in /var/tmp/portage/app-text/gocr-0.50/work >>> Preparing source in /var/tmp/portage/app-text/gocr-0.50/work/gocr-0.50 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-text/gocr-0.50/work/gocr-0.50 ... ./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 for x86_64-pc-linux-gnu-gcc... x86_64-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 x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether make sets $(MAKE)... yes checking for library containing pnm_readpnminit... -lnetpbm checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for egrep... 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 for unistd.h... (cached) yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking pam.h usability... no checking pam.h presence... no checking for pam.h... no checking pnm.h usability... no checking pnm.h presence... no checking for pnm.h... no checking for an ANSI C-conforming const... yes checking for function prototypes... yes checking whether setvbuf arguments are reversed... no checking for wcschr... yes checking for wcsdup... yes checking for gettimeofday... yes checking for popen... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating man/Makefile config.status: creating include/config.h >>> Source configured. >>> Compiling source in /var/tmp/portage/app-text/gocr-0.50/work/gocr-0.50 ... make -j1 src man make -C src all make[1]: Entering directory '/var/tmp/portage/app-text/gocr-0.50/work/gocr-0.50/src' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -I../include -DHAVE_CONFIG_H -c -o pgm2asc.o pgm2asc.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -I../include -DHAVE_CONFIG_H -c -o box.o box.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -I../include -DHAVE_CONFIG_H -c -o database.o database.c database.c: In function 'ocr_db': database.c:417:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] 417 | fgets((char *)buf,200,stdin); /* including \n=0x0a */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:494, from database.c:28: In function 'strncpy', inlined from 'store_db' at database.c:168:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ database.c: In function 'store_db': database.c:168:3: note: length computed here 168 | strncpy(s2+i2,s3,strlen(s3)); s2[i2+strlen(s3)]=0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -I../include -DHAVE_CONFIG_H -c -o detect.o detect.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -I../include -DHAVE_CONFIG_H -c -o barcode.o barcode.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -I../include -DHAVE_CONFIG_H -c -o lines.o lines.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -I../include -DHAVE_CONFIG_H -c -o list.o list.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -I../include -DHAVE_CONFIG_H -c -o ocr0.o ocr0.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -I../include -DHAVE_CONFIG_H -c -o ocr0n.o ocr0n.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -I../include -DHAVE_CONFIG_H -c -o ocr1.o ocr1.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -I../include -DHAVE_CONFIG_H -c -o otsu.o otsu.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -I../include -DHAVE_CONFIG_H -c -o output.o output.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -I../include -DHAVE_CONFIG_H -c -o pixel.o pixel.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -I../include -DHAVE_CONFIG_H -c -o unicode.o unicode.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -I../include -DHAVE_CONFIG_H -c -o remove.o remove.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -I../include -DHAVE_CONFIG_H -c -o pnm.o pnm.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -I../include -DHAVE_CONFIG_H -c -o pcx.o pcx.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -I../include -DHAVE_CONFIG_H -c -o progress.o progress.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -I../include -DHAVE_CONFIG_H -c -o job.o job.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -I../include -DHAVE_CONFIG_H -c -o gocr.o gocr.c # make it conform to ld --as-needed #x86_64-pc-linux-gnu-gcc -o gocr -lm -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 gocr.o ./libPgm2asc.a -lnetpbm x86_64-pc-linux-gnu-gcc -o gocr -lm -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 gocr.o pgm2asc.o box.o database.o detect.o barcode.o lines.o list.o ocr0.o ocr0n.o ocr1.o otsu.o output.o pixel.o unicode.o remove.o pnm.o pcx.o progress.o job.o -lnetpbm # if test -r gocr; then cp gocr ../bin; fi make[1]: Leaving directory '/var/tmp/portage/app-text/gocr-0.50/work/gocr-0.50/src' make: 'man' is up to date. >>> Source compiled. >>> Test phase [not enabled]: app-text/gocr-0.50 >>> Install app-text/gocr-0.50 into /var/tmp/portage/app-text/gocr-0.50/image/ make -j1 DESTDIR=/var/tmp/portage/app-text/gocr-0.50/image/ prefix=/usr exec_prefix=/usr install make -C src install make[1]: Entering directory '/var/tmp/portage/app-text/gocr-0.50/work/gocr-0.50/src' #/usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c -d /var/tmp/portage/app-text/gocr-0.50/image//usr/bin /var/tmp/portage/app-text/gocr-0.50/image/ /var/tmp/portage/app-text/gocr-0.50/image/ /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c -d /var/tmp/portage/app-text/gocr-0.50/image//usr/bin /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c gocr /var/tmp/portage/app-text/gocr-0.50/image//usr/bin /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c ../bin/gocr.tcl /var/tmp/portage/app-text/gocr-0.50/image//usr/bin # better X11/bin? if test -f libPgm2asc.a; then\ /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c libPgm2asc.a /var/tmp/portage/app-text/gocr-0.50/image/;\ /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c libPgm2asc.0.50.so /var/tmp/portage/app-text/gocr-0.50/image/;\ /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c libPgm2asc.so /var/tmp/portage/app-text/gocr-0.50/image/;\ fi # ToDo: not sure that the link will be installed correctly #/usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c /var/tmp/portage/app-text/gocr-0.50/image/ make[1]: Leaving directory '/var/tmp/portage/app-text/gocr-0.50/work/gocr-0.50/src' make -C man install make[1]: Entering directory '/var/tmp/portage/app-text/gocr-0.50/work/gocr-0.50/man' /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c -d /var/tmp/portage/app-text/gocr-0.50/image//usr/share/man/man1 /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c ../man/man1/gocr.1 /var/tmp/portage/app-text/gocr-0.50/image//usr/share/man/man1 make[1]: Leaving directory '/var/tmp/portage/app-text/gocr-0.50/work/gocr-0.50/man' # following steps are not needed for end users, but cost dependencies # therefore removed in 0.48 # make -C doc install # make -C examples install # make -C frontend install >>> Completed installing app-text/gocr-0.50 into /var/tmp/portage/app-text/gocr-0.50/image/ * Final size of build directory: 2892 KiB (2.8 MiB) * Final size of installed tree: 536 KiB * ERROR: app-text/gocr-0.50::gentoo failed: * Unsupported EAPI=4 (too old) for python-utils-r1 * * Call stack: * misc-functions.sh, line 586: Called install_qa_check * misc-functions.sh, line 132: Called source 'install_symlink_html_docs' * 60python-pyc, line 7: Called inherit 'install_hooks' * ebuild.sh, line 314: Called __qa_source '/var/db/repos/gentoo/metadata/install-qa-check.d/60python-pyc' * ebuild.sh, line 112: Called source 'python-utils-r1' * python-utils-r1.eclass, line 23: Called die * The specific snippet of code: * [0-4]) die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}" ;; * * If you need support, post the output of `emerge --info '=app-text/gocr-0.50::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-text/gocr-0.50::gentoo'`. * The complete build log is located at '/var/log/portage/app-text:gocr-0.50:20191230-152758.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-text/gocr-0.50/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/gocr-0.50/temp/environment'. * Working directory: '/var/tmp/portage/app-text/gocr-0.50/image' * S: '/var/tmp/portage/app-text/gocr-0.50/work/gocr-0.50'