==>(B Building on magby(B ==>(B Checking for remote environment...(B ==>(B Syncing package to remote host...(B 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=11/13) .nvchecker.toml 148 100% 144.53kB/s 0:00:00 148 100% 144.53kB/s 0:00:00 (xfr#2, to-chk=10/13) LICENSE 646 100% 630.86kB/s 0:00:00 646 100% 630.86kB/s 0:00:00 (xfr#3, to-chk=9/13) PKGBUILD 4,921 100% 4.69MB/s 0:00:00 4,921 100% 4.69MB/s 0:00:00 (xfr#4, to-chk=8/13) REUSE.toml 685 100% 668.95kB/s 0:00:00 685 100% 668.95kB/s 0:00:00 (xfr#5, to-chk=7/13) fix-target-option.patch 484 100% 472.66kB/s 0:00:00 484 100% 472.66kB/s 0:00:00 (xfr#6, to-chk=6/13) gnu-efi-4-compat.patch 5,467 100% 2.61MB/s 0:00:00 5,467 100% 2.61MB/s 0:00:00 (xfr#7, to-chk=5/13) refind-0.14.2-3.log 1,015 100% 495.61kB/s 0:00:00 1,015 100% 495.61kB/s 0:00:00 (xfr#8, to-chk=4/13) LICENSES/ LICENSES/0BSD.txt -> ../LICENSE LICENSES/BSD-2-Clause.txt 1,595 100% 519.21kB/s 0:00:00 1,595 100% 519.21kB/s 0:00:00 (xfr#9, to-chk=1/13) LICENSES/GPL-3.0-or-later.txt 32,768 94% 3.91MB/s 0:00:00 34,674 100% 3.67MB/s 0:00:00 (xfr#10, to-chk=0/13) sent 19,755 bytes received 258 bytes 13,342.00 bytes/sec total size is 50,904 speedup is 2.54 ==>(B Applying RISC-V patches...(B 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 943 100% 920.90kB/s 0:00:00 943 100% 920.90kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 1,626 bytes received 57 bytes 1,122.00 bytes/sec total size is 2,970 speedup is 1.76 patching file PKGBUILD ==>(B Patching arch to riscv64...(B ==>(B Running pkgctl build --arch riscv64 on remote host...(B ==> WARNING:(B invalid architecture: riscv64(B ==>(B Updating pacman database cache(B [?25l:: Synchronizing package databases... core downloading... extra downloading... multilib downloading... [?25h==>(B Building refind(B  ->(B repo: extra(B  ->(B arch: riscv64(B  ->(B worker: felix-2(B ==>(B Building refind for [extra] (riscv64)(B ]3008;start=a7bba4282e3544839a3bf6794e8353df;user=felix;hostname=magby.felixc.at;machineid=469582f4838449b2b409e0f312413526;bootid=4180917d7e024f88b5b188a8a7f6f14e;pid=405219;pidfdid=13025807;comm=sudo;targetuser=root;type=session\Note: in a future version of systemd-nspawn the default set of permitted socket address families will be restricted to AF_INET, AF_INET6 and AF_UNIX. Use --restrict-address-families= to configure the set of permitted socket address families, or set RestrictAddressFamilies= in a .nspawn file. ]3008;start=438d7e3326c642faada5c6bee6cf6e4c;user=root;hostname=magby.felixc.at;machineid=469582f4838449b2b409e0f312413526;bootid=4180917d7e024f88b5b188a8a7f6f14e;pid=405264;pidfdid=13030547;comm=systemd-nspawn;container=arch-nspawn-405264;type=container\]11;?\]2;🔵 Container arch-nspawn-405264 on magby.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=438d7e3326c642faada5c6bee6cf6e4c\==>(B Building in chroot for [extra] (riscv64)...(B ==>(B Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix-2]...(Bdone(B ]3008;start=ee93b3b9b11047fbb1020ea2361ba484;user=root;hostname=magby.felixc.at;machineid=469582f4838449b2b409e0f312413526;bootid=4180917d7e024f88b5b188a8a7f6f14e;pid=405370;pidfdid=12889822;comm=sudo;targetuser=felix;type=session\==>(B Making package: refind 0.14.2-3 (Mon Sep 28 09:13:15 2026)(B ==>(B Retrieving sources...(B  ->(B Downloading refind-src-0.14.2.tar.gz...(B % 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 748 0 0 100 368 100 368 0 0 748 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00:01 0 100 384 100 384 0 0 256 0 00:01 00:01 381 100 384 100 384 0 0 256 0 00:01 00:01 381 0 0 0 0 0 0 0 0 00:01 0 100 613 100 613 0 0 280 0 00:02 00:02 0 100 613 100 613 0 0 280 0 00:02 00:02 0 0 0 0 0 0 0 0 0 00:02 0 100 499 100 499 0 0 188 0 00:02 00:02 0 100 499 100 499 0 0 188 0 00:02 00:02 0 0 0 0 0 0 0 0 0 00:02 0 23 4.41M 23 1.04M 0 0 275.6k 0 00:16 00:03 00:13 1.04M 100 4.41M 100 4.41M 0 0 1.08M 0 00:04 00:04 1.04M 100 4.41M 100 4.41M 0 0 1.08M 0 00:04 00:04 1.04M 100 4.41M 100 4.41M 0 0 1.08M 0 00:04 00:04 1.04M  ->(B Found gnu-efi-4-compat.patch(B  ->(B Found fix-target-option.patch(B  ->(B Found add_riscv_support.patch(B ==>(B Validating source files with sha512sums...(B refind-src-0.14.2.tar.gz ... Passed gnu-efi-4-compat.patch ... Passed fix-target-option.patch ... Passed add_riscv_support.patch ... Passed ==>(B Validating source files with b2sums...(B 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;end=ee93b3b9b11047fbb1020ea2361ba484\Note: in a future version of systemd-nspawn the default set of permitted socket address families will be restricted to AF_INET, AF_INET6 and AF_UNIX. Use --restrict-address-families= to configure the set of permitted socket address families, or set RestrictAddressFamilies= in a .nspawn file. ]3008;start=653814b50b834dec9e20a5d2f8bf1a4d;user=root;hostname=magby.felixc.at;machineid=469582f4838449b2b409e0f312413526;bootid=4180917d7e024f88b5b188a8a7f6f14e;pid=408309;pidfdid=12949350;comm=systemd-nspawn;container=makechrootpkg-refind.build.405241;type=container\]11;?\]2;🔵 Container makechrootpkg-refind.build.405241 on magby.felixc.at\]3008;start=b59925de6be3462cbde6340ab3e0b091;user=root;hostname=makechrootpkg-refind.build.405241;machineid=7e8eacf933e54499ae70324adff64bf8;bootid=86259feec65b4a1a8efbc4b4920cdbb7;pid=34;pidfdid=12966988;comm=sudo;targetuser=builduser;type=session\==>(B Making package: refind 0.14.2-3 (Mon Sep 28 09:13:49 2026)(B ==>(B Checking runtime dependencies...(B ==>(B Checking buildtime dependencies...(B ==>(B Installing missing dependencies...(B ]3008;start=ab73ac9ea123481bb3944df4c25f1a8c;user=builduser;hostname=makechrootpkg-refind.build.405241;machineid=7e8eacf933e54499ae70324adff64bf8;bootid=86259feec65b4a1a8efbc4b4920cdbb7;pid=6274;pidfdid=13025902;comm=sudo;targetuser=root;type=session\[?25lresolving dependencies... looking for conflicting packages... Package (4) New Version Net Change Download Size core/efivar 39-2 0.50 MiB 0.15 MiB core/dosfstools 4.2-5 0.39 MiB 0.14 MiB core/efibootmgr 18-4 0.07 MiB 0.03 MiB extra/gnu-efi 4.0.4-1 4.23 MiB Total Download Size: 0.31 MiB Total Installed Size: 5.19 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... efivar-39-2-riscv64 downloading... dosfstools-4.2-5-riscv64 downloading... efibootmgr-18-4-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]3008;end=ab73ac9ea123481bb3944df4c25f1a8c\==>(B Retrieving sources...(B  ->(B Found refind-src-0.14.2.tar.gz(B  ->(B Found gnu-efi-4-compat.patch(B  ->(B Found fix-target-option.patch(B  ->(B Found add_riscv_support.patch(B ==> WARNING:(B Skipping all source file integrity checks.(B ==>(B Extracting sources...(B  ->(B Extracting refind-src-0.14.2.tar.gz with bsdtar(B ==>(B Starting prepare()...(B 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/driver_support.c patching file refind/driver_support.h patching file refind/lib.c patching file refind/lib.h patching file Make.common ==>(B Starting build()...(B 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:138:35: note: in expansion of macro ‘refit_call3_wrapper’ 138 | #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 *’ /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:138:35: note: in expansion of macro ‘refit_call3_wrapper’ 138 | #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 driver_support.c:102:9: warning: ‘CompareGuid’ redefined 102 | #define CompareGuid MyCompareGuid | ^~~~~~~~~~~ In file included from /usr/include/efi/efilib.h:46, from global.h:50, from driver_support.h:30, from driver_support.c:72: /usr/include/efi/legacy/efilib.h:78:9: note: this is the location of the previous definition 78 | #define CompareGuid(a,b) CompareGuid_1(a,b) | ^~~~~~~~~~~ /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 gpt.c: In function ‘AddPartitionTable’: gpt.c:247:17: warning: variable ‘NumTables’ set but not used [-Wunused-but-set-variable=] 247 | UINTN NumTables = 1; | ^~~~~~~~~ /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 menu.c: In function ‘FindMainMenuItem’: menu.c:1299:55: warning: variable ‘row0Loaders’ set but not used [-Wunused-but-set-variable=] 1299 | static UINTN row0PosX, row0PosXRunning, row1PosY, row0Loaders; | ^~~~~~~~~~~ /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/16/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:(B A failure occurred in build().(B  Aborting...(B ]3008;end=b59925de6be3462cbde6340ab3e0b091\[!p]104\[?7h]3008;end=653814b50b834dec9e20a5d2f8bf1a4d\==> ERROR:(B Build failed, check /var/lib/archbuild/extra-riscv64/felix-2/build(B [?12l[?25h[?12l[?25h]3008;end=a7bba4282e3544839a3bf6794e8353df\[?12l[?25hreceiving incremental file list refind-0.14.2-3-riscv64-build.log refind-0.14.2-3-riscv64-prepare.log sent 62 bytes received 2,685 bytes 1,831.33 bytes/sec total size is 21,417 speedup is 7.80