Mock Version: 1.2.20 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/foreman-selinux.spec'], uid=1001user='mockbuild'printOutput=Falseenv={'HOSTNAME': 'mock', 'TERM': 'vt100', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir'}timeout=0gid=135shell=Falselogger=chrootPath='/var/lib/mock/epel-6-x86_64-mockbuilder-5230/root') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/foreman-selinux.spec'] with env {'HOSTNAME': 'mock', 'TERM': 'vt100', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir'} and shell False warning: Could not canonicalize hostname: copr-builder-290692894.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/foreman-selinux-1.12.2-1.git.17.0dbd3e1.el6.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'], uid=1001user='mockbuild'printOutput=Falseprivate_network=Truetimeout=0env={'HOSTNAME': 'mock', 'TERM': 'vt100', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir'}gid=135shell=Falselogger=chrootPath='/var/lib/mock/epel-6-x86_64-mockbuilder-5230/root') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/foreman-selinux.spec'] with env {'HOSTNAME': 'mock', 'TERM': 'vt100', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UUCyue + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf foreman-selinux-1.12.2 + /bin/tar -xf - + /usr/bin/bzip2 -dc /builddir/build/SOURCES/foreman-selinux-1.12.2.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd foreman-selinux-1.12.2 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xLsOV5 + umask 022 + cd /builddir/build/BUILD + cd foreman-selinux-1.12.2 + LANG=C + export LANG + unset DISPLAY + for selinuxvariant in targeted + make clean all NAME=targeted DISTRO=rhel6 VERSION=1.12.2 INSTPREFIX=/builddir/build/BUILDROOT/foreman-selinux-1.12.2-1.git.17.0dbd3e1.el6.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.12.2/' local-tmp-foreman/*.te make -C local-tmp-foreman -f /usr/share/selinux/devel/Makefile NAME=targeted DISTRO=rhel6 cat: /selinux/mls: No such file or directory make[1]: Entering directory `/builddir/build/BUILD/foreman-selinux-1.12.2/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 10) to tmp/foreman.mod Creating targeted foreman.pp policy package rm tmp/foreman.mod tmp/foreman.mod.fc make[1]: Leaving directory `/builddir/build/BUILD/foreman-selinux-1.12.2/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.12.2/' local-tmp-foreman/*.te make -C local-tmp-foreman -f /usr/share/selinux/devel/Makefile NAME=targeted DISTRO=rhel6 cat: /selinux/mls: No such file or directory make[1]: Entering directory `/builddir/build/BUILD/foreman-selinux-1.12.2/local-tmp-foreman' Compiling targeted foreman-proxy module /usr/bin/checkmodule: loading policy configuration from tmp/foreman-proxy.tmp /usr/bin/checkmodule: policy configuration loaded /usr/bin/checkmodule: writing binary representation (version 10) 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.12.2/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.12.2 > foreman-selinux-enable.8 bash common/selinux-disable.pod.in.sh "foreman" "Foreman" | \ pod2man --name="foreman-selinux-disable" -c "Foreman" --section=8 --release=1.12.2 > foreman-selinux-disable.8 bash common/selinux-relabel.pod.in.sh "foreman" "Foreman" | \ pod2man --name="foreman-selinux-relabel" -c "Foreman" --section=8 --release=1.12.2 > 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.12.2 > 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.12.2 > 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.12.2 > 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.0tFA60 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/foreman-selinux-1.12.2-1.git.17.0dbd3e1.el6.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/foreman-selinux-1.12.2-1.git.17.0dbd3e1.el6.x86_64 ++ dirname /builddir/build/BUILDROOT/foreman-selinux-1.12.2-1.git.17.0dbd3e1.el6.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/foreman-selinux-1.12.2-1.git.17.0dbd3e1.el6.x86_64 + cd foreman-selinux-1.12.2 + LANG=C + export LANG + unset DISPLAY + for selinuxvariant in targeted + install -d /builddir/build/BUILDROOT/foreman-selinux-1.12.2-1.git.17.0dbd3e1.el6.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.12.2-1.git.17.0dbd3e1.el6.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.12.2-1.git.17.0dbd3e1.el6.x86_64/usr/share/selinux/targeted/foreman-proxy.pp.bz2 + make clean install-data NAME=targeted DISTRO=rhel6 VERSION=1.12.2 INSTPREFIX=/builddir/build/BUILDROOT/foreman-selinux-1.12.2-1.git.17.0dbd3e1.el6.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.12.2 > foreman-selinux-enable.8 bash common/selinux-disable.pod.in.sh "foreman" "Foreman" | \ pod2man --name="foreman-selinux-disable" -c "Foreman" --section=8 --release=1.12.2 > foreman-selinux-disable.8 bash common/selinux-relabel.pod.in.sh "foreman" "Foreman" | \ pod2man --name="foreman-selinux-relabel" -c "Foreman" --section=8 --release=1.12.2 > 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.12.2 > 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.12.2 > 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.12.2 > 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.12.2-1.git.17.0dbd3e1.el6.x86_64/usr/share/selinux/devel/include/apps install -p -m 644 *.if /builddir/build/BUILDROOT/foreman-selinux-1.12.2-1.git.17.0dbd3e1.el6.x86_64/usr/share/selinux/devel/include/apps/ install -d /builddir/build/BUILDROOT/foreman-selinux-1.12.2-1.git.17.0dbd3e1.el6.x86_64/usr/sbin install -p -m 755 *-enable *-disable *-relabel /builddir/build/BUILDROOT/foreman-selinux-1.12.2-1.git.17.0dbd3e1.el6.x86_64/usr/sbin/ install -d -m 0755 /builddir/build/BUILDROOT/foreman-selinux-1.12.2-1.git.17.0dbd3e1.el6.x86_64/usr/share/man/man8 install -m 0644 *.8 /builddir/build/BUILDROOT/foreman-selinux-1.12.2-1.git.17.0dbd3e1.el6.x86_64/usr/share/man/man8/ + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/foreman-selinux-1.12.2 + /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/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: foreman-selinux-1.12.2-1.git.17.0dbd3e1.el6.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1EuVQX + umask 022 + cd /builddir/build/BUILD + cd foreman-selinux-1.12.2 + DOCDIR=/builddir/build/BUILDROOT/foreman-selinux-1.12.2-1.git.17.0dbd3e1.el6.x86_64/usr/share/doc/foreman-selinux-1.12.2 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/foreman-selinux-1.12.2-1.git.17.0dbd3e1.el6.x86_64/usr/share/doc/foreman-selinux-1.12.2 + /bin/mkdir -p /builddir/build/BUILDROOT/foreman-selinux-1.12.2-1.git.17.0dbd3e1.el6.x86_64/usr/share/doc/foreman-selinux-1.12.2 + cp -pr Contributors CHANGELOG LICENSE foreman.fc foreman.if foreman.te foreman.sh /builddir/build/BUILDROOT/foreman-selinux-1.12.2-1.git.17.0dbd3e1.el6.x86_64/usr/share/doc/foreman-selinux-1.12.2 + exit 0 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: /bin/bash /bin/sh Processing files: foreman-proxy-selinux-1.12.2-1.git.17.0dbd3e1.el6.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.E0zpKU + umask 022 + cd /builddir/build/BUILD + cd foreman-selinux-1.12.2 + DOCDIR=/builddir/build/BUILDROOT/foreman-selinux-1.12.2-1.git.17.0dbd3e1.el6.x86_64/usr/share/doc/foreman-proxy-selinux-1.12.2 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/foreman-selinux-1.12.2-1.git.17.0dbd3e1.el6.x86_64/usr/share/doc/foreman-proxy-selinux-1.12.2 + /bin/mkdir -p /builddir/build/BUILDROOT/foreman-selinux-1.12.2-1.git.17.0dbd3e1.el6.x86_64/usr/share/doc/foreman-proxy-selinux-1.12.2 + cp -pr Contributors CHANGELOG LICENSE /builddir/build/BUILDROOT/foreman-selinux-1.12.2-1.git.17.0dbd3e1.el6.x86_64/usr/share/doc/foreman-proxy-selinux-1.12.2 + cp -pr foreman-proxy.fc foreman-proxy.if foreman-proxy.te /builddir/build/BUILDROOT/foreman-selinux-1.12.2-1.git.17.0dbd3e1.el6.x86_64/usr/share/doc/foreman-proxy-selinux-1.12.2 + exit 0 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: /bin/bash Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/foreman-selinux-1.12.2-1.git.17.0dbd3e1.el6.x86_64 warning: Could not canonicalize hostname: copr-builder-290692894.novalocal Wrote: /builddir/build/RPMS/foreman-selinux-1.12.2-1.git.17.0dbd3e1.el6.noarch.rpm Wrote: /builddir/build/RPMS/foreman-proxy-selinux-1.12.2-1.git.17.0dbd3e1.el6.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Bmtj6L + umask 022 + cd /builddir/build/BUILD + cd foreman-selinux-1.12.2 + /bin/rm -rf /builddir/build/BUILDROOT/foreman-selinux-1.12.2-1.git.17.0dbd3e1.el6.x86_64 + exit 0 Child return code was: 0