<86>Sep 17 00:53:08 userdel[3158883]: delete user 'rooter' <86>Sep 17 00:53:08 userdel[3158883]: removed group 'rooter' owned by 'rooter' <86>Sep 17 00:53:08 userdel[3158883]: removed shadow group 'rooter' owned by 'rooter' <86>Sep 17 00:53:08 groupadd[3158949]: group added to /etc/group: name=rooter, GID=1844 <86>Sep 17 00:53:08 groupadd[3158949]: group added to /etc/gshadow: name=rooter <86>Sep 17 00:53:08 groupadd[3158949]: new group: name=rooter, GID=1844 <86>Sep 17 00:53:08 useradd[3159021]: new user: name=rooter, UID=1844, GID=1844, home=/root, shell=/bin/bash <86>Sep 17 00:53:08 userdel[3159128]: delete user 'builder' <86>Sep 17 00:53:08 userdel[3159128]: removed group 'builder' owned by 'builder' <86>Sep 17 00:53:08 userdel[3159128]: removed shadow group 'builder' owned by 'builder' <86>Sep 17 00:53:08 groupadd[3159199]: group added to /etc/group: name=builder, GID=1845 <86>Sep 17 00:53:08 groupadd[3159199]: group added to /etc/gshadow: name=builder <86>Sep 17 00:53:08 groupadd[3159199]: new group: name=builder, GID=1845 <86>Sep 17 00:53:08 useradd[3159267]: new user: name=builder, UID=1845, GID=1845, 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>Sep 17 00:53:11 rpmi: rgb-1.0.6-alt3 sisyphus+275450.100.1.2 1624513780 installed <13>Sep 17 00:53:11 rpmi: libnetpbm11-10.85.04-alt1 sisyphus+275743.100.1.1 1624752207 installed <13>Sep 17 00:53:11 rpmi: libnetpbm-devel-10.85.04-alt1 sisyphus+275743.100.1.1 1624752207 installed <13>Sep 17 00:53:11 rpmi: hostinfo-2.2-alt7 sisyphus+278100.2200.1.1 1626058508 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.57941 + 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.63335 + 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 + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./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 -j16 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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.85022 + 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) Processing files: gocr-0.52-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.39112 + 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.vDkTS1 find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.cHMtT1 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,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.F5b6UY 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.dKG2s2 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.GTWVU0 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) 12.43user 2.82system 0:12.51elapsed 121%CPU (0avgtext+0avgdata 145200maxresident)k 0inputs+0outputs (0major+571836minor)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 3.19user 1.89system 0:20.23elapsed 25%CPU (0avgtext+0avgdata 125736maxresident)k 96inputs+0outputs (0major+202644minor)pagefaults 0swaps --- gocr-0.52-alt2.x86_64.rpm.repo 2019-03-27 07:42:11.000000000 +0000 +++ gocr-0.52-alt2.x86_64.rpm.hasher 2023-09-17 00:53:26.503489549 +0000 @@ -31,3 +31,3 @@ Provides: gocr = 0.52-alt2:sisyphus+225727.400.8.1 -File: /usr/bin/gocr 100755 root:root 97fe5bad31a0aceeec17b075ae316d34 +File: /usr/bin/gocr 100755 root:root 028cbeff1b583c84808ba35bedfb0512 File: /usr/share/doc/gocr-0.52 40755 root:root @@ -46,2 +46,2 @@ File: /usr/share/man/man1/gocr.1.xz 100644 root:root 0a8c9fe9b7194d497ec02483da43e54f -RPMIdentity: 8aee9f68caecebc007c9b83fe2c935caa10f753efb20fab44fe7652f4b586c97866fde71415d2d5e00ed91e3d776033389658631487a40778b8f26ad22c4e5c7 +RPMIdentity: fd01da0f9078552489b63699be8077d4191c3f31ab4bad3f416b0a48a45473230e5d54df2224bf597bcda4f2fd308d6694d8a72c41f11fc22ade24e794e54815 --- gocr-debuginfo-0.52-alt2.x86_64.rpm.repo 2019-03-27 07:42:12.000000000 +0000 +++ gocr-debuginfo-0.52-alt2.x86_64.rpm.hasher 2023-09-17 00:53:26.623491155 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/e5 40755 root:root -/usr/lib/debug/.build-id/e5/9a13d2c9add144ceb5103b286d9490f0acf441 120777 root:root ../../../../bin/gocr -/usr/lib/debug/.build-id/e5/9a13d2c9add144ceb5103b286d9490f0acf441.debug 120777 root:root ../../usr/bin/gocr.debug +/usr/lib/debug/.build-id/6d 40755 root:root +/usr/lib/debug/.build-id/6d/f2e76965028e16fd849c739d54654a77954a5a 120777 root:root ../../../../bin/gocr +/usr/lib/debug/.build-id/6d/f2e76965028e16fd849c739d54654a77954a5a.debug 120777 root:root ../../usr/bin/gocr.debug /usr/lib/debug/usr/bin/gocr.debug 100644 root:root @@ -43,6 +43,6 @@ Provides: gocr-debuginfo = 0.52-alt2:sisyphus+225727.400.8.1 -File: /usr/lib/debug/.build-id/e5 40755 root:root -File: /usr/lib/debug/.build-id/e5/9a13d2c9add144ceb5103b286d9490f0acf441 120777 root:root ../../../../bin/gocr -File: /usr/lib/debug/.build-id/e5/9a13d2c9add144ceb5103b286d9490f0acf441.debug 120777 root:root ../../usr/bin/gocr.debug -File: /usr/lib/debug/usr/bin/gocr.debug 100644 root:root 9e0324463f1d40b2c91a767fb6f384c6 +File: /usr/lib/debug/.build-id/6d 40755 root:root +File: /usr/lib/debug/.build-id/6d/f2e76965028e16fd849c739d54654a77954a5a 120777 root:root ../../../../bin/gocr +File: /usr/lib/debug/.build-id/6d/f2e76965028e16fd849c739d54654a77954a5a.debug 120777 root:root ../../usr/bin/gocr.debug +File: /usr/lib/debug/usr/bin/gocr.debug 100644 root:root 5e1daa7f1baf2538bd718bba158c398a File: /usr/src/debug/gocr-0.52 40755 root:root @@ -80,2 +80,2 @@ File: /usr/src/debug/gocr-0.52/src/unicode.h 100644 root:root 0a194e5d6b4a5e94584c5c64ce1c8a39 -RPMIdentity: d19bc6b9b7f6cd238ad0946482dbd3d0ffbb0535fddf740d1c914e6b1a35b079b7be06c2a8108a965af6f7e6018eb13d57f284f98a49d2b11495a114e2d13723 +RPMIdentity: a54626fd1e5253a821aeca2516b3f5275c86bcf69619371974a91341fda0616a1dc8ce76878e69143caee858de078738b25cab4e119f01b9796bca095fe7bcef