<86>Apr 29 03:06:07 userdel[18498]: delete user 'rooter'
<86>Apr 29 03:06:07 userdel[18498]: removed group 'rooter' owned by 'rooter'
<86>Apr 29 03:06:07 userdel[18498]: removed shadow group 'rooter' owned by 'rooter'
<86>Apr 29 03:06:07 groupadd[18587]: group added to /etc/group: name=rooter, GID=585
<86>Apr 29 03:06:07 groupadd[18587]: group added to /etc/gshadow: name=rooter
<86>Apr 29 03:06:07 groupadd[18587]: new group: name=rooter, GID=585
<86>Apr 29 03:06:07 useradd[18608]: new user: name=rooter, UID=585, GID=585, home=/root, shell=/bin/bash
<86>Apr 29 03:06:07 userdel[18657]: delete user 'builder'
<86>Apr 29 03:06:07 userdel[18657]: removed group 'builder' owned by 'builder'
<86>Apr 29 03:06:07 userdel[18657]: removed shadow group 'builder' owned by 'builder'
<86>Apr 29 03:06:07 groupadd[18696]: group added to /etc/group: name=builder, GID=586
<86>Apr 29 03:06:07 groupadd[18696]: group added to /etc/gshadow: name=builder
<86>Apr 29 03:06:07 groupadd[18696]: new group: name=builder, GID=586
<86>Apr 29 03:06:07 useradd[18715]: new user: name=builder, UID=586, GID=586, home=/usr/src, shell=/bin/bash
<13>Apr 29 03:06:12 rpmi: xorg-rgb-1.0.4-alt1.qa1 1366268675 installed
<13>Apr 29 03:06:12 rpmi: libnetpbm11-10.85.04-alt1 sisyphus+225727.140.8.1 1553672201 installed
<13>Apr 29 03:06:12 rpmi: libnetpbm-devel-10.85.04-alt1 sisyphus+225727.140.8.1 1553672201 installed
<13>Apr 29 03:06:12 rpmi: hostinfo-2.2-alt6 1366317204 installed
Building target platforms: x86_64
Building for target x86_64
Wrote: /usr/src/in/nosrpm/gocr-0.52-alt2.nosrc.rpm
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.66889
+ 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.54932
+ 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
+ '[' -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 -j8
make -C src all
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 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 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 ocr0n.o ocr0n.c
ocr0n.c: In function 'ocr0n':
ocr0n.c:1037:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
         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'
         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]
            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'
            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]
            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'
            if (j>x) x=j; i=y; }
                          ^
ocr0n.c:1163:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
         if( j<i ) i=j; if( j>i+dx/16 ) break;
         ^~
ocr0n.c:1163:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
         if( j<i ) i=j; if( j>i+dx/16 ) break;
                        ^~
ocr0n.c:1168:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
         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'
         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]
         if (i<x-dx/16-1) break; if (i>x) x=i;
         ^~
ocr0n.c:1316:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
         if (i<x-dx/16-1) break; if (i>x) x=i;
                                 ^~
ocr0n.c:47:18: warning: variable 'yb' set but not used [-Wunused-but-set-variable]
    int  xa,xb,ya,yb, /* tmp-vars */
                  ^~
ocr0n.c:47:15: warning: variable 'ya' set but not used [-Wunused-but-set-variable]
    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 database.o database.c
database.c: In function 'load_db':
database.c:60:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     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'
     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]
     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'
     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]
     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'
     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]
     fgets((char *)buf,200,stdin); /* including \n=0x0a */
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]
   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]
   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 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 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 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 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]
     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]
     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 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 barcode.o barcode.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 pgm2asc.o pgm2asc.c
pgm2asc.c: In function 'my_strchr':
pgm2asc.c:276:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
       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'
       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]
        || 0*(box2->x0 - pre2->x1 >  2*mono_em_min+mono_em_min/8  // min. 2 ex between
           ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           && box2->x0 - pre2->x1 <= 3*mono_em_max-mono_em_max/4  // ?????? ToDo oebb
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 //        && box2->x1 - pre2->x0 >  4*mono_em_max)) { // crossing 3 em border?
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           && 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]
              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'
              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]
            for (i=0;i<xr-xl+1 && i<yl-yu+1;i++)
            ^~~
ocr0.c:369:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
              if (getpixel(box1->p,xl+i,yu+i)< cs) break; i3=i;
                                                          ^~
ocr0.c:371:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
              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'
              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]
            for (   ;i<xr-xl+1 && i<yl-yu+1;i++)
            ^~~
ocr0.c:371:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
              if (getpixel(box1->p,xl+i,yu+i)>=cs) break; i3=i-i3;
                                                          ^~
ocr0.c:373:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
              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'
              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]
            for (i=0;i<xr-xl+1 && i<yl-yu+1;i++)
            ^~~
ocr0.c:373:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
              if (getpixel(box1->p,xr-i,yu+i)< cs) break; i4=i;
                                                          ^~
ocr0.c:375:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
              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'
              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]
            for (   ;i<xr-xl+1 && i<yl-yu+1;i++)
            ^~~
ocr0.c:375:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
              if (getpixel(box1->p,xr-i,yu+i)>=cs) break; i4=i-i4;
                                                          ^~
ocr0.c:235:13: warning: variable 'x' set but not used [-Wunused-but-set-variable]
    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]
      int i1, i2, i3, i4, i5;  // line derivation + corners
                      ^~
ocr0.c:648:14: warning: variable 'i2' set but not used [-Wunused-but-set-variable]
      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]
            if( i>y ) y=i; if( i<y/2 ) break;
            ^~
ocr0.c:788:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
            if( i>y ) y=i; if( i<y/2 ) break;
                           ^~
ocr0.c:741:27: warning: variable 'handwritten' set but not used [-Wunused-but-set-variable]
    int i,j,d,x,y,i1,i2,i3,handwritten=0,
                           ^~~~~~~~~~~
ocr0.c:741:24: warning: variable 'i3' set but not used [-Wunused-but-set-variable]
    int i,j,d,x,y,i1,i2,i3,handwritten=0,
                        ^~
ocr0.c: In function 'ocr0_M':
ocr0.c:856:14: warning: variable 'i0' set but not used [-Wunused-but-set-variable]
    int d,x,y,i0,i1,i2,i3,i4,i5,i6,i7,t1,
              ^~
ocr0.c: In function 'ocr0_h':
ocr0.c:1179:10: warning: variable 'i1' set but not used [-Wunused-but-set-variable]
      int i1, i2, i3, i4, i5, i6, i7, i8;  // line derivation + corners
          ^~
ocr0.c: In function 'ocr0_k':
ocr0.c:1479:41: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
       i =loop(bp,dx-1,dy-1,dx,cs,0,LE); if(i>dx/2)
                                         ^~
ocr0.c:1480:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
       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]
      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]
    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]
      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]
      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]
      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]
    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]
    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]
    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]
          if( i>y ) y=i; if( 2*i<y ) Break;
          ^~
ocr0.c:2768:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
          if( i>y ) y=i; if( 2*i<y ) Break;
                         ^~
ocr0.c: In function 'ocr0_tT':
ocr0.c:2812:25: warning: variable 'i6' set but not used [-Wunused-but-set-variable]
    int i,i1,i2,i3,i4,i5,i6, j,d,d2,x,y,yb,
                         ^~
ocr0.c:2812:22: warning: variable 'i5' set but not used [-Wunused-but-set-variable]
    int i,i1,i2,i3,i4,i5,i6, j,d,d2,x,y,yb,
                      ^~
ocr0.c: In function 'ocr0_gG':
ocr0.c:3228:39: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
       y =loop(bp,dx/16,0,dy,cs,0,DO); if(y<=dy/8)
                                       ^~
ocr0.c:3229:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
       y+=loop(bp,dx/16,y,dy,cs,1,DO); if(16*y>=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]
       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]
    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]
        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'
        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]
         if(i1+i2>i3+dx/16) break; if( i1+12<i3 ) i3=i1+i2;
         ^~
ocr0.c:4134:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
         if(i1+i2>i3+dx/16) break; if( i1+12<i3 ) i3=i1+i2;
                                   ^~
ocr0.c:4359:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
       if( y==dy/2 ) break; i1=y;
       ^~
ocr0.c:4359:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
       if( y==dy/2 ) break; i1=y;
                            ^~
ocr0.c:4375:46: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
        i4=num_cross(i2,x,y      ,dy-1,bp,cs);if(i4<1 || i4>2)
                                              ^~
ocr0.c:4376:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
        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]
         if(i1+i2>i3+dx/16) break; if( i1+12<i3 ) i3=i1+i2;
         ^~
ocr0.c:4402:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
         if(i1+i2>i3+dx/16) break; if( i1+12<i3 ) i3=i1+i2;
                                   ^~
ocr0.c: In function 'ocr0_oO':
ocr0.c:4952:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
         if( i<x ) break; x=i;
         ^~
ocr0.c:4952:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
         if( i<x ) break; x=i;
                          ^
ocr0.c: In function 'ocr0_qQ':
ocr0.c:5192:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
       if( num_cross(0,dx-1,y,y,bp,cs) > 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'
       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]
       for(i=0,y=0;y<dy/2;y++)
       ^~~
ocr0.c:5192:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
       if( num_cross(0,dx-1,y,y,bp,cs) > 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]
        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]
         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'
         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]
       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'
       if( i<=dx/2 ) break; ya-=y0;
                            ^~
ocr0.c:6660:17: warning: variable 'i4' set but not used [-Wunused-but-set-variable]
        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.64819
+ 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
+ cd gocr-0.52
+ make 'INSTALL=/bin/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'
#/bin/install -p -d /usr/src/tmp/gocr-buildroot/usr/bin /usr/src/tmp/gocr-buildroot /usr/src/tmp/gocr-buildroot
/bin/install -p -d /usr/src/tmp/gocr-buildroot/usr/bin
/bin/install -p gocr /usr/src/tmp/gocr-buildroot/usr/bin
/bin/install -p ../bin/gocr.tcl   /usr/src/tmp/gocr-buildroot/usr/bin  # better X11/bin?
if test -f libPgm2asc.a; then\
 /bin/install -p libPgm2asc.a /usr/src/tmp/gocr-buildroot;\
 /bin/install -p libPgm2asc.0.52.so /usr/src/tmp/gocr-buildroot;\
 /bin/install -p libPgm2asc.so /usr/src/tmp/gocr-buildroot;\
fi
# ToDo: not sure that the link will be installed correctly
#/bin/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'
/bin/install -p -d /usr/src/tmp/gocr-buildroot/usr/share/man/man1
/bin/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)
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.79241
+ 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.1NNygg
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.add5b7
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks)
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.IfAQg2
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.nEpmY1
find-provides: running scripts (debuginfo)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.cy57e6
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
Wrote: /usr/src/RPM/RPMS/x86_64/gocr-debuginfo-0.52-alt2.x86_64.rpm
39.12user 3.35system 1:00.38elapsed 70%CPU (0avgtext+0avgdata 148952maxresident)k
0inputs+0outputs (0major+610436minor)pagefaults 0swaps
46.43user 8.40system 1:17.70elapsed 70%CPU (0avgtext+0avgdata 148952maxresident)k
360inputs+0outputs (0major+900379minor)pagefaults 0swaps