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/dmg2img.spec'], chrootPath='/var/lib/mock/f33-build-127277-40210/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/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 setting SOURCE_DATE_EPOCH=1580169600 Wrote: /builddir/build/SRPMS/dmg2img-1.6.7-8.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/dmg2img.spec'], chrootPath='/var/lib/mock/f33-build-127277-40210/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/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 setting SOURCE_DATE_EPOCH=1580169600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qByZ4d + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dmg2img-1.6.7 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/dmg2img-1.6.7.tar.gz + 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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WNSEcd + 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 In file included from dmg2img.c:31: dmg2img.h: In function 'read_kolyblk': dmg2img.h:147:2: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 147 | fread(k, 0x200, 1, F); | ^~~~~~~~~~~~~~~~~~~~~ In file included from dmg2img.c:33: mntcmd.h: In function 'read_gpt_header': mntcmd.h:11:2: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fread(h, sizeof(struct _gpt_header), 1, F); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mntcmd.h: In function 'read_gpt_entry': mntcmd.h:17:2: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fread(e, sizeof(struct _gpt_entry), 1, F); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dmg2img.c: In function 'main': dmg2img.c:226:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 226 | fread(plist, kolyblk.XMLLength, 1, FIN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dmg2img.c:303:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 303 | fread(plist, kolyblk.RsrcForkLength, 1, FIN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vfdecrypt.c: In function 'main': vfdecrypt.c:333:18: warning: variable 'oflag' set but not used [-Wunused-but-set-variable] 333 | int iflag = 0, oflag = 0, pflag = 0, kflag = 0, verbose = 0; | ^~~~~ vfdecrypt.c:333:7: warning: variable 'iflag' set but not used [-Wunused-but-set-variable] 333 | int iflag = 0, oflag = 0, pflag = 0, kflag = 0, verbose = 0; | ^~~~~ vfdecrypt.c:400:7: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 400 | system(cmd); | ^~~~~~~~~~~ gcc -o dmg2img dmg2img.o base64.o adc.o -L. -lz -lbz2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.V5zg6a + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dmg2img-1.6.7-8.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dmg2img-1.6.7-8.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/dmg2img-1.6.7-8.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dmg2img-1.6.7-8.fc33.riscv64 + cd dmg2img-1.6.7 + install -D -p -m 0755 dmg2img /builddir/build/BUILDROOT/dmg2img-1.6.7-8.fc33.riscv64/usr/bin/dmg2img + install -D -p -m 0755 vfdecrypt /builddir/build/BUILDROOT/dmg2img-1.6.7-8.fc33.riscv64/usr/bin/vfdecrypt + install -D -p -m 0644 vfdecrypt.1 /builddir/build/BUILDROOT/dmg2img-1.6.7-8.fc33.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-8.fc33 --unique-debug-suffix -1.6.7-8.fc33.riscv64 --unique-debug-src-base dmg2img-1.6.7-8.fc33.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-8.fc33.riscv64/usr/bin/vfdecrypt explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dmg2img-1.6.7-8.fc33.riscv64/usr/bin/dmg2img extracting debug info from /builddir/build/BUILDROOT/dmg2img-1.6.7-8.fc33.riscv64/usr/bin/vfdecrypt extracting debug info from /builddir/build/BUILDROOT/dmg2img-1.6.7-8.fc33.riscv64/usr/bin/dmg2img original debug info size: 192kB, size after compression: 192kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 102 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 /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: dmg2img-1.6.7-8.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.5jC8jd + umask 022 + cd /builddir/build/BUILD + cd dmg2img-1.6.7 + DOCDIR=/builddir/build/BUILDROOT/dmg2img-1.6.7-8.fc33.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-8.fc33.riscv64/usr/share/doc/dmg2img + cp -pr README /builddir/build/BUILDROOT/dmg2img-1.6.7-8.fc33.riscv64/usr/share/doc/dmg2img + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.cRygJe + umask 022 + cd /builddir/build/BUILD + cd dmg2img-1.6.7 + LICENSEDIR=/builddir/build/BUILDROOT/dmg2img-1.6.7-8.fc33.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-8.fc33.riscv64/usr/share/licenses/dmg2img + cp -pr COPYING /builddir/build/BUILDROOT/dmg2img-1.6.7-8.fc33.riscv64/usr/share/licenses/dmg2img + RPM_EC=0 ++ jobs -p + exit 0 Provides: dmg2img = 1.6.7-8.fc33 dmg2img(riscv-64) = 1.6.7-8.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) 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-8.fc33.riscv64 Provides: dmg2img-debugsource = 1.6.7-8.fc33 dmg2img-debugsource(riscv-64) = 1.6.7-8.fc33 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-8.fc33.riscv64 Provides: debuginfo(build-id) = 1e162ce72450a26b265fabe3149653246539beca debuginfo(build-id) = 9890c64858a0ccfb61bacc612c9672a236b5e0f4 dmg2img-debuginfo = 1.6.7-8.fc33 dmg2img-debuginfo(riscv-64) = 1.6.7-8.fc33 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-8.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dmg2img-1.6.7-8.fc33.riscv64 Wrote: /builddir/build/RPMS/dmg2img-1.6.7-8.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/dmg2img-debugsource-1.6.7-8.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/dmg2img-debuginfo-1.6.7-8.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.j03QTe + umask 022 + cd /builddir/build/BUILD + cd dmg2img-1.6.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/dmg2img-1.6.7-8.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0