<86>Feb 3 03:53:02 userdel[2508251]: delete user 'rooter' <86>Feb 3 03:53:02 userdel[2508251]: removed group 'rooter' owned by 'rooter' <86>Feb 3 03:53:02 groupadd[2508261]: group added to /etc/group: name=rooter, GID=681 <86>Feb 3 03:53:02 groupadd[2508261]: group added to /etc/gshadow: name=rooter <86>Feb 3 03:53:02 groupadd[2508261]: new group: name=rooter, GID=681 <86>Feb 3 03:53:02 useradd[2508267]: new user: name=rooter, UID=681, GID=681, home=/root, shell=/bin/bash <86>Feb 3 03:53:02 userdel[2508279]: delete user 'builder' <86>Feb 3 03:53:02 userdel[2508279]: removed group 'builder' owned by 'builder' <86>Feb 3 03:53:02 userdel[2508279]: removed shadow group 'builder' owned by 'builder' <86>Feb 3 03:53:02 groupadd[2508285]: group added to /etc/group: name=builder, GID=682 <86>Feb 3 03:53:02 groupadd[2508285]: group added to /etc/gshadow: name=builder <86>Feb 3 03:53:02 groupadd[2508285]: new group: name=builder, GID=682 <86>Feb 3 03:53:02 useradd[2508291]: new user: name=builder, UID=682, GID=682, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/gocr-0.52-alt2.src.rpm: The use of such a license name is ambiguous: GPL <13>Feb 3 03:53:04 rpmi: rgb-1.0.6-alt3 sisyphus+229441.100.1.2 1557940332 installed <13>Feb 3 03:53:04 rpmi: libnetpbm11-10.85.04-alt1 sisyphus+225727.140.8.1 1553672201 installed <13>Feb 3 03:53:04 rpmi: libnetpbm-devel-10.85.04-alt1 sisyphus+225727.140.8.1 1553672201 installed <13>Feb 3 03:53:04 rpmi: hostinfo-2.2-alt7 sisyphus+263410.100.1.1 1607875590 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/gocr-0.52-alt2.nosrc.rpm (w1.gzdio) Installing gocr-0.52-alt2.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.16577 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf gocr-0.52 + echo 'Source #0 (gocr-0.52.tar):' Source #0 (gocr-0.52.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/gocr-0.52.tar + cd gocr-0.52 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (gocr-netpbm.patch):' Patch #0 (gocr-netpbm.patch): + /usr/bin/patch -p2 patching file configure.in + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.16577 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd gocr-0.52 + autoconf + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + sort -u + readlink -e -- ./configure + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --with-netpbm=/usr/include/netpbm configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext checking for x86_64-alt-linux-gcc... x86_64-alt-linux-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 x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking for a BSD-compatible install... /bin/install -c checking whether make sets $(MAKE)... yes option: with_netpbm /usr/include/netpbm checking for library containing pnm_readpnminit... -lnetpbm checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /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... yes checking pam.h presence... yes checking for pam.h... yes checking pnm.h usability... yes checking pnm.h presence... yes checking for pnm.h... yes 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, --disable-silent-rules, --without-included-gettext + make -j8 make -C src all make[1]: Entering directory '/usr/src/RPM/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 '/usr/src/RPM/BUILD/gocr-0.52/src' make[1]: Entering directory '/usr/src/RPM/BUILD/gocr-0.52/src' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/netpbm -I../include -DHAVE_CONFIG_H -c -o list.o list.c make[1]: Leaving directory '/usr/src/RPM/BUILD/gocr-0.52/src' make[1]: Entering directory '/usr/src/RPM/BUILD/gocr-0.52/src' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/netpbm -I../include -DHAVE_CONFIG_H -c -o lines.o lines.c make[1]: Leaving directory '/usr/src/RPM/BUILD/gocr-0.52/src' make[1]: Entering directory '/usr/src/RPM/BUILD/gocr-0.52/src' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/netpbm -I../include -DHAVE_CONFIG_H -c -o box.o box.c make[1]: Leaving directory '/usr/src/RPM/BUILD/gocr-0.52/src' make[1]: Entering directory '/usr/src/RPM/BUILD/gocr-0.52/src' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/netpbm -I../include -DHAVE_CONFIG_H -c -o ocr1.o ocr1.c make[1]: Leaving directory '/usr/src/RPM/BUILD/gocr-0.52/src' make[1]: Entering directory '/usr/src/RPM/BUILD/gocr-0.52/src' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/netpbm -I../include -DHAVE_CONFIG_H -c -o otsu.o otsu.c make[1]: Leaving directory '/usr/src/RPM/BUILD/gocr-0.52/src' make[1]: Entering directory '/usr/src/RPM/BUILD/gocr-0.52/src' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/netpbm -I../include -DHAVE_CONFIG_H -c -o pixel.o pixel.c make[1]: Leaving directory '/usr/src/RPM/BUILD/gocr-0.52/src' make[1]: Entering directory '/usr/src/RPM/BUILD/gocr-0.52/src' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/netpbm -I../include -DHAVE_CONFIG_H -c -o output.o output.c output.c: In function 'out_b': output.c:36:27: warning: variable 'n1' set but not used [-Wunused-but-set-variable] 36 | int x,y,x2,y2,yy0,tx,ty,n1,i; | ^~ output.c: In function 'debug_img': output.c:210:13: warning: variable 'ic' set but not used [-Wunused-but-set-variable] 210 | int x, y, ic, dx, i, j, col; | ^~ make[1]: Leaving directory '/usr/src/RPM/BUILD/gocr-0.52/src' make[1]: Entering directory '/usr/src/RPM/BUILD/gocr-0.52/src' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/netpbm -I../include -DHAVE_CONFIG_H -c -o database.o database.c database.c: In function 'load_db': database.c:60:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 60 | if (!fgets(s1, Blen, f1)) break; line++; | ^~ database.c:60:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 60 | if (!fgets(s1, Blen, f1)) break; line++; | ^~~~ database.c: In function 'out_env': database.c:233:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 233 | if (x0<0) x0=0; if (x1>=b->x) x1=b->x-1; | ^~ database.c:233:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 233 | if (x0<0) x0=0; if (x1>=b->x) x1=b->x-1; | ^~ database.c:234:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 234 | if (y0<0) y0=0; if (y1>=b->y) y1=b->y-1; | ^~ database.c:234:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 234 | if (y0<0) y0=0; if (y1>=b->y) y1=b->y-1; | ^~ 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 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:532, from database.c:28: In function 'strncpy', inlined from 'store_db' at database.c:168:3: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ database.c: In function 'store_db': database.c:168:3: note: length computed here 168 | strncpy(s2+i2,s3,strlen(s3)); s2[i2+strlen(s3)]=0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/gocr-0.52/src' make[1]: Entering directory '/usr/src/RPM/BUILD/gocr-0.52/src' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/netpbm -I../include -DHAVE_CONFIG_H -c -o unicode.o unicode.c make[1]: Leaving directory '/usr/src/RPM/BUILD/gocr-0.52/src' make[1]: Entering directory '/usr/src/RPM/BUILD/gocr-0.52/src' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/netpbm -I../include -DHAVE_CONFIG_H -c -o detect.o detect.c make[1]: Leaving directory '/usr/src/RPM/BUILD/gocr-0.52/src' make[1]: Entering directory '/usr/src/RPM/BUILD/gocr-0.52/src' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/netpbm -I../include -DHAVE_CONFIG_H -c -o pcx.o pcx.c make[1]: Leaving directory '/usr/src/RPM/BUILD/gocr-0.52/src' make[1]: Entering directory '/usr/src/RPM/BUILD/gocr-0.52/src' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/netpbm -I../include -DHAVE_CONFIG_H -c -o job.o job.c make[1]: Leaving directory '/usr/src/RPM/BUILD/gocr-0.52/src' make[1]: Entering directory '/usr/src/RPM/BUILD/gocr-0.52/src' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/netpbm -I../include -DHAVE_CONFIG_H -c -o progress.o progress.c make[1]: Leaving directory '/usr/src/RPM/BUILD/gocr-0.52/src' make[1]: Entering directory '/usr/src/RPM/BUILD/gocr-0.52/src' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/netpbm -I../include -DHAVE_CONFIG_H -c -o pnm.o pnm.c make[1]: Leaving directory '/usr/src/RPM/BUILD/gocr-0.52/src' make[1]: Entering directory '/usr/src/RPM/BUILD/gocr-0.52/src' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/netpbm -I../include -DHAVE_CONFIG_H -c -o gocr.o gocr.c make[1]: Leaving directory '/usr/src/RPM/BUILD/gocr-0.52/src' make[1]: Entering directory '/usr/src/RPM/BUILD/gocr-0.52/src' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/netpbm -I../include -DHAVE_CONFIG_H -c -o remove.o remove.c remove.c: In function 'smooth_borders': remove.c:206:33: warning: variable 'dy' set but not used [-Wunused-but-set-variable] 206 | int ii=0,x,y,x0,x1,y0,y1,dx,dy,cs,i0,i1,i2,i3,i4,n1,n2, | ^~ remove.c:206:30: warning: variable 'dx' set but not used [-Wunused-but-set-variable] 206 | int ii=0,x,y,x0,x1,y0,y1,dx,dy,cs,i0,i1,i2,i3,i4,n1,n2, | ^~ make[1]: Leaving directory '/usr/src/RPM/BUILD/gocr-0.52/src' make[1]: Entering directory '/usr/src/RPM/BUILD/gocr-0.52/src' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/netpbm -I../include -DHAVE_CONFIG_H -c -o barcode.o barcode.c barcode.c: In function 'detect_barcode': barcode.c:1637:21: warning: 'box2' may be used uninitialized in this function [-Wmaybe-uninitialized] 1637 | bits[i]=((getpixel(box2->p, | ^~~~~~~~~~~~~~~~~ 1638 | x03 + ((i%x)*dx3 + dx3/2) / x, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1639 | y03 + ((i/x)*dy3 + dy3/2) / y) < job->cfg.cs) ? 1 : 0); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/gocr-0.52/src' make[1]: Entering directory '/usr/src/RPM/BUILD/gocr-0.52/src' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/netpbm -I../include -DHAVE_CONFIG_H -c -o ocr0n.o ocr0n.c ocr0n.c: In function 'ocr0n': ocr0n.c:1037:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1037 | if( num_cross(dx/2,dx-1,y,y,bp,cs) > 1 ) i++; if( i>dy/8 ) break; | ^~ ocr0n.c:1037:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1037 | if( num_cross(dx/2,dx-1,y,y,bp,cs) > 1 ) i++; if( i>dy/8 ) break; | ^~ ocr0n.c:1118:12: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1118 | if (j>x) x=j; i=y; if (i1>i2) i2=i1; } | ^~ ocr0n.c:1118:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1118 | if (j>x) x=j; i=y; if (i1>i2) i2=i1; } | ^ ocr0n.c:1144:12: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1144 | if (j>x) x=j; i=y; } | ^~ ocr0n.c:1144:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1144 | if (j>x) x=j; i=y; } | ^ ocr0n.c:1163:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1163 | if( ji+dx/16 ) break; | ^~ ocr0n.c:1163:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1163 | if( ji+dx/16 ) break; | ^~ ocr0n.c:1168:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1168 | if( num_cross(0,dx-1,y,y,bp,cs) > 2 ) i++; if( i>dy/8 ) break; | ^~ ocr0n.c:1168:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1168 | if( num_cross(0,dx-1,y,y,bp,cs) > 2 ) i++; if( i>dy/8 ) break; | ^~ ocr0n.c:1316:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1316 | if (ix) x=i; | ^~ ocr0n.c:1316:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1316 | if (ix) x=i; | ^~ ocr0n.c:47:18: warning: variable 'yb' set but not used [-Wunused-but-set-variable] 47 | int xa,xb,ya,yb, /* tmp-vars */ | ^~ ocr0n.c:47:15: warning: variable 'ya' set but not used [-Wunused-but-set-variable] 47 | int xa,xb,ya,yb, /* tmp-vars */ | ^~ make[1]: Leaving directory '/usr/src/RPM/BUILD/gocr-0.52/src' make[1]: Entering directory '/usr/src/RPM/BUILD/gocr-0.52/src' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/netpbm -I../include -DHAVE_CONFIG_H -c -o pgm2asc.o pgm2asc.c pgm2asc.c: In function 'my_strchr': pgm2asc.c:276:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 276 | if (s1) return 1; break; | ^~ pgm2asc.c:276:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 276 | if (s1) return 1; break; | ^~~~~ pgm2asc.c: In function 'measure_pitch': pgm2asc.c:1607:12: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 1607 | || 0*(box2->x0 - pre2->x1 > 2*mono_em_min+mono_em_min/8 // min. 2 ex between | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1608 | && box2->x0 - pre2->x1 <= 3*mono_em_max-mono_em_max/4 // ?????? ToDo oebb | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1609 | // && box2->x1 - pre2->x0 > 4*mono_em_max)) { // crossing 3 em border? | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1610 | && box2->x1 - pre2->x0 > 4*mono_em_min+mono_em_min/2)) { // 2018-09 rnd80 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/gocr-0.52/src' make[1]: Entering directory '/usr/src/RPM/BUILD/gocr-0.52/src' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/netpbm -I../include -DHAVE_CONFIG_H -c -o ocr0.o ocr0.c ocr0.c: In function 'testumlaut': ocr0.c:369:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 369 | if (getpixel(box1->p,xl+i,yu+i)< cs) break; i3=i; | ^~ ocr0.c:369:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 369 | if (getpixel(box1->p,xl+i,yu+i)< cs) break; i3=i; | ^~ ocr0.c:368:12: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 368 | for (i=0;ip,xl+i,yu+i)< cs) break; i3=i; | ^~ ocr0.c:371:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 371 | if (getpixel(box1->p,xl+i,yu+i)>=cs) break; i3=i-i3; | ^~ ocr0.c:371:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 371 | if (getpixel(box1->p,xl+i,yu+i)>=cs) break; i3=i-i3; | ^~ ocr0.c:370:12: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 370 | for ( ;ip,xl+i,yu+i)>=cs) break; i3=i-i3; | ^~ ocr0.c:373:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 373 | if (getpixel(box1->p,xr-i,yu+i)< cs) break; i4=i; | ^~ ocr0.c:373:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 373 | if (getpixel(box1->p,xr-i,yu+i)< cs) break; i4=i; | ^~ ocr0.c:372:12: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 372 | for (i=0;ip,xr-i,yu+i)< cs) break; i4=i; | ^~ ocr0.c:375:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 375 | if (getpixel(box1->p,xr-i,yu+i)>=cs) break; i4=i-i4; | ^~ ocr0.c:375:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 375 | if (getpixel(box1->p,xr-i,yu+i)>=cs) break; i4=i-i4; | ^~ ocr0.c:374:12: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 374 | for ( ;ip,xr-i,yu+i)>=cs) break; i4=i-i4; | ^~ ocr0.c:235:13: warning: variable 'x' set but not used [-Wunused-but-set-variable] 235 | int r,y,x,x0,x1,y0,y1,dx,dy,m1,m2,m3, | ^ ocr0.c: In function 'ocr0_eE': ocr0.c:648:22: warning: variable 'i4' set but not used [-Wunused-but-set-variable] 648 | int i1, i2, i3, i4, i5; // line derivation + corners | ^~ ocr0.c:648:14: warning: variable 'i2' set but not used [-Wunused-but-set-variable] 648 | int i1, i2, i3, i4, i5; // line derivation + corners | ^~ ocr0.c: In function 'ocr0_n': ocr0.c:788:12: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 788 | if( i>y ) y=i; if( iy ) y=i; if( idx/2) | ^~ ocr0.c:1480:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1480 | i =loop(bp,dx-1,dy-2,dx,cs,0,LE); if(i>dx/2) Break; | ^~ ocr0.c:1399:37: warning: variable 'i7' set but not used [-Wunused-but-set-variable] 1399 | int d, i1, i2, i3, i4, i5, i6, i7, i8; // line derivation + corners | ^~ ocr0.c: In function 'ocr0_K': ocr0.c:1514:12: warning: variable 'i1' set but not used [-Wunused-but-set-variable] 1514 | int i,j,i1,i2,d,x,y,hchar=sdata->hchar,gchar=sdata->gchar, | ^~ ocr0.c: In function 'ocr0_f': ocr0.c:1658:41: warning: variable 'i8' set but not used [-Wunused-but-set-variable] 1658 | int d, i1, i2, i3, i4, i5, i6, i7, i8, i9; // line derivation + corners | ^~ ocr0.c:1658:33: warning: variable 'i6' set but not used [-Wunused-but-set-variable] 1658 | int d, i1, i2, i3, i4, i5, i6, i7, i8, i9; // line derivation + corners | ^~ ocr0.c:1658:25: warning: variable 'i4' set but not used [-Wunused-but-set-variable] 1658 | int d, i1, i2, i3, i4, i5, i6, i7, i8, i9; // line derivation + corners | ^~ ocr0.c: In function 'ocr0_uU': ocr0.c:2208:17: warning: unused variable 'i4' [-Wunused-variable] 2208 | int i1,i2,i3,i4,i,j,d,x,y,hchar=sdata->hchar,gchar=sdata->gchar, | ^~ ocr0.c:2208:14: warning: unused variable 'i3' [-Wunused-variable] 2208 | int i1,i2,i3,i4,i,j,d,x,y,hchar=sdata->hchar,gchar=sdata->gchar, | ^~ ocr0.c: In function 'ocr0_micro': ocr0.c:2318:18: warning: variable 'i2' set but not used [-Wunused-but-set-variable] 2318 | int i,j,d,x,y,i2,hchar=sdata->hchar,gchar=sdata->gchar, | ^~ ocr0.c: In function 'ocr0_m': ocr0.c:2768:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2768 | if( i>y ) y=i; if( 2*iy ) y=i; if( 2*i=15*dy) Break; // ~B | ^~ ocr0.c: In function 'ocr0_xX': ocr0.c:3420:27: warning: variable 'i4' set but not used [-Wunused-but-set-variable] 3420 | int ld, i1, i2, i3, i4; // lien derivation, 4 inner edges | ^~ ocr0.c: In function 'ocr0_wW': ocr0.c:3920:56: warning: variable 'handwritten' set but not used [-Wunused-but-set-variable] 3920 | int i,j,d,x,y,hchar=sdata->hchar,gchar=sdata->gchar,handwritten=0, | ^~~~~~~~~~~ ocr0.c: In function 'ocr0_aA': ocr0.c:4109:46: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4109 | i4=num_cross(i2,x,y ,dy-1,bp,cs);if(i4<1 || i4>2) | ^~ ocr0.c:4110:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4110 | i4=num_cross(i2,x,y+dy/16,dy-1,bp,cs);if(i4<1 || i4>2) break; | ^~ ocr0.c:4134:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4134 | if(i1+i2>i3+dx/16) break; if( i1+12i3+dx/16) break; if( i1+122) | ^~ ocr0.c:4376:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4376 | i4=num_cross(i2,x,y+dy/16,dy-1,bp,cs);if(i4<1 || i4>2) break; | ^~ ocr0.c:4402:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4402 | 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 | ^~ ocr0.c:5192:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 5192 | if( num_cross(0,dx-1,y,y,bp,cs) > 2 ) i++; if(i>dy/8) Break; // ~a \it a | ^~ ocr0.c:5191:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 5191 | for(i=0,y=0;y 2 ) i++; if(i>dy/8) Break; // ~a \it a | ^~ ocr0.c: In function 'ocr0p9': ocr0.c:6197:8: warning: variable 'dbg' set but not used [-Wunused-but-set-variable] 6197 | dbg[9]={0,0,0,0,0,0,0,0,0}, /* debugging space */ | ^~~ ocr0.c: In function 'ocr0px': ocr0.c:6689:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 6689 | if( j>10*dx/16 ) i=0; if ( j>j1 ) j1=j; } | ^~ ocr0.c:6689:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 6689 | if( j>10*dx/16 ) i=0; if ( j>j1 ) j1=j; } | ^~ ocr0.c:6708:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 6708 | if( i<=dx/2 ) break; ya-=y0; | ^~ ocr0.c:6708:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 6708 | if( i<=dx/2 ) break; ya-=y0; | ^~ ocr0.c:6660:17: warning: variable 'i4' set but not used [-Wunused-but-set-variable] 6660 | i1,i2,i3,i4,j1,cs=sdata->cs; /* tmp-vars */ | ^~ make[1]: Leaving directory '/usr/src/RPM/BUILD/gocr-0.52/src' make[1]: Entering directory '/usr/src/RPM/BUILD/gocr-0.52/src' # make it conform to ld --as-needed #x86_64-alt-linux-gcc -o gocr -lm gocr.o ./libPgm2asc.a -lnetpbm x86_64-alt-linux-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 '/usr/src/RPM/BUILD/gocr-0.52/src' make: Entering directory '/usr/src/RPM/BUILD/gocr-0.52' --- for help do: make help --- for documentation do: make doc --- for examples do: make examples --- for testing do: bin/gocr_chk.sh [testbasedir?=.] make: Leaving directory '/usr/src/RPM/BUILD/gocr-0.52' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.21260 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/gocr-buildroot + : + /bin/rm -rf -- /usr/src/tmp/gocr-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd gocr-0.52 + make 'INSTALL=/usr/libexec/rpm-build/install -p' install DESTDIR=/usr/src/tmp/gocr-buildroot make: Entering directory '/usr/src/RPM/BUILD/gocr-0.52' make -C src install make[1]: Entering directory '/usr/src/RPM/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/libexec/rpm-build/install -p -d /usr/src/tmp/gocr-buildroot/usr/bin /usr/src/tmp/gocr-buildroot /usr/src/tmp/gocr-buildroot /usr/libexec/rpm-build/install -p -d /usr/src/tmp/gocr-buildroot/usr/bin /usr/libexec/rpm-build/install -p gocr /usr/src/tmp/gocr-buildroot/usr/bin /usr/libexec/rpm-build/install -p ../bin/gocr.tcl /usr/src/tmp/gocr-buildroot/usr/bin # better X11/bin? if test -f libPgm2asc.a; then\ /usr/libexec/rpm-build/install -p libPgm2asc.a /usr/src/tmp/gocr-buildroot;\ /usr/libexec/rpm-build/install -p libPgm2asc.0.52.so /usr/src/tmp/gocr-buildroot;\ /usr/libexec/rpm-build/install -p libPgm2asc.so /usr/src/tmp/gocr-buildroot;\ fi # ToDo: not sure that the link will be installed correctly #/usr/libexec/rpm-build/install -p /usr/src/tmp/gocr-buildroot make[1]: Leaving directory '/usr/src/RPM/BUILD/gocr-0.52/src' make -C man install make[1]: Entering directory '/usr/src/RPM/BUILD/gocr-0.52/man' /usr/libexec/rpm-build/install -p -d /usr/src/tmp/gocr-buildroot/usr/share/man/man1 /usr/libexec/rpm-build/install -p ../man/man1/gocr.1 /usr/src/tmp/gocr-buildroot/usr/share/man/man1 make[1]: Leaving directory '/usr/src/RPM/BUILD/gocr-0.52/man' # following steps are not needed for end users, but cost dependencies # therefore removed in 0.48 # make -C doc install # make -C examples install # make -C frontend install make: Leaving directory '/usr/src/RPM/BUILD/gocr-0.52' + rm -f /usr/src/tmp/gocr-buildroot/usr/bin/gocr.tcl + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/gocr-buildroot (auto) Verifying and fixing files in /usr/src/tmp/gocr-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/gocr-buildroot/ (default) Compressing files in /usr/src/tmp/gocr-buildroot (auto) mode of '/usr/src/tmp/gocr-buildroot/usr/share/man/man1/gocr.1' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying ELF objects in /usr/src/tmp/gocr-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: gocr-0.52-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.21260 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd gocr-0.52 + DOCDIR=/usr/src/tmp/gocr-buildroot/usr/share/doc/gocr-0.52 + export DOCDIR + rm -rf /usr/src/tmp/gocr-buildroot/usr/share/doc/gocr-0.52 + /bin/mkdir -p /usr/src/tmp/gocr-buildroot/usr/share/doc/gocr-0.52 + cp -prL AUTHORS BUGS CREDITS HISTORY README READMEde.txt REMARK.txt REVIEW TODO /usr/src/tmp/gocr-buildroot/usr/share/doc/gocr-0.52 + chmod -R go-w /usr/src/tmp/gocr-buildroot/usr/share/doc/gocr-0.52 + chmod -R a+rX /usr/src/tmp/gocr-buildroot/usr/share/doc/gocr-0.52 + cp -prL doc/examples.txt doc/gocr.html doc/unicode.txt /usr/src/tmp/gocr-buildroot/usr/share/doc/gocr-0.52 + chmod -R go-w /usr/src/tmp/gocr-buildroot/usr/share/doc/gocr-0.52 + chmod -R a+rX /usr/src/tmp/gocr-buildroot/usr/share/doc/gocr-0.52 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.xKRx0c find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.q2YJUb find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: gzip, bzip2, /usr/bin/djpeg, netpbm, transfig, /lib64/ld-linux-x86-64.so.2, 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), libnetpbm.so.11()(64bit) >= set:mjZ0qYz89LQObwZ8eb, rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.gm17Pa Creating gocr-debuginfo package Processing files: gocr-debuginfo-0.52-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.QGA2Hd find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.maJW39 find-requires: running scripts (debuginfo) Requires: gocr = 0.52-alt2, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libnetpbm.so.11) Adding to gocr-debuginfo a strict dependency on gocr Wrote: /usr/src/RPM/RPMS/x86_64/gocr-0.52-alt2.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/gocr-debuginfo-0.52-alt2.x86_64.rpm (w2.lzdio) 16.17user 1.57system 0:14.60elapsed 121%CPU (0avgtext+0avgdata 148340maxresident)k 0inputs+0outputs (0major+627410minor)pagefaults 0swaps /.out/gocr-0.52-alt2.x86_64.rpm: The use of such a license name is ambiguous: GPL /.out/gocr-debuginfo-0.52-alt2.x86_64.rpm: The use of such a license name is ambiguous: GPL 19.42user 4.14system 0:20.12elapsed 117%CPU (0avgtext+0avgdata 148340maxresident)k 128inputs+0outputs (0major+931976minor)pagefaults 0swaps