+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/abootimg.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.NqVm2S
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf abootimg-0.6-20110830gitff8e759
+ /usr/bin/gzip -dc /builddir/build/SOURCES/abootimg-0.6-20110830gitff8e759.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd abootimg-0.6-20110830gitff8e759
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (abootimg.1.patch):'
Patch #0 (abootimg.1.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .mantypo --fuzz=0
patching file debian/abootimg.1
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LNuCEf
+ umask 022
+ cd /builddir/build/BUILD
+ cd abootimg-0.6-20110830gitff8e759
+ echo '#define VERSION_STR "0.6"'
+ 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 -DHAS_BLKID -lblkid abootimg.c -o abootimg
abootimg.c: In function 'write_bootimg':
abootimg.c:696:3: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
   ftruncate (fileno(img->stream), img->size);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Vp1Z1f
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/abootimg-0.6-15.20110830gitff8e759.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/abootimg-0.6-15.20110830gitff8e759.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/abootimg-0.6-15.20110830gitff8e759.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/abootimg-0.6-15.20110830gitff8e759.fc28.riscv64
+ cd abootimg-0.6-20110830gitff8e759
+ install -D abootimg /builddir/build/BUILDROOT/abootimg-0.6-15.20110830gitff8e759.fc28.riscv64//usr/bin/abootimg
+ install -D -m 644 -p debian/abootimg.1 /builddir/build/BUILDROOT/abootimg-0.6-15.20110830gitff8e759.fc28.riscv64//usr/share/man/man1/abootimg.1
+ /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: abootimg-0.6-15.20110830gitff8e759.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.slTv11
+ umask 022
+ cd /builddir/build/BUILD
+ cd abootimg-0.6-20110830gitff8e759
+ DOCDIR=/builddir/build/BUILDROOT/abootimg-0.6-15.20110830gitff8e759.fc28.riscv64/usr/share/doc/abootimg
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/abootimg-0.6-15.20110830gitff8e759.fc28.riscv64/usr/share/doc/abootimg
+ cp -pr Changelog /builddir/build/BUILDROOT/abootimg-0.6-15.20110830gitff8e759.fc28.riscv64/usr/share/doc/abootimg
+ cp -pr LICENSE /builddir/build/BUILDROOT/abootimg-0.6-15.20110830gitff8e759.fc28.riscv64/usr/share/doc/abootimg
+ cp -pr README /builddir/build/BUILDROOT/abootimg-0.6-15.20110830gitff8e759.fc28.riscv64/usr/share/doc/abootimg
+ exit 0
Provides: abootimg = 0.6-15.20110830gitff8e759.fc28 abootimg(riscv-64) = 0.6-15.20110830gitff8e759.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) libblkid.so.1()(64bit) libblkid.so.1(BLKID_1.0)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/abootimg-0.6-15.20110830gitff8e759.fc28.riscv64
Wrote: /builddir/build/SRPMS/abootimg-0.6-15.20110830gitff8e759.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/abootimg-0.6-15.20110830gitff8e759.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.RyH5ao
+ umask 022
+ cd /builddir/build/BUILD
+ cd abootimg-0.6-20110830gitff8e759
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/abootimg-0.6-15.20110830gitff8e759.fc28.riscv64
+ exit 0
+ touch /buildok
+ cleanup
+ set +e
+ sync
+ sleep 5
+ sync
+ poweroff
Terminated
++ cleanup
++ set +e
++ sync
Terminated
+++ cleanup
+++ set +e
+++ sync
+++ sleep 5
+++ sync
+++ poweroff