Mock Version: 2.9 Mock Version: 2.9 Mock Version: 2.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/container-selinux.spec'], chrootPath='/var/lib/mock/module-container-tools-1.0-8030020210507031352-2a301c24-build-22359-4221/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --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'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/container-selinux-2.124.0-1.gitf958d0c.module+el8.3.0+92+a0ee0dd4.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/container-selinux.spec'], chrootPath='/var/lib/mock/module-container-tools-1.0-8030020210507031352-2a301c24-build-22359-4221/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --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'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.eoSqDz + 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.BjU4gZ + 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 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 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 549. container.if:558: Error: duplicate definition of container_spc_stream_connect(). Original definition on 570. container.if:579: Error: duplicate definition of container_admin(). Original definition on 591. container.if:626: Error: duplicate definition of container_auth_domtrans(). Original definition on 638. container.if:645: Error: duplicate definition of container_auth_exec(). Original definition on 657. container.if:664: Error: duplicate definition of container_auth_stream_connect(). Original definition on 676. container.if:683: Error: duplicate definition of container_runtime_typebounds(). Original definition on 695. container.if:702: Error: duplicate definition of container_runtime_entrypoint(). Original definition on 714. container.if:709: Error: duplicate definition of docker_exec_lib(). Original definition on 721. container.if:713: Error: duplicate definition of docker_read_share_files(). Original definition on 725. container.if:717: Error: duplicate definition of docker_exec_share_files(). Original definition on 729. container.if:721: Error: duplicate definition of docker_manage_lib_files(). Original definition on 733. container.if:726: Error: duplicate definition of docker_manage_lib_dirs(). Original definition on 738. container.if:730: Error: duplicate definition of docker_lib_filetrans(). Original definition on 742. container.if:734: Error: duplicate definition of docker_read_pid_files(). Original definition on 746. container.if:738: Error: duplicate definition of docker_systemctl(). Original definition on 750. container.if:742: Error: duplicate definition of docker_use_ptys(). Original definition on 754. container.if:746: Error: duplicate definition of docker_stream_connect(). Original definition on 758. container.if:750: Error: duplicate definition of docker_spc_stream_connect(). Original definition on 762. container.if:764: Error: duplicate definition of container_spc_read_state(). Original definition on 776. container.if:783: Error: duplicate definition of container_runtime_domain_template(). Original definition on 795. container.if:819: Error: duplicate definition of container_domain_template(). Original definition on 833. container.if:847: Error: duplicate definition of container_spc_rw_pipes(). Original definition on 861. 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.MHz18p + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/container-selinux-2.124.0-1.gitf958d0c.module+el8.3.0+92+a0ee0dd4.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/container-selinux-2.124.0-1.gitf958d0c.module+el8.3.0+92+a0ee0dd4.noarch ++ dirname /builddir/build/BUILDROOT/container-selinux-2.124.0-1.gitf958d0c.module+el8.3.0+92+a0ee0dd4.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/container-selinux-2.124.0-1.gitf958d0c.module+el8.3.0+92+a0ee0dd4.noarch + 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.gitf958d0c.module+el8.3.0+92+a0ee0dd4.noarch/usr/share/selinux/packages + install -d -p /builddir/build/BUILDROOT/container-selinux-2.124.0-1.gitf958d0c.module+el8.3.0+92+a0ee0dd4.noarch/usr/share/selinux/devel/include/services + install -p -m 644 container.if /builddir/build/BUILDROOT/container-selinux-2.124.0-1.gitf958d0c.module+el8.3.0+92+a0ee0dd4.noarch/usr/share/selinux/devel/include/services + install -m 0644 container.pp.bz2 /builddir/build/BUILDROOT/container-selinux-2.124.0-1.gitf958d0c.module+el8.3.0+92+a0ee0dd4.noarch/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.dC877Q + umask 022 + cd /builddir/build/BUILD + cd container-selinux-f958d0cee4099f79890247ec64b57502b3acdb9f + exit 0 Processing files: container-selinux-2.124.0-1.gitf958d0c.module+el8.3.0+92+a0ee0dd4.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.MN7C7h + umask 022 + cd /builddir/build/BUILD + cd container-selinux-f958d0cee4099f79890247ec64b57502b3acdb9f + DOCDIR=/builddir/build/BUILDROOT/container-selinux-2.124.0-1.gitf958d0c.module+el8.3.0+92+a0ee0dd4.noarch/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.gitf958d0c.module+el8.3.0+92+a0ee0dd4.noarch/usr/share/doc/container-selinux + cp -pr README.md /builddir/build/BUILDROOT/container-selinux-2.124.0-1.gitf958d0c.module+el8.3.0+92+a0ee0dd4.noarch/usr/share/doc/container-selinux + exit 0 Provides: container-selinux = 2:2.124.0-1.gitf958d0c.module+el8.3.0+92+a0ee0dd4 docker-engine-selinux = 2:2.124.0-1.gitf958d0c.module+el8.3.0+92+a0ee0dd4 docker-selinux = 2:2.124.0-1.gitf958d0c.module+el8.3.0+92+a0ee0dd4 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.gitf958d0c.module+el8.3.0+92+a0ee0dd4.noarch Wrote: /builddir/build/RPMS/container-selinux-2.124.0-1.gitf958d0c.module+el8.3.0+92+a0ee0dd4.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3iMEdJ + umask 022 + cd /builddir/build/BUILD + cd container-selinux-f958d0cee4099f79890247ec64b57502b3acdb9f + /usr/bin/rm -rf /builddir/build/BUILDROOT/container-selinux-2.124.0-1.gitf958d0c.module+el8.3.0+92+a0ee0dd4.noarch + exit 0 Child return code was: 0