Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/bkhive.spec'], chrootPath='/var/lib/mock/f33-build-301884-56851/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/bkhive.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1596240000 Wrote: /builddir/build/SRPMS/bkhive-1.1.1-20.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/bkhive.spec'], chrootPath='/var/lib/mock/f33-build-301884-56851/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/bkhive.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1596240000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xyJfhj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bkhive-1.1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/bkhive-1.1.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd bkhive-1.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (bkhive-install.patch): + echo 'Patch #0 (bkhive-install.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .install --fuzz=0 patching file Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IbYTii + umask 022 + cd /builddir/build/BUILD + cd bkhive-1.1.1 + make -j4 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' /usr/bin/gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o bkhive.o bkhive.c /usr/bin/gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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] 89 | int i =0; | ^ hive.c: In function '_RegGetRootKey': hive.c:207:26: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 207 | strncpy(*root_key, n->key_name, n->name_len); | ~^~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, 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 *' 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ hive.c: In function '_RegQueryValue': hive.c:261:18: warning: unused variable 'j' [-Wunused-variable] 261 | unsigned int i,j; | ^ /usr/bin/gcc -o bkhive hive.o bkhive.o + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CKWoTh + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/bkhive-1.1.1-20.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/bkhive-1.1.1-20.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/bkhive-1.1.1-20.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/bkhive-1.1.1-20.fc33.riscv64 + cd bkhive-1.1.1 + rm -rf /builddir/build/BUILDROOT/bkhive-1.1.1-20.fc33.riscv64 ++ id -un + OWNER=mockbuild ++ id -gn + GROUP=mock + make install DESTDIR=/builddir/build/BUILDROOT/bkhive-1.1.1-20.fc33.riscv64 BINDIR=/usr/bin MANDIR=/usr/share/man/man1/ OWNER=mockbuild GROUP=mock ############################################################### 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 mock /builddir/build/BUILDROOT/bkhive-1.1.1-20.fc33.riscv64/usr/bin /usr/bin/install -d -m 755 -o mockbuild -g mock /builddir/build/BUILDROOT/bkhive-1.1.1-20.fc33.riscv64/usr/share/man/man1/ Copying binary... /usr/bin/install bkhive -m 755 -o mockbuild -g mock /builddir/build/BUILDROOT/bkhive-1.1.1-20.fc33.riscv64/usr/bin Installing man page... /usr/bin/install bkhive.1 -m 644 -o mockbuild -g mock /builddir/build/BUILDROOT/bkhive-1.1.1-20.fc33.riscv64/usr/share/man/man1/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.1.1-20.fc33 --unique-debug-suffix -1.1.1-20.fc33.riscv64 --unique-debug-src-base bkhive-1.1.1-20.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/bkhive-1.1.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/bkhive-1.1.1-20.fc33.riscv64/usr/bin/bkhive extracting debug info from /builddir/build/BUILDROOT/bkhive-1.1.1-20.fc33.riscv64/usr/bin/bkhive original debug info size: 104kB, size after compression: 104kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 33 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: bkhive-1.1.1-20.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Ltw4Sj + umask 022 + cd /builddir/build/BUILD + cd bkhive-1.1.1 + DOCDIR=/builddir/build/BUILDROOT/bkhive-1.1.1-20.fc33.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-20.fc33.riscv64/usr/share/doc/bkhive + cp -pr AUTHORS /builddir/build/BUILDROOT/bkhive-1.1.1-20.fc33.riscv64/usr/share/doc/bkhive + cp -pr COPYING /builddir/build/BUILDROOT/bkhive-1.1.1-20.fc33.riscv64/usr/share/doc/bkhive + cp -pr README /builddir/build/BUILDROOT/bkhive-1.1.1-20.fc33.riscv64/usr/share/doc/bkhive + RPM_EC=0 ++ jobs -p + exit 0 Provides: bkhive = 1.1.1-20.fc33 bkhive(riscv-64) = 1.1.1-20.fc33 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) Processing files: bkhive-debugsource-1.1.1-20.fc33.riscv64 Provides: bkhive-debugsource = 1.1.1-20.fc33 bkhive-debugsource(riscv-64) = 1.1.1-20.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: bkhive-debuginfo-1.1.1-20.fc33.riscv64 Provides: bkhive-debuginfo = 1.1.1-20.fc33 bkhive-debuginfo(riscv-64) = 1.1.1-20.fc33 debuginfo(build-id) = 78831b22972a3c0925bd683c7fb42c94ab5179e0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: bkhive-debugsource(riscv-64) = 1.1.1-20.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/bkhive-1.1.1-20.fc33.riscv64 Wrote: /builddir/build/RPMS/bkhive-debugsource-1.1.1-20.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/bkhive-1.1.1-20.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/bkhive-debuginfo-1.1.1-20.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ZzBYpm + umask 022 + cd /builddir/build/BUILD + cd bkhive-1.1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/bkhive-1.1.1-20.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0