+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/bkhive.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 warning: bogus date in %changelog: Sat Aug 7 2012 Michal Ambroz - 1.1.1-4 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.iMJ974 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bkhive-1.1.1 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/bkhive-1.1.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd bkhive-1.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (bkhive-install.patch):' Patch #0 (bkhive-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.B5ksmR + umask 022 + cd /builddir/build/BUILD + cd bkhive-1.1.1 + 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 ' /usr/bin/gcc -c -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 bkhive.o bkhive.c /usr/bin/gcc -c -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 hive.o hive.c ############################################################### Bkhive 1.0.0 : extract Syskey bootkey from the system hive file Copyright (C) 2004-2006 Nicola Cuomo Distributed under terms of GNU General Public License version 2 ############################################################### hive.c: In function 'read_valuelist': hive.c:89:7: warning: unused variable 'i' [-Wunused-variable] int i =0; ^ hive.c: In function '_RegGetRootKey': hive.c:207:25: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(*root_key, n->key_name, n->name_len); ^ In file included from /usr/include/features.h:428:0, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from hive.c:27: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ hive.c: In function '_RegQueryValue': hive.c:261:18: warning: unused variable 'j' [-Wunused-variable] unsigned int i,j; ^ /usr/bin/gcc -o bkhive hive.o bkhive.o + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ZaghZg + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/bkhive-1.1.1-13.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/bkhive-1.1.1-13.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/bkhive-1.1.1-13.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/bkhive-1.1.1-13.fc28.riscv64 + cd bkhive-1.1.1 + rm -rf /builddir/build/BUILDROOT/bkhive-1.1.1-13.fc28.riscv64 ++ id -un + OWNER=mockbuild ++ id -gn + GROUP=mockbuild + make install DESTDIR=/builddir/build/BUILDROOT/bkhive-1.1.1-13.fc28.riscv64 BINDIR=/usr/bin MANDIR=/usr/share/man/man1/ OWNER=mockbuild GROUP=mockbuild ############################################################### Bkhive 1.0.0 : extract Syskey bootkey from the system hive file Copyright (C) 2004-2006 Nicola Cuomo Distributed under terms of GNU General Public License version 2 ############################################################### Creating directories... /usr/bin/install -d -m 755 -o mockbuild -g mockbuild /builddir/build/BUILDROOT/bkhive-1.1.1-13.fc28.riscv64/usr/bin /usr/bin/install -d -m 755 -o mockbuild -g mockbuild /builddir/build/BUILDROOT/bkhive-1.1.1-13.fc28.riscv64/usr/share/man/man1/ Copying binary... /usr/bin/install bkhive -m 755 -o mockbuild -g mockbuild /builddir/build/BUILDROOT/bkhive-1.1.1-13.fc28.riscv64/usr/bin Installing man page... /usr/bin/install bkhive.1 -m 644 -o mockbuild -g mockbuild /builddir/build/BUILDROOT/bkhive-1.1.1-13.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: bkhive-1.1.1-13.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.nOA39M + umask 022 + cd /builddir/build/BUILD + cd bkhive-1.1.1 + DOCDIR=/builddir/build/BUILDROOT/bkhive-1.1.1-13.fc28.riscv64/usr/share/doc/bkhive + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bkhive-1.1.1-13.fc28.riscv64/usr/share/doc/bkhive + cp -pr AUTHORS /builddir/build/BUILDROOT/bkhive-1.1.1-13.fc28.riscv64/usr/share/doc/bkhive + cp -pr COPYING /builddir/build/BUILDROOT/bkhive-1.1.1-13.fc28.riscv64/usr/share/doc/bkhive + cp -pr README /builddir/build/BUILDROOT/bkhive-1.1.1-13.fc28.riscv64/usr/share/doc/bkhive + exit 0 Provides: bkhive = 1.1.1-13.fc28 bkhive(riscv-64) = 1.1.1-13.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/bkhive-1.1.1-13.fc28.riscv64 Wrote: /builddir/build/SRPMS/bkhive-1.1.1-13.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/bkhive-1.1.1-13.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.VQuDpu + umask 022 + cd /builddir/build/BUILD + cd bkhive-1.1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/bkhive-1.1.1-13.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