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/dmg2img.spec'], chrootPath='/var/lib/mock/f29-build-27377-14456/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=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/dmg2img.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 Wrote: /builddir/build/SRPMS/dmg2img-1.6.7-5.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/dmg2img.spec'], chrootPath='/var/lib/mock/f29-build-27377-14456/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=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/dmg2img.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.97OQgc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dmg2img-1.6.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/dmg2img-1.6.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dmg2img-1.6.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (dmg2img-1.6.2-nostrip.patch):' Patch #0 (dmg2img-1.6.2-nostrip.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kIUCLe + umask 022 + cd /builddir/build/BUILD + cd dmg2img-1.6.7 + make CC=gcc '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 -fasynchronous-unwind-tables -fstack-clash-protection' -j4 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 -c dmg2img.c 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 -c base64.c 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 -c adc.c 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 -o vfdecrypt vfdecrypt.c -lcrypto BUILDSTDERR: In file included from dmg2img.c:31: BUILDSTDERR: dmg2img.h: In function 'read_kolyblk': BUILDSTDERR: dmg2img.h:147:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread(k, 0x200, 1, F); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from dmg2img.c:33: BUILDSTDERR: mntcmd.h: In function 'read_gpt_header': BUILDSTDERR: mntcmd.h:11:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread(h, sizeof(struct _gpt_header), 1, F); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mntcmd.h: In function 'read_gpt_entry': BUILDSTDERR: mntcmd.h:17:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread(e, sizeof(struct _gpt_entry), 1, F); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dmg2img.c: In function 'main': BUILDSTDERR: dmg2img.c:226:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread(plist, kolyblk.XMLLength, 1, FIN); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dmg2img.c:303:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread(plist, kolyblk.RsrcForkLength, 1, FIN); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vfdecrypt.c: In function 'main': BUILDSTDERR: vfdecrypt.c:333:18: warning: variable 'oflag' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int iflag = 0, oflag = 0, pflag = 0, kflag = 0, verbose = 0; BUILDSTDERR: ^~~~~ BUILDSTDERR: vfdecrypt.c:333:7: warning: variable 'iflag' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int iflag = 0, oflag = 0, pflag = 0, kflag = 0, verbose = 0; BUILDSTDERR: ^~~~~ BUILDSTDERR: vfdecrypt.c:400:7: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: system(cmd); BUILDSTDERR: ^~~~~~~~~~~ gcc -o dmg2img dmg2img.o base64.o adc.o -L. -lz -lbz2 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.z7xABw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dmg2img-1.6.7-5.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dmg2img-1.6.7-5.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/dmg2img-1.6.7-5.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dmg2img-1.6.7-5.fc29.riscv64 + cd dmg2img-1.6.7 + install -D -p -m 0755 dmg2img /builddir/build/BUILDROOT/dmg2img-1.6.7-5.fc29.riscv64/usr/bin/dmg2img + install -D -p -m 0755 vfdecrypt /builddir/build/BUILDROOT/dmg2img-1.6.7-5.fc29.riscv64/usr/bin/vfdecrypt + install -D -p -m 0644 vfdecrypt.1 /builddir/build/BUILDROOT/dmg2img-1.6.7-5.fc29.riscv64/usr/share/man/man1/vfdecrypt.1 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.6.7-5.fc29 --unique-debug-suffix -1.6.7-5.fc29.riscv64 --unique-debug-src-base dmg2img-1.6.7-5.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/dmg2img-1.6.7 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dmg2img-1.6.7-5.fc29.riscv64/usr/bin/dmg2img explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dmg2img-1.6.7-5.fc29.riscv64/usr/bin/vfdecrypt extracting debug info from /builddir/build/BUILDROOT/dmg2img-1.6.7-5.fc29.riscv64/usr/bin/dmg2img extracting debug info from /builddir/build/BUILDROOT/dmg2img-1.6.7-5.fc29.riscv64/usr/bin/vfdecrypt /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 102 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 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: dmg2img-1.6.7-5.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ah9ToI + umask 022 + cd /builddir/build/BUILD + cd dmg2img-1.6.7 + DOCDIR=/builddir/build/BUILDROOT/dmg2img-1.6.7-5.fc29.riscv64/usr/share/doc/dmg2img + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dmg2img-1.6.7-5.fc29.riscv64/usr/share/doc/dmg2img + cp -pr README /builddir/build/BUILDROOT/dmg2img-1.6.7-5.fc29.riscv64/usr/share/doc/dmg2img + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Fb6RVW + umask 022 + cd /builddir/build/BUILD + cd dmg2img-1.6.7 + LICENSEDIR=/builddir/build/BUILDROOT/dmg2img-1.6.7-5.fc29.riscv64/usr/share/licenses/dmg2img + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dmg2img-1.6.7-5.fc29.riscv64/usr/share/licenses/dmg2img + cp -pr COPYING /builddir/build/BUILDROOT/dmg2img-1.6.7-5.fc29.riscv64/usr/share/licenses/dmg2img + exit 0 Provides: dmg2img = 1.6.7-5.fc29 dmg2img(riscv-64) = 1.6.7-5.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) libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypto.so.10()(64bit) libcrypto.so.10(libcrypto.so.10)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: dmg2img-debugsource-1.6.7-5.fc29.riscv64 Provides: dmg2img-debugsource = 1.6.7-5.fc29 dmg2img-debugsource(riscv-64) = 1.6.7-5.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: dmg2img-debuginfo-1.6.7-5.fc29.riscv64 Provides: debuginfo(build-id) = 59caec4296b3926006e2ba389f01281b251266e6 debuginfo(build-id) = 990e54986cd6e1be69df987f94a9778fe4ba9917 dmg2img-debuginfo = 1.6.7-5.fc29 dmg2img-debuginfo(riscv-64) = 1.6.7-5.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dmg2img-debugsource(riscv-64) = 1.6.7-5.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dmg2img-1.6.7-5.fc29.riscv64 Wrote: /builddir/build/RPMS/dmg2img-1.6.7-5.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/dmg2img-debugsource-1.6.7-5.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/dmg2img-debuginfo-1.6.7-5.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.dJfHLc + umask 022 + cd /builddir/build/BUILD + cd dmg2img-1.6.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/dmg2img-1.6.7-5.fc29.riscv64 + exit 0 Child return code was: 0