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-9-x86_64-1691005695.102832/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.0wgzszdo:/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.0wgzszdo:/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', '21e276dd067446aaa1d996d31baff382', '-D', '/var/lib/mock/centos-stream-9-x86_64-1691005695.102832/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0wgzszdo:/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 warning: line 46: Possible unexpanded macro in: BuildRequires: selinux-policy >= %_selinux_policy_version warning: line 47: Possible unexpanded macro in: BuildRequires: selinux-policy-devel >= %_selinux_policy_version warning: line 49: Possible unexpanded macro in: Requires: selinux-policy >= %_selinux_policy_version warning: line 50: Possible unexpanded macro in: Requires(post): selinux-policy-base >= %_selinux_policy_version warning: line 51: Possible unexpanded macro in: Requires(post): selinux-policy-targeted >= %_selinux_policy_version Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1686614400 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-9-x86_64-1691005695.102832/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.0wgzszdo:/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.0wgzszdo:/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', '863c4810f5d9421f8fae42324190665e', '-D', '/var/lib/mock/centos-stream-9-x86_64-1691005695.102832/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0wgzszdo:/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 setting SOURCE_DATE_EPOCH=1686614400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PI1jJk + 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 config gc.auto 0 + /usr/bin/git add --force . + /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 /user_namespace/d container.te + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CZpJwO + 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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Sl8s0g + 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 + /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/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /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.Sk4Mt5 + 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 + RPM_EC=0 ++ jobs -p + 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 >= 38.1.18-1.el9 selinux-policy-targeted >= 38.1.18-1.el9 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.GxnORO + 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 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0