Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/unpaper.spec'], chrootPath='/var/lib/mock/f29-build-10312-4655/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/unpaper-0.3-19.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/unpaper.spec'], chrootPath='/var/lib/mock/f29-build-10312-4655/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0XdDXC + 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 . Patch #0 (unpaper-0.3-format-security.patch): + echo '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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cbcqGu + umask 022 + cd /builddir/build/BUILD + cd unpaper-0.3 + cd src + gcc -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o unpaper unpaper.c -lm BUILDSTDERR: unpaper.c: In function 'implode': BUILDSTDERR: unpaper.c:1015:17: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] BUILDSTDERR: sprintf(buf, "%s, %s", buf, s[i]); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: unpaper.c:1017:17: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] BUILDSTDERR: sprintf(buf, "%s, %s", buf, BLANK_TEXT); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: unpaper.c: In function 'loadImage': BUILDSTDERR: unpaper.c:1884:9: warning: variable 'inputSizeFile' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int inputSizeFile; BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: unpaper.c: In function 'blackfilterScan': BUILDSTDERR: unpaper.c:3069:9: warning: variable 'total' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int total; BUILDSTDERR: ^~~~~ BUILDSTDERR: unpaper.c: In function 'grayfilter': BUILDSTDERR: unpaper.c:3277:9: warning: variable 'total' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int total; BUILDSTDERR: ^~~~~ BUILDSTDERR: unpaper.c: In function 'loadImage': BUILDSTDERR: unpaper.c:1918:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread(magic, 1, 2, f); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unpaper.c:1939:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(f, "%s", word); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unpaper.c:1942:13: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(f, "%c", &c); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unpaper.c:1944:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(f, "%s", word); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unpaper.c:1948:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(f, "%d", &image->height); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unpaper.c:1953:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(f, "%s", word); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unpaper.c:1956:17: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(f, "%c", &c); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unpaper.c:1958:13: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(f, "%s", word); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ChU8xA + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/unpaper-0.3-19.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/unpaper-0.3-19.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/unpaper-0.3-19.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/unpaper-0.3-19.fc29.riscv64 + cd unpaper-0.3 + install -d /builddir/build/BUILDROOT/unpaper-0.3-19.fc29.riscv64//usr/bin + install -p -m 0755 src/unpaper /builddir/build/BUILDROOT/unpaper-0.3-19.fc29.riscv64//usr/bin + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.3-19.fc29 --unique-debug-suffix -0.3-19.fc29.riscv64 --unique-debug-src-base unpaper-0.3-19.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/unpaper-0.3 extracting debug info from /builddir/build/BUILDROOT/unpaper-0.3-19.fc29.riscv64/usr/bin/unpaper /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 445 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /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 /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: unpaper-0.3-19.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pHeTgn + umask 022 + cd /builddir/build/BUILD + cd unpaper-0.3 + DOCDIR=/builddir/build/BUILDROOT/unpaper-0.3-19.fc29.riscv64/usr/share/doc/unpaper + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/unpaper-0.3-19.fc29.riscv64/usr/share/doc/unpaper + cp -pr doc /builddir/build/BUILDROOT/unpaper-0.3-19.fc29.riscv64/usr/share/doc/unpaper + cp -pr CHANGELOG /builddir/build/BUILDROOT/unpaper-0.3-19.fc29.riscv64/usr/share/doc/unpaper + cp -pr README /builddir/build/BUILDROOT/unpaper-0.3-19.fc29.riscv64/usr/share/doc/unpaper + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.u3m5cx + umask 022 + cd /builddir/build/BUILD + cd unpaper-0.3 + LICENSEDIR=/builddir/build/BUILDROOT/unpaper-0.3-19.fc29.riscv64/usr/share/licenses/unpaper + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/unpaper-0.3-19.fc29.riscv64/usr/share/licenses/unpaper + cp -pr LICENSE /builddir/build/BUILDROOT/unpaper-0.3-19.fc29.riscv64/usr/share/licenses/unpaper + exit 0 Provides: unpaper = 0.3-19.fc29 unpaper(riscv-64) = 0.3-19.fc29 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-19.fc29.riscv64 Provides: unpaper-debugsource = 0.3-19.fc29 unpaper-debugsource(riscv-64) = 0.3-19.fc29 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-19.fc29.riscv64 Provides: debuginfo(build-id) = 2dc8352ff086cc2e2f1fbb12df1efeea4f20f819 unpaper-debuginfo = 0.3-19.fc29 unpaper-debuginfo(riscv-64) = 0.3-19.fc29 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-19.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/unpaper-0.3-19.fc29.riscv64 Wrote: /builddir/build/RPMS/unpaper-0.3-19.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/unpaper-debugsource-0.3-19.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/unpaper-debuginfo-0.3-19.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.wFRsQo + umask 022 + cd /builddir/build/BUILD + cd unpaper-0.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/unpaper-0.3-19.fc29.riscv64 + exit 0 Child return code was: 0