==> Synchronizing chroot copy [/home/leming/armv7/root] -> [leming]...done ==> Making package: gocr 0.52-3 (Fri Aug 23 04:40:18 2024) ==> Retrieving sources... -> Found gocr-0.52.tar.gz -> Found gocr-0.52.tar.gz.asc ==> WARNING: Skipping verification of source file PGP signatures. ==> Validating source files with b2sums... gocr-0.52.tar.gz ... Passed gocr-0.52.tar.gz.asc ... Skipped ==> Making package: gocr 0.52-3 (Fri Aug 23 04:40:41 2024) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Packages (5) jbigkit-2.1-8 libpng-1.6.43-1 libtiff-4.6.0-5 libjpeg-turbo-3.0.3-1 netpbm-10.86.42-1 Total Download Size: 1.07 MiB Total Installed Size: 8.88 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... netpbm-10.86.42-1-armv7h downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing libjpeg-turbo... installing jbigkit... installing libpng... installing libtiff... Optional dependencies for libtiff freeglut: for using tiffgt installing netpbm... [?25h==> Checking buildtime dependencies... ==> Retrieving sources... -> Found gocr-0.52.tar.gz -> Found gocr-0.52.tar.gz.asc ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting gocr-0.52.tar.gz with bsdtar ==> Starting prepare()... autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:51: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.in:51: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.in:51: the top level configure.in:52: warning: AC_CHECK_HEADERS(${check_netpbm_h}): you should use literals ./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from... configure.in:52: the top level configure.in:62: warning: The macro 'AC_FUNC_SETVBUF_REVERSED' is obsolete. Remove it and all references to SETVBUF_REVERSED. ./lib/autoconf/functions.m4:1785: AC_FUNC_SETVBUF_REVERSED is expanded from... configure.in:62: the top level autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' ==> Starting build()... checking for gcc... 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking for library containing pnm_readpnminit... -lnetpbm checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for unistd.h... (cached) yes checking for wchar.h... yes checking for pam.h... 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 make -C src all make[1]: Entering directory '/build/gocr/src/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 gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -I../include -DHAVE_CONFIG_H -c -o pgm2asc.o pgm2asc.c gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -I../include -DHAVE_CONFIG_H -c -o box.o box.c gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -I../include -DHAVE_CONFIG_H -c -o database.o database.c gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -I../include -DHAVE_CONFIG_H -c -o detect.o detect.c gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -I../include -DHAVE_CONFIG_H -c -o barcode.o barcode.c gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -I../include -DHAVE_CONFIG_H -c -o lines.o lines.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] gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -I../include -DHAVE_CONFIG_H -c -o list.o list.c gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -I../include -DHAVE_CONFIG_H -c -o ocr0.o ocr0.c gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -I../include -DHAVE_CONFIG_H -c -o ocr0n.o ocr0n.c gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -I../include -DHAVE_CONFIG_H -c -o ocr1.o ocr1.c gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -I../include -DHAVE_CONFIG_H -c -o otsu.o otsu.c gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -I../include -DHAVE_CONFIG_H -c -o output.o output.c gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -I../include -DHAVE_CONFIG_H -c -o pixel.o pixel.c gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -I../include -DHAVE_CONFIG_H -c -o unicode.o unicode.c gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -I../include -DHAVE_CONFIG_H -c -o remove.o remove.c gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -I../include -DHAVE_CONFIG_H -c -o pnm.o pnm.c gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -I../include -DHAVE_CONFIG_H -c -o pcx.o pcx.c gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -I../include -DHAVE_CONFIG_H -c -o progress.o progress.c gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -I../include -DHAVE_CONFIG_H -c -o job.o job.c gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -I../include -DHAVE_CONFIG_H -c -o gocr.o gocr.c # make it conform to ld --as-needed #gcc -o gocr -lm -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now gocr.o ./libPgm2asc.a -lnetpbm gcc -o gocr -lm -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now 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 '/build/gocr/src/gocr-0.52/src' --- for help do: make help --- for documentation do: make doc --- for examples do: make examples --- for testing do: bin/gocr_chk.sh [testbasedir?=.] ==> Entering fakeroot environment... ==> Starting package()... make -C src install make[1]: Entering directory '/build/gocr/src/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 #/usr/bin/install -c -d /build/gocr/pkg/gocr/usr/bin /build/gocr/pkg/gocr /build/gocr/pkg/gocr /usr/bin/install -c -d /build/gocr/pkg/gocr/usr/bin /usr/bin/install -c gocr /build/gocr/pkg/gocr/usr/bin /usr/bin/install -c ../bin/gocr.tcl /build/gocr/pkg/gocr/usr/bin # better X11/bin? if test -f libPgm2asc.a; then\ /usr/bin/install -c libPgm2asc.a /build/gocr/pkg/gocr;\ /usr/bin/install -c libPgm2asc.0.52.so /build/gocr/pkg/gocr;\ /usr/bin/install -c libPgm2asc.so /build/gocr/pkg/gocr;\ fi # ToDo: not sure that the link will be installed correctly #/usr/bin/install -c /build/gocr/pkg/gocr make[1]: Leaving directory '/build/gocr/src/gocr-0.52/src' make -C man install make[1]: Entering directory '/build/gocr/src/gocr-0.52/man' /usr/bin/install -c -d /build/gocr/pkg/gocr/usr/share/man/man1 /usr/bin/install -c ../man/man1/gocr.1 /build/gocr/pkg/gocr/usr/share/man/man1 make[1]: Leaving directory '/build/gocr/src/gocr-0.52/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 ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issues... ==> Creating package "gocr"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: gocr 0.52-3 (Fri Aug 23 04:41:06 2024) ==> Cleaning up...