D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
Installing /home/pterjan/rpmbuild/SRPMS/gocr-0.52-3.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.haojnA
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/gocr-0.52-build
+ test -d /home/pterjan/rpmbuild/BUILD/gocr-0.52-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/gocr-0.52-build
+ /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/gocr-0.52-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/gocr-0.52-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/SPECPARTS
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.I0H5yL
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/gocr-0.52-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/gocr-0.52-build
+ rm -rf gocr-0.52
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/gocr-0.52.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd gocr-0.52
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.RrWmSm
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/gocr-0.52-build
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd gocr-0.52
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ CONFIGURE_TOP=.
+ '[' 1 = 1 ']'
++ find . -name config.guess -o -name config.sub
+ /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool
Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html)
+ /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool
+ /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking
+ /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs .
+ /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64
+ ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info
configure: WARNING: unrecognized options: --disable-dependency-tracking
checking for x86_64-mageia-linux-gnu-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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... 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 how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/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
configure: WARNING: unrecognized options: --disable-dependency-tracking
+ /usr/bin/make -O -j16 V=1 VERBOSE=1
/usr/bin/make -C src all
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/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
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -I../include -DHAVE_CONFIG_H -c -o box.o box.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -I../include -DHAVE_CONFIG_H -c -o list.o list.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -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 */
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -I../include -DHAVE_CONFIG_H -c -o lines.o lines.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -I../include -DHAVE_CONFIG_H -c -o ocr1.o ocr1.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -I../include -DHAVE_CONFIG_H -c -o otsu.o otsu.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -I../include -DHAVE_CONFIG_H -c -o pixel.o pixel.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -I../include -DHAVE_CONFIG_H -c -o job.o job.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -I../include -DHAVE_CONFIG_H -c -o output.o output.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -I../include -DHAVE_CONFIG_H -c -o progress.o progress.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -I../include -DHAVE_CONFIG_H -c -o pcx.o pcx.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -I../include -DHAVE_CONFIG_H -c -o unicode.o unicode.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -I../include -DHAVE_CONFIG_H -c -o gocr.o gocr.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -I../include -DHAVE_CONFIG_H -c -o pnm.o pnm.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -I../include -DHAVE_CONFIG_H -c -o detect.o detect.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -I../include -DHAVE_CONFIG_H -c -o remove.o remove.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -I../include -DHAVE_CONFIG_H -c -o barcode.o barcode.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -I../include -DHAVE_CONFIG_H -c -o ocr0n.o ocr0n.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -I../include -DHAVE_CONFIG_H -c -o pgm2asc.o pgm2asc.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -I../include -DHAVE_CONFIG_H -c -o ocr0.o ocr0.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
# make it conform to ld --as-needed
#gcc -o gocr -lm -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld gocr.o ./libPgm2asc.a -lnetpbm 
gcc -o gocr -lm -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld 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 '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/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?=.]
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.HiN6X9
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/gocr-0.52-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/gocr-0.52-build
+ mkdir /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/BUILDROOT
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd gocr-0.52
+ '[' 1 -eq 1 ']'
+ /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/BUILDROOT 'INSTALL=/usr/bin/install -p'
/usr/bin/make -C src install
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/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 -p -d /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/BUILDROOT/usr/bin /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/BUILDROOT /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/BUILDROOT
/usr/bin/install -p -d /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/BUILDROOT/usr/bin
/usr/bin/install -p gocr /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/BUILDROOT/usr/bin
/usr/bin/install -p ../bin/gocr.tcl   /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/BUILDROOT/usr/bin  # better X11/bin?
if test -f libPgm2asc.a; then\
 /usr/bin/install -p libPgm2asc.a /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/BUILDROOT;\
 /usr/bin/install -p libPgm2asc.0.52.so /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/BUILDROOT;\
 /usr/bin/install -p libPgm2asc.so /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/BUILDROOT;\
fi
# ToDo: not sure that the link will be installed correctly
#/usr/bin/install -p  /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/BUILDROOT
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/src'
/usr/bin/make -C man install
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/man'
/usr/bin/install -p -d /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/BUILDROOT/usr/share/man/man1
/usr/bin/install -p ../man/man1/gocr.1 /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/BUILDROOT/usr/share/man/man1
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/man'
# following steps are not needed for end users, but cost dependencies
# therefore removed in 0.48
# /usr/bin/make -C doc install
# /usr/bin/make -C examples install
# /usr/bin/make -C frontend install
+ rm -rf /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/BUILDROOT/usr/bin/gocr.tcl
+ /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 0.52-3.mga10 --unique-debug-suffix -0.52-3.mga10.x86_64 --unique-debug-src-base gocr-0.52-3.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52
find-debuginfo: starting

Extracting debug info from 1 files
DWARF-compressing 1 files
sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match.
Creating .debug symlinks for symlinks to ELF files
Copying sources found by 'debugedit -l' to /usr/src/debug/gocr-0.52-3.mga10.x86_64
find-debuginfo: done
+ /usr/lib/rpm/check-buildroot
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/compress_files .xz
+ '[' -n '' ']'
+ /usr/share/spec-helper/relink_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_perl
+ '[' -n '' ']'
+ /usr/share/spec-helper/lib_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/gprintify
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_mo
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_pamd
+ '[' -n '' ']'
+ /usr/share/spec-helper/remove_info_dir
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_eol
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_desktop_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_elf_files
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
+ env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16
+ /usr/lib/rpm/redhat/brp-python-hardlink
Reading /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/SPECPARTS/rpm-debuginfo.specpart
Processing files: gocr-0.52-3.mga10.x86_64
Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.IFHjRg
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/gocr-0.52-build
+ cd gocr-0.52
+ DOCDIR=/home/pterjan/rpmbuild/BUILD/gocr-0.52-build/BUILDROOT/usr/share/doc/gocr
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/BUILDROOT/usr/share/doc/gocr
+ cp -pr /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/AUTHORS /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/BUILDROOT/usr/share/doc/gocr
+ cp -pr /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/BUGS /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/BUILDROOT/usr/share/doc/gocr
+ cp -pr /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/CREDITS /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/BUILDROOT/usr/share/doc/gocr
+ cp -pr /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/HISTORY /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/BUILDROOT/usr/share/doc/gocr
+ cp -pr /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/README /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/BUILDROOT/usr/share/doc/gocr
+ cp -pr /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/REMARK.txt /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/BUILDROOT/usr/share/doc/gocr
+ cp -pr /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/REVIEW /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/BUILDROOT/usr/share/doc/gocr
+ cp -pr /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/TODO /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/BUILDROOT/usr/share/doc/gocr
+ cp -pr /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/doc/examples.txt /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/BUILDROOT/usr/share/doc/gocr
+ cp -pr /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/doc/gocr.html /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/BUILDROOT/usr/share/doc/gocr
+ cp -pr /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/gocr-0.52/doc/unicode.txt /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/BUILDROOT/usr/share/doc/gocr
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: gocr = 0.52-3.mga10 gocr(x86-64) = 0.52-3.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libm.so.6()(64bit)
Processing files: gocr-debugsource-0.52-3.mga10.x86_64
Provides: gocr-debugsource = 0.52-3.mga10 gocr-debugsource(x86-64) = 0.52-3.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: gocr-debuginfo-0.52-3.mga10.x86_64
Provides: debuginfo(build-id) = bb272be70a2a87a065c4f2e94a5d188cb9066ff6 gocr-debuginfo = 0.52-3.mga10 gocr-debuginfo(x86-64) = 0.52-3.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: gocr-debugsource(x86-64) = 0.52-3.mga10
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/gocr-0.52-build/BUILDROOT
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/gocr-0.52-3.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/gocr-debuginfo-0.52-3.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/gocr-debugsource-0.52-3.mga10.x86_64.rpm
Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XzW3Me
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/gocr-0.52-build
+ test -d /home/pterjan/rpmbuild/BUILD/gocr-0.52-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/gocr-0.52-build
+ rm -rf /home/pterjan/rpmbuild/BUILD/gocr-0.52-build
+ RPM_EC=0
++ jobs -p
+ exit 0
D: [iurt_root_command] Success!