==> Building on glalie ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/refind ./ .SRCINFO 2,070 100% 0.00kB/s 0:00:00 2,070 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=10/12) .nvchecker.toml 148 100% 144.53kB/s 0:00:00 148 100% 144.53kB/s 0:00:00 (xfr#2, to-chk=9/12) LICENSE 646 100% 630.86kB/s 0:00:00 646 100% 630.86kB/s 0:00:00 (xfr#3, to-chk=8/12) PKGBUILD 4,936 100% 4.71MB/s 0:00:00 4,936 100% 4.71MB/s 0:00:00 (xfr#4, to-chk=7/12) REUSE.toml 547 100% 534.18kB/s 0:00:00 547 100% 534.18kB/s 0:00:00 (xfr#5, to-chk=6/12) fix-target-option.patch 484 100% 472.66kB/s 0:00:00 484 100% 472.66kB/s 0:00:00 (xfr#6, to-chk=5/12) gnu-efi-4-compat.patch 1,853 100% 1.77MB/s 0:00:00 1,853 100% 1.77MB/s 0:00:00 (xfr#7, to-chk=4/12) refind-0.14.2-2.log 1,115 100% 1.06MB/s 0:00:00 1,115 100% 1.06MB/s 0:00:00 (xfr#8, to-chk=3/12) LICENSES/ LICENSES/0BSD.txt -> ../LICENSE LICENSES/GPL-3.0-or-later.txt 32,768 94% 10.42MB/s 0:00:00 34,674 100% 11.02MB/s 0:00:00 (xfr#9, to-chk=0/12) sent 17,668 bytes received 239 bytes 11,938.00 bytes/sec total size is 45,561 speedup is 2.54 ==> Applying RISC-V patches... sending incremental file list ./ add_riscv_support.patch 2,027 100% 0.00kB/s 0:00:00 2,027 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) riscv64.patch 1,053 100% 1.00MB/s 0:00:00 1,053 100% 1.00MB/s 0:00:00 (xfr#2, to-chk=0/3) sent 1,666 bytes received 57 bytes 1,148.67 bytes/sec total size is 3,080 speedup is 1.79 patching file PKGBUILD Hunk #1 succeeded at 28 (offset 8 lines). Hunk #2 succeeded at 48 (offset 14 lines). Hunk #3 succeeded at 118 (offset 14 lines). ==> Patching arch to riscv64... ==> Running pkgctl build --arch riscv64 on remote host... ==> WARNING: invalid architecture: riscv64 ==> Updating pacman database cache ==> Locking pacman database cache...done [?25l:: Synchronizing package databases... core downloading... extra downloading... multilib downloading... [?25h==> Building refind  -> repo: extra  -> arch: riscv64  -> worker: felix-1 ==> Building refind for [extra] (riscv64) ]3008;start=516bab5df135459fb9d73408e297d1e3;user=root;hostname=glalie.felixc.at;machineid=72144a64db6f4720ade5ccd1e3c98c82;bootid=8a0377854b314850a13ac37e3ea3b8f0;pid=3589177;comm=systemd-nspawn;container=arch-nspawn-3589177;type=container\]11;?\]2;🔵 Container arch-nspawn-3589177 on glalie.felixc.at\[?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [?25h[!p]104\[?7h]3008;end=516bab5df135459fb9d73408e297d1e3\==> Building in chroot for [extra] (riscv64)... ==> Locking clean chroot [/var/lib/archbuild/extra-riscv64/root]...done ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix-1]...done ==> Making package: refind 0.14.2-2 (Sat Mar 21 14:27:06 2026) ==> Retrieving sources...  -> Downloading refind-src-0.14.2.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 0 100 368 100 368 0 0 499 0 0 100 368 100 368 0 0 499 0 0 0 0 0 0 0 0 0 0 0 100 384 100 384 0 0 366 0 00:01 00:01 0 100 384 100 384 0 0 366 0 00:01 00:01 0 0 0 0 0 0 0 0 0 00:01 0 100 613 100 613 0 0 454 0 00:01 00:01 0 100 613 100 613 0 0 454 0 00:01 00:01 0 0 0 0 0 0 0 0 0 00:01 0 100 355 100 355 0 0 176 0 00:02 00:02 0 100 355 100 355 0 0 176 0 00:02 00:02 0 0 0 0 0 0 0 0 0 00:02 0 0 0 0 0 0 0 0 0 00:03 0 35 4.41M 35 1.57M 0 0 383.7k 0 00:11 00:04 00:07 737.1k 100 4.41M 100 4.41M 0 0 0.98M 0 00:04 00:04 737.1k 100 4.41M 100 4.41M 0 0 0.98M 0 00:04 00:04 737.1k 100 4.41M 100 4.41M 0 0 0.98M 0 00:04 00:04 737.1k  -> Found gnu-efi-4-compat.patch  -> Found fix-target-option.patch  -> Found add_riscv_support.patch ==> Validating source files with sha512sums... refind-src-0.14.2.tar.gz ... Passed gnu-efi-4-compat.patch ... Passed fix-target-option.patch ... Passed add_riscv_support.patch ... Passed ==> Validating source files with b2sums... refind-src-0.14.2.tar.gz ... Passed gnu-efi-4-compat.patch ... Passed fix-target-option.patch ... Passed add_riscv_support.patch ... Passed ]3008;start=2d05f111cd5a4e4f9de4f119c4414fa1;user=root;hostname=glalie.felixc.at;machineid=72144a64db6f4720ade5ccd1e3c98c82;bootid=8a0377854b314850a13ac37e3ea3b8f0;pid=3593880;comm=systemd-nspawn;container=arch-nspawn-3593880;type=container\]11;?\]2;🔵 Container arch-nspawn-3593880 on glalie.felixc.at\==> Making package: refind 0.14.2-2 (Sat Mar 21 06:27:43 2026) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (4) New Version Net Change Download Size core/efivar 39-1 0.47 MiB core/dosfstools 4.2-5 0.39 MiB core/efibootmgr 18-3 0.07 MiB 0.03 MiB extra/gnu-efi 4.0.4-1 4.23 MiB 0.49 MiB Total Download Size: 0.52 MiB Total Installed Size: 5.16 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... gnu-efi-4.0.4-1-riscv64 downloading... efibootmgr-18-3-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing dosfstools... installing efivar... installing efibootmgr... installing gnu-efi... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... [?25h==> Retrieving sources...  -> Found refind-src-0.14.2.tar.gz  -> Found gnu-efi-4-compat.patch  -> Found fix-target-option.patch  -> Found add_riscv_support.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting refind-src-0.14.2.tar.gz with bsdtar ==> Starting prepare()... patching file Make.common Hunk #1 succeeded at 181 (offset 22 lines). patching file gptsync/Make.gnuefi patching file gptsync/gptsync.h Hunk #1 succeeded at 45 (offset 3 lines). patching file refind/launch_efi.c patching file EfiLib/gnuefi-helper.c patching file EfiLib/gnuefi-helper.h patching file EfiLib/legacy.c patching file filesystems/fsw_efi.h patching file refind/lib.c patching file Make.common ==> Starting build()... Did not find /usr/local/edk2-vUDK2018 or /usr/local/UDK2014/MyWorkSpace; building with GNU-EFI make gnuefi make[1]: Entering directory '/build/refind/src/refind-0.14.2' make MAKEWITH=GNUEFI -C libeg make[2]: Entering directory '/build/refind/src/refind-0.14.2/libeg' /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -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 -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -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 -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -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 -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -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 -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -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 -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -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 -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -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 -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -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 -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -I. -I./../include \ -D__MAKEWITH_GNUEFI -c lodepng_xtra.c -o lodepng_xtra.o In file included from /usr/include/efi/efi.h:60, 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:126:53: note: in definition of macro ‘uefi_call_wrapper’ 126 | #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:126:53: note: in definition of macro ‘uefi_call_wrapper’ 126 | #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[2]: Leaving directory '/build/refind/src/refind-0.14.2/libeg' make MAKEWITH=GNUEFI -C mok make[2]: Entering directory '/build/refind/src/refind-0.14.2/mok' /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -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 -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -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 -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -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 -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -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[2]: Leaving directory '/build/refind/src/refind-0.14.2/mok' make MAKEWITH=GNUEFI -C gzip make[2]: Entering directory '/build/refind/src/refind-0.14.2/gzip' /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -I. -I./../include \ -D__MAKEWITH_GNUEFI -c decompress_inflate.c -o decompress_inflate.o /usr/bin/ar cq libgzip.a decompress_inflate.o make[2]: Leaving directory '/build/refind/src/refind-0.14.2/gzip' make MAKEWITH=GNUEFI -C EfiLib make[2]: Entering directory '/build/refind/src/refind-0.14.2/EfiLib' /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -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 -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -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 -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -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 -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -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[2]: Leaving directory '/build/refind/src/refind-0.14.2/EfiLib' make MAKEWITH=GNUEFI -C refind make[2]: Entering directory '/build/refind/src/refind-0.14.2/refind' /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -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 -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -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 -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -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 -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -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 -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -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 -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -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 -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -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 -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c launch_efi.c -o launch_efi.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c launch_legacy.c -o launch_legacy.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c lib.c -o lib.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c line_edit.c -o line_edit.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c linux.c -o linux.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c log.c -o log.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c main.c -o main.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c menu.c -o menu.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c mystrings.c -o mystrings.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c pointer.c -o pointer.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c scan.c -o scan.o /usr/bin/gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fno-merge-constants -ffreestanding -DEFIRISCV64 -fno-stack-check -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 -DEFIRISCV64 -I. -I./../include -I./../libeg -I./../mok \ -D__MAKEWITH_GNUEFI -c screen.c -o screen.o /usr/bin/ld -L./../libeg/ -L./../mok/ -L./../EfiLib/ -L./../gzip -T /usr/lib/elf_riscv64_efi.lds -shared -Bsymbolic -nostdlib -L/usr/lib -L/usr/lib /usr/lib/crt0-efi-riscv64.o -defsym=EFI_SUBSYSTEM=0xa apple.o config.o crc32.o driver_support.o gpt.o icns.o install.o launch_efi.o launch_legacy.o lib.o line_edit.o linux.o log.o main.o menu.o mystrings.o pointer.o scan.o screen.o \ -o refind.so -leg -lmok -lEfiLib -lgzip -lefi -lgnuefi /usr/lib/gcc/riscv64-unknown-linux-gnu/15.2.1/libgcc.a /usr/bin/objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rodata \ -j .rel -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \ -j .reloc --strip-unneeded -O binary refind.so refind.efi /usr/bin/objcopy --add-section .sbat=./../refind-sbat.csv \ --adjust-section-vma .sbat+10000000 refind.efi /usr/bin/objcopy: refind.efi: file format not recognized /usr/bin/objcopy: --change-section-vma .sbat+0x989680 never used /usr/bin/objcopy: --change-section-lma .sbat+0x989680 never used make[2]: *** [Makefile:54: refind.efi] Error 1 make[2]: Leaving directory '/build/refind/src/refind-0.14.2/refind' make[1]: *** [Makefile:89: gnuefi] Error 2 make[1]: Leaving directory '/build/refind/src/refind-0.14.2' make: *** [Makefile:46: all] Error 2 ==> ERROR: A failure occurred in build().  Aborting... [!p]104\[?7h]3008;end=2d05f111cd5a4e4f9de4f119c4414fa1\==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix-1/build [?25h[?25h[?25hreceiving incremental file list refind-0.14.2-2-riscv64-build.log refind-0.14.2-2-riscv64-prepare.log sent 62 bytes received 2,389 bytes 1,634.00 bytes/sec total size is 20,411 speedup is 8.33