Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/lockfile-progs.spec'], chrootPath='/var/lib/mock/rhel+epel-8-x86_64-1672691070.093826/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.vth1fu7v:/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.vth1fu7v:/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', 'ac4c63093fe8406db1c332a08cd9ab42', '-D', '/var/lib/mock/rhel+epel-8-x86_64-1672691070.093826/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vth1fu7v:/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/lockfile-progs.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 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/lockfile-progs-0.1.17-15.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/lockfile-progs.spec'], chrootPath='/var/lib/mock/rhel+epel-8-x86_64-1672691070.093826/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.vth1fu7v:/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.vth1fu7v:/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', '1b25c6ff111b45f28b34351af1cf7121', '-D', '/var/lib/mock/rhel+epel-8-x86_64-1672691070.093826/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vth1fu7v:/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/lockfile-progs.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 Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gcBdjA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lockfile-progs-0.1.17 + /usr/bin/gzip -dc /builddir/build/SOURCES/lockfile-progs_0.1.17.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd lockfile-progs-0.1.17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's/\(cd bin && ln \)/\1 -sf /' Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rpan23 + umask 022 + cd /builddir/build/BUILD + cd lockfile-progs-0.1.17 + make -j2 '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' cc -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 -o lockfile-progs.o lockfile-progs.c cc -o lockfile-create lockfile-progs.o -llockfile rm -rf bin mkdir -p bin cp -a lockfile-create bin cp -a lockfile-create bin/mail-lock cd bin && ln -sf lockfile-create lockfile-remove cd bin && ln -sf lockfile-create lockfile-touch cd bin && ln -sf lockfile-create lockfile-check cd bin && ln -sf mail-lock mail-unlock cd bin && ln -sf mail-lock mail-touchlock mkdir -p man cp -a lockfile-progs.1 man (cd man && ln -sf lockfile-progs.1 lockfile-create.1 && \ ln -sf lockfile-progs.1 lockfile-remove.1 && \ ln -sf lockfile-progs.1 lockfile-touch.1 && \ ln -sf lockfile-progs.1 lockfile-check.1 && \ ln -sf lockfile-progs.1 mail-lock.1 && \ ln -sf lockfile-progs.1 mail-unlock.1 && \ ln -sf lockfile-progs.1 mail-touchlock.1) + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sy3uCl + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/lockfile-progs-0.1.17-15.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/lockfile-progs-0.1.17-15.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/lockfile-progs-0.1.17-15.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/lockfile-progs-0.1.17-15.el8.x86_64 + cd lockfile-progs-0.1.17 + mkdir -p /builddir/build/BUILDROOT/lockfile-progs-0.1.17-15.el8.x86_64/usr/bin + cp -r --preserve=all bin/lockfile-check bin/lockfile-create bin/lockfile-remove bin/lockfile-touch bin/mail-lock bin/mail-touchlock bin/mail-unlock /builddir/build/BUILDROOT/lockfile-progs-0.1.17-15.el8.x86_64/usr/bin + mkdir -p /builddir/build/BUILDROOT/lockfile-progs-0.1.17-15.el8.x86_64/usr/share/man/man1 + cp -r --preserve=all man/lockfile-check.1 man/lockfile-create.1 man/lockfile-progs.1 man/lockfile-remove.1 man/lockfile-touch.1 man/mail-lock.1 man/mail-touchlock.1 man/mail-unlock.1 /builddir/build/BUILDROOT/lockfile-progs-0.1.17-15.el8.x86_64/usr/share/man/man1/ + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.1.17-15.el8 --unique-debug-suffix -0.1.17-15.el8.x86_64 --unique-debug-src-base lockfile-progs-0.1.17-15.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/lockfile-progs-0.1.17 extracting debug info from /builddir/build/BUILDROOT/lockfile-progs-0.1.17-15.el8.x86_64/usr/bin/mail-lock extracting debug info from /builddir/build/BUILDROOT/lockfile-progs-0.1.17-15.el8.x86_64/usr/bin/lockfile-create /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 18 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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.BYJR8o + umask 022 + cd /builddir/build/BUILD + cd lockfile-progs-0.1.17 + make check rm -rf bin mkdir -p bin cp -a lockfile-create bin cp -a lockfile-create bin/mail-lock cd bin && ln -sf lockfile-create lockfile-remove cd bin && ln -sf lockfile-create lockfile-touch cd bin && ln -sf lockfile-create lockfile-check cd bin && ln -sf mail-lock mail-unlock cd bin && ln -sf mail-lock mail-touchlock mkdir -p man cp -a lockfile-progs.1 man (cd man && ln -sf lockfile-progs.1 lockfile-create.1 && \ ln -sf lockfile-progs.1 lockfile-remove.1 && \ ln -sf lockfile-progs.1 lockfile-touch.1 && \ ln -sf lockfile-progs.1 lockfile-check.1 && \ ln -sf lockfile-progs.1 mail-lock.1 && \ ln -sf lockfile-progs.1 mail-unlock.1 && \ ln -sf lockfile-progs.1 mail-touchlock.1) rm -rf check mkdir check bin/lockfile-create check/file bin/lockfile-touch --oneshot check/file bin/lockfile-check check/file bin/lockfile-remove check/file ! test -e check/file.lock bin/lockfile-create --lock-name check/file.lock bin/lockfile-touch --oneshot --lock-name check/file.lock bin/lockfile-check --lock-name check/file.lock bin/lockfile-remove --lock-name check/file.lock ! test -e check/file.lock bin/lockfile-create --use-pid --lock-name check/file.lock bin/lockfile-touch --oneshot --lock-name check/file.lock bin/lockfile-check --use-pid --lock-name check/file.lock bin/lockfile-remove --lock-name check/file.lock ! test -e check/file.lock bin/lockfile-create --use-pid --lock-name check/lockfile.no-pid + exit 0 Processing files: lockfile-progs-0.1.17-15.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.NRNnOu + umask 022 + cd /builddir/build/BUILD + cd lockfile-progs-0.1.17 + DOCDIR=/builddir/build/BUILDROOT/lockfile-progs-0.1.17-15.el8.x86_64/usr/share/doc/lockfile-progs + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lockfile-progs-0.1.17-15.el8.x86_64/usr/share/doc/lockfile-progs + cp -pr COPYING /builddir/build/BUILDROOT/lockfile-progs-0.1.17-15.el8.x86_64/usr/share/doc/lockfile-progs + exit 0 warning: Duplicate build-ids /builddir/build/BUILDROOT/lockfile-progs-0.1.17-15.el8.x86_64/usr/bin/lockfile-create and /builddir/build/BUILDROOT/lockfile-progs-0.1.17-15.el8.x86_64/usr/bin/mail-lock Provides: lockfile-progs = 0.1.17-15.el8 lockfile-progs(x86-64) = 0.1.17-15.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(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.8)(64bit) liblockfile.so.1()(64bit) rtld(GNU_HASH) Processing files: lockfile-progs-debugsource-0.1.17-15.el8.x86_64 Provides: lockfile-progs-debugsource = 0.1.17-15.el8 lockfile-progs-debugsource(x86-64) = 0.1.17-15.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lockfile-progs-debuginfo-0.1.17-15.el8.x86_64 warning: Duplicate build-ids /builddir/build/BUILDROOT/lockfile-progs-0.1.17-15.el8.x86_64/usr/lib/debug/usr/bin/lockfile-create-0.1.17-15.el8.x86_64.debug and /builddir/build/BUILDROOT/lockfile-progs-0.1.17-15.el8.x86_64/usr/lib/debug/usr/bin/mail-lock-0.1.17-15.el8.x86_64.debug Provides: debuginfo(build-id) = 24e8a49f1916df0fb863e51a640127924ee8f548 lockfile-progs-debuginfo = 0.1.17-15.el8 lockfile-progs-debuginfo(x86-64) = 0.1.17-15.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: lockfile-progs-debugsource(x86-64) = 0.1.17-15.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/lockfile-progs-0.1.17-15.el8.x86_64 Wrote: /builddir/build/RPMS/lockfile-progs-0.1.17-15.el8.x86_64.rpm Wrote: /builddir/build/RPMS/lockfile-progs-debugsource-0.1.17-15.el8.x86_64.rpm Wrote: /builddir/build/RPMS/lockfile-progs-debuginfo-0.1.17-15.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.6V8IXj + umask 022 + cd /builddir/build/BUILD + cd lockfile-progs-0.1.17 + /usr/bin/rm -rf /builddir/build/BUILDROOT/lockfile-progs-0.1.17-15.el8.x86_64 + exit 0 Child return code was: 0