==> Updating pacman database cache :: Synchronizing package databases... core downloading... extra downloading... ==> Building refind -> repo: extra-staging -> arch: aarch64 -> worker: ben-5 ==> Building refind for [extra-staging] (aarch64) :: Synchronizing package databases... core-staging downloading... core-testing downloading... core downloading... extra-staging downloading... extra-testing downloading... aur downloading... extra downloading... :: Starting full system upgrade... there is nothing to do ==> Building in chroot for [extra-staging] (aarch64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-staging-aarch64/root] -> [ben-5]...done ==> Making package: refind 0.14.2-3 (Wed Sep 16 18:51:39 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 1422 0 0 100 368 100 368 0 0 1420 0 0 0 0 0 0 0 0 0 0 0 100 384 100 384 0 0 510 0 0 100 384 100 384 0 0 510 0 0 0 0 0 0 0 0 0 0 0 100 623 100 623 0 0 654 0 0 100 623 100 623 0 0 654 0 0 0 0 0 0 0 0 0 0 0 100 509 100 509 0 0 377 0 00:01 00:01 0 100 509 100 509 0 0 377 0 00:01 00:01 0 0 0 0 0 0 0 0 0 00:01 0 100 4.41M 100 4.41M 0 0 1.82M 0 00:02 00:02 0 100 4.41M 100 4.41M 0 0 1.82M 0 00:02 00:02 0 100 4.41M 100 4.41M 0 0 1.82M 0 00:02 00:02 0 -> Found gnu-efi-4-compat.patch -> Found fix-target-option.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 ==> Validating source files with b2sums... refind-src-0.14.2.tar.gz ... Passed gnu-efi-4-compat.patch ... Passed fix-target-option.patch ... Passed ==> Making package: refind 0.14.2-3 (Thu Sep 17 01:51:50 2026) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... dependencies... looking for conflicting packages... Package (4) New Version Net Change Download Size core/efivar 39-2 0.71 MiB core/dosfstools 4.2-5 0.49 MiB core/efibootmgr 18-4 0.14 MiB 0.03 MiB extra-testing/gnu-efi 4.0.4-1 2.84 MiB 0.42 MiB Total Download Size: 0.45 MiB Total Installed Size: 4.19 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... gnu-efi-4.0.4-1-aarch64 downloading... efivar-39-2-aarch64 downloading... dosfstools-4.2-5-aarch64 downloading... efibootmgr-18-4-aarch64 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... ==> Retrieving sources... -> Found refind-src-0.14.2.tar.gz -> Found gnu-efi-4-compat.patch -> Found fix-target-option.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting refind-src-0.14.2.tar.gz with bsdtar ==> Starting prepare()... 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 ==> 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/aarch64-linux-gnu-gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fno-merge-constants -ffreestanding -DEFIAARCH64 -fno-stack-check -fpic -I/usr/include/efi -I/usr/include/efi/aarch64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I../gzip -DEFIAARCH64 -I. -I./../include \ -D__MAKEWITH_GNUEFI -c nanojpeg.c -o nanojpeg.o /usr/bin/aarch64-linux-gnu-gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fno-merge-constants -ffreestanding -DEFIAARCH64 -fno-stack-check -fpic -I/usr/include/efi -I/usr/include/efi/aarch64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I../gzip -DEFIAARCH64 -I. -I./../include \ -D__MAKEWITH_GNUEFI -c nanojpeg_xtra.c -o nanojpeg_xtra.o /usr/bin/aarch64-linux-gnu-gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fno-merge-constants -ffreestanding -DEFIAARCH64 -fno-stack-check -fpic -I/usr/include/efi -I/usr/include/efi/aarch64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I../gzip -DEFIAARCH64 -I. -I./../include \ -D__MAKEWITH_GNUEFI -c screen.c -o screen.o /usr/bin/aarch64-linux-gnu-gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fno-merge-constants -ffreestanding -DEFIAARCH64 -fno-stack-check -fpic -I/usr/include/efi -I/usr/include/efi/aarch64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I../gzip -DEFIAARCH64 -I. -I./../include \ -D__MAKEWITH_GNUEFI -c image.c -o image.o /usr/bin/aarch64-linux-gnu-gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fno-merge-constants -ffreestanding -DEFIAARCH64 -fno-stack-check -fpic -I/usr/include/efi -I/usr/include/efi/aarch64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I../gzip -DEFIAARCH64 -I. -I./../include \ -D__MAKEWITH_GNUEFI -c text.c -o text.o /usr/bin/aarch64-linux-gnu-gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fno-merge-constants -ffreestanding -DEFIAARCH64 -fno-stack-check -fpic -I/usr/include/efi -I/usr/include/efi/aarch64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I../gzip -DEFIAARCH64 -I. -I./../include \ -D__MAKEWITH_GNUEFI -c load_bmp.c -o load_bmp.o /usr/bin/aarch64-linux-gnu-gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fno-merge-constants -ffreestanding -DEFIAARCH64 -fno-stack-check -fpic -I/usr/include/efi -I/usr/include/efi/aarch64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I../gzip -DEFIAARCH64 -I. -I./../include \ -D__MAKEWITH_GNUEFI -c load_icns.c -o load_icns.o /usr/bin/aarch64-linux-gnu-gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fno-merge-constants -ffreestanding -DEFIAARCH64 -fno-stack-check -fpic -I/usr/include/efi -I/usr/include/efi/aarch64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I../gzip -DEFIAARCH64 -I. -I./../include \ -D__MAKEWITH_GNUEFI -c lodepng.c -o lodepng.o /usr/bin/aarch64-linux-gnu-gcc -Os -fno-strict-aliasing -fno-tree-loop-distribute-patterns -fno-stack-protector -fshort-wchar -Wall -fno-merge-constants -ffreestanding -DEFIAARCH64 -fno-stack-check -fpic -I/usr/include/efi -I/usr/include/efi/aarch64 -I/usr/include/efi/protocol -I../include -I../refind -I../libeg -I../mok -I../gzip -DEFIAARCH64 -I. -I./../include \ -D__MAKEWITH_GNUEFI -c lodepng_xtra.c -o lodepng_xtra.o In file included from /usr/include/efi/efi.h:54, 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/aarch64/efibind.h:159:53: note: in definition of macro ‘uefi_call_wrapper’ 159 | #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/aarch64/efibind.h:159:53: note: in definition of macro ‘uefi_call_wrapper’ 159 | #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/aarch64-linux-gnu-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]: /usr/bin/aarch64-linux-gnu-ar: No such file or directory make[2]: *** [../Make.common:208: libeg.a] Error 127 make[2]: Leaving directory '/build/refind/src/refind-0.14.2/libeg' make[1]: *** [Makefile:85: 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... ==> ERROR: Build failed, check /var/lib/archbuild/extra-staging-aarch64/ben-5/build