Mock Version: 1.1.32 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/checkpolicy.spec'], False, '/srv/build/3/workerG/mock-root/c7.00.02-x86_64/root/', None, 21600, True, False, 502, 498, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/checkpolicy.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} warning: Could not canonicalize hostname: b18.bsys.dev.centos.org Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/checkpolicy-2.1.12-6.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/checkpolicy.spec'], False, '/srv/build/3/workerG/mock-root/c7.00.02-x86_64/root/', None, 21600, True, False, 502, 498, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/checkpolicy.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2TOBnS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf checkpolicy-2.1.12 + /usr/bin/gzip -dc /builddir/build/SOURCES/checkpolicy-2.1.12.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd checkpolicy-2.1.12 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch (checkpolicy-rhat.patch): + echo 'Patch (checkpolicy-rhat.patch):' + /usr/bin/cat /builddir/build/SOURCES/checkpolicy-rhat.patch + /usr/bin/patch -p2 -b --suffix .rhat --fuzz=0 patching file checkmodule.8 patching file checkpolicy.8 patching file checkpolicy.c patching file policy_scan.l patching file test/Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hCCCje + umask 022 + cd /builddir/build/BUILD + cd checkpolicy-2.1.12 + 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.1.12/test' rm -f dispol dismod *.o make[1]: Leaving directory `/builddir/build/BUILD/checkpolicy-2.1.12/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 lex 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.1.12/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 dispol.c: In function 'main': dispol.c:452:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(ans, sizeof(ans), stdin); ^ dispol.c:479:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(ans, sizeof(ans), stdin); ^ dispol.c:490:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(ans, sizeof(ans), stdin); ^ dispol.c:517:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(OutfileName, sizeof(OutfileName), stdin); ^ cc dispol.o -lfl -lselinux /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 dismod.c: In function 'main': dismod.c:887:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(ans, sizeof(ans), stdin); ^ dismod.c:954:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(OutfileName, sizeof(OutfileName), stdin); ^ dismod.c: In function 'link_module': dismod.c:758:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(module_name, sizeof(module_name), stdin); ^ cc dismod.o -lfl -lselinux /usr/lib64/libsepol.a -L/usr/lib64 -o dismod make[1]: Leaving directory `/builddir/build/BUILD/checkpolicy-2.1.12/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.YN870I + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/checkpolicy-2.1.12-6.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/checkpolicy-2.1.12-6.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/checkpolicy-2.1.12-6.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/checkpolicy-2.1.12-6.el7.x86_64 + cd checkpolicy-2.1.12 + rm -rf /builddir/build/BUILDROOT/checkpolicy-2.1.12-6.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT/checkpolicy-2.1.12-6.el7.x86_64/usr/bin + make LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/checkpolicy-2.1.12-6.el7.x86_64 install make -C test make[1]: Entering directory `/builddir/build/BUILD/checkpolicy-2.1.12/test' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/checkpolicy-2.1.12/test' mkdir -p /builddir/build/BUILDROOT/checkpolicy-2.1.12-6.el7.x86_64/usr/bin mkdir -p /builddir/build/BUILDROOT/checkpolicy-2.1.12-6.el7.x86_64/usr/share/man/man8 install -m 755 checkpolicy checkmodule /builddir/build/BUILDROOT/checkpolicy-2.1.12-6.el7.x86_64/usr/bin install -m 644 checkpolicy.8 /builddir/build/BUILDROOT/checkpolicy-2.1.12-6.el7.x86_64/usr/share/man/man8 install -m 644 checkmodule.8 /builddir/build/BUILDROOT/checkpolicy-2.1.12-6.el7.x86_64/usr/share/man/man8 + install test/dismod /builddir/build/BUILDROOT/checkpolicy-2.1.12-6.el7.x86_64/usr/bin/sedismod + install test/dispol /builddir/build/BUILDROOT/checkpolicy-2.1.12-6.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.1.12 extracting debug info from /builddir/build/BUILDROOT/checkpolicy-2.1.12-6.el7.x86_64/usr/bin/checkmodule extracting debug info from /builddir/build/BUILDROOT/checkpolicy-2.1.12-6.el7.x86_64/usr/bin/checkpolicy extracting debug info from /builddir/build/BUILDROOT/checkpolicy-2.1.12-6.el7.x86_64/usr/bin/sedismod extracting debug info from /builddir/build/BUILDROOT/checkpolicy-2.1.12-6.el7.x86_64/usr/bin/sedispol /usr/lib/rpm/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. 987 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.1.12-6.el7.x86_64 Provides: checkpolicy = 2.1.12-6.el7 checkpolicy(x86-64) = 2.1.12-6.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) libselinux.so.1()(64bit) rtld(GNU_HASH) Processing files: checkpolicy-debuginfo-2.1.12-6.el7.x86_64 Provides: checkpolicy-debuginfo = 2.1.12-6.el7 checkpolicy-debuginfo(x86-64) = 2.1.12-6.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.1.12-6.el7.x86_64 warning: Could not canonicalize hostname: b18.bsys.dev.centos.org Wrote: /builddir/build/RPMS/checkpolicy-2.1.12-6.el7.x86_64.rpm Wrote: /builddir/build/RPMS/checkpolicy-debuginfo-2.1.12-6.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.fClPDk + umask 022 + cd /builddir/build/BUILD + cd checkpolicy-2.1.12 + rm -rf /builddir/build/BUILDROOT/checkpolicy-2.1.12-6.el7.x86_64 + exit 0 Child return code was: 0 LEAVE do -->