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-7-x86_64-1548290607.025401/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=['--capability=cap_ipc_lock']unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '55a6207f35a04b18b67bc6b74162cea4', '-D', '/var/lib/mock/849746-epel-7-x86_64-1548290607.025401/root', '-a', '--capability=cap_ipc_lock', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', '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 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/gocr-0.50-10.1.el7.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-7-x86_64-1548290607.025401/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=['--capability=cap_ipc_lock']unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '4b16c00bbefa4c4b979042944cfa4cc2', '-D', '/var/lib/mock/849746-epel-7-x86_64-1548290607.025401/root', '-a', '--capability=cap_ipc_lock', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', '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.FMNhPS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gocr-0.50 + /usr/bin/gzip -dc /builddir/build/SOURCES/gocr-0.50.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd gocr-0.50 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (gocr-0.46-perms.patch):' Patch #0 (gocr-0.46-perms.patch): + /usr/bin/cat /builddir/build/SOURCES/gocr-0.46-perms.patch + /usr/bin/patch -p1 -b --suffix .perms --fuzz=0 patching file man/Makefile.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lhZ7qD + umask 022 + cd /builddir/build/BUILD + cd gocr-0.50 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' x86_64 == ppc64le ']' BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-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 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-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -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-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I../include -DHAVE_CONFIG_H -c -o box.o box.c BUILDSTDERR: pgm2asc.c: In function 'glue_holes_inside_chars': BUILDSTDERR: pgm2asc.c:1770:11: warning: variable 'cs' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int ii, cs, x0, y0, x1, y1, cnt=0, BUILDSTDERR: ^ BUILDSTDERR: pgm2asc.c: In function 'glue_broken_chars': BUILDSTDERR: pgm2asc.c:1910:33: warning: variable 'box6' set but not used [-Wunused-but-set-variable] BUILDSTDERR: struct box *box5=NULL, *box6=NULL; // nearest and next nearest box BUILDSTDERR: ^ BUILDSTDERR: pgm2asc.c: In function 'find_same_chars': BUILDSTDERR: pgm2asc.c:2102:52: warning: variable 'box4' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i,k,d,cs,dist,n1,dx; struct box *box2,*box3,*box4,*box5; BUILDSTDERR: ^ BUILDSTDERR: pgm2asc.c: In function 'context_correction': BUILDSTDERR: pgm2asc.c:2621:57: warning: variable 'pre4' set but not used [-Wunused-but-set-variable] BUILDSTDERR: struct box *box3, *box2, *prev, *next, *pre2, *pre3, *pre4; BUILDSTDERR: ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -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:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets((char *)buf,200,stdin); /* including \n=0x0a */ BUILDSTDERR: ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I../include -DHAVE_CONFIG_H -c -o detect.o detect.c BUILDSTDERR: detect.c: In function 'detect_lines1': BUILDSTDERR: detect.c:70:33: warning: variable 'mc' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i, jj, j2, y, yy, my, mi, mc, i1, i2, i3, i4, BUILDSTDERR: ^ BUILDSTDERR: detect.c:70:14: warning: variable 'j2' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i, jj, j2, y, yy, my, mi, mc, i1, i2, i3, i4, BUILDSTDERR: ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I../include -DHAVE_CONFIG_H -c -o barcode.o barcode.c BUILDSTDERR: barcode.c: In function 'decode_code128': BUILDSTDERR: barcode.c:100:31: warning: variable 'i4old' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i, w, i1, i2, i3=0, i4, i4old, i5=0, crc, mode=1; BUILDSTDERR: ^ BUILDSTDERR: barcode.c: In function 'decode_UPC': BUILDSTDERR: barcode.c:221:25: warning: variable 'i4' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i, w, i1, i2, i3, i4, i5, crc, mirrored, ean; BUILDSTDERR: ^ BUILDSTDERR: barcode.c: In function 'decode_UPC_addon': BUILDSTDERR: barcode.c:291:25: warning: variable 'i4' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i, w, i1, i2, i3, i4, i5, digits=num_bars/3; BUILDSTDERR: ^ BUILDSTDERR: barcode.c: In function 'decode_27': BUILDSTDERR: barcode.c:626:18: warning: variable 'err' set but not used [-Wunused-but-set-variable] BUILDSTDERR: max_wdiff, err=0; BUILDSTDERR: ^ BUILDSTDERR: barcode.c: In function 'detect_barcode': BUILDSTDERR: barcode.c:1719:22: warning: unused variable 'xx' [-Wunused-variable] BUILDSTDERR: const char xx[4]=".o_@"; BUILDSTDERR: ^ BUILDSTDERR: barcode.c:1758:22: warning: unused variable 'xx' [-Wunused-variable] BUILDSTDERR: const char xx[4]=".x _"; BUILDSTDERR: ^ BUILDSTDERR: barcode.c:1891:24: warning: variable 'ptext' set but not used [-Wunused-but-set-variable] BUILDSTDERR: unsigned char *ptext=NULL; // pointer to char tuple of next word BUILDSTDERR: ^ BUILDSTDERR: barcode.c: At top level: BUILDSTDERR: barcode.c:823:12: warning: 'GF256_invers_mult' defined but not used [-Wunused-function] BUILDSTDERR: static int GF256_invers_mult(int b) { // 1/b, (a/b)=a*(1/b) BUILDSTDERR: ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I../include -DHAVE_CONFIG_H -c -o lines.o lines.c BUILDSTDERR: lines.c: In function 'store_boxtree_lines': BUILDSTDERR: lines.c:299:17: warning: variable 'cc' set but not used [-Wunused-but-set-variable] BUILDSTDERR: wchar_t cc; cc=box2->c; BUILDSTDERR: ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -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-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I../include -DHAVE_CONFIG_H -c -o ocr0.o ocr0.c BUILDSTDERR: ocr0.c: In function 'testumlaut': BUILDSTDERR: ocr0.c:254:13: warning: variable 'x' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int r,y,x,x0,x1,y0,y1,dx,dy,m1,m2,m3, BUILDSTDERR: ^ BUILDSTDERR: ocr0.c: In function 'ocr0_eE': BUILDSTDERR: ocr0.c:664:22: warning: variable 'i4' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i1, i2, i3, i4, i5; // line derivation + corners BUILDSTDERR: ^ BUILDSTDERR: ocr0.c:664:14: warning: variable 'i2' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i1, i2, i3, i4, i5; // line derivation + corners BUILDSTDERR: ^ BUILDSTDERR: ocr0.c: In function 'ocr0_n': BUILDSTDERR: ocr0.c:756:27: warning: variable 'handwritten' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i,j,d,x,y,i1,i2,i3,handwritten=0, BUILDSTDERR: ^ BUILDSTDERR: ocr0.c:756:24: warning: variable 'i3' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i,j,d,x,y,i1,i2,i3,handwritten=0, BUILDSTDERR: ^ BUILDSTDERR: ocr0.c: In function 'ocr0_M': BUILDSTDERR: ocr0.c:870:23: warning: variable 'i3' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int d,x,y,i0,i1,i2,i3,t1,hchar=sdata->hchar,gchar=sdata->gchar, BUILDSTDERR: ^ BUILDSTDERR: ocr0.c:870:14: warning: variable 'i0' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int d,x,y,i0,i1,i2,i3,t1,hchar=sdata->hchar,gchar=sdata->gchar, BUILDSTDERR: ^ BUILDSTDERR: ocr0.c: In function 'ocr0_h': BUILDSTDERR: ocr0.c:1160:10: warning: variable 'i1' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i1, i2, i3, i4, i5, i6, i7, i8; // line derivation + corners BUILDSTDERR: ^ BUILDSTDERR: ocr0.c: In function 'ocr0_k': BUILDSTDERR: ocr0.c:1374:37: warning: variable 'i7' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int d, i1, i2, i3, i4, i5, i6, i7, i8; // line derivation + corners BUILDSTDERR: ^ BUILDSTDERR: ocr0.c: In function 'ocr0_K': BUILDSTDERR: ocr0.c:1488:12: warning: variable 'i1' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i,j,i1,i2,d,x,y,hchar=sdata->hchar,gchar=sdata->gchar, BUILDSTDERR: ^ BUILDSTDERR: ocr0.c: In function 'ocr0_f': BUILDSTDERR: ocr0.c:1629:41: warning: variable 'i8' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int d, i1, i2, i3, i4, i5, i6, i7, i8, i9; // line derivation + corners BUILDSTDERR: ^ BUILDSTDERR: ocr0.c:1629:33: warning: variable 'i6' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int d, i1, i2, i3, i4, i5, i6, i7, i8, i9; // line derivation + corners BUILDSTDERR: ^ BUILDSTDERR: ocr0.c:1629:25: warning: variable 'i4' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int d, i1, i2, i3, i4, i5, i6, i7, i8, i9; // line derivation + corners BUILDSTDERR: ^ BUILDSTDERR: ocr0.c: In function 'ocr0_micro': BUILDSTDERR: ocr0.c:2254:18: warning: variable 'i2' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i,j,d,x,y,i2,hchar=sdata->hchar,gchar=sdata->gchar, BUILDSTDERR: ^ BUILDSTDERR: ocr0.c: In function 'ocr0_tT': BUILDSTDERR: ocr0.c:2699:19: warning: variable 'i4' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i,i1,i2,i3,i4,j,d,d2,x,y,yb,hchar=sdata->hchar,gchar=sdata->gchar, BUILDSTDERR: ^ BUILDSTDERR: ocr0.c:2699:16: warning: variable 'i3' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i,i1,i2,i3,i4,j,d,d2,x,y,yb,hchar=sdata->hchar,gchar=sdata->gchar, BUILDSTDERR: ^ BUILDSTDERR: ocr0.c: In function 'ocr0_xX': BUILDSTDERR: ocr0.c:3246:27: warning: variable 'i4' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int ld, i1, i2, i3, i4; // lien derivation, 4 inner edges BUILDSTDERR: ^ BUILDSTDERR: ocr0.c: In function 'ocr0_wW': BUILDSTDERR: ocr0.c:3688:56: warning: variable 'handwritten' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i,j,d,x,y,hchar=sdata->hchar,gchar=sdata->gchar,handwritten=0, BUILDSTDERR: ^ BUILDSTDERR: ocr0.c: In function 'ocr0p9': BUILDSTDERR: ocr0.c:5911:8: warning: variable 'dbg' set but not used [-Wunused-but-set-variable] BUILDSTDERR: dbg[9]={0,0,0,0,0,0,0,0,0}, /* debugging space */ BUILDSTDERR: ^ BUILDSTDERR: ocr0.c: In function 'ocr0px': BUILDSTDERR: ocr0.c:6367:17: warning: variable 'i4' set but not used [-Wunused-but-set-variable] BUILDSTDERR: i1,i2,i3,i4,j1,cs=sdata->cs; /* tmp-vars */ BUILDSTDERR: ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I../include -DHAVE_CONFIG_H -c -o ocr0n.o ocr0n.c BUILDSTDERR: ocr0n.c: In function 'ocr0n': BUILDSTDERR: ocr0n.c:79:12: warning: variable 'bc' set but not used [-Wunused-but-set-variable] BUILDSTDERR: wchar_t bc=UNKNOWN; // best char BUILDSTDERR: ^ BUILDSTDERR: ocr0n.c:76:18: warning: variable 'yb' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int xa,xb,ya,yb, /* tmp-vars */ BUILDSTDERR: ^ BUILDSTDERR: ocr0n.c:76:15: warning: variable 'ya' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int xa,xb,ya,yb, /* tmp-vars */ BUILDSTDERR: ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -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-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -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-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I../include -DHAVE_CONFIG_H -c -o output.o output.c BUILDSTDERR: output.c: In function 'out_b': BUILDSTDERR: output.c:36:27: warning: variable 'n1' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int x,y,x2,y2,yy0,tx,ty,n1,i; BUILDSTDERR: ^ BUILDSTDERR: output.c: In function 'debug_img': BUILDSTDERR: output.c:210:13: warning: variable 'ic' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int x, y, ic, dx, i, j, col; BUILDSTDERR: ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -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-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -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-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I../include -DHAVE_CONFIG_H -c -o remove.o remove.c BUILDSTDERR: remove.c: In function 'smooth_borders': BUILDSTDERR: remove.c:206:33: warning: variable 'dy' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int ii=0,x,y,x0,x1,y0,y1,dx,dy,cs,i0,i1,i2,i3,i4,n1,n2, BUILDSTDERR: ^ BUILDSTDERR: remove.c:206:30: warning: variable 'dx' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int ii=0,x,y,x0,x1,y0,y1,dx,dy,cs,i0,i1,i2,i3,i4,n1,n2, BUILDSTDERR: ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -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-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -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-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -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-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -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-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -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 -Wl,-z,relro gocr.o ./libPgm2asc.a -lnetpbm gcc -o gocr -lm -Wl,-z,relro 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.Tlsq2U + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gocr-0.50-10.1.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gocr-0.50-10.1.el7.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/gocr-0.50-10.1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gocr-0.50-10.1.el7.x86_64 + cd gocr-0.50 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/gocr-0.50-10.1.el7.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.el7.x86_64/usr/bin /builddir/build/BUILDROOT/gocr-0.50-10.1.el7.x86_64 /builddir/build/BUILDROOT/gocr-0.50-10.1.el7.x86_64 install -p -d /builddir/build/BUILDROOT/gocr-0.50-10.1.el7.x86_64/usr/bin install -p gocr /builddir/build/BUILDROOT/gocr-0.50-10.1.el7.x86_64/usr/bin install -p ../bin/gocr.tcl /builddir/build/BUILDROOT/gocr-0.50-10.1.el7.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.el7.x86_64;\ install -p libPgm2asc.0.50.so /builddir/build/BUILDROOT/gocr-0.50-10.1.el7.x86_64;\ install -p libPgm2asc.so /builddir/build/BUILDROOT/gocr-0.50-10.1.el7.x86_64;\ fi # ToDo: not sure that the link will be installed correctly #install -p /builddir/build/BUILDROOT/gocr-0.50-10.1.el7.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.el7.x86_64/usr/share/man/man1 install -p -m 0644 ../man/man1/gocr.1 /builddir/build/BUILDROOT/gocr-0.50-10.1.el7.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 + /usr/bin/rm -rf /builddir/build/BUILDROOT/gocr-0.50-10.1.el7.x86_64/usr/lib64 /builddir/build/BUILDROOT/gocr-0.50-10.1.el7.x86_64/usr/include + /usr/bin/rm /builddir/build/BUILDROOT/gocr-0.50-10.1.el7.x86_64//usr/bin/gocr.tcl + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/gocr-0.50 extracting debug info from /builddir/build/BUILDROOT/gocr-0.50-10.1.el7.x86_64/usr/bin/gocr BUILDSTDERR: dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 1786 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/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: gocr-0.50-10.1.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.dT0OFd + umask 022 + cd /builddir/build/BUILD + cd gocr-0.50 + DOCDIR=/builddir/build/BUILDROOT/gocr-0.50-10.1.el7.x86_64/usr/share/doc/gocr-0.50 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gocr-0.50-10.1.el7.x86_64/usr/share/doc/gocr-0.50 + cp -pr AUTHORS /builddir/build/BUILDROOT/gocr-0.50-10.1.el7.x86_64/usr/share/doc/gocr-0.50 + cp -pr BUGS /builddir/build/BUILDROOT/gocr-0.50-10.1.el7.x86_64/usr/share/doc/gocr-0.50 + cp -pr CREDITS /builddir/build/BUILDROOT/gocr-0.50-10.1.el7.x86_64/usr/share/doc/gocr-0.50 + cp -pr doc/gocr.html /builddir/build/BUILDROOT/gocr-0.50-10.1.el7.x86_64/usr/share/doc/gocr-0.50 + cp -pr HISTORY /builddir/build/BUILDROOT/gocr-0.50-10.1.el7.x86_64/usr/share/doc/gocr-0.50 + cp -pr README /builddir/build/BUILDROOT/gocr-0.50-10.1.el7.x86_64/usr/share/doc/gocr-0.50 + cp -pr REMARK.txt /builddir/build/BUILDROOT/gocr-0.50-10.1.el7.x86_64/usr/share/doc/gocr-0.50 + cp -pr REVIEW /builddir/build/BUILDROOT/gocr-0.50-10.1.el7.x86_64/usr/share/doc/gocr-0.50 + cp -pr TODO /builddir/build/BUILDROOT/gocr-0.50-10.1.el7.x86_64/usr/share/doc/gocr-0.50 + cp -pr READMEde.txt /builddir/build/BUILDROOT/gocr-0.50-10.1.el7.x86_64/usr/share/doc/gocr-0.50 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.rC4qnw + umask 022 + cd /builddir/build/BUILD + cd gocr-0.50 + LICENSEDIR=/builddir/build/BUILDROOT/gocr-0.50-10.1.el7.x86_64/usr/share/licenses/gocr-0.50 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gocr-0.50-10.1.el7.x86_64/usr/share/licenses/gocr-0.50 + cp -pr gpl.html /builddir/build/BUILDROOT/gocr-0.50-10.1.el7.x86_64/usr/share/licenses/gocr-0.50 + exit 0 Provides: gocr = 0.50-10.1.el7 gocr(x86-64) = 0.50-10.1.el7 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.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libm.so.6()(64bit) libnetpbm.so.11()(64bit) rtld(GNU_HASH) Obsoletes: gocr-devel <= 0.45-4 Processing files: gocr-debuginfo-0.50-10.1.el7.x86_64 Provides: gocr-debuginfo = 0.50-10.1.el7 gocr-debuginfo(x86-64) = 0.50-10.1.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/gocr-0.50-10.1.el7.x86_64 Wrote: /builddir/build/RPMS/gocr-0.50-10.1.el7.x86_64.rpm Wrote: /builddir/build/RPMS/gocr-debuginfo-0.50-10.1.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.7jVuZv + umask 022 + cd /builddir/build/BUILD + cd gocr-0.50 + /usr/bin/rm -rf /builddir/build/BUILDROOT/gocr-0.50-10.1.el7.x86_64 + exit 0 Child return code was: 0