Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/katello-selinux.spec'], chrootPath='/var/lib/mock/rhel-8-x86_64-1691784445.773820/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.cnu15rfq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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.cnu15rfq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '1c97ad3ca9a247e7aeb68a67e339f054', '-D', '/var/lib/mock/rhel-8-x86_64-1691784445.773820/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.cnu15rfq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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/katello-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', 'SYSTEMD_SECCOMP': '0'} and shell False warning: line 44: Possible unexpanded macro in: Requires: selinux-policy >= %{_selinux_policy_version} Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/katello-selinux-5.0.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/katello-selinux.spec'], chrootPath='/var/lib/mock/rhel-8-x86_64-1691784445.773820/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.cnu15rfq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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.cnu15rfq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'b90dfbae8e6f43aca217c62db099ebc4', '-D', '/var/lib/mock/rhel-8-x86_64-1691784445.773820/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.cnu15rfq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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/katello-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', '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.x413WA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf katello-selinux-5.0.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/5.0.2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd katello-selinux-5.0.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zsLlvk + umask 022 + cd /builddir/build/BUILD + cd katello-selinux-5.0.2 + for selinuxvariant in targeted + make clean all NAME=targeted DISTRO=rhel8 VERSION=5.0.2 INSTPREFIX=/builddir/build/BUILDROOT/katello-selinux-5.0.2-1.el8.x86_64 rm -rf *.pp *.pp.bz2 tmp/ local-tmp/ *.8 katello-*-selinux-enable katello-*-selinux-disable mkdir katello-local-tmp || rm -rf katello-local-tmp/* cp katello.te katello.fc katello.te katello.if katello-local-tmp/ cp: warning: source file 'katello.te' specified more than once sed -i 's/@@VERSION@@/5.0.2/' katello-local-tmp/*.te make -C katello-local-tmp -f /usr/share/selinux/devel/Makefile NAME=targeted DISTRO=rhel8 make[1]: Entering directory '/builddir/build/BUILD/katello-selinux-5.0.2/katello-local-tmp' Compiling targeted katello module katello.te:62: Warning: miscfiles_read_certs() has been deprecated, please use miscfiles_read_generic_certs() instead. Creating targeted katello.pp policy package rm tmp/katello.mod tmp/katello.mod.fc make[1]: Leaving directory '/builddir/build/BUILD/katello-selinux-5.0.2/katello-local-tmp' mv katello-local-tmp/katello.pp . bzip2 -c9 katello.pp > katello.pp.bz2 bash common/selinux-enable.pod.in.sh "katello" "Foreman" | \ pod2man --name="katello-selinux-enable" -c "katello" --section=8 --release=5.0.2 > katello-selinux-enable.8 bash common/selinux-disable.pod.in.sh "katello" "Foreman" | \ pod2man --name="katello-selinux-disable" -c "katello" --section=8 --release=5.0.2 > katello-selinux-disable.8 bash common/selinux-relabel.pod.in.sh "katello" "Foreman" | \ pod2man --name="katello-selinux-relabel" -c "katello" --section=8 --release=5.0.2 > katello-selinux-relabel.8 rm katello.pp + for selinuxmodule in katello + mv katello.pp.bz2 katello-targeted.pp.bz2 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Jr9UW0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/katello-selinux-5.0.2-1.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/katello-selinux-5.0.2-1.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/katello-selinux-5.0.2-1.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/katello-selinux-5.0.2-1.el8.x86_64 + cd katello-selinux-5.0.2 + for selinuxvariant in targeted + install -d /builddir/build/BUILDROOT/katello-selinux-5.0.2-1.el8.x86_64/usr/share/selinux/targeted + for selinuxmodule in katello + install -p -m 644 katello-targeted.pp.bz2 /builddir/build/BUILDROOT/katello-selinux-5.0.2-1.el8.x86_64/usr/share/selinux/targeted/katello.pp.bz2 + make clean install-data NAME=targeted DISTRO=rhel8 VERSION=5.0.2 INSTPREFIX=/builddir/build/BUILDROOT/katello-selinux-5.0.2-1.el8.x86_64 rm -rf *.pp *.pp.bz2 tmp/ local-tmp/ *.8 katello-*-selinux-enable katello-*-selinux-disable bash common/selinux-enable.pod.in.sh "katello" "Foreman" | \ pod2man --name="katello-selinux-enable" -c "katello" --section=8 --release=5.0.2 > katello-selinux-enable.8 bash common/selinux-disable.pod.in.sh "katello" "Foreman" | \ pod2man --name="katello-selinux-disable" -c "katello" --section=8 --release=5.0.2 > katello-selinux-disable.8 bash common/selinux-relabel.pod.in.sh "katello" "Foreman" | \ pod2man --name="katello-selinux-relabel" -c "katello" --section=8 --release=5.0.2 > katello-selinux-relabel.8 install -d /builddir/build/BUILDROOT/katello-selinux-5.0.2-1.el8.x86_64/usr/share/selinux/devel/include/apps install -p -m 644 *.if /builddir/build/BUILDROOT/katello-selinux-5.0.2-1.el8.x86_64/usr/share/selinux/devel/include/apps/ install -d /builddir/build/BUILDROOT/katello-selinux-5.0.2-1.el8.x86_64/usr/sbin install -p -m 755 *-enable *-disable *-relabel /builddir/build/BUILDROOT/katello-selinux-5.0.2-1.el8.x86_64/usr/sbin/ install -d -m 0755 /builddir/build/BUILDROOT/katello-selinux-5.0.2-1.el8.x86_64/usr/share/man/man8 install -m 0644 *.8 /builddir/build/BUILDROOT/katello-selinux-5.0.2-1.el8.x86_64/usr/share/man/man8/ + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 5.0.2-1.el8 --unique-debug-suffix -5.0.2-1.el8.x86_64 --unique-debug-src-base katello-selinux-5.0.2-1.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/katello-selinux-5.0.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: katello-selinux-5.0.2-1.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.MSbWCc + umask 022 + cd /builddir/build/BUILD + cd katello-selinux-5.0.2 + DOCDIR=/builddir/build/BUILDROOT/katello-selinux-5.0.2-1.el8.x86_64/usr/share/doc/katello-selinux + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/katello-selinux-5.0.2-1.el8.x86_64/usr/share/doc/katello-selinux + cp -pr katello.fc /builddir/build/BUILDROOT/katello-selinux-5.0.2-1.el8.x86_64/usr/share/doc/katello-selinux + cp -pr katello.if /builddir/build/BUILDROOT/katello-selinux-5.0.2-1.el8.x86_64/usr/share/doc/katello-selinux + cp -pr katello.te /builddir/build/BUILDROOT/katello-selinux-5.0.2-1.el8.x86_64/usr/share/doc/katello-selinux + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.nJeekg + umask 022 + cd /builddir/build/BUILD + cd katello-selinux-5.0.2 + LICENSEDIR=/builddir/build/BUILDROOT/katello-selinux-5.0.2-1.el8.x86_64/usr/share/licenses/katello-selinux + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/katello-selinux-5.0.2-1.el8.x86_64/usr/share/licenses/katello-selinux + cp -pr LICENSE /builddir/build/BUILDROOT/katello-selinux-5.0.2-1.el8.x86_64/usr/share/licenses/katello-selinux + exit 0 Provides: katello-selinux = 5.0.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(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh /sbin/restorecon /usr/sbin/selinuxenabled /usr/sbin/semanage /usr/sbin/semodule /usr/sbin/setsebool policycoreutils-python-utils selinux-policy-targeted Requires(preun): /bin/sh Requires(postun): /sbin/restorecon /usr/sbin/semodule Requires(posttrans): /bin/sh Requires: /bin/bash Obsoletes: crane-selinux < 4.0.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/katello-selinux-5.0.2-1.el8.x86_64 Wrote: /builddir/build/RPMS/katello-selinux-5.0.2-1.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.6GLC9q + umask 022 + cd /builddir/build/BUILD + cd katello-selinux-5.0.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/katello-selinux-5.0.2-1.el8.x86_64 + exit 0 Child return code was: 0