Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/container-selinux.spec'], chrootPath='/var/lib/mock/centos-stream-8-x86_64-1691005695.103684/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.txi650w3:/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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.txi650w3:/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', '2453479463cf48b28da94b89eeaca7a6', '-D', '/var/lib/mock/centos-stream-8-x86_64-1691005695.103684/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.txi650w3:/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/container-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 Wrote: /builddir/build/SRPMS/container-selinux-2.219.0-1.20230802194733777777.pr260.1.gbc6b918.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/container-selinux.spec'], chrootPath='/var/lib/mock/centos-stream-8-x86_64-1691005695.103684/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.txi650w3:/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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.txi650w3:/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', '70a53e0781774ad7adce0c23c6e25da3', '-D', '/var/lib/mock/centos-stream-8-x86_64-1691005695.103684/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.txi650w3:/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/container-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.O7KQVH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf container-selinux-2.219.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/container-selinux-2.219.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd container-selinux-2.219.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git add . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'container-selinux-2.219.0 base' + sed -i 's/^man: install-policy/man:/' Makefile + sed -i 's/^install: man/install:/' Makefile + sed -i 's/watch watch_reads//' container.if + sed -i 's/watch watch_reads//' container.te + sed -i '/sysfs_t:dir watch/d' container.te + sed -i '/^systemd_chat_resolved/d' container.te + sed -i /user_namespace/d container.te + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xi8vqf + umask 022 + cd /builddir/build/BUILD + cd container-selinux-2.219.0 + make make -f /usr/share/selinux/devel/Makefile container.pp make[1]: Entering directory '/builddir/build/BUILD/container-selinux-2.219.0' Compiling targeted container module Creating targeted container.pp policy package rm tmp/container.mod tmp/container.mod.fc make[1]: Leaving directory '/builddir/build/BUILD/container-selinux-2.219.0' Compressing container.pp -> container.pp.bz2 bzip2 -f -9 container.pp + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.v6zEYt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/container-selinux-2.219.0-1.20230802194733777777.pr260.1.gbc6b918.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/container-selinux-2.219.0-1.20230802194733777777.pr260.1.gbc6b918.x86_64 ++ dirname /builddir/build/BUILDROOT/container-selinux-2.219.0-1.20230802194733777777.pr260.1.gbc6b918.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/container-selinux-2.219.0-1.20230802194733777777.pr260.1.gbc6b918.x86_64 + cd container-selinux-2.219.0 + export MODULES= + MODULES= + for x in container + MODULES+=container.pp.bz2 + MODULES+=' ' + /usr/bin/make DATADIR=/builddir/build/BUILDROOT/container-selinux-2.219.0-1.20230802194733777777.pr260.1.gbc6b918.x86_64/usr/share SYSCONFDIR=/builddir/build/BUILDROOT/container-selinux-2.219.0-1.20230802194733777777.pr260.1.gbc6b918.x86_64/etc install install.udica-templates install.selinux-user install -D -pm 644 container.pp.bz2 /builddir/build/BUILDROOT/container-selinux-2.219.0-1.20230802194733777777.pr260.1.gbc6b918.x86_64/usr/share/selinux/packages/container.pp.bz2 install -D -pm 644 container.if /builddir/build/BUILDROOT/container-selinux-2.219.0-1.20230802194733777777.pr260.1.gbc6b918.x86_64/usr/share/selinux/devel/include/services/container.if install -D -pm 644 container_selinux.8 /builddir/build/BUILDROOT/container-selinux-2.219.0-1.20230802194733777777.pr260.1.gbc6b918.x86_64/usr/share/man/man8/container_selinux.8 install -D -pm 644 container_contexts /builddir/build/BUILDROOT/container-selinux-2.219.0-1.20230802194733777777.pr260.1.gbc6b918.x86_64/usr/share/containers/selinux/contexts install -dp /builddir/build/BUILDROOT/container-selinux-2.219.0-1.20230802194733777777.pr260.1.gbc6b918.x86_64/usr/share/udica/templates install -pm 644 udica-templates/*.cil /builddir/build/BUILDROOT/container-selinux-2.219.0-1.20230802194733777777.pr260.1.gbc6b918.x86_64/usr/share/udica/templates install -D -pm 644 container_u /builddir/build/BUILDROOT/container-selinux-2.219.0-1.20230802194733777777.pr260.1.gbc6b918.x86_64/etc/selinux/targeted/contexts/users/container_u + rm /builddir/build/BUILDROOT/container-selinux-2.219.0-1.20230802194733777777.pr260.1.gbc6b918.x86_64/usr/share/man/man8/container_selinux.8 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/container-selinux-2.219.0-1.20230802194733777777.pr260.1.gbc6b918.x86_64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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: container-selinux-2.219.0-1.20230802194733777777.pr260.1.gbc6b918.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.w6sX7n + umask 022 + cd /builddir/build/BUILD + cd container-selinux-2.219.0 + DOCDIR=/builddir/build/BUILDROOT/container-selinux-2.219.0-1.20230802194733777777.pr260.1.gbc6b918.x86_64/usr/share/doc/container-selinux + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/container-selinux-2.219.0-1.20230802194733777777.pr260.1.gbc6b918.x86_64/usr/share/doc/container-selinux + cp -pr README.md /builddir/build/BUILDROOT/container-selinux-2.219.0-1.20230802194733777777.pr260.1.gbc6b918.x86_64/usr/share/doc/container-selinux + exit 0 Provides: container-selinux = 102:2.219.0-1.20230802194733777777.pr260.1.gbc6b918 docker-selinux = 102:2.219.0-1.20230802194733777777.pr260.1.gbc6b918 Requires(interp): /bin/sh /bin/sh /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(pre): /bin/sh Requires(post): /bin/sh libselinux-utils policycoreutils sed selinux-policy-base >= 3.14.3-80.el8 selinux-policy-targeted >= 3.14.3-80.el8 Requires(postun): /bin/sh Requires(posttrans): /bin/sh Conflicts: k3s-selinux <= 0.4-1 udica < 0.2.6-1 Obsoletes: container-selinux <= 2:1.12.5-13 docker-selinux <= 2:1.12.4-28 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/container-selinux-2.219.0-1.20230802194733777777.pr260.1.gbc6b918.x86_64 Wrote: /builddir/build/RPMS/container-selinux-2.219.0-1.20230802194733777777.pr260.1.gbc6b918.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.5kISPY + umask 022 + cd /builddir/build/BUILD + cd container-selinux-2.219.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/container-selinux-2.219.0-1.20230802194733777777.pr260.1.gbc6b918.x86_64 + exit 0 Child return code was: 0