Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/oracle-xe-selinux.spec'], chrootPath='/var/lib/mock/736404-epel-7-x86_64-1522767742.209723/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=[]unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'db65db8e45c5448a88f7c0db0ceb90ea', '-D', '/var/lib/mock/736404-epel-7-x86_64-1522767742.209723/root', '-a', '--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/oracle-xe-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 BUILDSTDERR: warning: Could not canonicalize hostname: db65db8e45c5448a88f7c0db0ceb90ea Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/oracle-xe-selinux-10.2.0.47-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/oracle-xe-selinux.spec'], chrootPath='/var/lib/mock/736404-epel-7-x86_64-1522767742.209723/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=[]unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0ef3ea0e6d2f49a2a9f3f41bbc23ec4a', '-D', '/var/lib/mock/736404-epel-7-x86_64-1522767742.209723/root', '-a', '--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/oracle-xe-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.rGx5OO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf oracle-xe-selinux-10.2.0.47 + /usr/bin/gzip -dc /builddir/build/SOURCES/oracle-xe-selinux-10.2.0.47.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd oracle-xe-selinux-10.2.0.47 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QhPJEr + umask 022 + cd /builddir/build/BUILD + cd oracle-xe-selinux-10.2.0.47 + perl -i -pe 'BEGIN { $VER = join ".", grep /^\d+$/, split /\./, "10.2.0.47.1.el7.centos"; } s!\@\@VERSION\@\@!$VER!g;' oracle-xe.te + cat oracle-xe.te.fedora17 + for selinuxvariant in mls strict targeted + make NAME=mls -f /usr/share/selinux/devel/Makefile Compiling mls oracle-xe module BUILDSTDERR: oracle-xe.te:46: Warning: mcs_ptrace_all() has been deprecated, please remove mcs_constrained() instead. BUILDSTDERR: oracle-xe.te:58: Warning: corecmd_exec_ls() has been deprecated, please use corecmd_exec_bin() instead. /usr/bin/checkmodule: loading policy configuration from tmp/oracle-xe.tmp /usr/bin/checkmodule: policy configuration loaded /usr/bin/checkmodule: writing binary representation (version 17) to tmp/oracle-xe.mod Creating mls oracle-xe.pp policy package rm tmp/oracle-xe.mod.fc tmp/oracle-xe.mod + mv oracle-xe.pp oracle-xe.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 oracle-xe module BUILDSTDERR: oracle-xe.te:46: Warning: mcs_ptrace_all() has been deprecated, please remove mcs_constrained() instead. BUILDSTDERR: oracle-xe.te:58: Warning: corecmd_exec_ls() has been deprecated, please use corecmd_exec_bin() instead. /usr/bin/checkmodule: loading policy configuration from tmp/oracle-xe.tmp /usr/bin/checkmodule: policy configuration loaded /usr/bin/checkmodule: writing binary representation (version 17) to tmp/oracle-xe.mod Creating strict oracle-xe.pp policy package rm tmp/oracle-xe.mod.fc tmp/oracle-xe.mod + mv oracle-xe.pp oracle-xe.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 oracle-xe module BUILDSTDERR: oracle-xe.te:46: Warning: mcs_ptrace_all() has been deprecated, please remove mcs_constrained() instead. BUILDSTDERR: oracle-xe.te:58: Warning: corecmd_exec_ls() has been deprecated, please use corecmd_exec_bin() instead. /usr/bin/checkmodule: loading policy configuration from tmp/oracle-xe.tmp /usr/bin/checkmodule: policy configuration loaded /usr/bin/checkmodule: writing binary representation (version 17) to tmp/oracle-xe.mod Creating targeted oracle-xe.pp policy package rm tmp/oracle-xe.mod.fc tmp/oracle-xe.mod + mv oracle-xe.pp oracle-xe.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.961JK7 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/oracle-xe-selinux-10.2.0.47-1.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/oracle-xe-selinux-10.2.0.47-1.el7.centos.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/oracle-xe-selinux-10.2.0.47-1.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/oracle-xe-selinux-10.2.0.47-1.el7.centos.x86_64 + cd oracle-xe-selinux-10.2.0.47 + rm -rf /builddir/build/BUILDROOT/oracle-xe-selinux-10.2.0.47-1.el7.centos.x86_64 + for selinuxvariant in mls strict targeted + install -d /builddir/build/BUILDROOT/oracle-xe-selinux-10.2.0.47-1.el7.centos.x86_64/usr/share/selinux/mls + install -p -m 644 oracle-xe.pp.mls /builddir/build/BUILDROOT/oracle-xe-selinux-10.2.0.47-1.el7.centos.x86_64/usr/share/selinux/mls/oracle-xe.pp + for selinuxvariant in mls strict targeted + install -d /builddir/build/BUILDROOT/oracle-xe-selinux-10.2.0.47-1.el7.centos.x86_64/usr/share/selinux/strict + install -p -m 644 oracle-xe.pp.strict /builddir/build/BUILDROOT/oracle-xe-selinux-10.2.0.47-1.el7.centos.x86_64/usr/share/selinux/strict/oracle-xe.pp + for selinuxvariant in mls strict targeted + install -d /builddir/build/BUILDROOT/oracle-xe-selinux-10.2.0.47-1.el7.centos.x86_64/usr/share/selinux/targeted + install -p -m 644 oracle-xe.pp.targeted /builddir/build/BUILDROOT/oracle-xe-selinux-10.2.0.47-1.el7.centos.x86_64/usr/share/selinux/targeted/oracle-xe.pp + sed -i -e 's!%extra_restorecon!/usr/lib/oracle/xe/oradata /usr/lib/oracle/xe/app /var/tmp/.oracle /u01/app/oracle!g' oracle-xe-selinux-enable + install -d /builddir/build/BUILDROOT/oracle-xe-selinux-10.2.0.47-1.el7.centos.x86_64/usr/share/selinux/devel/include/apps + install -p -m 644 oracle-xe.if /builddir/build/BUILDROOT/oracle-xe-selinux-10.2.0.47-1.el7.centos.x86_64/usr/share/selinux/devel/include/apps/oracle-xe.if + /usr/sbin/hardlink -cv /builddir/build/BUILDROOT/oracle-xe-selinux-10.2.0.47-1.el7.centos.x86_64/usr/share/selinux BUILDSTDERR: Directories 7 BUILDSTDERR: Objects 11 BUILDSTDERR: IFREG 4 BUILDSTDERR: Comparisons 1 BUILDSTDERR: Linked 1 BUILDSTDERR: saved 86016 + install -d /builddir/build/BUILDROOT/oracle-xe-selinux-10.2.0.47-1.el7.centos.x86_64/usr/sbin + install -p -m 755 oracle-xe-selinux-enable /builddir/build/BUILDROOT/oracle-xe-selinux-10.2.0.47-1.el7.centos.x86_64/usr/sbin/oracle-xe-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/oracle-xe-selinux-10.2.0.47 /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: oracle-xe-selinux-10.2.0.47-1.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.88nK5N + umask 022 + cd /builddir/build/BUILD + cd oracle-xe-selinux-10.2.0.47 + DOCDIR=/builddir/build/BUILDROOT/oracle-xe-selinux-10.2.0.47-1.el7.centos.x86_64/usr/share/doc/oracle-xe-selinux-10.2.0.47 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/oracle-xe-selinux-10.2.0.47-1.el7.centos.x86_64/usr/share/doc/oracle-xe-selinux-10.2.0.47 + cp -pr oracle-xe.fc /builddir/build/BUILDROOT/oracle-xe-selinux-10.2.0.47-1.el7.centos.x86_64/usr/share/doc/oracle-xe-selinux-10.2.0.47 + cp -pr oracle-xe.if /builddir/build/BUILDROOT/oracle-xe-selinux-10.2.0.47-1.el7.centos.x86_64/usr/share/doc/oracle-xe-selinux-10.2.0.47 + cp -pr oracle-xe.te /builddir/build/BUILDROOT/oracle-xe-selinux-10.2.0.47-1.el7.centos.x86_64/usr/share/doc/oracle-xe-selinux-10.2.0.47 + exit 0 Provides: oracle-xe-selinux = 10.2.0.47-1.el7.centos Requires(interp): /bin/sh /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(pre): /bin/sh Requires(post): /bin/sh /sbin/ldconfig /sbin/restorecon /usr/sbin/selinuxenabled /usr/sbin/semanage /usr/sbin/semodule 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/oracle-xe-selinux-10.2.0.47-1.el7.centos.x86_64 Wrote: /builddir/build/RPMS/oracle-xe-selinux-10.2.0.47-1.el7.centos.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Quwgpe + umask 022 + cd /builddir/build/BUILD + cd oracle-xe-selinux-10.2.0.47 + rm -rf /builddir/build/BUILDROOT/oracle-xe-selinux-10.2.0.47-1.el7.centos.x86_64 + exit 0 Child return code was: 0