==> Building on electivire ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ PKGBUILD 700 19% 0.00kB/s 0:00:00 3,657 100% 2.82MB/s 0:00:00 (xfr#1, to-chk=1/3) refind-0.14.0.2-1.log 209 100% 204.10kB/s 0:00:00 209 100% 204.10kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 197 bytes received 99 bytes 197.33 bytes/sec total size is 3,824 speedup is 12.92 ==> Applying RISC-V patches... sending incremental file list ./ add_riscv_support.patch 700 42% 0.00kB/s 0:00:00 1,645 100% 922.85kB/s 0:00:00 (xfr#1, to-chk=1/3) riscv64.patch 1,652 100% 1.58MB/s 0:00:00 1,652 100% 1.58MB/s 0:00:00 (xfr#2, to-chk=0/3) sent 1,035 bytes received 93 bytes 752.00 bytes/sec total size is 3,297 speedup is 2.92 patching file PKGBUILD ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root33 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [root33]...done ==> Making package: refind 0.14.0.2-1 (Sat Nov 11 03:07:58 2023) ==> Retrieving sources...  -> Downloading refind-src-0.14.0.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 742 0 742 0 0 3033 0 --:--:-- --:--:-- --:--:-- 3040 100 758 0 758 0 0 1586 0 --:--:-- --:--:-- --:--:-- 1586 100 1001 0 1001 0 0 1452 0 --:--:-- --:--:-- --:--:-- 1452 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 361 100 361 0 0 271 0 0:00:01 0:00:01 --:--:-- 745 17 4539k 17 783k 0 0 428k 0 0:00:10 0:00:01 0:00:09 428k 56 4539k 56 2543k 0 0 898k 0 0:00:05 0:00:02 0:00:03 1761k 93 4539k 93 4255k 0 0 1111k 0 0:00:04 0:00:03 0:00:01 1736k 100 4539k 100 4539k 0 0 1138k 0 0:00:03 0:00:03 --:--:-- 1742k  -> Found add_riscv_support.patch ==> Validating source files with sha512sums... refind-src-0.14.0.2.tar.gz ... Passed add_riscv_support.patch ... Passed ==> Validating source files with b2sums... refind-src-0.14.0.2.tar.gz ... Passed add_riscv_support.patch ... Passed ==> Making package: refind 0.14.0.2-1 (Sat Nov 11 03:08:17 2023) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (5) New Version Net Change Download Size core/efivar 38-3 0.49 MiB core/popt 1.19-1 0.55 MiB core/dosfstools 4.2-3 0.37 MiB core/efibootmgr 18-2 0.07 MiB 0.03 MiB extra/gnu-efi 3.0.17-3 3.13 MiB 0.36 MiB Total Download Size: 0.39 MiB Total Installed Size: 4.60 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... gnu-efi-3.0.17-3-riscv64 downloading... efibootmgr-18-2-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing dosfstools... installing popt... installing efivar... installing efibootmgr... installing gnu-efi... [?25h==> Retrieving sources...  -> Found refind-src-0.14.0.2.tar.gz  -> Found add_riscv_support.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting refind-src-0.14.0.2.tar.gz with bsdtar ==> Starting prepare()... patching file Make.common Hunk #1 succeeded at 166 (offset 7 lines). patching file gptsync/Make.gnuefi patching file gptsync/gptsync.h Hunk #1 succeeded at 45 (offset 3 lines). ==> 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.0.2' make MAKEWITH=GNUEFI -C libeg make[2]: Entering directory '/build/refind/src/refind-0.14.0.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 /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.0.2/libeg' make MAKEWITH=GNUEFI -C mok make[2]: Entering directory '/build/refind/src/refind-0.14.0.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.0.2/mok' make MAKEWITH=GNUEFI -C gzip make[2]: Entering directory '/build/refind/src/refind-0.14.0.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.0.2/gzip' make MAKEWITH=GNUEFI -C EfiLib make[2]: Entering directory '/build/refind/src/refind-0.14.0.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.0.2/EfiLib' make MAKEWITH=GNUEFI -C refind make[2]: Entering directory '/build/refind/src/refind-0.14.0.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/13.2.1/libgcc.a /usr/bin/objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel \ -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \ -j .reloc -O binary refind.so refind.efi /usr/bin/objcopy --set-section-alignment '.sbat=512' --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.0.2/refind' make[1]: *** [Makefile:89: gnuefi] Error 2 make[1]: Leaving directory '/build/refind/src/refind-0.14.0.2' make: *** [Makefile:46: all] Error 2 ==> ERROR: A failure occurred in build().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root33/build receiving incremental file list refind-0.14.0.2-1-riscv64-build.log refind-0.14.0.2-1-riscv64-prepare.log sent 62 bytes received 1,921 bytes 1,322.00 bytes/sec total size is 18,423 speedup is 9.29