Mock Version: 2.2 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-x86_64-1590575894.737036/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.dig9pg7p:/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.dig9pg7p:/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', '9056055ee2904bce8ac502135727bf9f', '-D', '/var/lib/mock/centos-stream-x86_64-1590575894.737036/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dig9pg7p:/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/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'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/container-selinux-2.132.0-1.rhaos4.4.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/centos-stream-x86_64-1590575894.737036/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.dig9pg7p:/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.dig9pg7p:/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', '83a88b5ee5d44934be9c0604aa95a27a', '-D', '/var/lib/mock/centos-stream-x86_64-1590575894.737036/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dig9pg7p:/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/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'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Axa47L + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf container-selinux-2.132.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/v2.132.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd container-selinux-2.132.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.132.0 base' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GXR68o + umask 022 + cd /builddir/build/BUILD + cd container-selinux-2.132.0 + make make -f /usr/share/selinux/devel/Makefile container.pp make[1]: Entering directory '/builddir/build/BUILD/container-selinux-2.132.0' container.if:13: Error: duplicate definition of container_runtime_domtrans(). Original definition on 13. container.if:40: Error: duplicate definition of container_runtime_run(). Original definition on 40. container.if:60: Error: duplicate definition of container_runtime_exec(). Original definition on 60. container.if:79: Error: duplicate definition of container_read_state(). Original definition on 79. container.if:97: Error: duplicate definition of container_search_lib(). Original definition on 97. container.if:116: Error: duplicate definition of container_exec_lib(). Original definition on 116. container.if:135: Error: duplicate definition of container_read_lib_files(). Original definition on 135. container.if:154: Error: duplicate definition of container_read_share_files(). Original definition on 154. container.if:175: Error: duplicate definition of container_runtime_read_tmpfs_files(). Original definition on 175. container.if:196: Error: duplicate definition of container_manage_share_files(). Original definition on 196. container.if:217: Error: duplicate definition of container_manage_share_dirs(). Original definition on 217. container.if:237: Error: duplicate definition of container_exec_share_files(). Original definition on 237. container.if:255: Error: duplicate definition of container_manage_config_files(). Original definition on 255. container.if:274: Error: duplicate definition of container_manage_lib_files(). Original definition on 274. container.if:294: Error: duplicate definition of container_manage_files(). Original definition on 294. container.if:313: Error: duplicate definition of container_manage_dirs(). Original definition on 313. container.if:331: Error: duplicate definition of container_manage_lib_dirs(). Original definition on 331. container.if:367: Error: duplicate definition of container_lib_filetrans(). Original definition on 367. container.if:385: Error: duplicate definition of container_read_pid_files(). Original definition on 385. container.if:404: Error: duplicate definition of container_systemctl(). Original definition on 404. container.if:429: Error: duplicate definition of container_rw_sem(). Original definition on 429. container.if:448: Error: duplicate definition of container_append_file(). Original definition on 448. container.if:466: Error: duplicate definition of container_use_ptys(). Original definition on 466. container.if:484: Error: duplicate definition of container_filetrans_named_content(). Original definition on 484. container.if:543: Error: duplicate definition of container_stream_connect(). Original definition on 537. container.if:564: Error: duplicate definition of container_spc_stream_connect(). Original definition on 558. container.if:585: Error: duplicate definition of container_admin(). Original definition on 579. container.if:632: Error: duplicate definition of container_auth_domtrans(). Original definition on 626. container.if:651: Error: duplicate definition of container_auth_exec(). Original definition on 645. container.if:670: Error: duplicate definition of container_auth_stream_connect(). Original definition on 664. container.if:689: Error: duplicate definition of container_runtime_typebounds(). Original definition on 683. container.if:708: Error: duplicate definition of container_runtime_entrypoint(). Original definition on 702. container.if:715: Error: duplicate definition of docker_exec_lib(). Original definition on 709. container.if:719: Error: duplicate definition of docker_read_share_files(). Original definition on 713. container.if:723: Error: duplicate definition of docker_exec_share_files(). Original definition on 717. container.if:727: Error: duplicate definition of docker_manage_lib_files(). Original definition on 721. container.if:732: Error: duplicate definition of docker_manage_lib_dirs(). Original definition on 726. container.if:736: Error: duplicate definition of docker_lib_filetrans(). Original definition on 730. container.if:740: Error: duplicate definition of docker_read_pid_files(). Original definition on 734. container.if:744: Error: duplicate definition of docker_systemctl(). Original definition on 738. container.if:748: Error: duplicate definition of docker_use_ptys(). Original definition on 742. container.if:752: Error: duplicate definition of docker_stream_connect(). Original definition on 746. container.if:756: Error: duplicate definition of docker_spc_stream_connect(). Original definition on 750. container.if:770: Error: duplicate definition of container_spc_read_state(). Original definition on 764. container.if:789: Error: duplicate definition of container_runtime_domain_template(). Original definition on 783. container.if:825: Error: duplicate definition of container_domain_template(). Original definition on 819. container.if:853: Error: duplicate definition of container_spc_rw_pipes(). Original definition on 847. 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.132.0' Compressing container.pp -> container.pp.bz2 bzip2 -9 container.pp + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.1KtOB3 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/container-selinux-2.132.0-1.rhaos4.4.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/container-selinux-2.132.0-1.rhaos4.4.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/container-selinux-2.132.0-1.rhaos4.4.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/container-selinux-2.132.0-1.rhaos4.4.el8.x86_64 + cd container-selinux-2.132.0 + export MODULES= + MODULES= + for x in container + MODULES+=container.pp.bz2 + MODULES+=' ' + install -d /builddir/build/BUILDROOT/container-selinux-2.132.0-1.rhaos4.4.el8.x86_64/usr/share/selinux/packages + install -d -p /builddir/build/BUILDROOT/container-selinux-2.132.0-1.rhaos4.4.el8.x86_64/usr/share/selinux/devel/include/services + install -p -m 644 container.if /builddir/build/BUILDROOT/container-selinux-2.132.0-1.rhaos4.4.el8.x86_64/usr/share/selinux/devel/include/services + install -m 0644 container.pp.bz2 /builddir/build/BUILDROOT/container-selinux-2.132.0-1.rhaos4.4.el8.x86_64/usr/share/selinux/packages + install -d /builddir/build/BUILDROOT/container-selinux-2.132.0-1.rhaos4.4.el8.x86_64//usr/share/containers/selinux + install -m 644 container_contexts /builddir/build/BUILDROOT/container-selinux-2.132.0-1.rhaos4.4.el8.x86_64//usr/share/containers/selinux/contexts + 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.SQbcfI + umask 022 + cd /builddir/build/BUILD + cd container-selinux-2.132.0 + exit 0 Processing files: container-selinux-2.132.0-1.rhaos4.4.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.QgJqTm + umask 022 + cd /builddir/build/BUILD + cd container-selinux-2.132.0 + DOCDIR=/builddir/build/BUILDROOT/container-selinux-2.132.0-1.rhaos4.4.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.132.0-1.rhaos4.4.el8.x86_64/usr/share/doc/container-selinux + cp -pr README.md /builddir/build/BUILDROOT/container-selinux-2.132.0-1.rhaos4.4.el8.x86_64/usr/share/doc/container-selinux + exit 0 Provides: container-selinux = 2:2.132.0-1.rhaos4.4.el8 docker-engine-selinux = 2:2.132.0-1.rhaos4.4.el8 docker-selinux = 2:2.132.0-1.rhaos4.4.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.132.0-1.rhaos4.4.el8.x86_64 Wrote: /builddir/build/RPMS/container-selinux-2.132.0-1.rhaos4.4.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Oeq9F1 + umask 022 + cd /builddir/build/BUILD + cd container-selinux-2.132.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/container-selinux-2.132.0-1.rhaos4.4.el8.x86_64 + exit 0 Child return code was: 0