Mock Version: 2.1 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/1315520-epel-7-x86_64-1584979390.904959/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', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ztrth5vj:/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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ztrth5vj:/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', '5511351c6a3c4a36893596da9cdd09a1', '-D', '/var/lib/mock/1315520-epel-7-x86_64-1584979390.904959/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ztrth5vj:/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=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.107-3.el7.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/1315520-epel-7-x86_64-1584979390.904959/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', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ztrth5vj:/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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ztrth5vj:/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', 'b661dbc5a3064708bb25c08240c6dacd', '-D', '/var/lib/mock/1315520-epel-7-x86_64-1584979390.904959/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ztrth5vj:/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=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.PfwxMS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf container-selinux-871b7da9f70f1a146f2784419f7c5ecf1296563c + /usr/bin/gzip -dc /builddir/build/SOURCES/container-selinux-871b7da.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd container-selinux-871b7da9f70f1a146f2784419f7c5ecf1296563c + /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 -a --author 'rpm-build ' -m 'container-selinux-2.107 base' + sed -i '/fs_manage_fusefs_named_pipes(container_domain)/d' container.te + sed -i '/fs_manage_fusefs_named_sockets(container_domain)/d' container.te + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.16T7gO + umask 022 + cd /builddir/build/BUILD + cd container-selinux-871b7da9f70f1a146f2784419f7c5ecf1296563c + make make -f /usr/share/selinux/devel/Makefile container.pp make[1]: Entering directory `/builddir/build/BUILD/container-selinux-871b7da9f70f1a146f2784419f7c5ecf1296563c' container.if:14: Error: duplicate definition of container_runtime_domtrans(). Original definition on 14. container.if:61: Error: duplicate definition of container_runtime_exec(). Original definition on 33. container.if:98: Error: duplicate definition of container_search_lib(). Original definition on 52. container.if:117: Error: duplicate definition of container_exec_lib(). Original definition on 71. container.if:136: Error: duplicate definition of container_read_lib_files(). Original definition on 90. container.if:155: Error: duplicate definition of container_read_share_files(). Original definition on 109. container.if:217: Error: duplicate definition of container_exec_share_files(). Original definition on 131. container.if:254: Error: duplicate definition of container_manage_lib_files(). Original definition on 149. container.if:311: Error: duplicate definition of container_manage_lib_dirs(). Original definition on 169. container.if:347: Error: duplicate definition of container_lib_filetrans(). Original definition on 205. container.if:365: Error: duplicate definition of container_read_pid_files(). Original definition on 223. container.if:384: Error: duplicate definition of container_systemctl(). Original definition on 242. container.if:409: Error: duplicate definition of container_rw_sem(). Original definition on 267. container.if:446: Error: duplicate definition of container_use_ptys(). Original definition on 285. container.if:464: Error: duplicate definition of container_filetrans_named_content(). Original definition on 303. container.if:517: Error: duplicate definition of container_stream_connect(). Original definition on 336. container.if:538: Error: duplicate definition of container_spc_stream_connect(). Original definition on 355. container.if:559: Error: duplicate definition of container_admin(). Original definition on 376. container.if:606: Error: duplicate definition of container_auth_domtrans(). Original definition on 441. container.if:625: Error: duplicate definition of container_auth_exec(). Original definition on 460. container.if:644: Error: duplicate definition of container_auth_stream_connect(). Original definition on 479. container.if:663: Error: duplicate definition of container_runtime_typebounds(). Original definition on 498. container.if:744: Error: duplicate definition of container_spc_read_state(). Original definition on 423. Compiling targeted container module /usr/bin/checkmodule: loading policy configuration from tmp/container.tmp /usr/bin/checkmodule: policy configuration loaded /usr/bin/checkmodule: writing binary representation (version 19) to tmp/container.mod Creating targeted container.pp policy package rm tmp/container.mod tmp/container.mod.fc make[1]: Leaving directory `/builddir/build/BUILD/container-selinux-871b7da9f70f1a146f2784419f7c5ecf1296563c' Compressing container.pp -> container.pp.bz2 bzip2 -9 container.pp + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.lWGZqL + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/container-selinux-2.107-3.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/container-selinux-2.107-3.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/container-selinux-2.107-3.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/container-selinux-2.107-3.el7.x86_64 + cd container-selinux-871b7da9f70f1a146f2784419f7c5ecf1296563c + export MODULES= + MODULES= + for x in container + MODULES+=container.pp.bz2 + MODULES+=' ' + install -d /builddir/build/BUILDROOT/container-selinux-2.107-3.el7.x86_64/usr/share/selinux/packages + install -d -p /builddir/build/BUILDROOT/container-selinux-2.107-3.el7.x86_64/usr/share/selinux/devel/include/services + install -p -m 644 container.if /builddir/build/BUILDROOT/container-selinux-2.107-3.el7.x86_64/usr/share/selinux/devel/include/services + install -m 0644 container.pp.bz2 /builddir/build/BUILDROOT/container-selinux-2.107-3.el7.x86_64/usr/share/selinux/packages + rm -rf container-selinux.spec + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.DvAoMI + umask 022 + cd /builddir/build/BUILD + cd container-selinux-871b7da9f70f1a146f2784419f7c5ecf1296563c + exit 0 Processing files: container-selinux-2.107-3.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.rekk8F + umask 022 + cd /builddir/build/BUILD + cd container-selinux-871b7da9f70f1a146f2784419f7c5ecf1296563c + DOCDIR=/builddir/build/BUILDROOT/container-selinux-2.107-3.el7.x86_64/usr/share/doc/container-selinux-2.107 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/container-selinux-2.107-3.el7.x86_64/usr/share/doc/container-selinux-2.107 + cp -pr README.md /builddir/build/BUILDROOT/container-selinux-2.107-3.el7.x86_64/usr/share/doc/container-selinux-2.107 + exit 0 Provides: container-selinux = 2:2.107-3.el7 docker-engine-selinux = 2:2.107-3.el7 docker-selinux = 2:2.107-3.el7 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh libselinux-utils policycoreutils >= 2.5-11 policycoreutils-python sed selinux-policy-base >= 3.13.1-166 selinux-policy-targeted >= 3.13.1-166 Requires(postun): /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.107-3.el7.x86_64 Wrote: /builddir/build/RPMS/container-selinux-2.107-3.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.IrWm7A + umask 022 + cd /builddir/build/BUILD + cd container-selinux-871b7da9f70f1a146f2784419f7c5ecf1296563c + /usr/bin/rm -rf /builddir/build/BUILDROOT/container-selinux-2.107-3.el7.x86_64 + exit 0 Child return code was: 0