+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/checkpolicy.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.j01kCW + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf checkpolicy-2.7 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/checkpolicy-2.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd checkpolicy-2.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/checkpolicy-fedora.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HE1UWA + umask 022 + cd /builddir/build/BUILD + cd checkpolicy-2.7 + 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.7/test' rm -f dispol dismod *.o make[1]: Leaving directory '/builddir/build/BUILD/checkpolicy-2.7/test' + make LIBDIR=/usr/lib64 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -o checkpolicy.o -c checkpolicy.c bison -y -d policy_parse.y cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -o y.tab.o -c y.tab.c flex policy_scan.l cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -o lex.yy.o -c lex.yy.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -o queue.o -c queue.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -o module_compiler.o -c module_compiler.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -o parse_util.o -c parse_util.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -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 -o checkpolicy cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I. -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 -o checkmodule make -C test make[1]: Entering directory '/builddir/build/BUILD/checkpolicy-2.7/test' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o dispol.o dispol.c cc dispol.o /usr/lib64/libsepol.a -o dispol cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o dismod.o dismod.c cc dismod.o /usr/lib64/libsepol.a -o dismod make[1]: Leaving directory '/builddir/build/BUILD/checkpolicy-2.7/test' + cd test + make LIBDIR=/usr/lib64 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' make: Nothing to be done for 'all'. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rA7q03 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/checkpolicy-2.7-2.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/checkpolicy-2.7-2.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/checkpolicy-2.7-2.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/checkpolicy-2.7-2.fc28.riscv64 + cd checkpolicy-2.7 + rm -rf /builddir/build/BUILDROOT/checkpolicy-2.7-2.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT/checkpolicy-2.7-2.fc28.riscv64/usr/bin + make LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/checkpolicy-2.7-2.fc28.riscv64 install make -C test make[1]: Entering directory '/builddir/build/BUILD/checkpolicy-2.7/test' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/checkpolicy-2.7/test' mkdir -p /builddir/build/BUILDROOT/checkpolicy-2.7-2.fc28.riscv64/usr/bin mkdir -p /builddir/build/BUILDROOT/checkpolicy-2.7-2.fc28.riscv64/usr/share/man/man8 install -m 755 checkpolicy checkmodule /builddir/build/BUILDROOT/checkpolicy-2.7-2.fc28.riscv64/usr/bin install -m 644 checkpolicy.8 /builddir/build/BUILDROOT/checkpolicy-2.7-2.fc28.riscv64/usr/share/man/man8 install -m 644 checkmodule.8 /builddir/build/BUILDROOT/checkpolicy-2.7-2.fc28.riscv64/usr/share/man/man8 + install test/dismod /builddir/build/BUILDROOT/checkpolicy-2.7-2.fc28.riscv64/usr/bin/sedismod + install test/dispol /builddir/build/BUILDROOT/checkpolicy-2.7-2.fc28.riscv64/usr/bin/sedispol + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: checkpolicy-2.7-2.fc28.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.gnhBR1 + umask 022 + cd /builddir/build/BUILD + cd checkpolicy-2.7 + LICENSEDIR=/builddir/build/BUILDROOT/checkpolicy-2.7-2.fc28.riscv64/usr/share/licenses/checkpolicy + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/checkpolicy-2.7-2.fc28.riscv64/usr/share/licenses/checkpolicy + cp -pr COPYING /builddir/build/BUILDROOT/checkpolicy-2.7-2.fc28.riscv64/usr/share/licenses/checkpolicy + exit 0 Provides: checkpolicy = 2.7-2.fc28 checkpolicy(riscv-64) = 2.7-2.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Conflicts: selinux-policy-base < 3.13.1-138 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/checkpolicy-2.7-2.fc28.riscv64 Wrote: /builddir/build/SRPMS/checkpolicy-2.7-2.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/checkpolicy-2.7-2.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Fuc60n + umask 022 + cd /builddir/build/BUILD + cd checkpolicy-2.7 + rm -rf /builddir/build/BUILDROOT/checkpolicy-2.7-2.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff