+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/grubby.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
warning: Macro expanded in comment on line 10: %{version}/ HEAD |bzip2 > grubby-%{version}.tar.bz2

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.joJLbu
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf grubby-8.40
+ /usr/bin/tar -xof -
+ /usr/bin/bzip2 -dc /builddir/build/SOURCES/grubby-8.40.tar.bz2
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd grubby-8.40
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ git init
Initialized empty Git repository in /builddir/build/BUILD/grubby-8.40/.git/
+ git config user.email noone@example.com
+ git config user.name 'no one'
+ git add .
+ git commit -a -q -m '8.40 baseline'
+ git am
+ git config --unset user.email
+ git config --unset user.name
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.36OnT6
+ umask 022
+ cd /builddir/build/BUILD
+ cd grubby-8.40
+ make -j4
gcc -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  -std=gnu99 -Wall -Werror -Wno-error=unused-function -Wno-unused-function -ggdb -DVERSION='"8.40"' -c -o grubby.o grubby.c
gcc -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  -std=gnu99 -Wall -Werror -Wno-error=unused-function -Wno-unused-function -ggdb -DVERSION='"8.40"' -c -o log.o log.c
gcc -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  -std=gnu99 -Wall -Werror -Wno-error=unused-function -Wno-unused-function -ggdb  -o grubby grubby.o log.o -lblkid -lpopt
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.u8OLpe
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/grubby-8.40-3.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/grubby-8.40-3.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/grubby-8.40-3.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/grubby-8.40-3.fc28.riscv64
+ cd grubby-8.40
+ rm -rf /builddir/build/BUILDROOT/grubby-8.40-3.fc28.riscv64
+ make install DESTDIR=/builddir/build/BUILDROOT/grubby-8.40-3.fc28.riscv64 mandir=/usr/share/man
mkdir -p /builddir/build/BUILDROOT/grubby-8.40-3.fc28.riscv64/sbin
mkdir -p /builddir/build/BUILDROOT/grubby-8.40-3.fc28.riscv64//usr/share/man/man8
install -m 755 new-kernel-pkg /builddir/build/BUILDROOT/grubby-8.40-3.fc28.riscv64/sbin
install -m 644 new-kernel-pkg.8 /builddir/build/BUILDROOT/grubby-8.40-3.fc28.riscv64//usr/share/man/man8
install -m 755 installkernel /builddir/build/BUILDROOT/grubby-8.40-3.fc28.riscv64/sbin
install -m 644 installkernel.8 /builddir/build/BUILDROOT/grubby-8.40-3.fc28.riscv64//usr/share/man/man8
if [ -f grubby ]; then \
	install -m 755 grubby /builddir/build/BUILDROOT/grubby-8.40-3.fc28.riscv64/sbin ; \
	install -m 644 grubby.8 /builddir/build/BUILDROOT/grubby-8.40-3.fc28.riscv64//usr/share/man/man8 ; \
fi
+ /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
mangling shebang in ./sbin/installkernel from #! /bin/sh to #!/bin/sh
Processing files: grubby-8.40-3.fc28.riscv64
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.B4gbIZ
+ umask 022
+ cd /builddir/build/BUILD
+ cd grubby-8.40
+ LICENSEDIR=/builddir/build/BUILDROOT/grubby-8.40-3.fc28.riscv64/usr/share/licenses/grubby
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/grubby-8.40-3.fc28.riscv64/usr/share/licenses/grubby
+ cp -pr COPYING /builddir/build/BUILDROOT/grubby-8.40-3.fc28.riscv64/usr/share/licenses/grubby
+ exit 0
Provides: grubby = 8.40-3.fc28 grubby(riscv-64) = 8.40-3.fc28
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /bin/bash /bin/sh ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libblkid.so.1()(64bit) libblkid.so.1(BLKID_1.0)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libpopt.so.0()(64bit) libpopt.so.0(LIBPOPT_0)(64bit) rtld(GNU_HASH)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/grubby-8.40-3.fc28.riscv64
Wrote: /builddir/build/SRPMS/grubby-8.40-3.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/grubby-8.40-3.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.IGrqE6
+ umask 022
+ cd /builddir/build/BUILD
+ cd grubby-8.40
+ rm -rf /builddir/build/BUILDROOT/grubby-8.40-3.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