+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/smaclient.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.4EhIMN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf smaclient-1.1 + /usr/bin/mkdir -p smaclient-1.1 + cd smaclient-1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -p /builddir/build/SOURCES/smaclient-1.1 smaclient + cp -p /builddir/build/SOURCES/smiucv.c . + echo 'Patch #0 (smaclient-1.1-helper.patch):' Patch #0 (smaclient-1.1-helper.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file smaclient + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jGK7La + umask 022 + cd /builddir/build/BUILD + cd smaclient-1.1 + 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 -o smiucv smiucv.c smiucv.c: In function 'main': smiucv.c:200:28: warning: operation on 'used' may be undefined [-Wsequence-point] if( write( fd, buffer, --used ) != used ) ^~~~~~ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.V9uUqc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/smaclient-1.1-8.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/smaclient-1.1-8.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/smaclient-1.1-8.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/smaclient-1.1-8.fc28.riscv64 + cd smaclient-1.1 + mkdir -p /builddir/build/BUILDROOT/smaclient-1.1-8.fc28.riscv64/usr/bin + install -p -m755 smaclient smiucv /builddir/build/BUILDROOT/smaclient-1.1-8.fc28.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/smaclient-1.1-8.fc28.riscv64/usr/share/man/man1 + install -p -m644 /builddir/build/SOURCES/smaclient.1 /builddir/build/SOURCES/smiucv.1 /builddir/build/BUILDROOT/smaclient-1.1-8.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: smaclient-1.1-8.fc28.riscv64 Provides: smaclient = 1.1-8.fc28 smaclient(riscv-64) = 1.1-8.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/bash 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/smaclient-1.1-8.fc28.riscv64 Wrote: /builddir/build/SRPMS/smaclient-1.1-8.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/smaclient-1.1-8.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.6tCKJ1 + umask 022 + cd /builddir/build/BUILD + cd smaclient-1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/smaclient-1.1-8.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