Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/gocr.spec'], chrootPath='/var/lib/mock/849746-epel-6-x86_64-1548291057.226420/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/gocr.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False BUILDSTDERR: warning: Could not canonicalize hostname: copr-builder-498224932.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/gocr-0.50-10.1.el6.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/gocr.spec'], chrootPath='/var/lib/mock/849746-epel-6-x86_64-1548291057.226420/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/gocr.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Seirv2 + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf gocr-0.50 + /usr/bin/gzip -dc /builddir/build/SOURCES/gocr-0.50.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd gocr-0.50 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (gocr-0.46-perms.patch): + echo 'Patch #0 (gocr-0.46-perms.patch):' + /usr/bin/patch -p1 -b --suffix .perms --fuzz=0 + /bin/cat /builddir/build/SOURCES/gocr-0.46-perms.patch patching file man/Makefile.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oux0Ji + umask 022 + cd /builddir/build/BUILD + cd gocr-0.50 + LANG=C + export LANG + unset DISPLAY + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux-gnu --program-prefix= --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 checking for x86_64-redhat-linux-gnu-gcc... no checking for gcc... 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 gcc accepts -g... yes checking for gcc option to accept ANSI C... 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 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 + /usr/bin/make -j2 /usr/bin/make -C src all make[1]: Entering directory `/builddir/build/BUILD/gocr-0.50/src' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I../include -DHAVE_CONFIG_H -c -o pgm2asc.o pgm2asc.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I../include -DHAVE_CONFIG_H -c -o box.o box.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I../include -DHAVE_CONFIG_H -c -o database.o database.c BUILDSTDERR: database.c: In function 'ocr_db': BUILDSTDERR: database.c:417: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I../include -DHAVE_CONFIG_H -c -o detect.o detect.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I../include -DHAVE_CONFIG_H -c -o barcode.o barcode.c BUILDSTDERR: barcode.c: In function 'detect_barcode': BUILDSTDERR: barcode.c:1719: warning: unused variable 'xx' BUILDSTDERR: barcode.c:1758: warning: unused variable 'xx' BUILDSTDERR: barcode.c: At top level: BUILDSTDERR: barcode.c:823: warning: 'GF256_invers_mult' defined but not used gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I../include -DHAVE_CONFIG_H -c -o lines.o lines.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I../include -DHAVE_CONFIG_H -c -o list.o list.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I../include -DHAVE_CONFIG_H -c -o ocr0.o ocr0.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I../include -DHAVE_CONFIG_H -c -o ocr0n.o ocr0n.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I../include -DHAVE_CONFIG_H -c -o ocr1.o ocr1.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I../include -DHAVE_CONFIG_H -c -o otsu.o otsu.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I../include -DHAVE_CONFIG_H -c -o output.o output.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I../include -DHAVE_CONFIG_H -c -o pixel.o pixel.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I../include -DHAVE_CONFIG_H -c -o unicode.o unicode.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I../include -DHAVE_CONFIG_H -c -o remove.o remove.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I../include -DHAVE_CONFIG_H -c -o pnm.o pnm.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I../include -DHAVE_CONFIG_H -c -o pcx.o pcx.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I../include -DHAVE_CONFIG_H -c -o progress.o progress.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I../include -DHAVE_CONFIG_H -c -o job.o job.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I../include -DHAVE_CONFIG_H -c -o gocr.o gocr.c # make it conform to ld --as-needed #gcc -o gocr -lm gocr.o ./libPgm2asc.a -lnetpbm gcc -o gocr -lm 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 `/builddir/build/BUILD/gocr-0.50/src' --- for help do: make help --- --- for documentation do: make doc --- --- for examples do: make examples --- + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.89CtF2 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gocr-0.50-10.1.el6.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gocr-0.50-10.1.el6.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/gocr-0.50-10.1.el6.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gocr-0.50-10.1.el6.x86_64 + cd gocr-0.50 + LANG=C + export LANG + unset DISPLAY + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/gocr-0.50-10.1.el6.x86_64 'INSTALL=install -p' /usr/bin/make -C src install make[1]: Entering directory `/builddir/build/BUILD/gocr-0.50/src' #install -p -d /builddir/build/BUILDROOT/gocr-0.50-10.1.el6.x86_64/usr/bin /builddir/build/BUILDROOT/gocr-0.50-10.1.el6.x86_64 /builddir/build/BUILDROOT/gocr-0.50-10.1.el6.x86_64 install -p -d /builddir/build/BUILDROOT/gocr-0.50-10.1.el6.x86_64/usr/bin install -p gocr /builddir/build/BUILDROOT/gocr-0.50-10.1.el6.x86_64/usr/bin install -p ../bin/gocr.tcl /builddir/build/BUILDROOT/gocr-0.50-10.1.el6.x86_64/usr/bin # better X11/bin? if test -f libPgm2asc.a; then\ install -p libPgm2asc.a /builddir/build/BUILDROOT/gocr-0.50-10.1.el6.x86_64;\ install -p libPgm2asc.0.50.so /builddir/build/BUILDROOT/gocr-0.50-10.1.el6.x86_64;\ install -p libPgm2asc.so /builddir/build/BUILDROOT/gocr-0.50-10.1.el6.x86_64;\ fi # ToDo: not sure that the link will be installed correctly #install -p /builddir/build/BUILDROOT/gocr-0.50-10.1.el6.x86_64 make[1]: Leaving directory `/builddir/build/BUILD/gocr-0.50/src' /usr/bin/make -C man install make[1]: Entering directory `/builddir/build/BUILD/gocr-0.50/man' install -p -d /builddir/build/BUILDROOT/gocr-0.50-10.1.el6.x86_64/usr/share/man/man1 install -p -m 0644 ../man/man1/gocr.1 /builddir/build/BUILDROOT/gocr-0.50-10.1.el6.x86_64/usr/share/man/man1 make[1]: Leaving directory `/builddir/build/BUILD/gocr-0.50/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 + /bin/rm -rf /builddir/build/BUILDROOT/gocr-0.50-10.1.el6.x86_64/usr/lib64 /builddir/build/BUILDROOT/gocr-0.50-10.1.el6.x86_64/usr/include + /bin/rm /builddir/build/BUILDROOT/gocr-0.50-10.1.el6.x86_64//usr/bin/gocr.tcl + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/gocr-0.50 extracting debug info from /builddir/build/BUILDROOT/gocr-0.50-10.1.el6.x86_64/usr/bin/gocr BUILDSTDERR: 1774 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: gocr-0.50-10.1.el6.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.gkZXoN + umask 022 + cd /builddir/build/BUILD + cd gocr-0.50 + DOCDIR=/builddir/build/BUILDROOT/gocr-0.50-10.1.el6.x86_64/usr/share/doc/gocr-0.50 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/gocr-0.50-10.1.el6.x86_64/usr/share/doc/gocr-0.50 + /bin/mkdir -p /builddir/build/BUILDROOT/gocr-0.50-10.1.el6.x86_64/usr/share/doc/gocr-0.50 + cp -pr AUTHORS BUGS CREDITS doc/gocr.html HISTORY README /builddir/build/BUILDROOT/gocr-0.50-10.1.el6.x86_64/usr/share/doc/gocr-0.50 + cp -pr REMARK.txt REVIEW TODO /builddir/build/BUILDROOT/gocr-0.50-10.1.el6.x86_64/usr/share/doc/gocr-0.50 + cp -pr READMEde.txt /builddir/build/BUILDROOT/gocr-0.50-10.1.el6.x86_64/usr/share/doc/gocr-0.50 + cp -pr gpl.html /builddir/build/BUILDROOT/gocr-0.50-10.1.el6.x86_64/usr/share/doc/gocr-0.50 + exit 0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(VersionedDependencies) <= 3.0.3-1 Requires: libc.so.6()(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.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libm.so.6()(64bit) libnetpbm.so.10()(64bit) rtld(GNU_HASH) Obsoletes: gocr-devel <= 0.45-4 Processing files: gocr-debuginfo-0.50-10.1.el6.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/gocr-0.50-10.1.el6.x86_64 BUILDSTDERR: warning: Could not canonicalize hostname: copr-builder-498224932.novalocal Wrote: /builddir/build/RPMS/gocr-0.50-10.1.el6.x86_64.rpm Wrote: /builddir/build/RPMS/gocr-debuginfo-0.50-10.1.el6.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.I9pmS6 + umask 022 + cd /builddir/build/BUILD + cd gocr-0.50 + /bin/rm -rf /builddir/build/BUILDROOT/gocr-0.50-10.1.el6.x86_64 + exit 0 Child return code was: 0