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-fedora-rawhide-x86_64-1548290967.604610/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', '44ddaa1dabf5479281be65439da90ca8', '-D', '/var/lib/mock/849746-fedora-rawhide-x86_64-1548290967.604610/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.fc30.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-fedora-rawhide-x86_64-1548290967.604610/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', '9b325c899dac4b1f817383e91a527768', '-D', '/var/lib/mock/849746-fedora-rawhide-x86_64-1548290967.604610/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.7V9ZHX + 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 -xof - + 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/patch --no-backup-if-mismatch -p1 -b --suffix .perms --fuzz=0 patching file man/Makefile.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.T4pVSa + umask 022 + cd /builddir/build/BUILD + cd gocr-0.50 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./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... no * * * try option --with-netpbm=PATH 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 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 -O -j2 /usr/bin/make -C src all make[1]: Entering directory '/builddir/build/BUILD/gocr-0.50/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I../include -DHAVE_CONFIG_H -c -o box.o box.c make[1]: Leaving directory '/builddir/build/BUILD/gocr-0.50/src' make[1]: Entering directory '/builddir/build/BUILD/gocr-0.50/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I../include -DHAVE_CONFIG_H -c -o database.o database.c BUILDSTDERR: database.c: In function 'load_db': BUILDSTDERR: database.c:60:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 60 | if (!fgets(s1, Blen, f1)) break; line++; BUILDSTDERR: | ^~ BUILDSTDERR: database.c:60:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 60 | if (!fgets(s1, Blen, f1)) break; line++; BUILDSTDERR: | ^~~~ BUILDSTDERR: database.c: In function 'out_env': BUILDSTDERR: database.c:233:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 233 | if (x0<0) x0=0; if (x1>=b->x) x1=b->x-1; BUILDSTDERR: | ^~ BUILDSTDERR: database.c:233:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 233 | if (x0<0) x0=0; if (x1>=b->x) x1=b->x-1; BUILDSTDERR: | ^~ BUILDSTDERR: database.c:234:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 234 | if (y0<0) y0=0; if (y1>=b->y) y1=b->y-1; BUILDSTDERR: | ^~ BUILDSTDERR: database.c:234:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 234 | if (y0<0) y0=0; if (y1>=b->y) y1=b->y-1; BUILDSTDERR: | ^~ BUILDSTDERR: database.c: In function 'ocr_db': BUILDSTDERR: database.c:417:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 417 | fgets((char *)buf,200,stdin); /* including \n=0x0a */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from database.c:28: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'store_db' at database.c:168:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: database.c: In function 'store_db': BUILDSTDERR: database.c:168:3: note: length computed here BUILDSTDERR: 168 | strncpy(s2+i2,s3,strlen(s3)); s2[i2+strlen(s3)]=0; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/gocr-0.50/src' make[1]: Entering directory '/builddir/build/BUILD/gocr-0.50/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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: 70 | 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: 70 | int i, jj, j2, y, yy, my, mi, mc, i1, i2, i3, i4, BUILDSTDERR: | ^~ make[1]: Leaving directory '/builddir/build/BUILD/gocr-0.50/src' make[1]: Entering directory '/builddir/build/BUILD/gocr-0.50/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I../include -DHAVE_CONFIG_H -c -o pgm2asc.o pgm2asc.c BUILDSTDERR: pgm2asc.c: In function 'my_strchr': BUILDSTDERR: pgm2asc.c:246:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 246 | if (s1) return 1; break; BUILDSTDERR: | ^~ BUILDSTDERR: pgm2asc.c:246:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 246 | if (s1) return 1; break; BUILDSTDERR: | ^~~~~ 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: 1770 | 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: 1910 | 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: 2102 | 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: 2621 | struct box *box3, *box2, *prev, *next, *pre2, *pre3, *pre4; BUILDSTDERR: | ^~~~ make[1]: Leaving directory '/builddir/build/BUILD/gocr-0.50/src' make[1]: Entering directory '/builddir/build/BUILD/gocr-0.50/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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: 299 | wchar_t cc; cc=box2->c; BUILDSTDERR: | ^~ make[1]: Leaving directory '/builddir/build/BUILD/gocr-0.50/src' make[1]: Entering directory '/builddir/build/BUILD/gocr-0.50/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I../include -DHAVE_CONFIG_H -c -o list.o list.c make[1]: Leaving directory '/builddir/build/BUILD/gocr-0.50/src' make[1]: Entering directory '/builddir/build/BUILD/gocr-0.50/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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: 100 | 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: 221 | 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: 291 | 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: 626 | max_wdiff, err=0; BUILDSTDERR: | ^~~ BUILDSTDERR: barcode.c: In function 'detect_barcode': BUILDSTDERR: barcode.c:1719:22: warning: unused variable 'xx' [-Wunused-variable] BUILDSTDERR: 1719 | const char xx[4]=".o_@"; BUILDSTDERR: | ^~ BUILDSTDERR: barcode.c:1758:22: warning: unused variable 'xx' [-Wunused-variable] BUILDSTDERR: 1758 | const char xx[4]=".x _"; BUILDSTDERR: | ^~ BUILDSTDERR: barcode.c:1891:24: warning: variable 'ptext' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1891 | unsigned char *ptext=NULL; // pointer to char tuple of next word BUILDSTDERR: | ^~~~~ BUILDSTDERR: At top level: BUILDSTDERR: barcode.c:823:12: warning: 'GF256_invers_mult' defined but not used [-Wunused-function] BUILDSTDERR: 823 | static int GF256_invers_mult(int b) { // 1/b, (a/b)=a*(1/b) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: barcode.c: In function 'detect_barcode': BUILDSTDERR: barcode.c:1628:21: warning: 'box2' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1628 | bits[i]=((getpixel(box2->p, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: 1629 | x03 + ((i%x)*dx3 + dx3/2) / x, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1630 | y03 + ((i/x)*dy3 + dy3/2) / y) < job->cfg.cs) ? 1 : 0); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/gocr-0.50/src' make[1]: Entering directory '/builddir/build/BUILD/gocr-0.50/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I../include -DHAVE_CONFIG_H -c -o ocr0n.o ocr0n.c BUILDSTDERR: ocr0n.c: In function 'ocr0n': BUILDSTDERR: ocr0n.c:1038:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1038 | if( num_cross(dx/2,dx-1,y,y,bp,cs) > 1 ) i++; if( i>dy/8 ) break; BUILDSTDERR: | ^~ BUILDSTDERR: ocr0n.c:1038:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1038 | if( num_cross(dx/2,dx-1,y,y,bp,cs) > 1 ) i++; if( i>dy/8 ) break; BUILDSTDERR: | ^~ BUILDSTDERR: ocr0n.c:1106:12: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1106 | if (j>x) x=j; i=y; if (i1>i2) i2=i1; } BUILDSTDERR: | ^~ BUILDSTDERR: ocr0n.c:1106:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1106 | if (j>x) x=j; i=y; if (i1>i2) i2=i1; } BUILDSTDERR: | ^ BUILDSTDERR: ocr0n.c:1132:12: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1132 | if (j>x) x=j; i=y; } BUILDSTDERR: | ^~ BUILDSTDERR: ocr0n.c:1132:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1132 | if (j>x) x=j; i=y; } BUILDSTDERR: | ^ BUILDSTDERR: ocr0n.c:1151:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1151 | if( ji+dx/16 ) break; BUILDSTDERR: | ^~ BUILDSTDERR: ocr0n.c:1151:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1151 | if( ji+dx/16 ) break; BUILDSTDERR: | ^~ BUILDSTDERR: ocr0n.c:1156:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1156 | if( num_cross(0,dx-1,y,y,bp,cs) > 2 ) i++; if( i>dy/8 ) break; BUILDSTDERR: | ^~ BUILDSTDERR: ocr0n.c:1156:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1156 | if( num_cross(0,dx-1,y,y,bp,cs) > 2 ) i++; if( i>dy/8 ) break; BUILDSTDERR: | ^~ BUILDSTDERR: ocr0n.c:1304:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1304 | if (ix) x=i; BUILDSTDERR: | ^~ BUILDSTDERR: ocr0n.c:1304:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1304 | if (ix) x=i; BUILDSTDERR: | ^~ BUILDSTDERR: ocr0n.c:79:12: warning: variable 'bc' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 79 | wchar_t bc=UNKNOWN; // best char BUILDSTDERR: | ^~ BUILDSTDERR: ocr0n.c:76:18: warning: variable 'yb' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 76 | 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: 76 | int xa,xb,ya,yb, /* tmp-vars */ BUILDSTDERR: | ^~ make[1]: Leaving directory '/builddir/build/BUILD/gocr-0.50/src' make[1]: Entering directory '/builddir/build/BUILD/gocr-0.50/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I../include -DHAVE_CONFIG_H -c -o ocr1.o ocr1.c make[1]: Leaving directory '/builddir/build/BUILD/gocr-0.50/src' make[1]: Entering directory '/builddir/build/BUILD/gocr-0.50/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I../include -DHAVE_CONFIG_H -c -o otsu.o otsu.c make[1]: Leaving directory '/builddir/build/BUILD/gocr-0.50/src' make[1]: Entering directory '/builddir/build/BUILD/gocr-0.50/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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: 36 | 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: 210 | int x, y, ic, dx, i, j, col; BUILDSTDERR: | ^~ make[1]: Leaving directory '/builddir/build/BUILD/gocr-0.50/src' make[1]: Entering directory '/builddir/build/BUILD/gocr-0.50/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I../include -DHAVE_CONFIG_H -c -o pixel.o pixel.c make[1]: Leaving directory '/builddir/build/BUILD/gocr-0.50/src' make[1]: Entering directory '/builddir/build/BUILD/gocr-0.50/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I../include -DHAVE_CONFIG_H -c -o unicode.o unicode.c make[1]: Leaving directory '/builddir/build/BUILD/gocr-0.50/src' make[1]: Entering directory '/builddir/build/BUILD/gocr-0.50/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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: 206 | 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: 206 | int ii=0,x,y,x0,x1,y0,y1,dx,dy,cs,i0,i1,i2,i3,i4,n1,n2, BUILDSTDERR: | ^~ make[1]: Leaving directory '/builddir/build/BUILD/gocr-0.50/src' make[1]: Entering directory '/builddir/build/BUILD/gocr-0.50/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I../include -DHAVE_CONFIG_H -c -o pnm.o pnm.c BUILDSTDERR: pnm.c: In function 'readpgm': BUILDSTDERR: pnm.c:340:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 340 | if (f1) fclose(f1); f1=NULL; return(-1); BUILDSTDERR: | ^~ BUILDSTDERR: pnm.c:340:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 340 | if (f1) fclose(f1); f1=NULL; return(-1); BUILDSTDERR: | ^~ make[1]: Leaving directory '/builddir/build/BUILD/gocr-0.50/src' make[1]: Entering directory '/builddir/build/BUILD/gocr-0.50/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I../include -DHAVE_CONFIG_H -c -o pcx.o pcx.c make[1]: Leaving directory '/builddir/build/BUILD/gocr-0.50/src' make[1]: Entering directory '/builddir/build/BUILD/gocr-0.50/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I../include -DHAVE_CONFIG_H -c -o progress.o progress.c make[1]: Leaving directory '/builddir/build/BUILD/gocr-0.50/src' make[1]: Entering directory '/builddir/build/BUILD/gocr-0.50/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I../include -DHAVE_CONFIG_H -c -o job.o job.c make[1]: Leaving directory '/builddir/build/BUILD/gocr-0.50/src' make[1]: Entering directory '/builddir/build/BUILD/gocr-0.50/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I../include -DHAVE_CONFIG_H -c -o gocr.o gocr.c make[1]: Leaving directory '/builddir/build/BUILD/gocr-0.50/src' make[1]: Entering directory '/builddir/build/BUILD/gocr-0.50/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I../include -DHAVE_CONFIG_H -c -o ocr0.o ocr0.c make[1]: Leaving directory '/builddir/build/BUILD/gocr-0.50/src' BUILDSTDERR: ocr0.c: In function 'testumlaut': BUILDSTDERR: ocr0.c:388:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 388 | if (getpixel(box1->p,xl+i,yu+i)< cs) break; i3=i; BUILDSTDERR: | ^~ BUILDSTDERR: ocr0.c:388:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 388 | if (getpixel(box1->p,xl+i,yu+i)< cs) break; i3=i; BUILDSTDERR: | ^~ BUILDSTDERR: ocr0.c:387:12: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 387 | for (i=0;ip,xl+i,yu+i)< cs) break; i3=i; BUILDSTDERR: | ^~ BUILDSTDERR: ocr0.c:390:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 390 | if (getpixel(box1->p,xl+i,yu+i)>=cs) break; i3=i-i3; BUILDSTDERR: | ^~ BUILDSTDERR: ocr0.c:390:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 390 | if (getpixel(box1->p,xl+i,yu+i)>=cs) break; i3=i-i3; BUILDSTDERR: | ^~ BUILDSTDERR: ocr0.c:389:12: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 389 | for ( ;ip,xl+i,yu+i)>=cs) break; i3=i-i3; BUILDSTDERR: | ^~ BUILDSTDERR: ocr0.c:392:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 392 | if (getpixel(box1->p,xr-i,yu+i)< cs) break; i4=i; BUILDSTDERR: | ^~ BUILDSTDERR: ocr0.c:392:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 392 | if (getpixel(box1->p,xr-i,yu+i)< cs) break; i4=i; BUILDSTDERR: | ^~ BUILDSTDERR: ocr0.c:391:12: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 391 | for (i=0;ip,xr-i,yu+i)< cs) break; i4=i; BUILDSTDERR: | ^~ BUILDSTDERR: ocr0.c:394:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 394 | if (getpixel(box1->p,xr-i,yu+i)>=cs) break; i4=i-i4; BUILDSTDERR: | ^~ BUILDSTDERR: ocr0.c:394:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 394 | if (getpixel(box1->p,xr-i,yu+i)>=cs) break; i4=i-i4; BUILDSTDERR: | ^~ BUILDSTDERR: ocr0.c:393:12: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 393 | for ( ;ip,xr-i,yu+i)>=cs) break; i4=i-i4; BUILDSTDERR: | ^~ BUILDSTDERR: ocr0.c:254:13: warning: variable 'x' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 254 | 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: 664 | 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: 664 | int i1, i2, i3, i4, i5; // line derivation + corners BUILDSTDERR: | ^~ BUILDSTDERR: ocr0.c: In function 'ocr0_n': BUILDSTDERR: ocr0.c:802:12: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 802 | if( i>y ) y=i; if( iy ) y=i; if( ihchar,gchar=sdata->gchar, BUILDSTDERR: | ^~ BUILDSTDERR: ocr0.c:870:14: warning: variable 'i0' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 870 | 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: 1160 | int i1, i2, i3, i4, i5, i6, i7, i8; // line derivation + corners BUILDSTDERR: | ^~ BUILDSTDERR: ocr0.c: In function 'ocr0_k': BUILDSTDERR: ocr0.c:1453:41: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1453 | i =loop(bp,dx-1,dy-1,dx,cs,0,LE); if(i>dx/2) BUILDSTDERR: | ^~ BUILDSTDERR: ocr0.c:1454:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1454 | i =loop(bp,dx-1,dy-2,dx,cs,0,LE); if(i>dx/2) Break; BUILDSTDERR: | ^~ BUILDSTDERR: ocr0.c:1374:37: warning: variable 'i7' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1374 | 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: 1488 | 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: 1629 | 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: 1629 | 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: 1629 | 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: 2254 | int i,j,d,x,y,i2,hchar=sdata->hchar,gchar=sdata->gchar, BUILDSTDERR: | ^~ BUILDSTDERR: ocr0.c: In function 'ocr0_m': BUILDSTDERR: ocr0.c:2656:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 2656 | if( i>y ) y=i; if( 2*iy ) y=i; if( 2*ihchar,gchar=sdata->gchar, BUILDSTDERR: | ^~ BUILDSTDERR: ocr0.c:2699:16: warning: variable 'i3' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2699 | 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_gG': BUILDSTDERR: ocr0.c:3055:39: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 3055 | y =loop(bp,dx/16,0,dy,cs,0,DO); if(y<=dy/8) BUILDSTDERR: | ^~ BUILDSTDERR: ocr0.c:3056:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 3056 | y+=loop(bp,dx/16,y,dy,cs,1,DO); if(16*y>=15*dy) Break; // ~B 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: 3246 | 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: 3688 | int i,j,d,x,y,hchar=sdata->hchar,gchar=sdata->gchar,handwritten=0, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ocr0.c: In function 'ocr0_aA': BUILDSTDERR: ocr0.c:3877:46: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 3877 | i4=num_cross(i2,x,y ,dy-1,bp,cs);if(i4<1 || i4>2) BUILDSTDERR: | ^~ BUILDSTDERR: ocr0.c:3878:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 3878 | i4=num_cross(i2,x,y+dy/16,dy-1,bp,cs);if(i4<1 || i4>2) break; BUILDSTDERR: | ^~ BUILDSTDERR: ocr0.c:3902:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 3902 | if(i1+i2>i3+dx/16) break; if( i1+12i3+dx/16) break; if( i1+122) BUILDSTDERR: | ^~ BUILDSTDERR: ocr0.c:4144:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 4144 | i4=num_cross(i2,x,y+dy/16,dy-1,bp,cs);if(i4<1 || i4>2) break; BUILDSTDERR: | ^~ BUILDSTDERR: ocr0.c:4170:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 4170 | if(i1+i2>i3+dx/16) break; if( i1+12i3+dx/16) break; if( i1+12 2 ) i++; if(i>dy/8) Break; // ~a \it a BUILDSTDERR: | ^~ BUILDSTDERR: ocr0.c:4922:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 4922 | if( num_cross(0,dx-1,y,y,bp,cs) > 2 ) i++; if(i>dy/8) Break; // ~a \it a BUILDSTDERR: | ^~ BUILDSTDERR: ocr0.c:4921:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 4921 | for(i=0,y=0;y 2 ) i++; if(i>dy/8) Break; // ~a \it a BUILDSTDERR: | ^~ BUILDSTDERR: ocr0.c: In function 'ocr0p9': BUILDSTDERR: ocr0.c:5911:8: warning: variable 'dbg' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 5911 | dbg[9]={0,0,0,0,0,0,0,0,0}, /* debugging space */ BUILDSTDERR: | ^~~ BUILDSTDERR: ocr0.c: In function 'ocr0px': BUILDSTDERR: ocr0.c:6396:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 6396 | if( j>10*dx/16 ) i=0; if ( j>j1 ) j1=j; } BUILDSTDERR: | ^~ BUILDSTDERR: ocr0.c:6396:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 6396 | if( j>10*dx/16 ) i=0; if ( j>j1 ) j1=j; } BUILDSTDERR: | ^~ BUILDSTDERR: ocr0.c:6415:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 6415 | if( i<=dx/2 ) break; ya-=y0; BUILDSTDERR: | ^~ BUILDSTDERR: ocr0.c:6415:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 6415 | if( i<=dx/2 ) break; ya-=y0; BUILDSTDERR: | ^~ BUILDSTDERR: ocr0.c:6367:17: warning: variable 'i4' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 6367 | i1,i2,i3,i4,j1,cs=sdata->cs; /* tmp-vars */ BUILDSTDERR: | ^~ make[1]: Entering directory '/builddir/build/BUILD/gocr-0.50/src' # make it conform to ld --as-needed #gcc -o gocr -lm -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld gocr.o ./libPgm2asc.a gcc -o gocr -lm -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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 # 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.rFTpD6 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gocr-0.50-10.1.fc30.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gocr-0.50-10.1.fc30.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/gocr-0.50-10.1.fc30.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gocr-0.50-10.1.fc30.x86_64 + cd gocr-0.50 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/gocr-0.50-10.1.fc30.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.fc30.x86_64/usr/bin /builddir/build/BUILDROOT/gocr-0.50-10.1.fc30.x86_64 /builddir/build/BUILDROOT/gocr-0.50-10.1.fc30.x86_64 install -p -d /builddir/build/BUILDROOT/gocr-0.50-10.1.fc30.x86_64/usr/bin install -p gocr /builddir/build/BUILDROOT/gocr-0.50-10.1.fc30.x86_64/usr/bin install -p ../bin/gocr.tcl /builddir/build/BUILDROOT/gocr-0.50-10.1.fc30.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.fc30.x86_64;\ install -p libPgm2asc.0.50.so /builddir/build/BUILDROOT/gocr-0.50-10.1.fc30.x86_64;\ install -p libPgm2asc.so /builddir/build/BUILDROOT/gocr-0.50-10.1.fc30.x86_64;\ fi # ToDo: not sure that the link will be installed correctly #install -p /builddir/build/BUILDROOT/gocr-0.50-10.1.fc30.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.fc30.x86_64/usr/share/man/man1 install -p -m 0644 ../man/man1/gocr.1 /builddir/build/BUILDROOT/gocr-0.50-10.1.fc30.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.fc30.x86_64/usr/lib64 /builddir/build/BUILDROOT/gocr-0.50-10.1.fc30.x86_64/usr/include + /usr/bin/rm /builddir/build/BUILDROOT/gocr-0.50-10.1.fc30.x86_64//usr/bin/gocr.tcl + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.50-10.1.fc30 --unique-debug-suffix -0.50-10.1.fc30.x86_64 --unique-debug-src-base gocr-0.50-10.1.fc30.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/gocr-0.50 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/gocr-0.50-10.1.fc30.x86_64/usr/bin/gocr extracting debug info from /builddir/build/BUILDROOT/gocr-0.50-10.1.fc30.x86_64/usr/bin/gocr /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 1786 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: gocr-0.50-10.1.fc30.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.hIY6r4 + umask 022 + cd /builddir/build/BUILD + cd gocr-0.50 + DOCDIR=/builddir/build/BUILDROOT/gocr-0.50-10.1.fc30.x86_64/usr/share/doc/gocr + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gocr-0.50-10.1.fc30.x86_64/usr/share/doc/gocr + cp -pr AUTHORS /builddir/build/BUILDROOT/gocr-0.50-10.1.fc30.x86_64/usr/share/doc/gocr + cp -pr BUGS /builddir/build/BUILDROOT/gocr-0.50-10.1.fc30.x86_64/usr/share/doc/gocr + cp -pr CREDITS /builddir/build/BUILDROOT/gocr-0.50-10.1.fc30.x86_64/usr/share/doc/gocr + cp -pr doc/gocr.html /builddir/build/BUILDROOT/gocr-0.50-10.1.fc30.x86_64/usr/share/doc/gocr + cp -pr HISTORY /builddir/build/BUILDROOT/gocr-0.50-10.1.fc30.x86_64/usr/share/doc/gocr + cp -pr README /builddir/build/BUILDROOT/gocr-0.50-10.1.fc30.x86_64/usr/share/doc/gocr + cp -pr REMARK.txt /builddir/build/BUILDROOT/gocr-0.50-10.1.fc30.x86_64/usr/share/doc/gocr + cp -pr REVIEW /builddir/build/BUILDROOT/gocr-0.50-10.1.fc30.x86_64/usr/share/doc/gocr + cp -pr TODO /builddir/build/BUILDROOT/gocr-0.50-10.1.fc30.x86_64/usr/share/doc/gocr + cp -pr READMEde.txt /builddir/build/BUILDROOT/gocr-0.50-10.1.fc30.x86_64/usr/share/doc/gocr + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.NNE5l2 + umask 022 + cd /builddir/build/BUILD + cd gocr-0.50 + LICENSEDIR=/builddir/build/BUILDROOT/gocr-0.50-10.1.fc30.x86_64/usr/share/licenses/gocr + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gocr-0.50-10.1.fc30.x86_64/usr/share/licenses/gocr + cp -pr gpl.html /builddir/build/BUILDROOT/gocr-0.50-10.1.fc30.x86_64/usr/share/licenses/gocr + exit 0 Provides: gocr = 0.50-10.1.fc30 gocr(x86-64) = 0.50-10.1.fc30 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) rtld(GNU_HASH) Obsoletes: gocr-devel <= 0.45-4 Processing files: gocr-debugsource-0.50-10.1.fc30.x86_64 Provides: gocr-debugsource = 0.50-10.1.fc30 gocr-debugsource(x86-64) = 0.50-10.1.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: gocr-debuginfo-0.50-10.1.fc30.x86_64 Provides: debuginfo(build-id) = 86c70e717c17610aeb6e7943451dc0c511396a2f gocr-debuginfo = 0.50-10.1.fc30 gocr-debuginfo(x86-64) = 0.50-10.1.fc30 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.50-10.1.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/gocr-0.50-10.1.fc30.x86_64 Wrote: /builddir/build/RPMS/gocr-0.50-10.1.fc30.x86_64.rpm Wrote: /builddir/build/RPMS/gocr-debugsource-0.50-10.1.fc30.x86_64.rpm Wrote: /builddir/build/RPMS/gocr-debuginfo-0.50-10.1.fc30.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.NfHVm2 + umask 022 + cd /builddir/build/BUILD + cd gocr-0.50 + /usr/bin/rm -rf /builddir/build/BUILDROOT/gocr-0.50-10.1.fc30.x86_64 + exit 0 Child return code was: 0