Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/rEFInd.spec'], chrootPath='/var/lib/mock/f41-build-852989-166511/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=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gvap5jta:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gvap5jta:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '02400a207a584af6a0f39f00f0c60d4c', '-D', '/var/lib/mock/f41-build-852989-166511/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gvap5jta:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} 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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/rEFInd.spec'], chrootPath='/var/lib/mock/f41-build-852989-166511/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=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gvap5jta:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gvap5jta:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b2000265269249f9b7ca1722270daab2', '-D', '/var/lib/mock/f41-build-852989-166511/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gvap5jta:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} 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.SWAXnO + 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.jcTgae + 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.90lAUV + 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.90lAUV (%build) Bad exit status from /var/tmp/rpm-tmp.90lAUV (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M b2000265269249f9b7ca1722270daab2 -D /var/lib/mock/f41-build-852989-166511/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.gvap5jta:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/rEFInd.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M b2000265269249f9b7ca1722270daab2 -D /var/lib/mock/f41-build-852989-166511/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.gvap5jta:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/rEFInd.spec'