>>> stubbyboot: Building testing/stubbyboot 1.0.4-r0 (using abuild 3.14.1-r5) started Fri, 10 Jan 2025 15:37:55 +0000 >>> stubbyboot: Validating /home/buildozer/aports/testing/stubbyboot/APKBUILD... >>> stubbyboot: Analyzing dependencies... >>> stubbyboot: Installing for build: build-base bash gnu-efi-dev (1/4) Installing bash (5.2.37-r0) Executing bash-5.2.37-r0.post-install (2/4) Installing gnu-efi (4.0.0-r0) (3/4) Installing gnu-efi-dev (4.0.0-r0) (4/4) Installing .makedepends-stubbyboot (20250110.153756) Executing busybox-1.37.0-r10.trigger OK: 403 MiB in 108 packages >>> stubbyboot: Cleaning up srcdir >>> stubbyboot: Cleaning up pkgdir >>> stubbyboot: Cleaning up tmpdir >>> stubbyboot: Fetching https://distfiles.alpinelinux.org/distfiles/edge/stubbyboot-1.0.4.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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> stubbyboot: Fetching stubbyboot-1.0.4.tar.gz::https://github.com/puzzleos/stubby/archive/refs/tags/v1.0.4.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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51595 0 51595 0 0 94214 0 --:--:-- --:--:-- --:--:-- 94214 >>> stubbyboot: Fetching https://distfiles.alpinelinux.org/distfiles/edge/stubbyboot-1.0.4.tar.gz >>> stubbyboot: Checking sha512sums... stubbyboot-1.0.4.tar.gz: OK no-werror.patch: OK >>> stubbyboot: Unpacking /var/cache/distfiles/edge/stubbyboot-1.0.4.tar.gz... >>> stubbyboot: no-werror.patch patching file make.conf Hunk #1 succeeded at 39 with fuzz 2 (offset 8 lines). gcc -Wall -I/usr/include/efi -I/usr/include/efi/aarch64 -I/usr/include/efi/protocol -fno-stack-protector -fpic -fshort-wchar -DVERSION=\"\" -c -o util.o util.c gcc -Wall -I/usr/include/efi -I/usr/include/efi/aarch64 -I/usr/include/efi/protocol -fno-stack-protector -fpic -fshort-wchar -DVERSION=\"\" -c -o disk.o disk.c gcc -Wall -I/usr/include/efi -I/usr/include/efi/aarch64 -I/usr/include/efi/protocol -fno-stack-protector -fpic -fshort-wchar -DVERSION=\"\" -c -o pe.o pe.c gcc -Wall -I/usr/include/efi -I/usr/include/efi/aarch64 -I/usr/include/efi/protocol -fno-stack-protector -fpic -fshort-wchar -DVERSION=\"\" -c -o linux.o linux.c gcc -Wall -I/usr/include/efi -I/usr/include/efi/aarch64 -I/usr/include/efi/protocol -fno-stack-protector -fpic -fshort-wchar -DVERSION=\"\" -c -o stub.o stub.c gcc -Wall -I/usr/include/efi -I/usr/include/efi/aarch64 -I/usr/include/efi/protocol -fno-stack-protector -fpic -fshort-wchar -DVERSION=\"\" -c -o stra.o stra.c gcc -Wall -I/usr/include/efi -I/usr/include/efi/aarch64 -I/usr/include/efi/protocol -fno-stack-protector -fpic -fshort-wchar -DVERSION=\"\" -c -o kcmdline.o kcmdline.c gcc -DLINUX_TEST -Wall -I/usr/include/efi -I/usr/include/efi/aarch64 -I/usr/include/efi/protocol -fno-stack-protector -fpic -DVERSION=\"\" -c -o linux_efilib-lt.o linux_efilib.c gcc -DLINUX_TEST -Wall -I/usr/include/efi -I/usr/include/efi/aarch64 -I/usr/include/efi/protocol -fno-stack-protector -fpic -DVERSION=\"\" -c -o kcmdline-lt.o kcmdline.c kcmdline.c: In function 'check_cmdline': kcmdline.c:67:22: warning: passing argument 2 of 'CopyMem_1' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 67 | CopyMem(buf, cmdline, cmdline_len); | ^~~~~~~ In file included from stubby_efi.h:7, from kcmdline.c:1: /usr/include/efi/efilib.h:303:18: note: expected 'VOID *' {aka 'void *'} but argument is of type 'const CHAR8 *' {aka 'const unsigned char *'} 303 | IN VOID *Src, | ~~~~~~~~~~^~~ kcmdline.c: In function 'get_cmdline': kcmdline.c:218:40: warning: passing argument 2 of 'CopyMem_1' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 218 | CopyMem(part1, builtin, builtin_len); | ^~~~~~~ /usr/include/efi/efilib.h:303:18: note: expected 'VOID *' {aka 'void *'} but argument is of type 'const CHAR8 *' {aka 'const unsigned char *'} 303 | IN VOID *Src, | ~~~~~~~~~~^~~ kcmdline.c:239:40: warning: passing argument 2 of 'CopyMem_1' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 239 | CopyMem(part1, builtin, part1_len); | ^~~~~~~ /usr/include/efi/efilib.h:303:18: note: expected 'VOID *' {aka 'void *'} but argument is of type 'const CHAR8 *' {aka 'const unsigned char *'} 303 | IN VOID *Src, | ~~~~~~~~~~^~~ kcmdline.c:318:41: warning: passing argument 2 of 'CopyMem_1' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 318 | CopyMem(cbuf+part1_len, runtime, runtime_len); | ^~~~~~~ /usr/include/efi/efilib.h:303:18: note: expected 'VOID *' {aka 'void *'} but argument is of type 'const CHAR8 *' {aka 'const unsigned char *'} 303 | IN VOID *Src, | ~~~~~~~~~~^~~ gcc -DLINUX_TEST -Wall -I/usr/include/efi -I/usr/include/efi/aarch64 -I/usr/include/efi/protocol -fno-stack-protector -fpic -DVERSION=\"\" -c -o stra-lt.o stra.c gcc -DLINUX_TEST -Wall -I/usr/include/efi -I/usr/include/efi/aarch64 -I/usr/include/efi/protocol -fno-stack-protector -fpic -DVERSION=\"\" -c -o test-cmdline-lt.o test-cmdline.c gcc -DLINUX_TEST -Wall -I/usr/include/efi -I/usr/include/efi/aarch64 -I/usr/include/efi/protocol -fno-stack-protector -fpic -DVERSION=\"\" -c -o test-get-cmdline-lt.o test-get-cmdline.c ld -shared -nostdlib -znocombreloc -T /usr/lib/elf_aarch64_efi.lds -Bsymbolic -L /usr/lib -L /usr/lib /usr/lib/crt0-efi-aarch64.o --entry 0x1000 util.o disk.o pe.o linux.o stub.o stra.o kcmdline.o -o stubby.so -lefi -lgnuefi gcc -DLINUX_TEST -Wall -I/usr/include/efi -I/usr/include/efi/aarch64 -I/usr/include/efi/protocol -fno-stack-protector -fpic -DVERSION=\"\" -o test-cmdline test-cmdline-lt.o linux_efilib-lt.o kcmdline-lt.o stra-lt.o gcc -DLINUX_TEST -Wall -I/usr/include/efi -I/usr/include/efi/aarch64 -I/usr/include/efi/protocol -fno-stack-protector -fpic -DVERSION=\"\" -o test-get-cmdline test-get-cmdline-lt.o linux_efilib-lt.o kcmdline-lt.o stra-lt.o objcopy -j .text -j .sdata -j .data -j .dynamic \ -j .dynsym -j .rel -j .rela -j .reloc \ --target=efi-app-aarch64 stubby.so stubby.efi rm test-get-cmdline-lt.o test-cmdline-lt.o -- test-cmdline -- # | rslt | expect | found |cmdline| 01 | PASS | allow | allow |console=ttyS0| 02 | PASS | allow | allow |quiet| 03 | PASS | allow | allow | root=atomix console=ttyS0| 04 | PASS | allow | allow | root=atomix console=/dev/ttyS0 | 05 | PASS | allow | allow |root=atomix console=/dev/ttyS0| 06 | PASS | allow | allow |crashkernel=256M| 07 | PASS | allow | allow |crashkernel=128M| 08 | PASS | reject-S | reject-S || 09 | PASS | reject-S | reject-S | | 10 | PASS | reject-S | reject-S |crashkernel.off=128M| 11 | PASS | reject-S | reject-S |root=atomix init=/bin/bash debug| 12 | PASS | reject-S | reject-S |init=/bin/bash| 13 | PASS | reject-S | reject-S |root= atomix| 14 | PASS | reject-S | reject-S |quieter| passed: 14. failed: 0 -- test-get-cmdline -- passed: 16. failed: 0 >>> stubbyboot: Entering fakeroot... >>> stubbyboot-efistub*: Running split function efistub... 'usr/lib/stubbyboot' -> '/home/buildozer/aports/testing/stubbyboot/pkg/stubbyboot-efistub/usr/lib/stubbyboot' >>> stubbyboot-efistub*: Preparing subpackage stubbyboot-efistub... >>> stubbyboot-efistub*: Stripping binaries >>> WARNING: stubbyboot-efistub*: No arch specific binaries found so arch should probably be set to "noarch" >>> stubbyboot-efistub*: Running postcheck for stubbyboot-efistub >>> stubbyboot*: Running postcheck for stubbyboot >>> stubbyboot*: Preparing package stubbyboot... >>> stubbyboot*: Stripping binaries >>> WARNING: stubbyboot*: No arch specific binaries found so arch should probably be set to "noarch" >>> stubbyboot-efistub*: Scanning shared objects >>> stubbyboot*: Scanning shared objects >>> stubbyboot-efistub*: Tracing dependencies... >>> stubbyboot-efistub*: Package size: 56.8 KB >>> stubbyboot-efistub*: Compressing data... >>> stubbyboot-efistub*: Create checksum... >>> stubbyboot-efistub*: Create stubbyboot-efistub-1.0.4-r0.apk >>> stubbyboot*: Tracing dependencies... stubbyboot-efistub=1.0.4-r0 >>> stubbyboot*: Package size: 5.2 KB >>> stubbyboot*: Compressing data... >>> stubbyboot*: Create checksum... >>> stubbyboot*: Create stubbyboot-1.0.4-r0.apk >>> stubbyboot: Build complete at Fri, 10 Jan 2025 15:37:58 +0000 elapsed time 0h 0m 3s >>> stubbyboot: Cleaning up srcdir >>> stubbyboot: Cleaning up pkgdir >>> stubbyboot: Uninstalling dependencies... (1/4) Purging .makedepends-stubbyboot (20250110.153756) (2/4) Purging bash (5.2.37-r0) Executing bash-5.2.37-r0.pre-deinstall (3/4) Purging gnu-efi-dev (4.0.0-r0) (4/4) Purging gnu-efi (4.0.0-r0) Executing busybox-1.37.0-r10.trigger OK: 398 MiB in 104 packages >>> stubbyboot: Updating the testing/aarch64 repository index... >>> stubbyboot: Signing the index...