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/efifs.spec'], chrootPath='/var/lib/mock/f33-build-618289-67418/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/efifs.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=1606608000 Wrote: /builddir/build/SRPMS/efifs-1.7-2.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/efifs.spec'], chrootPath='/var/lib/mock/f33-build-618289-67418/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/efifs.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=1606608000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4lv0f5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf efifs-1.7 + /usr/bin/mkdir -p efifs-1.7 + cd efifs-1.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/efifs-1.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/gzip -dc /builddir/build/SOURCES/edk2-stable202008.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -p /builddir/build/SOURCES/efifs-enable.sh . + pushd efifs-1.7 ~/build/BUILD/efifs-1.7/efifs-1.7 ~/build/BUILD/efifs-1.7 + tar -xf /builddir/build/SOURCES/grub-d7cac52eb21b866ffec66dc8d1319cc0695c94ee.tar.gz --strip-components=1 --directory grub + cd grub + patch -Np1 -i ../0001-GRUB-fixes.patch patching file grub-core/fs/affs.c patching file grub-core/fs/bfs.c patching file grub-core/fs/btrfs.c patching file grub-core/fs/f2fs.c patching file grub-core/fs/fat.c patching file grub-core/fs/hfs.c patching file grub-core/fs/hfsplus.c patching file grub-core/fs/hfspluscomp.c patching file grub-core/fs/iso9660.c patching file grub-core/fs/jfs.c patching file grub-core/fs/nilfs2.c patching file grub-core/fs/ntfs.c patching file grub-core/fs/reiserfs.c patching file grub-core/fs/sfs.c patching file grub-core/fs/squash4.c patching file grub-core/fs/udf.c patching file grub-core/fs/ufs.c patching file grub-core/fs/xfs.c patching file grub-core/fs/zfs/zfs.c patching file grub-core/fs/zfs/zfs_lz4.c patching file grub-core/kern/misc.c patching file grub-core/lib/minilzo/lzodefs.h patching file grub-core/lib/posix_wrap/limits.h patching file grub-core/lib/xzembed/xz_config.h patching file grub-core/lib/xzembed/xz_dec_lzma2.c patching file grub-core/lib/xzembed/xz_stream.h patching file include/grub/arm64/types.h patching file include/grub/btrfs.h patching file include/grub/exfat.h patching file include/grub/fat.h patching file include/grub/hfs.h patching file include/grub/hfsplus.h patching file include/grub/misc.h patching file include/grub/ntfs.h patching file include/grub/safemath.h patching file include/grub/term.h patching file include/grub/types.h patching file include/grub/unicode.h patching file include/grub/x86_64/types.h patching file include/grub/zfs/zap_leaf.h patching file include/grub/zfs/zio.h + popd ~/build/BUILD/efifs-1.7 ~/build/BUILD/efifs-1.7/edk2-edk2-stable202008 ~/build/BUILD/efifs-1.7 + pushd edk2-edk2-stable202008 + sed -e /BrotliCompress/d -i BaseTools/Source/C/GNUmakefile + ln -s ../efifs-1.7 EfiFsPkg + popd ~/build/BUILD/efifs-1.7 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GuN1h5 + umask 022 + cd /builddir/build/BUILD + cd efifs-1.7 + pushd edk2-edk2-stable202008 ~/build/BUILD/efifs-1.7/edk2-edk2-stable202008 ~/build/BUILD/efifs-1.7 + export PYTHON_COMMAND=/usr/bin/python3 + PYTHON_COMMAND=/usr/bin/python3 + /usr/bin/make -O -j4 V=1 VERBOSE=1 -C BaseTools 'EXTRA_OPTFLAGS=-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' 'EXTRA_LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' /usr/bin/make -C Source/C /usr/bin/make -C Source/Python make[1]: Nothing to be done for 'all'. make[1]: Entering directory '/builddir/build/BUILD/efifs-1.7/edk2-edk2-stable202008/BaseTools/Source/C' Attempting to detect HOST_ARCH from 'uname -m': riscv64 Could not detected HOST_ARCH from uname results make[1]: Leaving directory '/builddir/build/BUILD/efifs-1.7/edk2-edk2-stable202008/BaseTools/Source/C' GNUmakefile:31: *** HOST_ARCH is not defined!. Stop. make: *** [GNUmakefile:19: Source/C] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.GuN1h5 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.GuN1h5 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/efifs.spec