* Package: app-text/gocr-0.52 * Repository: gentoo * USE: abi_x86_64 amd64 doc elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking gocr-0.52.tar.gz to /var/tmp/portage/app-text/gocr-0.52/work >>> Source unpacked in /var/tmp/portage/app-text/gocr-0.52/work >>> Preparing source in /var/tmp/portage/app-text/gocr-0.52/work/gocr-0.52 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-text/gocr-0.52/work/gocr-0.52 ... ./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 --docdir=/usr/share/doc/gocr-0.52 --htmldir=/usr/share/doc/gocr-0.52/html --libdir=/usr/lib64 checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc 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-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for a BSD-compatible install... /usr/lib/portage/python3.9/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 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 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 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: WARNING: 'man/Makefile.in' seems to ignore the --datarootdir setting config.status: creating include/config.h >>> Source configured. >>> Compiling source in /var/tmp/portage/app-text/gocr-0.52/work/gocr-0.52 ... make -j4 src man doc examples make -C src all make: 'man' is up to date. make -C doc all make -C examples all make[1]: Entering directory '/var/tmp/portage/app-text/gocr-0.52/work/gocr-0.52/examples' fig2dev -L ppm -m 2 font2.fig | ppmtopcx -packed >font21.pcx make[1]: Entering directory '/var/tmp/portage/app-text/gocr-0.52/work/gocr-0.52/src' Makefile:70: warning: ignoring prerequisites on suffix rule definition Makefile:70: warning: ignoring prerequisites on suffix rule definition Makefile:70: warning: ignoring prerequisites on suffix rule definition Makefile:70: warning: ignoring prerequisites on suffix rule definition x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -I../include -DHAVE_CONFIG_H -c -o pgm2asc.o pgm2asc.c fig2dev -L ppm -m 3 font2.fig | ppmtopcx -packed >font22.pcx make[1]: Entering directory '/var/tmp/portage/app-text/gocr-0.52/work/gocr-0.52/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/var/tmp/portage/app-text/gocr-0.52/work/gocr-0.52/doc' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -I../include -DHAVE_CONFIG_H -c -o box.o box.c ppmtopcx: computing colormap... ppmtopcx: 2 colors found ppmtopcx: computing colormap... ppmtopcx: 2 colors found # fig2dev -L pcx -m 2 font2.fig font21.pcx fig2dev -L ppm -m 4 font2.fig | ppmtopcx -packed >font23.pcx # fig2dev -L pcx -m 3 font2.fig font22.pcx fig2dev -L ppm -m 5 font2.fig | ppmtopcx -packed >font24.pcx x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -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 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ppmtopcx: computing colormap... ppmtopcx: 2 colors found ppmtopcx: computing colormap... fig2dev -L ppm -m 3 ex.fig | ppmtopcx -packed >ex.pcx ppmtopcx: 2 colors found fig2dev -L ppm -m 3 inverse.fig | ppmtopcx -packed >inverse.pcx ppmtopcx: computing colormap... ppmtopcx: 2 colors found fig2dev -L ppm -m 3 rotate45.fig | ppmtopcx -packed >rotate45.pcx ppmtopcx: computing colormap... ppmtopcx: 2 colors found x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -I../include -DHAVE_CONFIG_H -c -o detect.o detect.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -I../include -DHAVE_CONFIG_H -c -o barcode.o barcode.c ppmtopcx: computing colormap... ppmtopcx: 2 colors found dd if=/dev/urandom bs=285 count=1 status=noxfer 2>/dev/null\ | base64 > rnd80.png.txt convert -size 3800x600 xc:white -pointsize 80 -fill black\ -font "FreeMono-Regular"\ -draw "text 2,80 \"01B4+6eWoG+HjWb66V1sT4vsu4CSaiud2zhC4qqEGUfR9j0GaW81UCnnqTSfzLmDDAQRr+ZKLieH\""\ -draw "text 2,160 \"TZnB6bQBQpu5VLMU54iVevv6CmPQDQovTeL0d9pI1s3xb5xXSwZKjYEbOe1JY9yO+9JcwPW8RQ5T\""\ -draw "text 2,240 \"PJcLq9PNUXJtf2uCyI7mFrwzKfDd7qIK1p6LLbLDnsF4mfjiWN/nKXWLdnyyJYikLkEGX+jtxYEk\""\ -draw "text 2,320 \"VSGfKHUfGjnnr6i9sIIEvlH1ArTIzoGKCw/3WTUrwgNe9sNEH8yrxX3Bdqnbm98Oaolo7lWTY9j4\""\ -draw "text 2,400 \"wD/E35pxlGdU546u8TW74fAzIL7j8xGMWlwSXX0/BAn1q/+lpQ0KPLojExKs6DpJu0/FG8ZlWCJg\"" rnd80.png # x=36x34 M=(46+2)*46 mono=48 convert convert: FreeType library is not available (/usr/share/fonts/corefonts/arial.ttf) [No such file or directory]. make[1]: *** [Makefile:191: rnd80.png] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-text/gocr-0.52/work/gocr-0.52/examples' make: *** [Makefile:88: examples] Error 2 make: *** Waiting for unfinished jobs.... x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -I../include -DHAVE_CONFIG_H -c -o lines.o lines.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -I../include -DHAVE_CONFIG_H -c -o list.o list.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -I../include -DHAVE_CONFIG_H -c -o ocr0.o ocr0.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -I../include -DHAVE_CONFIG_H -c -o ocr0n.o ocr0n.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -I../include -DHAVE_CONFIG_H -c -o ocr1.o ocr1.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -I../include -DHAVE_CONFIG_H -c -o otsu.o otsu.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -I../include -DHAVE_CONFIG_H -c -o output.o output.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -I../include -DHAVE_CONFIG_H -c -o pixel.o pixel.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -I../include -DHAVE_CONFIG_H -c -o unicode.o unicode.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -I../include -DHAVE_CONFIG_H -c -o remove.o remove.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -I../include -DHAVE_CONFIG_H -c -o pnm.o pnm.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -I../include -DHAVE_CONFIG_H -c -o pcx.o pcx.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -I../include -DHAVE_CONFIG_H -c -o progress.o progress.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -I../include -DHAVE_CONFIG_H -c -o job.o job.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -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.52/work/gocr-0.52/src' * ERROR: app-text/gocr-0.52::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-text/gocr-0.52::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-text/gocr-0.52::gentoo'`. * The complete build log is located at '/var/log/portage/app-text:gocr-0.52:20220607-133745.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-text/gocr-0.52/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/gocr-0.52/temp/environment'. * Working directory: '/var/tmp/portage/app-text/gocr-0.52/work/gocr-0.52' * S: '/var/tmp/portage/app-text/gocr-0.52/work/gocr-0.52'