Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/foreman-selinux.spec'], user='mockbuild'logger=uid=1001printOutput=Falsenspawn_args=[]shell=Falseenv={'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'TERM': 'vt100'}timeout=0chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-6609/root'gid=135) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/foreman-selinux.spec'] with env {'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'TERM': 'vt100'} and shell False warning: Could not canonicalize hostname: copr-builder-770325958.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/foreman-selinux-1.15.0-1.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/foreman-selinux.spec'], user='mockbuild'logger=uid=1001printOutput=Falsenspawn_args=[]shell=Falseenv={'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'TERM': 'vt100'}timeout=0chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-6609/root'gid=135) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/foreman-selinux.spec'] with env {'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'TERM': 'vt100'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sw1LPg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf foreman-selinux-1.15.0 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/foreman-selinux-1.15.0.tar.bz2 + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd foreman-selinux-1.15.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IKdUR3 + umask 022 + cd /builddir/build/BUILD + cd foreman-selinux-1.15.0 + for selinuxvariant in targeted + make clean all NAME=targeted DISTRO=rhel7 VERSION=1.15.0 INSTPREFIX=/builddir/build/BUILDROOT/foreman-selinux-1.15.0-1.el7.centos.x86_64 rm -rf *.pp* *.pp.bz2 tmp/ local-tmp/ *.8 foreman-*-selinux-enable foreman-*-selinux-disable rm -rf local-tmp-foreman 2>/dev/null mkdir local-tmp-foreman 2>/dev/null cp foreman.te foreman.fc foreman.if local-tmp-foreman/ sed -i 's/@@VERSION@@/1.15.0/' local-tmp-foreman/*.te make -C local-tmp-foreman -f /usr/share/selinux/devel/Makefile NAME=targeted DISTRO=rhel7 make[1]: Entering directory `/builddir/build/BUILD/foreman-selinux-1.15.0/local-tmp-foreman' Compiling targeted foreman module /usr/bin/checkmodule: loading policy configuration from tmp/foreman.tmp /usr/bin/checkmodule: policy configuration loaded /usr/bin/checkmodule: writing binary representation (version 17) to tmp/foreman.mod Creating targeted foreman.pp policy package rm tmp/foreman.mod.fc tmp/foreman.mod make[1]: Leaving directory `/builddir/build/BUILD/foreman-selinux-1.15.0/local-tmp-foreman' mv local-tmp-foreman/foreman.pp . bzip2 -c9 foreman.pp > foreman.pp.bz2 rm -rf local-tmp-foreman 2>/dev/null mkdir local-tmp-foreman 2>/dev/null cp foreman-proxy.te foreman-proxy.fc foreman-proxy.if local-tmp-foreman/ sed -i 's/@@VERSION@@/1.15.0/' local-tmp-foreman/*.te make -C local-tmp-foreman -f /usr/share/selinux/devel/Makefile NAME=targeted DISTRO=rhel7 make[1]: Entering directory `/builddir/build/BUILD/foreman-selinux-1.15.0/local-tmp-foreman' Compiling targeted foreman-proxy module foreman-proxy.te:180: Warning: miscfiles_read_certs() has been deprecated, please use miscfiles_read_generic_certs() instead. /usr/bin/checkmodule: loading policy configuration from tmp/foreman-proxy.tmp /usr/bin/checkmodule: policy configuration loaded /usr/bin/checkmodule: writing binary representation (version 17) to tmp/foreman-proxy.mod Creating targeted foreman-proxy.pp policy package rm tmp/foreman-proxy.mod tmp/foreman-proxy.mod.fc make[1]: Leaving directory `/builddir/build/BUILD/foreman-selinux-1.15.0/local-tmp-foreman' mv local-tmp-foreman/foreman-proxy.pp . bzip2 -c9 foreman-proxy.pp > foreman-proxy.pp.bz2 bash common/selinux-enable.pod.in.sh "foreman" "Foreman" | \ pod2man --name="foreman-selinux-enable" -c "Foreman" --section=8 --release=1.15.0 > foreman-selinux-enable.8 bash common/selinux-disable.pod.in.sh "foreman" "Foreman" | \ pod2man --name="foreman-selinux-disable" -c "Foreman" --section=8 --release=1.15.0 > foreman-selinux-disable.8 bash common/selinux-relabel.pod.in.sh "foreman" "Foreman" | \ pod2man --name="foreman-selinux-relabel" -c "Foreman" --section=8 --release=1.15.0 > foreman-selinux-relabel.8 bash common/selinux-enable.pod.in.sh "foreman-proxy" "Foreman Proxy" | \ pod2man --name="foreman-proxy-selinux-enable" -c "Foreman" --section=8 --release=1.15.0 > foreman-proxy-selinux-enable.8 bash common/selinux-disable.pod.in.sh "foreman-proxy" "Foreman Proxy" | \ pod2man --name="foreman-proxy-selinux-disable" -c "Foreman" --section=8 --release=1.15.0 > foreman-proxy-selinux-disable.8 bash common/selinux-relabel.pod.in.sh "foreman-proxy" "Foreman Proxy" | \ pod2man --name="foreman-proxy-selinux-relabel" -c "Foreman" --section=8 --release=1.15.0 > foreman-proxy-selinux-relabel.8 bash common/selinux-enable.sh "foreman-proxy" > foreman-proxy-selinux-enable bash common/selinux-disable.sh "foreman-proxy" > foreman-proxy-selinux-disable rm foreman.pp foreman-proxy.pp + for selinuxmodule in foreman foreman-proxy + mv foreman.pp.bz2 foreman-targeted.pp.bz2 + for selinuxmodule in foreman foreman-proxy + mv foreman-proxy.pp.bz2 foreman-proxy-targeted.pp.bz2 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.45Xs8U + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/foreman-selinux-1.15.0-1.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/foreman-selinux-1.15.0-1.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/foreman-selinux-1.15.0-1.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/foreman-selinux-1.15.0-1.el7.centos.x86_64 + cd foreman-selinux-1.15.0 + for selinuxvariant in targeted + install -d /builddir/build/BUILDROOT/foreman-selinux-1.15.0-1.el7.centos.x86_64/usr/share/selinux/targeted + for selinuxmodule in foreman foreman-proxy + install -p -m 644 foreman-targeted.pp.bz2 /builddir/build/BUILDROOT/foreman-selinux-1.15.0-1.el7.centos.x86_64/usr/share/selinux/targeted/foreman.pp.bz2 + for selinuxmodule in foreman foreman-proxy + install -p -m 644 foreman-proxy-targeted.pp.bz2 /builddir/build/BUILDROOT/foreman-selinux-1.15.0-1.el7.centos.x86_64/usr/share/selinux/targeted/foreman-proxy.pp.bz2 + make clean install-data NAME=targeted DISTRO=rhel7 VERSION=1.15.0 INSTPREFIX=/builddir/build/BUILDROOT/foreman-selinux-1.15.0-1.el7.centos.x86_64 rm -rf *.pp* *.pp.bz2 tmp/ local-tmp/ *.8 foreman-*-selinux-enable foreman-*-selinux-disable bash common/selinux-enable.pod.in.sh "foreman" "Foreman" | \ pod2man --name="foreman-selinux-enable" -c "Foreman" --section=8 --release=1.15.0 > foreman-selinux-enable.8 bash common/selinux-disable.pod.in.sh "foreman" "Foreman" | \ pod2man --name="foreman-selinux-disable" -c "Foreman" --section=8 --release=1.15.0 > foreman-selinux-disable.8 bash common/selinux-relabel.pod.in.sh "foreman" "Foreman" | \ pod2man --name="foreman-selinux-relabel" -c "Foreman" --section=8 --release=1.15.0 > foreman-selinux-relabel.8 bash common/selinux-enable.pod.in.sh "foreman-proxy" "Foreman Proxy" | \ pod2man --name="foreman-proxy-selinux-enable" -c "Foreman" --section=8 --release=1.15.0 > foreman-proxy-selinux-enable.8 bash common/selinux-disable.pod.in.sh "foreman-proxy" "Foreman Proxy" | \ pod2man --name="foreman-proxy-selinux-disable" -c "Foreman" --section=8 --release=1.15.0 > foreman-proxy-selinux-disable.8 bash common/selinux-relabel.pod.in.sh "foreman-proxy" "Foreman Proxy" | \ pod2man --name="foreman-proxy-selinux-relabel" -c "Foreman" --section=8 --release=1.15.0 > foreman-proxy-selinux-relabel.8 bash common/selinux-enable.sh "foreman-proxy" > foreman-proxy-selinux-enable bash common/selinux-disable.sh "foreman-proxy" > foreman-proxy-selinux-disable install -d /builddir/build/BUILDROOT/foreman-selinux-1.15.0-1.el7.centos.x86_64/usr/share/selinux/devel/include/apps install -p -m 644 *.if /builddir/build/BUILDROOT/foreman-selinux-1.15.0-1.el7.centos.x86_64/usr/share/selinux/devel/include/apps/ install -d /builddir/build/BUILDROOT/foreman-selinux-1.15.0-1.el7.centos.x86_64/usr/sbin install -p -m 755 *-enable *-disable *-relabel /builddir/build/BUILDROOT/foreman-selinux-1.15.0-1.el7.centos.x86_64/usr/sbin/ install -d -m 0755 /builddir/build/BUILDROOT/foreman-selinux-1.15.0-1.el7.centos.x86_64/usr/share/man/man8 install -m 0644 *.8 /builddir/build/BUILDROOT/foreman-selinux-1.15.0-1.el7.centos.x86_64/usr/share/man/man8/ + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/foreman-selinux-1.15.0 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /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 Processing files: foreman-selinux-1.15.0-1.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.23ZF1N + umask 022 + cd /builddir/build/BUILD + cd foreman-selinux-1.15.0 + DOCDIR=/builddir/build/BUILDROOT/foreman-selinux-1.15.0-1.el7.centos.x86_64/usr/share/doc/foreman-selinux-1.15.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/foreman-selinux-1.15.0-1.el7.centos.x86_64/usr/share/doc/foreman-selinux-1.15.0 + cp -pr Contributors /builddir/build/BUILDROOT/foreman-selinux-1.15.0-1.el7.centos.x86_64/usr/share/doc/foreman-selinux-1.15.0 + cp -pr CHANGELOG /builddir/build/BUILDROOT/foreman-selinux-1.15.0-1.el7.centos.x86_64/usr/share/doc/foreman-selinux-1.15.0 + cp -pr LICENSE /builddir/build/BUILDROOT/foreman-selinux-1.15.0-1.el7.centos.x86_64/usr/share/doc/foreman-selinux-1.15.0 + cp -pr foreman.fc /builddir/build/BUILDROOT/foreman-selinux-1.15.0-1.el7.centos.x86_64/usr/share/doc/foreman-selinux-1.15.0 + cp -pr foreman.if /builddir/build/BUILDROOT/foreman-selinux-1.15.0-1.el7.centos.x86_64/usr/share/doc/foreman-selinux-1.15.0 + cp -pr foreman.te /builddir/build/BUILDROOT/foreman-selinux-1.15.0-1.el7.centos.x86_64/usr/share/doc/foreman-selinux-1.15.0 + cp -pr foreman.sh /builddir/build/BUILDROOT/foreman-selinux-1.15.0-1.el7.centos.x86_64/usr/share/doc/foreman-selinux-1.15.0 + exit 0 Provides: foreman-selinux = 1.15.0-1.el7.centos Requires(interp): /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(post): /bin/sh /sbin/restorecon /usr/sbin/selinuxenabled /usr/sbin/semanage /usr/sbin/semodule /usr/sbin/setsebool policycoreutils-python selinux-policy-targeted Requires(preun): /bin/sh Requires(postun): /sbin/restorecon /usr/sbin/semodule Requires(posttrans): /bin/sh Requires: /bin/bash /bin/sh Processing files: foreman-proxy-selinux-1.15.0-1.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.AoAlfH + umask 022 + cd /builddir/build/BUILD + cd foreman-selinux-1.15.0 + DOCDIR=/builddir/build/BUILDROOT/foreman-selinux-1.15.0-1.el7.centos.x86_64/usr/share/doc/foreman-proxy-selinux-1.15.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/foreman-selinux-1.15.0-1.el7.centos.x86_64/usr/share/doc/foreman-proxy-selinux-1.15.0 + cp -pr Contributors /builddir/build/BUILDROOT/foreman-selinux-1.15.0-1.el7.centos.x86_64/usr/share/doc/foreman-proxy-selinux-1.15.0 + cp -pr CHANGELOG /builddir/build/BUILDROOT/foreman-selinux-1.15.0-1.el7.centos.x86_64/usr/share/doc/foreman-proxy-selinux-1.15.0 + cp -pr LICENSE /builddir/build/BUILDROOT/foreman-selinux-1.15.0-1.el7.centos.x86_64/usr/share/doc/foreman-proxy-selinux-1.15.0 + cp -pr foreman-proxy.fc /builddir/build/BUILDROOT/foreman-selinux-1.15.0-1.el7.centos.x86_64/usr/share/doc/foreman-proxy-selinux-1.15.0 + cp -pr foreman-proxy.if /builddir/build/BUILDROOT/foreman-selinux-1.15.0-1.el7.centos.x86_64/usr/share/doc/foreman-proxy-selinux-1.15.0 + cp -pr foreman-proxy.te /builddir/build/BUILDROOT/foreman-selinux-1.15.0-1.el7.centos.x86_64/usr/share/doc/foreman-proxy-selinux-1.15.0 + exit 0 Provides: foreman-proxy-selinux = 1.15.0-1.el7.centos Requires(interp): /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(post): /bin/sh /sbin/restorecon /usr/sbin/selinuxenabled /usr/sbin/semanage /usr/sbin/semodule /usr/sbin/setsebool policycoreutils-python selinux-policy-targeted Requires(preun): /bin/sh Requires(postun): /sbin/restorecon /usr/sbin/semodule Requires(posttrans): /bin/sh Requires: /bin/bash Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/foreman-selinux-1.15.0-1.el7.centos.x86_64 Wrote: /builddir/build/RPMS/foreman-selinux-1.15.0-1.el7.centos.noarch.rpm Wrote: /builddir/build/RPMS/foreman-proxy-selinux-1.15.0-1.el7.centos.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.qXGi0n + umask 022 + cd /builddir/build/BUILD + cd foreman-selinux-1.15.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/foreman-selinux-1.15.0-1.el7.centos.x86_64 + exit 0 Child return code was: 0