+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/samdump2.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.KhPbuu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf samdump2-3.0.0 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/samdump2-3.0.0.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd samdump2-3.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (samdump2-install.patch):' Patch #0 (samdump2-install.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .install --fuzz=0 patching file Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9NZv1w + umask 022 + cd /builddir/build/BUILD + cd samdump2-3.0.0 + 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 ' 'LIBS=-lssl -lcrypto' /usr/bin/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 -o hive.o hive.c /usr/bin/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 -o list.o list.c /usr/bin/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 -o bkhive.o bkhive.c /usr/bin/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 -o samdump2.o samdump2.c /usr/bin/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 -o main.o main.c /usr/bin/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 -o dumpsam.o dumpsam.c Building binary... /usr/bin/gcc -o samdump2 hive.o list.o bkhive.o samdump2.o main.o dumpsam.o -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 -lssl -lcrypto + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.pnys0y + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/samdump2-3.0.0-12.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/samdump2-3.0.0-12.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/samdump2-3.0.0-12.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/samdump2-3.0.0-12.fc28.riscv64 + cd samdump2-3.0.0 + rm -rf /builddir/build/BUILDROOT/samdump2-3.0.0-12.fc28.riscv64 ++ id -un + OWNER=mockbuild ++ id -gn + GROUP=mockbuild + make install DESTDIR=/builddir/build/BUILDROOT/samdump2-3.0.0-12.fc28.riscv64 BINDIR=/usr/bin MANDIR=/usr/share/man/man1/ OWNER=mockbuild GROUP=mockbuild Creating directories... /usr/bin/install -d -m 755 -o mockbuild -g mockbuild /builddir/build/BUILDROOT/samdump2-3.0.0-12.fc28.riscv64/usr/bin /usr/bin/install -d -m 755 -o mockbuild -g mockbuild /builddir/build/BUILDROOT/samdump2-3.0.0-12.fc28.riscv64/usr/share/man/man1/ Copying binary... /usr/bin/install samdump2 -m 755 -o mockbuild -g mockbuild /builddir/build/BUILDROOT/samdump2-3.0.0-12.fc28.riscv64/usr/bin Installing man page... /usr/bin/install samdump2.1 -m 644 -o mockbuild -g mockbuild /builddir/build/BUILDROOT/samdump2-3.0.0-12.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: samdump2-3.0.0-12.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.f4DbbD + umask 022 + cd /builddir/build/BUILD + cd samdump2-3.0.0 + DOCDIR=/builddir/build/BUILDROOT/samdump2-3.0.0-12.fc28.riscv64/usr/share/doc/samdump2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/samdump2-3.0.0-12.fc28.riscv64/usr/share/doc/samdump2 + cp -pr AUTHORS /builddir/build/BUILDROOT/samdump2-3.0.0-12.fc28.riscv64/usr/share/doc/samdump2 + cp -pr COPYING /builddir/build/BUILDROOT/samdump2-3.0.0-12.fc28.riscv64/usr/share/doc/samdump2 + cp -pr README /builddir/build/BUILDROOT/samdump2-3.0.0-12.fc28.riscv64/usr/share/doc/samdump2 + cp -pr LICENSE /builddir/build/BUILDROOT/samdump2-3.0.0-12.fc28.riscv64/usr/share/doc/samdump2 + exit 0 Provides: samdump2 = 3.0.0-12.fc28 samdump2(riscv-64) = 3.0.0-12.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) libcrypto.so.10()(64bit) libcrypto.so.10(libcrypto.so.10)(64bit) libssl.so.10()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/samdump2-3.0.0-12.fc28.riscv64 Wrote: /builddir/build/SRPMS/samdump2-3.0.0-12.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/samdump2-3.0.0-12.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ifdSnX + umask 022 + cd /builddir/build/BUILD + cd samdump2-3.0.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/samdump2-3.0.0-12.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