Mock Version: 2.11 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ocrad.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1624124063.744747/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6a2kqwc9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6a2kqwc9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '459419b39b6f49ec95838b85dffaa65b', '-D', '/var/lib/mock/epel-8-x86_64-1624124063.744747/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6a2kqwc9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ocrad.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ocrad-0.26-5.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ocrad.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1624124063.744747/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6a2kqwc9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6a2kqwc9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'be2ac3b16bf44b3e9b909257f4663680', '-D', '/var/lib/mock/epel-8-x86_64-1624124063.744747/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6a2kqwc9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ocrad.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qDzgtv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ocrad-0.26 + /usr/bin/lzip -dc /builddir/build/SOURCES/ocrad-0.26.tar.lz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ocrad-0.26 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (ocrad-0.25-nostatic.patch): + echo 'Patch #0 (ocrad-0.25-nostatic.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .nostatic --fuzz=0 patching file Makefile.in Hunk #1 succeeded at 100 (offset 1 line). + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IfKWut + umask 022 + cd /builddir/build/BUILD + cd ocrad-0.26 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 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' ']' ++ find . -name ltmain.sh + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info configure: WARNING: unrecognized option: '--build=x86_64-redhat-linux-gnu' configure: WARNING: unrecognized option: '--host=x86_64-redhat-linux-gnu' configure: WARNING: unrecognized option: '--program-prefix=' configure: WARNING: unrecognized option: '--disable-dependency-tracking' configure: WARNING: unrecognized option: '--sbindir=/usr/sbin' configure: WARNING: unrecognized option: '--sysconfdir=/etc' configure: WARNING: unrecognized option: '--datadir=/usr/share' configure: WARNING: unrecognized option: '--libexecdir=/usr/libexec' configure: WARNING: unrecognized option: '--localstatedir=/var' configure: WARNING: unrecognized option: '--sharedstatedir=/var/lib' creating config.status creating Makefile VPATH = . prefix = /usr exec_prefix = /usr bindir = /usr/bin datarootdir = $(prefix)/share includedir = /usr/include infodir = /usr/share/info libdir = /usr/lib64 mandir = /usr/share/man CXX = g++ CPPFLAGS = CXXFLAGS = -Wall -W -O2 LDFLAGS = OK. Now you can run make. + make 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o common.o common.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o segment.o segment.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mask.o mask.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o rational.o rational.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o rectangle.o rectangle.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o track.o track.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o iso_8859.o iso_8859.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o ucs.o ucs.cc ucs.cc: In function 'int UCS::compose(int, int)': ucs.cc:103:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( accent == ':' ) return CADIAER; break; ^~ ucs.cc:103:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if( accent == ':' ) return CADIAER; break; ^~~~~ ucs.cc:107:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( accent == ':' ) return CEDIAER; break; ^~ ucs.cc:107:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if( accent == ':' ) return CEDIAER; break; ^~~~~ ucs.cc:113:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( accent == ':' ) return CIDIAER; break; ^~ ucs.cc:113:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if( accent == ':' ) return CIDIAER; break; ^~~~~ ucs.cc:118:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( accent == ':' ) return CODIAER; break; ^~ ucs.cc:118:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if( accent == ':' ) return CODIAER; break; ^~~~~ ucs.cc:124:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( accent == ':' ) return CUDIAER; break; ^~ ucs.cc:124:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if( accent == ':' ) return CUDIAER; break; ^~~~~ ucs.cc:126:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( accent == ':' ) return CYDIAER; break; ^~ ucs.cc:126:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if( accent == ':' ) return CYDIAER; break; ^~~~~ ucs.cc:131:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( accent == ':' ) return SADIAER; break; ^~ ucs.cc:131:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if( accent == ':' ) return SADIAER; break; ^~~~~ ucs.cc:135:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( accent == ':' ) return SEDIAER; break; ^~ ucs.cc:135:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if( accent == ':' ) return SEDIAER; break; ^~~~~ ucs.cc:144:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( accent == ':' ) return SIDIAER; break; ^~ ucs.cc:144:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if( accent == ':' ) return SIDIAER; break; ^~~~~ ucs.cc:149:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( accent == ':' ) return SODIAER; break; ^~ ucs.cc:149:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if( accent == ':' ) return SODIAER; break; ^~~~~ ucs.cc:155:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( accent == ':' ) return SUDIAER; break; ^~ ucs.cc:155:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if( accent == ':' ) return SUDIAER; break; ^~~~~ ucs.cc:157:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( accent == ':' ) return SYDIAER; break; ^~ ucs.cc:157:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if( accent == ':' ) return SYDIAER; break; ^~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o user_filter.o user_filter.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o page_image.o page_image.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o page_image_io.o page_image_io.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o bitmap.o bitmap.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o blob.o blob.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o profile.o profile.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o feats.o feats.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o feats_test0.o feats_test0.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o feats_test1.o feats_test1.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o character.o character.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o character_r11.o character_r11.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o character_r12.o character_r12.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o character_r13.o character_r13.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o textline.o textline.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o textline_r2.o textline_r2.cc textline_r2.cc: In member function 'void Textline::recognize2(const Charset&)': textline_r2.cc:499:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( c1.bottom() < c2.bottom() - 2 ) continue; break; ^~ textline_r2.cc:499:67: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if( c1.bottom() < c2.bottom() - 2 ) continue; break; ^~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o textblock.o textblock.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o textpage.o textpage.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o arg_parser.o arg_parser.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DPROGVERSION=\"0.26\" -c -o main.o main.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -o ocrad common.o segment.o mask.o rational.o rectangle.o track.o iso_8859.o ucs.o user_filter.o page_image.o page_image_io.o bitmap.o blob.o profile.o feats.o feats_test0.o feats_test1.o character.o character_r11.o character_r12.o character_r13.o textline.o textline_r2.o textblock.o textpage.o arg_parser.o main.o g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o ocradlib.o ocradlib.cc ocradlib.cc: In function 'int OCRAD_set_image(OCRAD_Descriptor*, const OCRAD_Pixmap*, bool)': ocradlib.cc:113:15: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] catch( std::bad_alloc ) ^~~~~~~~~ ocradlib.cc: In function 'int OCRAD_set_image_from_file(OCRAD_Descriptor*, const char*, bool)': ocradlib.cc:139:15: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] catch( std::bad_alloc ) ^~~~~~~~~ ar -rcs libocrad.a common.o segment.o mask.o rational.o rectangle.o track.o iso_8859.o ucs.o user_filter.o page_image.o page_image_io.o bitmap.o blob.o profile.o feats.o feats_test0.o feats_test1.o character.o character_r11.o character_r12.o character_r13.o textline.o textline_r2.o textblock.o textpage.o ocradlib.o + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6hR9Aw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64 + cd ocrad-0.26 + rm -rf /builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64 + make install DESTDIR=/builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64 'INSTALL=install -p' if [ ! -d "/builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64/usr/bin" ] ; then install -p -d -m 755 "/builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64/usr/bin" ; fi if [ ! -d "/builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64/usr/include" ] ; then install -p -d -m 755 "/builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64/usr/include" ; fi if [ ! -d "/builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64/usr/lib64" ] ; then install -p -d -m 755 "/builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64/usr/lib64" ; fi install -p -m 755 ./ocrad "/builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64/usr/bin/ocrad" if [ ! -d "/builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64/usr/share/info" ] ; then install -p -d -m 755 "/builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64/usr/share/info" ; fi rm -f "/builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64/usr/share/info/ocrad.info"* install -p -m 644 ./doc/ocrad.info "/builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64/usr/share/info/ocrad.info" if /bin/sh -c "install-info --version" > /dev/null 2>&1 ; then \ install-info --info-dir="/builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64/usr/share/info" "/builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64/usr/share/info/ocrad.info" ; \ fi if [ ! -d "/builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64/usr/share/man/man1" ] ; then install -p -d -m 755 "/builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64/usr/share/man/man1" ; fi rm -f "/builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64/usr/share/man/man1/ocrad.1"* install -p -m 644 ./doc/ocrad.1 "/builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64/usr/share/man/man1/ocrad.1" + mkdir -p /builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64/usr/share/man/man1 + install -p doc/ocrad.1 /builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64/usr/share/man/man1 + rm -f /builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64/usr/share/info/dir + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.26-5.el8 --unique-debug-suffix -0.26-5.el8.x86_64 --unique-debug-src-base ocrad-0.26-5.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/ocrad-0.26 extracting debug info from /builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64/usr/bin/ocrad /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 745 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: ocrad-0.26-5.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.YDcGYw + umask 022 + cd /builddir/build/BUILD + cd ocrad-0.26 + DOCDIR=/builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64/usr/share/doc/ocrad + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64/usr/share/doc/ocrad + cp -pr AUTHORS /builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64/usr/share/doc/ocrad + cp -pr COPYING /builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64/usr/share/doc/ocrad + cp -pr ChangeLog /builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64/usr/share/doc/ocrad + cp -pr NEWS /builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64/usr/share/doc/ocrad + cp -pr README /builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64/usr/share/doc/ocrad + exit 0 Provides: ocrad = 0.26-5.el8 ocrad(x86-64) = 0.26-5.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.1)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: ocrad-debugsource-0.26-5.el8.x86_64 Provides: ocrad-debugsource = 0.26-5.el8 ocrad-debugsource(x86-64) = 0.26-5.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ocrad-debuginfo-0.26-5.el8.x86_64 Provides: debuginfo(build-id) = 1c1c4ca831a73d8ef7858dfcc4a6294ca78fd2db ocrad-debuginfo = 0.26-5.el8 ocrad-debuginfo(x86-64) = 0.26-5.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ocrad-debugsource(x86-64) = 0.26-5.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64 Wrote: /builddir/build/RPMS/ocrad-0.26-5.el8.x86_64.rpm Wrote: /builddir/build/RPMS/ocrad-debugsource-0.26-5.el8.x86_64.rpm Wrote: /builddir/build/RPMS/ocrad-debuginfo-0.26-5.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.LbBcmu + umask 022 + cd /builddir/build/BUILD + cd ocrad-0.26 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ocrad-0.26-5.el8.x86_64 + exit 0 Child return code was: 0