+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/sgpio.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.m6MAAW + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sgpio + /usr/bin/gzip -dc /builddir/build/SOURCES/sgpio-1.2-0.10-src.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sgpio + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + dos2unix --keepdate Makefile README dos2unix: converting file Makefile to Unix format... dos2unix: converting file README to Unix format... + echo 'Patch #0 (sgpio-1.2-makefile.patch):' Patch #0 (sgpio-1.2-makefile.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .makefile --fuzz=0 patching file Makefile + echo 'Patch #1 (sgpio-1.2-coverity.patch):' Patch #1 (sgpio-1.2-coverity.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .coverity --fuzz=0 patching file sgpio.c + chmod a-x LICENSE_GPL Makefile Makefile.makefile README commands.h sgpio sgpio.1 sgpio.c sgpio.c.coverity sgpio.o version.h + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PA7ezz + umask 022 + cd /builddir/build/BUILD + cd sgpio + make clean rm -f sgpio.o sgpio + make -j4 '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 -c sgpio.c gcc -g sgpio.o -o sgpio + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.urgfx1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sgpio-1.2.0.10-16.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sgpio-1.2.0.10-16.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/sgpio-1.2.0.10-16.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sgpio-1.2.0.10-16.fc28.riscv64 + cd sgpio + make install 'INSTALL=/usr/bin/install -p' DESTDIR=/builddir/build/BUILDROOT/sgpio-1.2.0.10-16.fc28.riscv64 SBIN_DIR=/builddir/build/BUILDROOT/sgpio-1.2.0.10-16.fc28.riscv64/usr/sbin MANDIR=/builddir/build/BUILDROOT/sgpio-1.2.0.10-16.fc28.riscv64/usr/share/man for i in sgpio; do \ /usr/bin/install -p -D $i /builddir/build/BUILDROOT/sgpio-1.2.0.10-16.fc28.riscv64/usr/sbin/$i; \ done /usr/bin/install -p -d /builddir/build/BUILDROOT/sgpio-1.2.0.10-16.fc28.riscv64/usr/share/man/man1 /usr/bin/install -p -m 0644 *.1 /builddir/build/BUILDROOT/sgpio-1.2.0.10-16.fc28.riscv64/usr/share/man/man1 + /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: sgpio-1.2.0.10-16.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.KjLizs + umask 022 + cd /builddir/build/BUILD + cd sgpio + DOCDIR=/builddir/build/BUILDROOT/sgpio-1.2.0.10-16.fc28.riscv64/usr/share/doc/sgpio + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sgpio-1.2.0.10-16.fc28.riscv64/usr/share/doc/sgpio + cp -pr README /builddir/build/BUILDROOT/sgpio-1.2.0.10-16.fc28.riscv64/usr/share/doc/sgpio + exit 0 Provides: sgpio = 1.2.0.10-16.fc28 sgpio(riscv-64) = 1.2.0.10-16.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/sgpio-1.2.0.10-16.fc28.riscv64 Wrote: /builddir/build/SRPMS/sgpio-1.2.0.10-16.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/sgpio-1.2.0.10-16.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Y9Ek9h + umask 022 + cd /builddir/build/BUILD + cd sgpio + /usr/bin/rm -rf /builddir/build/BUILDROOT/sgpio-1.2.0.10-16.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