Mock Version: 2.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/spacewalk-selinux.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1591001524.304303/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._tkxcvps:/etc/resolv.conf', '--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._tkxcvps:/etc/resolv.conf', '--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', '010deab7532d4f60b51523e7cdea9901', '-D', '/var/lib/mock/epel-8-x86_64-1591001524.304303/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._tkxcvps:/etc/resolv.conf', '--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', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/spacewalk-selinux.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'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/spacewalk-selinux-2.11.2-1.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/spacewalk-selinux.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1591001524.304303/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._tkxcvps:/etc/resolv.conf', '--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._tkxcvps:/etc/resolv.conf', '--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', 'c449560face94b88bcc66688ece10dbf', '-D', '/var/lib/mock/epel-8-x86_64-1591001524.304303/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._tkxcvps:/etc/resolv.conf', '--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', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/spacewalk-selinux.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'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MswU9A + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf spacewalk-selinux-2.11.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/spacewalk-selinux-2.11.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd spacewalk-selinux-2.11.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wGRTKv + umask 022 + cd /builddir/build/BUILD + cd spacewalk-selinux-2.11.2 + perl -i -pe 'BEGIN { $VER = join ".", grep /^\d+$/, split /\./, "2.11.2.1.el8"; } s!\@\@VERSION\@\@!$VER!g;' spacewalk.te + for selinuxvariant in mls strict targeted + make NAME=mls -f /usr/share/selinux/devel/Makefile Compiling mls spacewalk module Creating mls spacewalk.pp policy package rm tmp/spacewalk.mod.fc tmp/spacewalk.mod + mv spacewalk.pp spacewalk.pp.mls + make NAME=mls -f /usr/share/selinux/devel/Makefile clean rm -fR tmp rm -f *.pp + for selinuxvariant in mls strict targeted + make NAME=strict -f /usr/share/selinux/devel/Makefile Compiling strict spacewalk module Creating strict spacewalk.pp policy package rm tmp/spacewalk.mod.fc tmp/spacewalk.mod + mv spacewalk.pp spacewalk.pp.strict + make NAME=strict -f /usr/share/selinux/devel/Makefile clean rm -fR tmp rm -f *.pp + for selinuxvariant in mls strict targeted + make NAME=targeted -f /usr/share/selinux/devel/Makefile Compiling targeted spacewalk module Creating targeted spacewalk.pp policy package rm tmp/spacewalk.mod.fc tmp/spacewalk.mod + mv spacewalk.pp spacewalk.pp.targeted + make NAME=targeted -f /usr/share/selinux/devel/Makefile clean rm -fR tmp rm -f *.pp + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.UVJoEt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/spacewalk-selinux-2.11.2-1.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/spacewalk-selinux-2.11.2-1.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/spacewalk-selinux-2.11.2-1.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/spacewalk-selinux-2.11.2-1.el8.x86_64 + cd spacewalk-selinux-2.11.2 + rm -rf /builddir/build/BUILDROOT/spacewalk-selinux-2.11.2-1.el8.x86_64 + for selinuxvariant in mls strict targeted + install -d /builddir/build/BUILDROOT/spacewalk-selinux-2.11.2-1.el8.x86_64/usr/share/selinux/mls + install -p -m 644 spacewalk.pp.mls /builddir/build/BUILDROOT/spacewalk-selinux-2.11.2-1.el8.x86_64/usr/share/selinux/mls/spacewalk.pp + for selinuxvariant in mls strict targeted + install -d /builddir/build/BUILDROOT/spacewalk-selinux-2.11.2-1.el8.x86_64/usr/share/selinux/strict + install -p -m 644 spacewalk.pp.strict /builddir/build/BUILDROOT/spacewalk-selinux-2.11.2-1.el8.x86_64/usr/share/selinux/strict/spacewalk.pp + for selinuxvariant in mls strict targeted + install -d /builddir/build/BUILDROOT/spacewalk-selinux-2.11.2-1.el8.x86_64/usr/share/selinux/targeted + install -p -m 644 spacewalk.pp.targeted /builddir/build/BUILDROOT/spacewalk-selinux-2.11.2-1.el8.x86_64/usr/share/selinux/targeted/spacewalk.pp + install -d /builddir/build/BUILDROOT/spacewalk-selinux-2.11.2-1.el8.x86_64/usr/share/selinux/devel/include/apps + install -p -m 644 spacewalk.if /builddir/build/BUILDROOT/spacewalk-selinux-2.11.2-1.el8.x86_64/usr/share/selinux/devel/include/apps/spacewalk.if + /usr/sbin/hardlink -cv /builddir/build/BUILDROOT/spacewalk-selinux-2.11.2-1.el8.x86_64/usr/share/selinux Directories 7 Objects 11 IFREG 4 Comparisons 1 Linked 1 saved 122880 + install -d /builddir/build/BUILDROOT/spacewalk-selinux-2.11.2-1.el8.x86_64/usr/sbin + install -p -m 755 spacewalk-selinux-enable /builddir/build/BUILDROOT/spacewalk-selinux-2.11.2-1.el8.x86_64/usr/sbin/spacewalk-selinux-enable + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 2.11.2-1.el8 --unique-debug-suffix -2.11.2-1.el8.x86_64 --unique-debug-src-base spacewalk-selinux-2.11.2-1.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/spacewalk-selinux-2.11.2 + /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/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: spacewalk-selinux-2.11.2-1.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.TvsQNr + umask 022 + cd /builddir/build/BUILD + cd spacewalk-selinux-2.11.2 + DOCDIR=/builddir/build/BUILDROOT/spacewalk-selinux-2.11.2-1.el8.x86_64/usr/share/doc/spacewalk-selinux + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/spacewalk-selinux-2.11.2-1.el8.x86_64/usr/share/doc/spacewalk-selinux + cp -pr spacewalk.fc /builddir/build/BUILDROOT/spacewalk-selinux-2.11.2-1.el8.x86_64/usr/share/doc/spacewalk-selinux + cp -pr spacewalk.if /builddir/build/BUILDROOT/spacewalk-selinux-2.11.2-1.el8.x86_64/usr/share/doc/spacewalk-selinux + cp -pr spacewalk.te /builddir/build/BUILDROOT/spacewalk-selinux-2.11.2-1.el8.x86_64/usr/share/doc/spacewalk-selinux + exit 0 Provides: spacewalk-selinux = 2.11.2-1.el8 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh /sbin/restorecon /usr/sbin/selinuxenabled /usr/sbin/semanage /usr/sbin/semodule /usr/sbin/setsebool Requires(postun): /bin/sh /sbin/restorecon /usr/sbin/semanage /usr/sbin/semodule Requires(posttrans): /bin/sh Requires: /bin/bash Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/spacewalk-selinux-2.11.2-1.el8.x86_64 Wrote: /builddir/build/RPMS/spacewalk-selinux-2.11.2-1.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.b9KA5p + umask 022 + cd /builddir/build/BUILD + cd spacewalk-selinux-2.11.2 + rm -rf /builddir/build/BUILDROOT/spacewalk-selinux-2.11.2-1.el8.x86_64 + exit 0 Child return code was: 0