+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/nrg2iso.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.7dJCsv
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf nrg2iso-0.4
+ /usr/bin/gzip -dc /builddir/build/SOURCES/nrg2iso-0.4.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd nrg2iso-0.4
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (nrg2iso-optflags.patch):'
Patch #0 (nrg2iso-optflags.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .optflags --fuzz=0
patching file Makefile
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.scpXaA
+ umask 022
+ cd /builddir/build/BUILD
+ cd nrg2iso-0.4
+ make -j2 '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 '
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  nrg2iso.c -o nrg2iso
nrg2iso.c: In function 'main':
nrg2iso.c:85:17: warning: unused variable 'k' [-Wunused-variable]
   size_t size=0,k=0,l;
                 ^
nrg2iso.c:84:14: warning: unused variable 'j' [-Wunused-variable]
   size_t i=0,j=0;
              ^
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gOt1hL
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/nrg2iso-0.4-15.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/nrg2iso-0.4-15.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/nrg2iso-0.4-15.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/nrg2iso-0.4-15.fc28.riscv64
+ cd nrg2iso-0.4
+ rm -rf /builddir/build/BUILDROOT/nrg2iso-0.4-15.fc28.riscv64
+ install -D nrg2iso /builddir/build/BUILDROOT/nrg2iso-0.4-15.fc28.riscv64/usr/bin/nrg2iso
+ /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: nrg2iso-0.4-15.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.VI3KR8
+ umask 022
+ cd /builddir/build/BUILD
+ cd nrg2iso-0.4
+ DOCDIR=/builddir/build/BUILDROOT/nrg2iso-0.4-15.fc28.riscv64/usr/share/doc/nrg2iso
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/nrg2iso-0.4-15.fc28.riscv64/usr/share/doc/nrg2iso
+ cp -pr gpl.txt /builddir/build/BUILDROOT/nrg2iso-0.4-15.fc28.riscv64/usr/share/doc/nrg2iso
+ cp -pr CHANGELOG /builddir/build/BUILDROOT/nrg2iso-0.4-15.fc28.riscv64/usr/share/doc/nrg2iso
+ exit 0
Provides: nrg2iso = 0.4-15.fc28 nrg2iso(riscv-64) = 0.4-15.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)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nrg2iso-0.4-15.fc28.riscv64
Wrote: /builddir/build/SRPMS/nrg2iso-0.4-15.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/nrg2iso-0.4-15.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.gMInhu
+ umask 022
+ cd /builddir/build/BUILD
+ cd nrg2iso-0.4
+ rm -rf /builddir/build/BUILDROOT/nrg2iso-0.4-15.fc28.riscv64
+ exit 0
+ touch /buildok
+ cleanup
+ set +e
+ sync
+ sleep 5
+ sync
+ poweroff
Terminated
++ cleanup
++ set +e
++ sync
+++ cleanup
+++ set +e
+++ sync
+++ sleep 5
+++ sync
+++ poweroff