Mock Version: 1.2.15 Mock Version: 1.2.15 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/checkpolicy.spec'], chrootPath='/var/lib/mock/virt7-docker-common-el7-build-23116-31387/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB', '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=86400logger=uid=497) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/checkpolicy.spec'] with env {'LANG': 'en_GB', '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 Wrote: /builddir/build/SRPMS/checkpolicy-2.5-4.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/checkpolicy.spec '], chrootPath='/var/lib/mock/virt7-docker-common-el7-build-23116-31387/root'shell=Falseuid=497env={'LANG': 'en_GB', '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=86400private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/checkpolicy.spec '] with env {'LANG': 'en_GB', '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.fmEava + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf checkpolicy-2.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/checkpolicy-2.5.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd checkpolicy-2.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (checkpolicy-rhel.patch): + echo 'Patch #1 (checkpolicy-rhel.patch):' + /usr/bin/cat /builddir/build/SOURCES/checkpolicy-rhel.patch + /usr/bin/patch -p1 -b --suffix .rhel --fuzz=0 patching file Android.mk patching file ChangeLog patching file Makefile patching file checkmodule.c patching file checkpolicy.c patching file policy_define.c patching file policy_scan.l patching file test/dispol.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QEI0Pp + umask 022 + cd /builddir/build/BUILD + cd checkpolicy-2.5 + make clean rm -f checkpolicy checkmodule y.tab.o lex.yy.o queue.o module_compiler.o parse_util.o policy_define.o checkpolicy.o y.tab.o lex.yy.o queue.o module_compiler.o parse_util.o policy_define.o checkmodule.o y.tab.c y.tab.h lex.yy.c make -C test clean make[1]: Entering directory `/builddir/build/BUILD/checkpolicy-2.5/test' rm -f dispol dismod *.o make[1]: Leaving directory `/builddir/build/BUILD/checkpolicy-2.5/test' + make LIBDIR=/usr/lib64 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I/usr/include -o checkpolicy.o -c checkpolicy.c bison -y -d policy_parse.y cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I/usr/include -o y.tab.o -c y.tab.c flex policy_scan.l cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I/usr/include -o lex.yy.o -c lex.yy.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I/usr/include -o queue.o -c queue.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I/usr/include -o module_compiler.o -c module_compiler.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I/usr/include -o parse_util.o -c parse_util.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I/usr/include -o policy_define.o -c policy_define.c cc checkpolicy.o y.tab.o lex.yy.o queue.o module_compiler.o parse_util.o policy_define.o /usr/lib64/libsepol.a -lfl -o checkpolicy cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I. -I/usr/include -o checkmodule.o -c checkmodule.c cc checkmodule.o y.tab.o lex.yy.o queue.o module_compiler.o parse_util.o policy_define.o /usr/lib64/libsepol.a -lfl -o checkmodule make -C test make[1]: Entering directory `/builddir/build/BUILD/checkpolicy-2.5/test' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include -c -o dispol.o dispol.c cc dispol.o -lfl /usr/lib64/libsepol.a -L/usr/lib64 -o dispol cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include -c -o dismod.o dismod.c cc dismod.o -lfl /usr/lib64/libsepol.a -L/usr/lib64 -o dismod make[1]: Leaving directory `/builddir/build/BUILD/checkpolicy-2.5/test' + cd test + make LIBDIR=/usr/lib64 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' make: Nothing to be done for `all'. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.pBSKvM + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/checkpolicy-2.5-4.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/checkpolicy-2.5-4.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/checkpolicy-2.5-4.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/checkpolicy-2.5-4.el7.x86_64 + cd checkpolicy-2.5 + rm -rf /builddir/build/BUILDROOT/checkpolicy-2.5-4.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT/checkpolicy-2.5-4.el7.x86_64/usr/bin + make LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/checkpolicy-2.5-4.el7.x86_64 install make -C test make[1]: Entering directory `/builddir/build/BUILD/checkpolicy-2.5/test' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/checkpolicy-2.5/test' mkdir -p /builddir/build/BUILDROOT/checkpolicy-2.5-4.el7.x86_64/usr/bin mkdir -p /builddir/build/BUILDROOT/checkpolicy-2.5-4.el7.x86_64/usr/share/man/man8 install -m 755 checkpolicy checkmodule /builddir/build/BUILDROOT/checkpolicy-2.5-4.el7.x86_64/usr/bin install -m 644 checkpolicy.8 /builddir/build/BUILDROOT/checkpolicy-2.5-4.el7.x86_64/usr/share/man/man8 install -m 644 checkmodule.8 /builddir/build/BUILDROOT/checkpolicy-2.5-4.el7.x86_64/usr/share/man/man8 + install test/dismod /builddir/build/BUILDROOT/checkpolicy-2.5-4.el7.x86_64/usr/bin/sedismod + install test/dispol /builddir/build/BUILDROOT/checkpolicy-2.5-4.el7.x86_64/usr/bin/sedispol + /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/checkpolicy-2.5 extracting debug info from /builddir/build/BUILDROOT/checkpolicy-2.5-4.el7.x86_64/usr/bin/sedismod extracting debug info from /builddir/build/BUILDROOT/checkpolicy-2.5-4.el7.x86_64/usr/bin/checkmodule extracting debug info from /builddir/build/BUILDROOT/checkpolicy-2.5-4.el7.x86_64/usr/bin/checkpolicy extracting debug info from /builddir/build/BUILDROOT/checkpolicy-2.5-4.el7.x86_64/usr/bin/sedispol /usr/lib/rpm/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. 1056 blocks + /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: checkpolicy-2.5-4.el7.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.SwO0Gd + umask 022 + cd /builddir/build/BUILD + cd checkpolicy-2.5 + LICENSEDIR=/builddir/build/BUILDROOT/checkpolicy-2.5-4.el7.x86_64/usr/share/licenses/checkpolicy-2.5 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/checkpolicy-2.5-4.el7.x86_64/usr/share/licenses/checkpolicy-2.5 + cp -pr COPYING /builddir/build/BUILDROOT/checkpolicy-2.5-4.el7.x86_64/usr/share/licenses/checkpolicy-2.5 + exit 0 Provides: checkpolicy = 2.5-4.el7 checkpolicy(x86-64) = 2.5-4.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Processing files: checkpolicy-debuginfo-2.5-4.el7.x86_64 Provides: checkpolicy-debuginfo = 2.5-4.el7 checkpolicy-debuginfo(x86-64) = 2.5-4.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/checkpolicy-2.5-4.el7.x86_64 Wrote: /builddir/build/RPMS/checkpolicy-2.5-4.el7.x86_64.rpm Wrote: /builddir/build/RPMS/checkpolicy-debuginfo-2.5-4.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ZZN5Uy + umask 022 + cd /builddir/build/BUILD + cd checkpolicy-2.5 + rm -rf /builddir/build/BUILDROOT/checkpolicy-2.5-4.el7.x86_64 + exit 0 Child return code was: 0 LEAVE do -->