Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rEFInd.spec'], chrootPath='/var/lib/mock/f41-build-845546-162686/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rEFInd.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721347200 Wrote: /builddir/build/SRPMS/rEFInd-0.14.2-2.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rEFInd.spec'], chrootPath='/var/lib/mock/f41-build-845546-162686/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rEFInd.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721347200 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.A5ZpJT + umask 022 + cd /builddir/build/BUILD/rEFInd-0.14.2-build + test -d /builddir/build/BUILD/rEFInd-0.14.2-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/rEFInd-0.14.2-build + /usr/bin/rm -rf /builddir/build/BUILD/rEFInd-0.14.2-build + /usr/bin/mkdir -p /builddir/build/BUILD/rEFInd-0.14.2-build + /usr/bin/mkdir -p /builddir/build/BUILD/rEFInd-0.14.2-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VBgMY4 + umask 022 + cd /builddir/build/BUILD/rEFInd-0.14.2-build + cd /builddir/build/BUILD/rEFInd-0.14.2-build + rm -rf refind-0.14.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/refind-src-0.14.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd refind-0.14.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/install-nvram-only.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/detect-efi-size.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/fix-aarch64-efi-build.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + cp /builddir/build/SOURCES/os_fedora.png icons/ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Ip5xrB + umask 022 + cd /builddir/build/BUILD/rEFInd-0.14.2-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd refind-0.14.2 + make GNUEFILIB=/usr/lib EFILIB=/usr/lib EFICRT0=/usr/lib LIBDIR=/usr/lib64 GNUEFI_ARM64_TARGET_SUPPORT=y all_gnuefi make MAKEWITH=GNUEFI -C libeg make[1]: Entering directory '/builddir/build/BUILD/rEFInd-0.14.2-build/refind-0.14.2/libeg' /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fpic -I/usr/include/efi -I/usr/include/efi/riscv64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I../gzip -I. -I./../include \ -D__MAKEWITH_GNUEFI -c nanojpeg.c -o nanojpeg.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fpic -I/usr/include/efi -I/usr/include/efi/riscv64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I../gzip -I. -I./../include \ -D__MAKEWITH_GNUEFI -c nanojpeg_xtra.c -o nanojpeg_xtra.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fpic -I/usr/include/efi -I/usr/include/efi/riscv64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I../gzip -I. -I./../include \ -D__MAKEWITH_GNUEFI -c screen.c -o screen.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fpic -I/usr/include/efi -I/usr/include/efi/riscv64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I../gzip -I. -I./../include \ -D__MAKEWITH_GNUEFI -c image.c -o image.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fpic -I/usr/include/efi -I/usr/include/efi/riscv64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I../gzip -I. -I./../include \ -D__MAKEWITH_GNUEFI -c text.c -o text.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fpic -I/usr/include/efi -I/usr/include/efi/riscv64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I../gzip -I. -I./../include \ -D__MAKEWITH_GNUEFI -c load_bmp.c -o load_bmp.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fpic -I/usr/include/efi -I/usr/include/efi/riscv64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I../gzip -I. -I./../include \ -D__MAKEWITH_GNUEFI -c load_icns.c -o load_icns.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fpic -I/usr/include/efi -I/usr/include/efi/riscv64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I../gzip -I. -I./../include \ -D__MAKEWITH_GNUEFI -c lodepng.c -o lodepng.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fpic -I/usr/include/efi -I/usr/include/efi/riscv64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I../gzip -I. -I./../include \ -D__MAKEWITH_GNUEFI -c lodepng_xtra.c -o lodepng_xtra.o In file included from /usr/include/efi/efi.h:58, from ../refind/global.h:49, from lodepng_xtra.c:26: lodepng_xtra.c: In function ‘MyMemCpy’: lodepng_xtra.c:95:23: warning: passing argument 2 of ‘BS->CopyMem’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 95 | MyCopyMem(__dest, __src, __n); | ^~~~~ /usr/include/efi/riscv64/efibind.h:127:51: note: in definition of macro ‘uefi_call_wrapper’ 127 | #define uefi_call_wrapper(func, va_num, ...) func(__VA_ARGS__) | ^~~~~~~~~~~ ../refind/lib.h:137:35: note: in expansion of macro ‘refit_call3_wrapper’ 137 | #define MyCopyMem(Dest, Src, len) refit_call3_wrapper(gBS->CopyMem, Dest, Src, len) | ^~~~~~~~~~~~~~~~~~~ lodepng_xtra.c:95:5: note: in expansion of macro ‘MyCopyMem’ 95 | MyCopyMem(__dest, __src, __n); | ^~~~~~~~~ lodepng_xtra.c:95:23: note: expected ‘VOID *’ {aka ‘void *’} but argument is of type ‘const void *’ 95 | MyCopyMem(__dest, __src, __n); | ^~~~~ /usr/include/efi/riscv64/efibind.h:127:51: note: in definition of macro ‘uefi_call_wrapper’ 127 | #define uefi_call_wrapper(func, va_num, ...) func(__VA_ARGS__) | ^~~~~~~~~~~ ../refind/lib.h:137:35: note: in expansion of macro ‘refit_call3_wrapper’ 137 | #define MyCopyMem(Dest, Src, len) refit_call3_wrapper(gBS->CopyMem, Dest, Src, len) | ^~~~~~~~~~~~~~~~~~~ lodepng_xtra.c:95:5: note: in expansion of macro ‘MyCopyMem’ 95 | MyCopyMem(__dest, __src, __n); | ^~~~~~~~~ /usr/bin/ar cq libeg.a nanojpeg.o nanojpeg_xtra.o screen.o image.o text.o load_bmp.o load_icns.o lodepng.o lodepng_xtra.o make[1]: Leaving directory '/builddir/build/BUILD/rEFInd-0.14.2-build/refind-0.14.2/libeg' make MAKEWITH=GNUEFI -C mok make[1]: Entering directory '/builddir/build/BUILD/rEFInd-0.14.2-build/refind-0.14.2/mok' /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fpic -I/usr/include/efi -I/usr/include/efi/riscv64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I../gzip -I. -I./../include \ -D__MAKEWITH_GNUEFI -c guid.c -o guid.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fpic -I/usr/include/efi -I/usr/include/efi/riscv64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I../gzip -I. -I./../include \ -D__MAKEWITH_GNUEFI -c mok.c -o mok.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fpic -I/usr/include/efi -I/usr/include/efi/riscv64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I../gzip -I. -I./../include \ -D__MAKEWITH_GNUEFI -c security_policy.c -o security_policy.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fpic -I/usr/include/efi -I/usr/include/efi/riscv64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I../gzip -I. -I./../include \ -D__MAKEWITH_GNUEFI -c simple_file.c -o simple_file.o /usr/bin/ar cq libmok.a guid.o mok.o security_policy.o simple_file.o make[1]: Leaving directory '/builddir/build/BUILD/rEFInd-0.14.2-build/refind-0.14.2/mok' make MAKEWITH=GNUEFI -C gzip make[1]: Entering directory '/builddir/build/BUILD/rEFInd-0.14.2-build/refind-0.14.2/gzip' /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fpic -I/usr/include/efi -I/usr/include/efi/riscv64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I../gzip -I. -I./../include \ -D__MAKEWITH_GNUEFI -c decompress_inflate.c -o decompress_inflate.o /usr/bin/ar cq libgzip.a decompress_inflate.o make[1]: Leaving directory '/builddir/build/BUILD/rEFInd-0.14.2-build/refind-0.14.2/gzip' make MAKEWITH=GNUEFI -C EfiLib make[1]: Entering directory '/builddir/build/BUILD/rEFInd-0.14.2-build/refind-0.14.2/EfiLib' /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fpic -I/usr/include/efi -I/usr/include/efi/riscv64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I../gzip -I. -I./../include \ -D__MAKEWITH_GNUEFI -c gnuefi-helper.c -o gnuefi-helper.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fpic -I/usr/include/efi -I/usr/include/efi/riscv64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I../gzip -I. -I./../include \ -D__MAKEWITH_GNUEFI -c legacy.c -o legacy.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fpic -I/usr/include/efi -I/usr/include/efi/riscv64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I../gzip -I. -I./../include \ -D__MAKEWITH_GNUEFI -c BdsHelper.c -o BdsHelper.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fpic -I/usr/include/efi -I/usr/include/efi/riscv64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I../gzip -I. -I./../include \ -D__MAKEWITH_GNUEFI -c BdsTianoCore.c -o BdsTianoCore.o BdsTianoCore.c: In function ‘BdsLibConnectDevicePath’: BdsTianoCore.c:54:29: warning: variable ‘PreviousHandle’ set but not used [-Wunused-but-set-variable] 54 | EFI_HANDLE PreviousHandle; | ^~~~~~~~~~~~~~ /usr/bin/ar cq libEfiLib.a gnuefi-helper.o legacy.o BdsHelper.o BdsTianoCore.o make[1]: Leaving directory '/builddir/build/BUILD/rEFInd-0.14.2-build/refind-0.14.2/EfiLib' make MAKEWITH=GNUEFI -C refind make[1]: Entering directory '/builddir/build/BUILD/rEFInd-0.14.2-build/refind-0.14.2/refind' /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fpic -I/usr/include/efi -I/usr/include/efi/riscv64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I../gzip -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c apple.c -o apple.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fpic -I/usr/include/efi -I/usr/include/efi/riscv64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I../gzip -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c config.c -o config.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fpic -I/usr/include/efi -I/usr/include/efi/riscv64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I../gzip -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c crc32.c -o crc32.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fpic -I/usr/include/efi -I/usr/include/efi/riscv64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I../gzip -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c driver_support.c -o driver_support.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fpic -I/usr/include/efi -I/usr/include/efi/riscv64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I../gzip -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c gpt.c -o gpt.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fpic -I/usr/include/efi -I/usr/include/efi/riscv64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I../gzip -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c icns.c -o icns.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fpic -I/usr/include/efi -I/usr/include/efi/riscv64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I../gzip -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c install.c -o install.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fpic -I/usr/include/efi -I/usr/include/efi/riscv64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I../gzip -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c launch_efi.c -o launch_efi.o launch_efi.c:86:16: error: ‘EFI_STUB_ARCH’ undeclared here (not in a function) 86 | UINT64 PESig = EFI_STUB_ARCH; | ^~~~~~~~~~~~~ make[1]: *** [../Make.common:177: launch_efi.o] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/rEFInd-0.14.2-build/refind-0.14.2/refind' make: *** [Makefile:89: gnuefi] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.Ip5xrB (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Ip5xrB (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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/rEFInd.spec