Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 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-3.0-8040020211104112748-59631bd5-build-43248-8630/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.167.0-1.module+el8.4.0+259+41edf872.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-3.0-8040020211104112748-59631bd5-build-43248-8630/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.Pr4XYC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf container-selinux-2.167.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/v2.167.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd container-selinux-2.167.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.167.0 base' + /usr/bin/cat /builddir/build/SOURCES/rhel-fix.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m rhel-fix.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/container-selinux-1957904.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m container-selinux-1957904.patch --author 'rpm-build ' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Uf5ynC + umask 022 + cd /builddir/build/BUILD + cd container-selinux-2.167.0 + make make -f /usr/share/selinux/devel/Makefile container.pp make[1]: Entering directory '/builddir/build/BUILD/container-selinux-2.167.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:61: Error: duplicate definition of container_runtime_exec(). Original definition on 61. container.if:80: Error: duplicate definition of container_read_state(). Original definition on 80. container.if:98: Error: duplicate definition of container_search_lib(). Original definition on 98. container.if:117: Error: duplicate definition of container_exec_lib(). Original definition on 117. container.if:136: Error: duplicate definition of container_read_lib_files(). Original definition on 136. container.if:155: Error: duplicate definition of container_read_share_files(). Original definition on 155. container.if:176: Error: duplicate definition of container_runtime_read_tmpfs_files(). Original definition on 176. container.if:197: Error: duplicate definition of container_manage_share_files(). Original definition on 197. container.if:218: Error: duplicate definition of container_manage_share_dirs(). Original definition on 218. container.if:238: Error: duplicate definition of container_exec_share_files(). Original definition on 238. container.if:256: Error: duplicate definition of container_manage_config_files(). Original definition on 256. container.if:278: Error: duplicate definition of container_manage_lib_files(). Original definition on 275. container.if:298: Error: duplicate definition of container_manage_files(). Original definition on 295. container.if:317: Error: duplicate definition of container_manage_dirs(). Original definition on 314. container.if:335: Error: duplicate definition of container_manage_lib_dirs(). Original definition on 332. container.if:371: Error: duplicate definition of container_lib_filetrans(). Original definition on 368. container.if:389: Error: duplicate definition of container_read_pid_files(). Original definition on 386. container.if:408: Error: duplicate definition of container_systemctl(). Original definition on 405. container.if:433: Error: duplicate definition of container_rw_sem(). Original definition on 430. container.if:452: Error: duplicate definition of container_append_file(). Original definition on 449. container.if:470: Error: duplicate definition of container_use_ptys(). Original definition on 467. container.if:488: Error: duplicate definition of container_filetrans_named_content(). Original definition on 485. container.if:562: Error: duplicate definition of container_stream_connect(). Original definition on 549. container.if:583: Error: duplicate definition of container_spc_stream_connect(). Original definition on 570. container.if:603: Error: duplicate definition of container_admin(). Original definition on 591. container.if:653: Error: duplicate definition of container_auth_domtrans(). Original definition on 638. container.if:672: Error: duplicate definition of container_auth_exec(). Original definition on 657. container.if:691: Error: duplicate definition of container_auth_stream_connect(). Original definition on 676. container.if:710: Error: duplicate definition of container_runtime_typebounds(). Original definition on 695. container.if:729: Error: duplicate definition of container_runtime_entrypoint(). Original definition on 714. container.if:736: Error: duplicate definition of docker_exec_lib(). Original definition on 721. container.if:740: Error: duplicate definition of docker_read_share_files(). Original definition on 725. container.if:744: Error: duplicate definition of docker_exec_share_files(). Original definition on 729. container.if:748: Error: duplicate definition of docker_manage_lib_files(). Original definition on 733. container.if:753: Error: duplicate definition of docker_manage_lib_dirs(). Original definition on 738. container.if:757: Error: duplicate definition of docker_lib_filetrans(). Original definition on 742. container.if:761: Error: duplicate definition of docker_read_pid_files(). Original definition on 746. container.if:765: Error: duplicate definition of docker_systemctl(). Original definition on 750. container.if:769: Error: duplicate definition of docker_use_ptys(). Original definition on 754. container.if:773: Error: duplicate definition of docker_stream_connect(). Original definition on 758. container.if:777: Error: duplicate definition of docker_spc_stream_connect(). Original definition on 762. container.if:791: Error: duplicate definition of container_spc_read_state(). Original definition on 776. container.if:810: Error: duplicate definition of container_runtime_domain_template(). Original definition on 795. container.if:848: Error: duplicate definition of container_domain_template(). Original definition on 833. container.if:876: 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-2.167.0' Compressing container.pp -> container.pp.bz2 bzip2 -9 container.pp + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ebH40D + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/container-selinux-2.167.0-1.module+el8.4.0+259+41edf872.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/container-selinux-2.167.0-1.module+el8.4.0+259+41edf872.noarch ++ dirname /builddir/build/BUILDROOT/container-selinux-2.167.0-1.module+el8.4.0+259+41edf872.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/container-selinux-2.167.0-1.module+el8.4.0+259+41edf872.noarch + cd container-selinux-2.167.0 + export MODULES= + MODULES= + for x in container + MODULES+=container.pp.bz2 + MODULES+=' ' + install -d /builddir/build/BUILDROOT/container-selinux-2.167.0-1.module+el8.4.0+259+41edf872.noarch/usr/share/selinux/packages + install -d -p /builddir/build/BUILDROOT/container-selinux-2.167.0-1.module+el8.4.0+259+41edf872.noarch/usr/share/selinux/devel/include/services + install -p -m 644 container.if /builddir/build/BUILDROOT/container-selinux-2.167.0-1.module+el8.4.0+259+41edf872.noarch/usr/share/selinux/devel/include/services + install -m 0644 container.pp.bz2 /builddir/build/BUILDROOT/container-selinux-2.167.0-1.module+el8.4.0+259+41edf872.noarch/usr/share/selinux/packages + install -d /builddir/build/BUILDROOT/container-selinux-2.167.0-1.module+el8.4.0+259+41edf872.noarch//usr/share/containers/selinux + install -m 644 container_contexts /builddir/build/BUILDROOT/container-selinux-2.167.0-1.module+el8.4.0+259+41edf872.noarch//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.K2lsMF + umask 022 + cd /builddir/build/BUILD + cd container-selinux-2.167.0 + exit 0 Processing files: container-selinux-2.167.0-1.module+el8.4.0+259+41edf872.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.vG89AG + umask 022 + cd /builddir/build/BUILD + cd container-selinux-2.167.0 + DOCDIR=/builddir/build/BUILDROOT/container-selinux-2.167.0-1.module+el8.4.0+259+41edf872.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.167.0-1.module+el8.4.0+259+41edf872.noarch/usr/share/doc/container-selinux + cp -pr README.md /builddir/build/BUILDROOT/container-selinux-2.167.0-1.module+el8.4.0+259+41edf872.noarch/usr/share/doc/container-selinux + exit 0 Provides: container-selinux = 2:2.167.0-1.module+el8.4.0+259+41edf872 docker-engine-selinux = 2:2.167.0-1.module+el8.4.0+259+41edf872 docker-selinux = 2:2.167.0-1.module+el8.4.0+259+41edf872 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.167.0-1.module+el8.4.0+259+41edf872.noarch Wrote: /builddir/build/RPMS/container-selinux-2.167.0-1.module+el8.4.0+259+41edf872.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.BRCG1B + umask 022 + cd /builddir/build/BUILD + cd container-selinux-2.167.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/container-selinux-2.167.0-1.module+el8.4.0+259+41edf872.noarch + exit 0 Child return code was: 0