Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/container-selinux.spec'], chrootPath='/var/lib/mock/container-selinux-2.42-1.gitad8f0f7.el7-20180307170220-16219/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1006) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/container-selinux.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False warning: Could not canonicalize hostname: x86-01.bsys.centos.org Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/container-selinux-2.42-1.gitad8f0f7.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/container-selinux.spec'], chrootPath='/var/lib/mock/container-selinux-2.42-1.gitad8f0f7.el7-20180307170220-16219/root'shell=Falseuid=1006env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/container-selinux.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.t8Ses8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf container-selinux-ad8f0f7a9ced4516b1d4f03bfa8939ed51f60eb9 + /usr/bin/gzip -dc /builddir/build/SOURCES/container-selinux-ad8f0f7.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd container-selinux-ad8f0f7a9ced4516b1d4f03bfa8939ed51f60eb9 + /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.42 base' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cxfNGb + umask 022 + cd /builddir/build/BUILD + cd container-selinux-ad8f0f7a9ced4516b1d4f03bfa8939ed51f60eb9 + make make -f /usr/share/selinux/devel/Makefile container.pp make[1]: Entering directory `/builddir/build/BUILD/container-selinux-ad8f0f7a9ced4516b1d4f03bfa8939ed51f60eb9' container.if:14: Error: duplicate definition of container_runtime_domtrans(). Original definition on 14. container.if:60: Error: duplicate definition of container_runtime_exec(). Original definition on 33. container.if:79: Error: duplicate definition of container_search_lib(). Original definition on 52. container.if:98: Error: duplicate definition of container_exec_lib(). Original definition on 71. container.if:117: Error: duplicate definition of container_read_lib_files(). Original definition on 90. container.if:136: Error: duplicate definition of container_read_share_files(). Original definition on 109. container.if:158: Error: duplicate definition of container_exec_share_files(). Original definition on 131. container.if:176: Error: duplicate definition of container_manage_lib_files(). Original definition on 149. container.if:196: Error: duplicate definition of container_manage_lib_dirs(). Original definition on 169. container.if:232: Error: duplicate definition of container_lib_filetrans(). Original definition on 205. container.if:250: Error: duplicate definition of container_read_pid_files(). Original definition on 223. container.if:269: Error: duplicate definition of container_systemctl(). Original definition on 242. container.if:294: Error: duplicate definition of container_rw_sem(). Original definition on 267. container.if:312: Error: duplicate definition of container_use_ptys(). Original definition on 285. container.if:330: Error: duplicate definition of container_filetrans_named_content(). Original definition on 303. container.if:376: Error: duplicate definition of container_stream_connect(). Original definition on 336. container.if:397: Error: duplicate definition of container_spc_stream_connect(). Original definition on 355. container.if:418: Error: duplicate definition of container_admin(). Original definition on 376. container.if:465: Error: duplicate definition of container_auth_domtrans(). Original definition on 441. container.if:484: Error: duplicate definition of container_auth_exec(). Original definition on 460. container.if:503: Error: duplicate definition of container_auth_stream_connect(). Original definition on 479. container.if:522: Error: duplicate definition of container_runtime_typebounds(). Original definition on 498. container.if:603: 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 17) 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-ad8f0f7a9ced4516b1d4f03bfa8939ed51f60eb9' Compressing container.pp -> container.pp.bz2 bzip2 -9 container.pp + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CkONfg + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/container-selinux-2.42-1.gitad8f0f7.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/container-selinux-2.42-1.gitad8f0f7.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/container-selinux-2.42-1.gitad8f0f7.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/container-selinux-2.42-1.gitad8f0f7.el7.x86_64 + cd container-selinux-ad8f0f7a9ced4516b1d4f03bfa8939ed51f60eb9 + export MODULES= + MODULES= + for x in container + MODULES+=container.pp.bz2 + MODULES+=' ' + install -d /builddir/build/BUILDROOT/container-selinux-2.42-1.gitad8f0f7.el7.x86_64/usr/share/selinux/packages + install -d -p /builddir/build/BUILDROOT/container-selinux-2.42-1.gitad8f0f7.el7.x86_64/usr/share/selinux/devel/include/services + install -p -m 644 container.if /builddir/build/BUILDROOT/container-selinux-2.42-1.gitad8f0f7.el7.x86_64/usr/share/selinux/devel/include/services + install -m 0644 container.pp.bz2 /builddir/build/BUILDROOT/container-selinux-2.42-1.gitad8f0f7.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.fuU3Xk + umask 022 + cd /builddir/build/BUILD + cd container-selinux-ad8f0f7a9ced4516b1d4f03bfa8939ed51f60eb9 + exit 0 Processing files: container-selinux-2.42-1.gitad8f0f7.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.x3LFGp + umask 022 + cd /builddir/build/BUILD + cd container-selinux-ad8f0f7a9ced4516b1d4f03bfa8939ed51f60eb9 + DOCDIR=/builddir/build/BUILDROOT/container-selinux-2.42-1.gitad8f0f7.el7.x86_64/usr/share/doc/container-selinux-2.42 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/container-selinux-2.42-1.gitad8f0f7.el7.x86_64/usr/share/doc/container-selinux-2.42 + cp -pr README.md /builddir/build/BUILDROOT/container-selinux-2.42-1.gitad8f0f7.el7.x86_64/usr/share/doc/container-selinux-2.42 + exit 0 Provides: container-selinux = 2:2.42-1.gitad8f0f7.el7 docker-engine-selinux = 2:2.42-1.gitad8f0f7.el7 docker-selinux = 2:2.42-1.gitad8f0f7.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 selinux-policy-base >= 3.13.1-39 selinux-policy-targeted >= 3.13.1-39 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.42-1.gitad8f0f7.el7.x86_64 Wrote: /builddir/build/RPMS/container-selinux-2.42-1.gitad8f0f7.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.yXaQjz + umask 022 + cd /builddir/build/BUILD + cd container-selinux-ad8f0f7a9ced4516b1d4f03bfa8939ed51f60eb9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/container-selinux-2.42-1.gitad8f0f7.el7.x86_64 + exit 0 Child return code was: 0