Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/gocr.spec'], chrootPath='/var/lib/mock/f40-build-793936-139322/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/gocr.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706054400 Wrote: /builddir/build/SRPMS/gocr-0.52-14.fc40.src.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gocr.spec'], chrootPath='/var/lib/mock/f40-build-793936-139322/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gocr.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706054400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HzzMHk + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gocr-0.52 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gocr-0.52.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd gocr-0.52 + rm -rf /builddir/build/BUILD/gocr-0.52-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/gocr-0.52-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (gocr-0.46-perms.patch):' Patch #0 (gocr-0.46-perms.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .perms --fuzz=0 patching file man/Makefile.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MGZw2R + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd gocr-0.52 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' x '!=' x ']' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info configure: WARNING: unrecognized options: --disable-dependency-tracking checking for riscv64-redhat-linux-gnu-gcc... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking for library containing pnm_readpnminit... -lnetpbm checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/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... no checking pam.h presence... no checking for pam.h... no checking pnm.h usability... no checking pnm.h presence... no checking for pnm.h... no checking for an ANSI C-conforming const... yes checking for 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 + make -j4 make -C src all make[1]: Entering directory '/builddir/build/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 gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I../include -DHAVE_CONFIG_H -c -o pgm2asc.o pgm2asc.c gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I../include -DHAVE_CONFIG_H -c -o box.o box.c gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I../include -DHAVE_CONFIG_H -c -o database.o database.c gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I../include -DHAVE_CONFIG_H -c -o detect.o detect.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 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ database.c: In function 'store_db': database.c:168:3: warning: '__builtin___strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 168 | strncpy(s2+i2,s3,strlen(s3)); s2[i2+strlen(s3)]=0; | ^ database.c:168:3: note: length computed here 168 | strncpy(s2+i2,s3,strlen(s3)); s2[i2+strlen(s3)]=0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I../include -DHAVE_CONFIG_H -c -o barcode.o barcode.c gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I../include -DHAVE_CONFIG_H -c -o lines.o lines.c gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I../include -DHAVE_CONFIG_H -c -o list.o list.c gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -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:1565:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1565 | if(j<=i ) Break; i=j; | ^~ ocr0.c:1565:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1565 | if(j<=i ) Break; i=j; | ^ ocr0.c:1514:13: 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_dD': ocr0.c:2087:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2087 | if (dx<6) Break; ad=95*ad/100; } // glued j above 8 (4x6 sample) | ^~ ocr0.c:2087:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2087 | if (dx<6) Break; ad=95*ad/100; } // glued j above 8 (4x6 sample) | ^~ ocr0.c: In function 'ocr0_uU': ocr0.c:2208:18: 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:15: 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:19: 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*i3*dx/4) Break; if(x>dx/2) { ad=98*ad/100; MSG({})} | ^~ ocr0.c:3115:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3115 | if (x>3*dx/4) Break; if(x>dx/2) { ad=98*ad/100; MSG({})} | ^~ ocr0.c: In function 'ocr0_gG': ocr0.c:3228:39: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3228 | 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' 3229 | 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] 3420 | int ld, i1, i2, i3, i4; // lien derivation, 4 inner edges | ^~ ocr0.c: In function 'ocr0_wW': ocr0.c:3920:57: 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:4091:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4091 | if( y==ya+dy/2 ) Break; i1=y; | ^~ ocr0.c:4091:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4091 | if( y==ya+dy/2 ) Break; i1=y; | ^~ 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 'ocr0_brackets': ocr0.c:5814:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 5814 | if (d >sq(1024/4)) Break; ad=ad-d*100/sq(1024); | ^~ ocr0.c:5814:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 5814 | if (d >sq(1024/4)) Break; ad=ad-d*100/sq(1024); | ^~ ocr0.c:5820:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 5820 | if (d >sq(1024/4)) Break; ad=ad-d*100/sq(1024); | ^~ ocr0.c:5820:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 5820 | if (d >sq(1024/4)) Break; ad=ad-d*100/sq(1024); | ^~ ocr0.c:5841:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 5841 | if (d >sq(1024/4)) Break; ad=ad-d*100/sq(1024); | ^~ ocr0.c:5841:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 5841 | if (d >sq(1024/4)) Break; ad=ad-d*100/sq(1024); | ^~ ocr0.c:5851:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 5851 | if (d >sq(1024/4)) Break; ad=ad-d*100/sq(1024); | ^~ ocr0.c:5851:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 5851 | if (d >sq(1024/4)) Break; ad=ad-d*100/sq(1024); | ^~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -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 */ | ^~ 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 */ | ^~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I../include -DHAVE_CONFIG_H -c -o ocr1.o ocr1.c gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I../include -DHAVE_CONFIG_H -c -o otsu.o otsu.c gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -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; | ^~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I../include -DHAVE_CONFIG_H -c -o pixel.o pixel.c gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I../include -DHAVE_CONFIG_H -c -o unicode.o unicode.c gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -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, | ^~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I../include -DHAVE_CONFIG_H -c -o pnm.o pnm.c pnm.c: In function 'readpgm': pnm.c:340:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 340 | if (f1) fclose(f1); f1=NULL; return(-1); | ^~ pnm.c:340:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 340 | if (f1) fclose(f1); f1=NULL; return(-1); | ^~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I../include -DHAVE_CONFIG_H -c -o pcx.o pcx.c gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I../include -DHAVE_CONFIG_H -c -o progress.o progress.c gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I../include -DHAVE_CONFIG_H -c -o job.o job.c gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I../include -DHAVE_CONFIG_H -c -o gocr.o gocr.c # make it conform to ld --as-needed #gcc -o gocr -lm -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes gocr.o ./libPgm2asc.a -lnetpbm gcc -o gocr -lm -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes gocr.o pgm2asc.o box.o database.o detect.o barcode.o lines.o list.o ocr0.o ocr0n.o ocr1.o otsu.o output.o pixel.o unicode.o remove.o pnm.o pcx.o progress.o job.o -lnetpbm # if test -r gocr; then cp gocr ../bin; fi make[1]: Leaving directory '/builddir/build/BUILD/gocr-0.52/src' --- for help do: make help --- for documentation do: make doc --- for examples do: make examples --- for testing do: bin/gocr_chk.sh [testbasedir?=.] + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.hT8lp5 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd gocr-0.52 + rm -rf /builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64 'INSTALL=install -p' make -C src install make[1]: Entering directory '/builddir/build/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 #install -p -d /builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64/usr/bin /builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64 /builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64 install -p -d /builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64/usr/bin install -p gocr /builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64/usr/bin install -p ../bin/gocr.tcl /builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64/usr/bin # better X11/bin? if test -f libPgm2asc.a; then\ install -p libPgm2asc.a /builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64;\ install -p libPgm2asc.0.52.so /builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64;\ install -p libPgm2asc.so /builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64;\ fi # ToDo: not sure that the link will be installed correctly #install -p /builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64 make[1]: Leaving directory '/builddir/build/BUILD/gocr-0.52/src' make -C man install make[1]: Entering directory '/builddir/build/BUILD/gocr-0.52/man' install -p -d /builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64/usr/share/man/man1 install -p -m 0644 ../man/man1/gocr.1 /builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64/usr/share/man/man1 make[1]: Leaving directory '/builddir/build/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 + rm -rf /builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64/usr/lib64 /builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64/usr/include + rm /builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64//usr/bin/gocr.tcl + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.52-14.fc40 --unique-debug-suffix -0.52-14.fc40.riscv64 --unique-debug-src-base gocr-0.52-14.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/gocr-0.52 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/gocr-0.52-14.fc40.riscv64 1868 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: gocr-0.52-14.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.TVpjv8 + umask 022 + cd /builddir/build/BUILD + cd gocr-0.52 + DOCDIR=/builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64/usr/share/doc/gocr + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64/usr/share/doc/gocr + cp -pr /builddir/build/BUILD/gocr-0.52/AUTHORS /builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64/usr/share/doc/gocr + cp -pr /builddir/build/BUILD/gocr-0.52/BUGS /builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64/usr/share/doc/gocr + cp -pr /builddir/build/BUILD/gocr-0.52/CREDITS /builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64/usr/share/doc/gocr + cp -pr /builddir/build/BUILD/gocr-0.52/doc/gocr.html /builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64/usr/share/doc/gocr + cp -pr /builddir/build/BUILD/gocr-0.52/gpl.html /builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64/usr/share/doc/gocr + cp -pr /builddir/build/BUILD/gocr-0.52/HISTORY /builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64/usr/share/doc/gocr + cp -pr /builddir/build/BUILD/gocr-0.52/README /builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64/usr/share/doc/gocr + cp -pr /builddir/build/BUILD/gocr-0.52/REMARK.txt /builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64/usr/share/doc/gocr + cp -pr /builddir/build/BUILD/gocr-0.52/REVIEW /builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64/usr/share/doc/gocr + cp -pr /builddir/build/BUILD/gocr-0.52/TODO /builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64/usr/share/doc/gocr + cp -pr /builddir/build/BUILD/gocr-0.52/READMEde.txt /builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64/usr/share/doc/gocr + RPM_EC=0 ++ jobs -p + exit 0 Provides: gocr = 0.52-14.fc40 gocr(riscv-64) = 0.52-14.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.34)(64bit) libm.so.6()(64bit) rtld(GNU_HASH) Obsoletes: gocr-devel <= 0.45-4 Processing files: gocr-debugsource-0.52-14.fc40.riscv64 Provides: gocr-debugsource = 0.52-14.fc40 gocr-debugsource(riscv-64) = 0.52-14.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: gocr-debuginfo-0.52-14.fc40.riscv64 Provides: debuginfo(build-id) = 58a2e7b12aafd40fc432dfdc35384f8c30f8558c gocr-debuginfo = 0.52-14.fc40 gocr-debuginfo(riscv-64) = 0.52-14.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: gocr-debugsource(riscv-64) = 0.52-14.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64 Wrote: /builddir/build/RPMS/gocr-0.52-14.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/gocr-debuginfo-0.52-14.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/gocr-debugsource-0.52-14.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.SSAaKn + umask 022 + cd /builddir/build/BUILD + cd gocr-0.52 + /usr/bin/rm -rf /builddir/build/BUILDROOT/gocr-0.52-14.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.61KpOG + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/gocr-0.52-SPECPARTS + rm -rf gocr-0.52 gocr-0.52.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0