Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/unpaper.spec'], chrootPath='/var/lib/mock/f33-build-296167-55641/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/unpaper.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595980800 Wrote: /builddir/build/SRPMS/unpaper-0.3-24.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/unpaper.spec'], chrootPath='/var/lib/mock/f33-build-296167-55641/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/unpaper.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595980800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SQRw8l + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf unpaper-0.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/unpaper-0.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd unpaper-0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (unpaper-0.3-format-security.patch):' Patch #0 (unpaper-0.3-format-security.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/unpaper.c + sed -i -e 's/\r//' LICENSE + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Tilbvi + umask 022 + cd /builddir/build/BUILD + cd unpaper-0.3 + cd src + gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o unpaper unpaper.c -lm unpaper.c: In function 'loadImage': unpaper.c:1884:9: warning: variable 'inputSizeFile' set but not used [-Wunused-but-set-variable] 1884 | int inputSizeFile; | ^~~~~~~~~~~~~ unpaper.c: In function 'blackfilterScan': unpaper.c:3069:9: warning: variable 'total' set but not used [-Wunused-but-set-variable] 3069 | int total; | ^~~~~ unpaper.c: In function 'grayfilter': unpaper.c:3277:9: warning: variable 'total' set but not used [-Wunused-but-set-variable] 3277 | int total; | ^~~~~ unpaper.c: In function 'loadImage': unpaper.c:1918:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1918 | fread(magic, 1, 2, f); | ^~~~~~~~~~~~~~~~~~~~~ unpaper.c:1939:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1939 | fscanf(f, "%s", word); | ^~~~~~~~~~~~~~~~~~~~~ unpaper.c:1942:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1942 | fscanf(f, "%c", &c); | ^~~~~~~~~~~~~~~~~~~ unpaper.c:1944:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1944 | fscanf(f, "%s", word); | ^~~~~~~~~~~~~~~~~~~~~ unpaper.c:1948:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1948 | fscanf(f, "%d", &image->height); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unpaper.c:1953:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1953 | fscanf(f, "%s", word); | ^~~~~~~~~~~~~~~~~~~~~ unpaper.c:1956:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1956 | fscanf(f, "%c", &c); | ^~~~~~~~~~~~~~~~~~~ unpaper.c:1958:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1958 | fscanf(f, "%s", word); | ^~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.BqjPTh + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/unpaper-0.3-24.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/unpaper-0.3-24.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/unpaper-0.3-24.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/unpaper-0.3-24.fc33.riscv64 + cd unpaper-0.3 + install -d /builddir/build/BUILDROOT/unpaper-0.3-24.fc33.riscv64//usr/bin + install -p -m 0755 src/unpaper /builddir/build/BUILDROOT/unpaper-0.3-24.fc33.riscv64//usr/bin + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.3-24.fc33 --unique-debug-suffix -0.3-24.fc33.riscv64 --unique-debug-src-base unpaper-0.3-24.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/unpaper-0.3 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/unpaper-0.3-24.fc33.riscv64/usr/bin/unpaper extracting debug info from /builddir/build/BUILDROOT/unpaper-0.3-24.fc33.riscv64/usr/bin/unpaper original debug info size: 772kB, size after compression: 768kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 445 blocks + /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/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: unpaper-0.3-24.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.di4ydl + umask 022 + cd /builddir/build/BUILD + cd unpaper-0.3 + DOCDIR=/builddir/build/BUILDROOT/unpaper-0.3-24.fc33.riscv64/usr/share/doc/unpaper + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/unpaper-0.3-24.fc33.riscv64/usr/share/doc/unpaper + cp -pr doc /builddir/build/BUILDROOT/unpaper-0.3-24.fc33.riscv64/usr/share/doc/unpaper + cp -pr CHANGELOG /builddir/build/BUILDROOT/unpaper-0.3-24.fc33.riscv64/usr/share/doc/unpaper + cp -pr README /builddir/build/BUILDROOT/unpaper-0.3-24.fc33.riscv64/usr/share/doc/unpaper + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.flBfRk + umask 022 + cd /builddir/build/BUILD + cd unpaper-0.3 + LICENSEDIR=/builddir/build/BUILDROOT/unpaper-0.3-24.fc33.riscv64/usr/share/licenses/unpaper + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/unpaper-0.3-24.fc33.riscv64/usr/share/licenses/unpaper + cp -pr LICENSE /builddir/build/BUILDROOT/unpaper-0.3-24.fc33.riscv64/usr/share/licenses/unpaper + RPM_EC=0 ++ jobs -p + exit 0 Provides: unpaper = 0.3-24.fc33 unpaper(riscv-64) = 0.3-24.fc33 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) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: unpaper-debugsource-0.3-24.fc33.riscv64 Provides: unpaper-debugsource = 0.3-24.fc33 unpaper-debugsource(riscv-64) = 0.3-24.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: unpaper-debuginfo-0.3-24.fc33.riscv64 Provides: debuginfo(build-id) = 77da10462c34ca5e28f27d404ddc0a8115167580 unpaper-debuginfo = 0.3-24.fc33 unpaper-debuginfo(riscv-64) = 0.3-24.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: unpaper-debugsource(riscv-64) = 0.3-24.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/unpaper-0.3-24.fc33.riscv64 Wrote: /builddir/build/RPMS/unpaper-0.3-24.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/unpaper-debuginfo-0.3-24.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/unpaper-debugsource-0.3-24.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.l8cHTl + umask 022 + cd /builddir/build/BUILD + cd unpaper-0.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/unpaper-0.3-24.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0