Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/dmg2img.spec'], chrootPath='/var/lib/mock/rhel+epel-8-x86_64-1676842600.762453/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.sfi6rh2y:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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.sfi6rh2y:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', 'a3c124ffc942444b8bf786f82f99c54d', '-D', '/var/lib/mock/rhel+epel-8-x86_64-1676842600.762453/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sfi6rh2y:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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/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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: Macro expanded in comment on line 11: %{name}-%{version}.tar.gz warning: bogus date in %changelog: Fri Oct 29 2011 Lubomir Rintel - 1.6.2-1 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/dmg2img-1.6.7-16.20170502.git.f16f247.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/dmg2img.spec'], chrootPath='/var/lib/mock/rhel+epel-8-x86_64-1676842600.762453/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.sfi6rh2y:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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.sfi6rh2y:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', 'ed72d20d65a5488ca5d308a5d91dac6e', '-D', '/var/lib/mock/rhel+epel-8-x86_64-1676842600.762453/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sfi6rh2y:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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/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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: Macro expanded in comment on line 11: %{name}-%{version}.tar.gz warning: bogus date in %changelog: Fri Oct 29 2011 Lubomir Rintel - 1.6.2-1 Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0UNm4w + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dmg2img-f16f247d30f868e84f31e24792b4464488f1c009 + /usr/bin/gzip -dc /builddir/build/SOURCES/dmg2img-1.6.7.git.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dmg2img-f16f247d30f868e84f31e24792b4464488f1c009 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6VUdaC + umask 022 + cd /builddir/build/BUILD + cd dmg2img-f16f247d30f868e84f31e24792b4464488f1c009 + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' -j2 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c base64.c In file included from dmg2img.c:32: dmg2img.h: In function 'read_kolyblk': dmg2img.h:149:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(k, 0x200, 1, F); ^~~~~~~~~~~~~~~~~~~~~ In file included from dmg2img.c:34: 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] 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] fread(e, sizeof(struct _gpt_entry), 1, F); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dmg2img.c: In function 'main': dmg2img.c:230:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(plist, kolyblk.XMLLength, 1, FIN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dmg2img.c:307:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(plist, kolyblk.RsrcForkLength, 1, FIN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -o vfdecrypt vfdecrypt.c -lcrypto vfdecrypt.c: In function 'main': vfdecrypt.c:371:18: warning: variable 'oflag' set but not used [-Wunused-but-set-variable] int iflag = 0, oflag = 0, pflag = 0, kflag = 0, verbose = 0; ^~~~~ vfdecrypt.c:371:7: warning: variable 'iflag' set but not used [-Wunused-but-set-variable] int iflag = 0, oflag = 0, pflag = 0, kflag = 0, verbose = 0; ^~~~~ vfdecrypt.c:438:7: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd); ^~~~~~~~~~~ gcc -o dmg2img dmg2img.o base64.o adc.o -lz -lbz2 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.C2VAzF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dmg2img-1.6.7-16.20170502.git.f16f247.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dmg2img-1.6.7-16.20170502.git.f16f247.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/dmg2img-1.6.7-16.20170502.git.f16f247.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dmg2img-1.6.7-16.20170502.git.f16f247.el8.x86_64 + cd dmg2img-f16f247d30f868e84f31e24792b4464488f1c009 + install -D -p -m 0755 dmg2img /builddir/build/BUILDROOT/dmg2img-1.6.7-16.20170502.git.f16f247.el8.x86_64/usr/bin/dmg2img + install -D -p -m 0755 vfdecrypt /builddir/build/BUILDROOT/dmg2img-1.6.7-16.20170502.git.f16f247.el8.x86_64/usr/bin/vfdecrypt + install -D -p -m 0644 vfdecrypt.1 /builddir/build/BUILDROOT/dmg2img-1.6.7-16.20170502.git.f16f247.el8.x86_64/usr/share/man/man1/vfdecrypt.1 + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.6.7-16.20170502.git.f16f247.el8 --unique-debug-suffix -1.6.7-16.20170502.git.f16f247.el8.x86_64 --unique-debug-src-base dmg2img-1.6.7-16.20170502.git.f16f247.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/dmg2img-f16f247d30f868e84f31e24792b4464488f1c009 extracting debug info from /builddir/build/BUILDROOT/dmg2img-1.6.7-16.20170502.git.f16f247.el8.x86_64/usr/bin/dmg2img extracting debug info from /builddir/build/BUILDROOT/dmg2img-1.6.7-16.20170502.git.f16f247.el8.x86_64/usr/bin/vfdecrypt /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 111 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/bin/python3.6 + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: dmg2img-1.6.7-16.20170502.git.f16f247.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.yVaZDT + umask 022 + cd /builddir/build/BUILD + cd dmg2img-f16f247d30f868e84f31e24792b4464488f1c009 + DOCDIR=/builddir/build/BUILDROOT/dmg2img-1.6.7-16.20170502.git.f16f247.el8.x86_64/usr/share/doc/dmg2img + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dmg2img-1.6.7-16.20170502.git.f16f247.el8.x86_64/usr/share/doc/dmg2img + cp -pr README /builddir/build/BUILDROOT/dmg2img-1.6.7-16.20170502.git.f16f247.el8.x86_64/usr/share/doc/dmg2img + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.dkzMDk + umask 022 + cd /builddir/build/BUILD + cd dmg2img-f16f247d30f868e84f31e24792b4464488f1c009 + LICENSEDIR=/builddir/build/BUILDROOT/dmg2img-1.6.7-16.20170502.git.f16f247.el8.x86_64/usr/share/licenses/dmg2img + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dmg2img-1.6.7-16.20170502.git.f16f247.el8.x86_64/usr/share/licenses/dmg2img + cp -pr COPYING /builddir/build/BUILDROOT/dmg2img-1.6.7-16.20170502.git.f16f247.el8.x86_64/usr/share/licenses/dmg2img + exit 0 Provides: dmg2img = 1.6.7-16.20170502.git.f16f247.el8 dmg2img(x86-64) = 1.6.7-16.20170502.git.f16f247.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libbz2.so.1()(64bit) 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) libc.so.6(GLIBC_2.7)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: dmg2img-debugsource-1.6.7-16.20170502.git.f16f247.el8.x86_64 Provides: dmg2img-debugsource = 1.6.7-16.20170502.git.f16f247.el8 dmg2img-debugsource(x86-64) = 1.6.7-16.20170502.git.f16f247.el8 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-16.20170502.git.f16f247.el8.x86_64 Provides: debuginfo(build-id) = aa24f83a601bd9684fecb09ee56e431a7315206a debuginfo(build-id) = ebcbc8b7500db5926b9e3db4cae7631b64e72c73 dmg2img-debuginfo = 1.6.7-16.20170502.git.f16f247.el8 dmg2img-debuginfo(x86-64) = 1.6.7-16.20170502.git.f16f247.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dmg2img-debugsource(x86-64) = 1.6.7-16.20170502.git.f16f247.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dmg2img-1.6.7-16.20170502.git.f16f247.el8.x86_64 Wrote: /builddir/build/RPMS/dmg2img-1.6.7-16.20170502.git.f16f247.el8.x86_64.rpm Wrote: /builddir/build/RPMS/dmg2img-debugsource-1.6.7-16.20170502.git.f16f247.el8.x86_64.rpm Wrote: /builddir/build/RPMS/dmg2img-debuginfo-1.6.7-16.20170502.git.f16f247.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.CBFu5w + umask 022 + cd /builddir/build/BUILD + cd dmg2img-f16f247d30f868e84f31e24792b4464488f1c009 + /usr/bin/rm -rf /builddir/build/BUILDROOT/dmg2img-1.6.7-16.20170502.git.f16f247.el8.x86_64 + exit 0 Child return code was: 0