Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 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-8050020220619052723-ecaa9543-build-8628-1272/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+oc8.5.0+74+aebb97a7.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-8050020220619052723-ecaa9543-build-8628-1272/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.a8j1a8 + 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.N9TB84 + 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 278. container.if:298: Error: duplicate definition of container_manage_files(). Original definition on 298. container.if:317: Error: duplicate definition of container_manage_dirs(). Original definition on 317. container.if:335: Error: duplicate definition of container_manage_lib_dirs(). Original definition on 335. container.if:371: Error: duplicate definition of container_lib_filetrans(). Original definition on 371. container.if:389: Error: duplicate definition of container_read_pid_files(). Original definition on 389. container.if:408: Error: duplicate definition of container_systemctl(). Original definition on 408. container.if:433: Error: duplicate definition of container_rw_sem(). Original definition on 433. container.if:452: Error: duplicate definition of container_append_file(). Original definition on 452. container.if:470: Error: duplicate definition of container_use_ptys(). Original definition on 470. container.if:488: Error: duplicate definition of container_filetrans_named_content(). Original definition on 488. container.if:562: Error: duplicate definition of container_stream_connect(). Original definition on 562. container.if:583: Error: duplicate definition of container_spc_stream_connect(). Original definition on 583. container.if:603: Error: duplicate definition of container_admin(). Original definition on 603. container.if:653: Error: duplicate definition of container_auth_domtrans(). Original definition on 653. container.if:672: Error: duplicate definition of container_auth_exec(). Original definition on 672. container.if:691: Error: duplicate definition of container_auth_stream_connect(). Original definition on 691. container.if:710: Error: duplicate definition of container_runtime_typebounds(). Original definition on 710. container.if:729: Error: duplicate definition of container_runtime_entrypoint(). Original definition on 729. container.if:736: Error: duplicate definition of docker_exec_lib(). Original definition on 736. container.if:740: Error: duplicate definition of docker_read_share_files(). Original definition on 740. container.if:744: Error: duplicate definition of docker_exec_share_files(). Original definition on 744. container.if:748: Error: duplicate definition of docker_manage_lib_files(). Original definition on 748. container.if:753: Error: duplicate definition of docker_manage_lib_dirs(). Original definition on 753. container.if:757: Error: duplicate definition of docker_lib_filetrans(). Original definition on 757. container.if:761: Error: duplicate definition of docker_read_pid_files(). Original definition on 761. container.if:765: Error: duplicate definition of docker_systemctl(). Original definition on 765. container.if:769: Error: duplicate definition of docker_use_ptys(). Original definition on 769. container.if:773: Error: duplicate definition of docker_stream_connect(). Original definition on 773. container.if:777: Error: duplicate definition of docker_spc_stream_connect(). Original definition on 777. container.if:791: Error: duplicate definition of container_spc_read_state(). Original definition on 791. container.if:810: Error: duplicate definition of container_runtime_domain_template(). Original definition on 810. container.if:848: Error: duplicate definition of container_domain_template(). Original definition on 848. container.if:876: Error: duplicate definition of container_spc_rw_pipes(). Original definition on 876. 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.167.0' Compressing container.pp -> container.pp.bz2 bzip2 -9 container.pp + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IwogQ5 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/container-selinux-2.167.0-1.module+oc8.5.0+74+aebb97a7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/container-selinux-2.167.0-1.module+oc8.5.0+74+aebb97a7.noarch ++ dirname /builddir/build/BUILDROOT/container-selinux-2.167.0-1.module+oc8.5.0+74+aebb97a7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/container-selinux-2.167.0-1.module+oc8.5.0+74+aebb97a7.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+oc8.5.0+74+aebb97a7.noarch/usr/share/selinux/packages + install -d -p /builddir/build/BUILDROOT/container-selinux-2.167.0-1.module+oc8.5.0+74+aebb97a7.noarch/usr/share/selinux/devel/include/services + install -p -m 644 container.if /builddir/build/BUILDROOT/container-selinux-2.167.0-1.module+oc8.5.0+74+aebb97a7.noarch/usr/share/selinux/devel/include/services + install -m 0644 container.pp.bz2 /builddir/build/BUILDROOT/container-selinux-2.167.0-1.module+oc8.5.0+74+aebb97a7.noarch/usr/share/selinux/packages + install -d /builddir/build/BUILDROOT/container-selinux-2.167.0-1.module+oc8.5.0+74+aebb97a7.noarch//usr/share/containers/selinux + install -m 644 container_contexts /builddir/build/BUILDROOT/container-selinux-2.167.0-1.module+oc8.5.0+74+aebb97a7.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.SGx8l4 + umask 022 + cd /builddir/build/BUILD + cd container-selinux-2.167.0 Processing files: container-selinux-2.167.0-1.module+oc8.5.0+74+aebb97a7.noarch + exit 0 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.DsnW64 + umask 022 + cd /builddir/build/BUILD + cd container-selinux-2.167.0 + DOCDIR=/builddir/build/BUILDROOT/container-selinux-2.167.0-1.module+oc8.5.0+74+aebb97a7.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+oc8.5.0+74+aebb97a7.noarch/usr/share/doc/container-selinux + cp -pr README.md /builddir/build/BUILDROOT/container-selinux-2.167.0-1.module+oc8.5.0+74+aebb97a7.noarch/usr/share/doc/container-selinux + exit 0 Provides: container-selinux = 2:2.167.0-1.module+oc8.5.0+74+aebb97a7 docker-engine-selinux = 2:2.167.0-1.module+oc8.5.0+74+aebb97a7 docker-selinux = 2:2.167.0-1.module+oc8.5.0+74+aebb97a7 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+oc8.5.0+74+aebb97a7.noarch Wrote: /builddir/build/RPMS/container-selinux-2.167.0-1.module+oc8.5.0+74+aebb97a7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.fJpvg6 + 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+oc8.5.0+74+aebb97a7.noarch + exit 0 Child return code was: 0