Mock Version: 1.4.21 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/1177893-centos-stream-x86_64-1579822799.119483/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.f7th8ijo:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.f7th8ijo:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7908f92d41d944e5aebccf2e0c7aa98c', '-D', '/var/lib/mock/1177893-centos-stream-x86_64-1579822799.119483/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.f7th8ijo:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', '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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/container-selinux-2.124.0-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/container-selinux.spec'], chrootPath='/var/lib/mock/1177893-centos-stream-x86_64-1579822799.119483/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.f7th8ijo:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.f7th8ijo:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3d33f22cb68849daaf85aef264d3c0d6', '-D', '/var/lib/mock/1177893-centos-stream-x86_64-1579822799.119483/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.f7th8ijo:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', '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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HPeakh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf container-selinux-f958d0cee4099f79890247ec64b57502b3acdb9f + /usr/bin/gzip -dc /builddir/build/SOURCES/container-selinux-f958d0c.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd container-selinux-f958d0cee4099f79890247ec64b57502b3acdb9f + /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.124.0 base' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.UifqQ1 + umask 022 + cd /builddir/build/BUILD + cd container-selinux-f958d0cee4099f79890247ec64b57502b3acdb9f + make make -f /usr/share/selinux/devel/Makefile container.pp make[1]: Entering directory '/builddir/build/BUILD/container-selinux-f958d0cee4099f79890247ec64b57502b3acdb9f' container.if:13: Error: duplicate definition of container_runtime_domtrans(). Original definition on 14. container.if:40: Error: duplicate definition of container_runtime_run(). Original definition on 41. container.if:60: Error: duplicate definition of container_runtime_exec(). Original definition on 61. container.if:79: Error: duplicate definition of container_read_state(). Original definition on 80. container.if:97: Error: duplicate definition of container_search_lib(). Original definition on 98. container.if:116: Error: duplicate definition of container_exec_lib(). Original definition on 117. container.if:135: Error: duplicate definition of container_read_lib_files(). Original definition on 136. container.if:154: Error: duplicate definition of container_read_share_files(). Original definition on 155. container.if:175: Error: duplicate definition of container_runtime_read_tmpfs_files(). Original definition on 176. container.if:196: Error: duplicate definition of container_manage_share_files(). Original definition on 197. container.if:217: Error: duplicate definition of container_manage_share_dirs(). Original definition on 218. container.if:237: Error: duplicate definition of container_exec_share_files(). Original definition on 238. container.if:255: Error: duplicate definition of container_manage_config_files(). Original definition on 256. container.if:274: Error: duplicate definition of container_manage_lib_files(). Original definition on 275. container.if:294: Error: duplicate definition of container_manage_files(). Original definition on 295. container.if:313: Error: duplicate definition of container_manage_dirs(). Original definition on 314. container.if:331: Error: duplicate definition of container_manage_lib_dirs(). Original definition on 332. container.if:367: Error: duplicate definition of container_lib_filetrans(). Original definition on 368. container.if:385: Error: duplicate definition of container_read_pid_files(). Original definition on 386. container.if:404: Error: duplicate definition of container_systemctl(). Original definition on 405. container.if:429: Error: duplicate definition of container_rw_sem(). Original definition on 430. container.if:448: Error: duplicate definition of container_append_file(). Original definition on 449. container.if:466: Error: duplicate definition of container_use_ptys(). Original definition on 467. container.if:484: Error: duplicate definition of container_filetrans_named_content(). Original definition on 485. container.if:537: Error: duplicate definition of container_stream_connect(). Original definition on 538. container.if:558: Error: duplicate definition of container_spc_stream_connect(). Original definition on 559. container.if:579: Error: duplicate definition of container_admin(). Original definition on 580. container.if:626: Error: duplicate definition of container_auth_domtrans(). Original definition on 627. container.if:645: Error: duplicate definition of container_auth_exec(). Original definition on 646. container.if:664: Error: duplicate definition of container_auth_stream_connect(). Original definition on 665. container.if:683: Error: duplicate definition of container_runtime_typebounds(). Original definition on 684. container.if:702: Error: duplicate definition of container_runtime_entrypoint(). Original definition on 703. container.if:709: Error: duplicate definition of docker_exec_lib(). Original definition on 710. container.if:713: Error: duplicate definition of docker_read_share_files(). Original definition on 714. container.if:717: Error: duplicate definition of docker_exec_share_files(). Original definition on 718. container.if:721: Error: duplicate definition of docker_manage_lib_files(). Original definition on 722. container.if:726: Error: duplicate definition of docker_manage_lib_dirs(). Original definition on 727. container.if:730: Error: duplicate definition of docker_lib_filetrans(). Original definition on 731. container.if:734: Error: duplicate definition of docker_read_pid_files(). Original definition on 735. container.if:738: Error: duplicate definition of docker_systemctl(). Original definition on 739. container.if:742: Error: duplicate definition of docker_use_ptys(). Original definition on 743. container.if:746: Error: duplicate definition of docker_stream_connect(). Original definition on 747. container.if:750: Error: duplicate definition of docker_spc_stream_connect(). Original definition on 751. container.if:764: Error: duplicate definition of container_spc_read_state(). Original definition on 765. container.if:819: Error: duplicate definition of container_domain_template(). Original definition on 784. container.if:847: Error: duplicate definition of container_spc_rw_pipes(). Original definition on 812. Compiling targeted container module Creating targeted container.pp policy package rm tmp/container.mod.fc tmp/container.mod make[1]: Leaving directory '/builddir/build/BUILD/container-selinux-f958d0cee4099f79890247ec64b57502b3acdb9f' Compressing container.pp -> container.pp.bz2 bzip2 -9 container.pp + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LC15LN + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/container-selinux-2.124.0-1.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/container-selinux-2.124.0-1.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/container-selinux-2.124.0-1.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/container-selinux-2.124.0-1.el8.x86_64 + cd container-selinux-f958d0cee4099f79890247ec64b57502b3acdb9f + export MODULES= + MODULES= + for x in container + MODULES+=container.pp.bz2 + MODULES+=' ' + install -d /builddir/build/BUILDROOT/container-selinux-2.124.0-1.el8.x86_64/usr/share/selinux/packages + install -d -p /builddir/build/BUILDROOT/container-selinux-2.124.0-1.el8.x86_64/usr/share/selinux/devel/include/services + install -p -m 644 container.if /builddir/build/BUILDROOT/container-selinux-2.124.0-1.el8.x86_64/usr/share/selinux/devel/include/services + install -m 0644 container.pp.bz2 /builddir/build/BUILDROOT/container-selinux-2.124.0-1.el8.x86_64/usr/share/selinux/packages + rm -rf container-selinux.spec + /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 /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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Y4uXRz + umask 022 + cd /builddir/build/BUILD Processing files: container-selinux-2.124.0-1.el8.noarch + cd container-selinux-f958d0cee4099f79890247ec64b57502b3acdb9f + exit 0 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.fcLCYl + umask 022 + cd /builddir/build/BUILD + cd container-selinux-f958d0cee4099f79890247ec64b57502b3acdb9f + DOCDIR=/builddir/build/BUILDROOT/container-selinux-2.124.0-1.el8.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.124.0-1.el8.x86_64/usr/share/doc/container-selinux + cp -pr README.md /builddir/build/BUILDROOT/container-selinux-2.124.0-1.el8.x86_64/usr/share/doc/container-selinux + exit 0 Provides: container-selinux = 2:2.124.0-1.el8 docker-engine-selinux = 2:2.124.0-1.el8 docker-selinux = 2:2.124.0-1.el8 Requires(interp): /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 >= 2.5-11 policycoreutils-python-utils sed selinux-policy-base >= 3.14.3-9.el8 selinux-policy-targeted >= 3.14.3-9.el8 Requires(postun): /bin/sh Requires(posttrans): /bin/sh Obsoletes: container-selinux <= 2:1.12.5-14 docker-selinux <= 2:1.12.4-28 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/container-selinux-2.124.0-1.el8.x86_64 Wrote: /builddir/build/RPMS/container-selinux-2.124.0-1.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.QnGYc8 + umask 022 + cd /builddir/build/BUILD + cd container-selinux-f958d0cee4099f79890247ec64b57502b3acdb9f + /usr/bin/rm -rf /builddir/build/BUILDROOT/container-selinux-2.124.0-1.el8.x86_64 + exit 0 Child return code was: 0