Mock Version: 1.4.2 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/spacewalk-selinux.spec'], chrootPath='/var/lib/mock/583370-epel-7-x86_64/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=['--private-network']printOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '545462dc4653484e9771b44990ab93cb', '-D', '/var/lib/mock/583370-epel-7-x86_64/root', '-a', '--private-network', '--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/spacewalk-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 warning: Could not canonicalize hostname: 545462dc4653484e9771b44990ab93cb Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/spacewalk-selinux-2.7.2-1.git.0.2f31c9e.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/spacewalk-selinux.spec'], chrootPath='/var/lib/mock/583370-epel-7-x86_64/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=['--private-network', '--private-network']printOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'bbd72b10971c482e96fa5431f1445411', '-D', '/var/lib/mock/583370-epel-7-x86_64/root', '-a', '--private-network', '--private-network', '--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/spacewalk-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.BFUBgh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf spacewalk-selinux-git-0.2f31c9e + /usr/bin/gzip -dc /builddir/build/SOURCES/spacewalk-selinux-git-0.2f31c9e.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd spacewalk-selinux-git-0.2f31c9e + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZAUv67 + umask 022 + cd /builddir/build/BUILD + cd spacewalk-selinux-git-0.2f31c9e + perl -i -pe 'BEGIN { $VER = join ".", grep /^\d+$/, split /\./, "2.7.2.1.git.0.2f31c9e.el7.centos"; } s!\@\@VERSION\@\@!$VER!g;' spacewalk.te + for selinuxvariant in mls strict targeted + make NAME=mls -f /usr/share/selinux/devel/Makefile Compiling mls spacewalk module /usr/bin/checkmodule: loading policy configuration from tmp/spacewalk.tmp /usr/bin/checkmodule: policy configuration loaded /usr/bin/checkmodule: writing binary representation (version 17) to tmp/spacewalk.mod Creating mls spacewalk.pp policy package rm tmp/spacewalk.mod.fc tmp/spacewalk.mod + mv spacewalk.pp spacewalk.pp.mls + make NAME=mls -f /usr/share/selinux/devel/Makefile clean rm -fR tmp rm -f *.pp + for selinuxvariant in mls strict targeted + make NAME=strict -f /usr/share/selinux/devel/Makefile Compiling strict spacewalk module /usr/bin/checkmodule: loading policy configuration from tmp/spacewalk.tmp /usr/bin/checkmodule: policy configuration loaded /usr/bin/checkmodule: writing binary representation (version 17) to tmp/spacewalk.mod Creating strict spacewalk.pp policy package rm tmp/spacewalk.mod.fc tmp/spacewalk.mod + mv spacewalk.pp spacewalk.pp.strict + make NAME=strict -f /usr/share/selinux/devel/Makefile clean rm -fR tmp rm -f *.pp + for selinuxvariant in mls strict targeted + make NAME=targeted -f /usr/share/selinux/devel/Makefile Compiling targeted spacewalk module /usr/bin/checkmodule: loading policy configuration from tmp/spacewalk.tmp /usr/bin/checkmodule: policy configuration loaded /usr/bin/checkmodule: writing binary representation (version 17) to tmp/spacewalk.mod Creating targeted spacewalk.pp policy package rm tmp/spacewalk.mod.fc tmp/spacewalk.mod + mv spacewalk.pp spacewalk.pp.targeted + make NAME=targeted -f /usr/share/selinux/devel/Makefile clean rm -fR tmp rm -f *.pp + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NDo9W1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/spacewalk-selinux-2.7.2-1.git.0.2f31c9e.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/spacewalk-selinux-2.7.2-1.git.0.2f31c9e.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/spacewalk-selinux-2.7.2-1.git.0.2f31c9e.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/spacewalk-selinux-2.7.2-1.git.0.2f31c9e.el7.centos.x86_64 + cd spacewalk-selinux-git-0.2f31c9e + rm -rf /builddir/build/BUILDROOT/spacewalk-selinux-2.7.2-1.git.0.2f31c9e.el7.centos.x86_64 + for selinuxvariant in mls strict targeted + install -d /builddir/build/BUILDROOT/spacewalk-selinux-2.7.2-1.git.0.2f31c9e.el7.centos.x86_64/usr/share/selinux/mls + install -p -m 644 spacewalk.pp.mls /builddir/build/BUILDROOT/spacewalk-selinux-2.7.2-1.git.0.2f31c9e.el7.centos.x86_64/usr/share/selinux/mls/spacewalk.pp + for selinuxvariant in mls strict targeted + install -d /builddir/build/BUILDROOT/spacewalk-selinux-2.7.2-1.git.0.2f31c9e.el7.centos.x86_64/usr/share/selinux/strict + install -p -m 644 spacewalk.pp.strict /builddir/build/BUILDROOT/spacewalk-selinux-2.7.2-1.git.0.2f31c9e.el7.centos.x86_64/usr/share/selinux/strict/spacewalk.pp + for selinuxvariant in mls strict targeted + install -d /builddir/build/BUILDROOT/spacewalk-selinux-2.7.2-1.git.0.2f31c9e.el7.centos.x86_64/usr/share/selinux/targeted + install -p -m 644 spacewalk.pp.targeted /builddir/build/BUILDROOT/spacewalk-selinux-2.7.2-1.git.0.2f31c9e.el7.centos.x86_64/usr/share/selinux/targeted/spacewalk.pp + install -d /builddir/build/BUILDROOT/spacewalk-selinux-2.7.2-1.git.0.2f31c9e.el7.centos.x86_64/usr/share/selinux/devel/include/apps + install -p -m 644 spacewalk.if /builddir/build/BUILDROOT/spacewalk-selinux-2.7.2-1.git.0.2f31c9e.el7.centos.x86_64/usr/share/selinux/devel/include/apps/spacewalk.if + /usr/sbin/hardlink -cv /builddir/build/BUILDROOT/spacewalk-selinux-2.7.2-1.git.0.2f31c9e.el7.centos.x86_64/usr/share/selinux Directories 7 Objects 11 IFREG 4 Comparisons 1 Linked 1 saved 90112 + install -d /builddir/build/BUILDROOT/spacewalk-selinux-2.7.2-1.git.0.2f31c9e.el7.centos.x86_64/usr/sbin + install -p -m 755 spacewalk-selinux-enable /builddir/build/BUILDROOT/spacewalk-selinux-2.7.2-1.git.0.2f31c9e.el7.centos.x86_64/usr/sbin/spacewalk-selinux-enable + /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/spacewalk-selinux-git-0.2f31c9e /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: spacewalk-selinux-2.7.2-1.git.0.2f31c9e.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.FI7dYV + umask 022 + cd /builddir/build/BUILD + cd spacewalk-selinux-git-0.2f31c9e + DOCDIR=/builddir/build/BUILDROOT/spacewalk-selinux-2.7.2-1.git.0.2f31c9e.el7.centos.x86_64/usr/share/doc/spacewalk-selinux-2.7.2 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/spacewalk-selinux-2.7.2-1.git.0.2f31c9e.el7.centos.x86_64/usr/share/doc/spacewalk-selinux-2.7.2 + cp -pr spacewalk.fc /builddir/build/BUILDROOT/spacewalk-selinux-2.7.2-1.git.0.2f31c9e.el7.centos.x86_64/usr/share/doc/spacewalk-selinux-2.7.2 + cp -pr spacewalk.if /builddir/build/BUILDROOT/spacewalk-selinux-2.7.2-1.git.0.2f31c9e.el7.centos.x86_64/usr/share/doc/spacewalk-selinux-2.7.2 + cp -pr spacewalk.te /builddir/build/BUILDROOT/spacewalk-selinux-2.7.2-1.git.0.2f31c9e.el7.centos.x86_64/usr/share/doc/spacewalk-selinux-2.7.2 + exit 0 Provides: spacewalk-selinux = 2.7.2-1.git.0.2f31c9e.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(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh /sbin/restorecon /usr/sbin/selinuxenabled /usr/sbin/semanage /usr/sbin/semodule /usr/sbin/setsebool Requires(postun): /bin/sh /sbin/restorecon /usr/sbin/semanage /usr/sbin/semodule Requires(posttrans): /bin/sh Requires: /bin/bash Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/spacewalk-selinux-2.7.2-1.git.0.2f31c9e.el7.centos.x86_64 Wrote: /builddir/build/RPMS/spacewalk-selinux-2.7.2-1.git.0.2f31c9e.el7.centos.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.kbMwdK + umask 022 + cd /builddir/build/BUILD + cd spacewalk-selinux-git-0.2f31c9e + rm -rf /builddir/build/BUILDROOT/spacewalk-selinux-2.7.2-1.git.0.2f31c9e.el7.centos.x86_64 + exit 0 Child return code was: 0