Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/bkhive.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-79167-53304/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --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': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/bkhive-1.1.1-2.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/bkhive.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-79167-53304/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --nocheck /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': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RuUgoW + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bkhive-1.1.1 + /usr/lib/rpm/rpmuncompress -x /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 . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bkhive-install.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DMUCgv + umask 022 + cd /builddir/build/BUILD + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bkhive-1.1.1 + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/make -O -j32 V=1 VERBOSE=1 '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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' ############################################################### 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 ############################################################### /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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -o hive.o hive.c 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:503, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from hive.c:27: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 92 | __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.LnRToT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/bkhive-1.1.1-2.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/bkhive-1.1.1-2.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/bkhive-1.1.1-2.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/bkhive-1.1.1-2.oc9.x86_64 + cd bkhive-1.1.1 ++ id -un + OWNER=mockbuild ++ id -gn + GROUP=mock + make install DESTDIR=/builddir/build/BUILDROOT/bkhive-1.1.1-2.oc9.x86_64 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-2.oc9.x86_64/usr/bin /usr/bin/install -d -m 755 -o mockbuild -g mock /builddir/build/BUILDROOT/bkhive-1.1.1-2.oc9.x86_64/usr/share/man/man1/ Copying binary... /usr/bin/install bkhive -m 755 -o mockbuild -g mock /builddir/build/BUILDROOT/bkhive-1.1.1-2.oc9.x86_64/usr/bin Installing man page... /usr/bin/install bkhive.1 -m 644 -o mockbuild -g mock /builddir/build/BUILDROOT/bkhive-1.1.1-2.oc9.x86_64/usr/share/man/man1/ + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.1.1-2.oc9 --unique-debug-suffix -1.1.1-2.oc9.x86_64 --unique-debug-src-base bkhive-1.1.1-2.oc9.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/bkhive-1.1.1 extracting debug info from /builddir/build/BUILDROOT/bkhive-1.1.1-2.oc9.x86_64/usr/bin/bkhive 33 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: bkhive-1.1.1-2.oc9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.RvSw69 + umask 022 + cd /builddir/build/BUILD + cd bkhive-1.1.1 + DOCDIR=/builddir/build/BUILDROOT/bkhive-1.1.1-2.oc9.x86_64/usr/share/doc/bkhive + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bkhive-1.1.1-2.oc9.x86_64/usr/share/doc/bkhive + cp -pr AUTHORS /builddir/build/BUILDROOT/bkhive-1.1.1-2.oc9.x86_64/usr/share/doc/bkhive + cp -pr README /builddir/build/BUILDROOT/bkhive-1.1.1-2.oc9.x86_64/usr/share/doc/bkhive + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.qMt3Ni + umask 022 + cd /builddir/build/BUILD + cd bkhive-1.1.1 + LICENSEDIR=/builddir/build/BUILDROOT/bkhive-1.1.1-2.oc9.x86_64/usr/share/licenses/bkhive + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bkhive-1.1.1-2.oc9.x86_64/usr/share/licenses/bkhive + cp -pr COPYING /builddir/build/BUILDROOT/bkhive-1.1.1-2.oc9.x86_64/usr/share/licenses/bkhive + RPM_EC=0 ++ jobs -p + exit 0 Provides: bkhive = 1.1.1-2.oc9 bkhive(x86-64) = 1.1.1-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) rtld(GNU_HASH) Processing files: bkhive-debugsource-1.1.1-2.oc9.x86_64 Provides: bkhive-debugsource = 1.1.1-2.oc9 bkhive-debugsource(x86-64) = 1.1.1-2.oc9 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-2.oc9.x86_64 Provides: bkhive-debuginfo = 1.1.1-2.oc9 bkhive-debuginfo(x86-64) = 1.1.1-2.oc9 debuginfo(build-id) = df5feb28299f87a48f273c307745fa9cbc69a595 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: bkhive-debugsource(x86-64) = 1.1.1-2.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/bkhive-1.1.1-2.oc9.x86_64 Wrote: /builddir/build/RPMS/bkhive-debugsource-1.1.1-2.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/bkhive-debuginfo-1.1.1-2.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/bkhive-1.1.1-2.oc9.x86_64.rpm Child return code was: 0