>>> stubbyboot: Building testing/stubbyboot 1.0.1-r1 (using abuild 3.11.0-r1) started Tue, 16 May 2023 17:08:51 +0000 >>> stubbyboot: Checking sanity of /home/buildozer/aports/testing/stubbyboot/APKBUILD... >>> stubbyboot: Analyzing dependencies... >>> stubbyboot: Installing for build: build-base gnu-efi-dev (1/3) Installing gnu-efi (3.0.17-r0) (2/3) Installing gnu-efi-dev (3.0.17-r0) (3/3) Installing .makedepends-stubbyboot (20230516.170852) OK: 376 MiB in 105 packages >>> stubbyboot: Cleaning up srcdir >>> stubbyboot: Cleaning up pkgdir >>> stubbyboot: Fetching https://distfiles.alpinelinux.org/distfiles/edge/stubbyboot-1.0.1.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 46593 100 46593 0 0 511k 0 --:--:-- --:--:-- --:--:-- 517k >>> stubbyboot: Fetching https://distfiles.alpinelinux.org/distfiles/edge/stubbyboot-1.0.1.tar.gz >>> stubbyboot: Checking sha512sums... stubbyboot-1.0.1.tar.gz: OK 01-gcc-aarch64-remove-no-red-zone.patch: OK no-werror.patch: OK >>> stubbyboot: Unpacking /var/cache/distfiles/edge/stubbyboot-1.0.1.tar.gz... >>> stubbyboot: 01-gcc-aarch64-remove-no-red-zone.patch patching file make.conf >>> stubbyboot: no-werror.patch patching file make.conf fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git gcc -Wall -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -fno-stack-protector -fpic -fshort-wchar -DGIT_VERSION=\"\" -mno-red-zone -DEFI_FUNCTION_WRAPPER -Os -Wformat -Werror=format-security -c -o util.o util.c fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git gcc -Wall -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -fno-stack-protector -fpic -fshort-wchar -DGIT_VERSION=\"\" -mno-red-zone -DEFI_FUNCTION_WRAPPER -Os -Wformat -Werror=format-security -c -o disk.o disk.c fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git gcc -Wall -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -fno-stack-protector -fpic -fshort-wchar -DGIT_VERSION=\"\" -mno-red-zone -DEFI_FUNCTION_WRAPPER -Os -Wformat -Werror=format-security -c -o pe.o pe.c fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git In file included from util.c:29: util.h: In function 'yes_no': util.h:43:27: warning: returning 'short unsigned int *' from a function with incompatible return type 'const CHAR16 *' {aka 'const int *'} [-Wincompatible-pointer-types] 43 | return b ? L"yes" : L"no"; | ~~~~~~~~~~~^~~~~~~ fatal: not a git repository (or any of the parent directories): .git In file included from util.c:28: util.c: In function 'efivar_set_int': util.c:138:25: warning: passing argument 3 of 'UnicodeSPrint' from incompatible pointer type [-Wincompatible-pointer-types] 138 | SPrint(str, 32, L"%u", i); | ^~~~~ | | | short unsigned int * stubby_efi.h:10:47: note: in definition of macro 'UnicodeSPrint' 10 | #define UnicodeSPrint(fmt, ...) SPrint(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~ util.c:138:9: note: in expansion of macro 'SPrint' 138 | SPrint(str, 32, L"%u", i); | ^~~~~~ In file included from stubby_efi.h:7: /usr/include/efi/efilib.h:544:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 544 | IN CONST CHAR16 *fmt, util.c: In function 'efivar_set_time_usec': util.c:226:25: warning: passing argument 3 of 'UnicodeSPrint' from incompatible pointer type [-Wincompatible-pointer-types] 226 | SPrint(str, 32, L"%ld", usec); | ^~~~~~ | | | short unsigned int * stubby_efi.h:10:47: note: in definition of macro 'UnicodeSPrint' 10 | #define UnicodeSPrint(fmt, ...) SPrint(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~ util.c:226:9: note: in expansion of macro 'SPrint' 226 | SPrint(str, 32, L"%ld", usec); | ^~~~~~ /usr/include/efi/efilib.h:544:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 544 | IN CONST CHAR16 *fmt, util.c: In function 'log_oom': util.c:406:15: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] 406 | Print(L"Out of memory.\n"); | ^~~~~~~~~~~~~~~~~~~ | | | short unsigned int * /usr/include/efi/efilib.h:530:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 530 | IN CONST CHAR16 *fmt, fatal: not a git repository (or any of the parent directories): .git gcc -Wall -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -fno-stack-protector -fpic -fshort-wchar -DGIT_VERSION=\"\" -mno-red-zone -DEFI_FUNCTION_WRAPPER -Os -Wformat -Werror=format-security -c -o linux.o linux.c fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git In file included from disk.c:29: util.h: In function 'yes_no': util.h:43:27: warning: returning 'short unsigned int *' from a function with incompatible return type 'const CHAR16 *' {aka 'const int *'} [-Wincompatible-pointer-types] 43 | return b ? L"yes" : L"no"; | ~~~~~~~~~~~^~~~~~~ fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git gcc -Wall -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -fno-stack-protector -fpic -fshort-wchar -DGIT_VERSION=\"\" -mno-red-zone -DEFI_FUNCTION_WRAPPER -Os -Wformat -Werror=format-security -c -o stub.o stub.c fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git In file included from pe.c:31: util.h: In function 'yes_no': util.h:43:27: warning: returning 'short unsigned int *' from a function with incompatible return type 'const CHAR16 *' {aka 'const int *'} [-Wincompatible-pointer-types] 43 | return b ? L"yes" : L"no"; | ~~~~~~~~~~~^~~~~~~ fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git gcc -Wall -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -fno-stack-protector -fpic -fshort-wchar -DGIT_VERSION=\"\" -mno-red-zone -DEFI_FUNCTION_WRAPPER -Os -Wformat -Werror=format-security -c -o stra.o stra.c fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git In file included from linux.c:31: util.h: In function 'yes_no': util.h:43:27: warning: returning 'short unsigned int *' from a function with incompatible return type 'const CHAR16 *' {aka 'const int *'} [-Wincompatible-pointer-types] 43 | return b ? L"yes" : L"no"; | ~~~~~~~~~~~^~~~~~~ fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git gcc -Wall -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -fno-stack-protector -fpic -fshort-wchar -DGIT_VERSION=\"\" -mno-red-zone -DEFI_FUNCTION_WRAPPER -Os -Wformat -Werror=format-security -c -o kcmdline.o kcmdline.c fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git In file included from stub.c:35: util.h: In function 'yes_no': util.h:43:27: warning: returning 'short unsigned int *' from a function with incompatible return type 'const CHAR16 *' {aka 'const int *'} [-Wincompatible-pointer-types] 43 | return b ? L"yes" : L"no"; | ~~~~~~~~~~~^~~~~~~ fatal: not a git repository (or any of the parent directories): .git stub.c: In function 'use_shell_cmdline': stub.c:51:30: warning: passing argument 1 of 'efivar_get_int' from incompatible pointer type [-Wincompatible-pointer-types] 51 | err = efivar_get_int(L"StubbyIgnoreCmdlineSection", &i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | short unsigned int * util.h:62:41: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 62 | EFI_STATUS efivar_get_int(const CHAR16 *name, UINTN *i); | ~~~~~~~~~~~~~~^~~~ stub.c: In function 'efi_main': stub.c:88:23: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] 88 | Print(L"Error getting a LoadedImageProtocol handle: %r\n", err); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | short unsigned int * In file included from stubby_efi.h:7, from stub.c:28: /usr/include/efi/efilib.h:530:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 530 | IN CONST CHAR16 *fmt, stub.c:94:28: warning: passing argument 2 of 'efivar_get_raw' from incompatible pointer type [-Wincompatible-pointer-types] 94 | L"SecureBoot", &b, &size) == EFI_SUCCESS) | ^~~~~~~~~~~~~ | | | short unsigned int * util.h:60:65: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 60 | EFI_STATUS efivar_get_raw(const EFI_GUID *vendor, const CHAR16 *name, | ~~~~~~~~~~~~~~^~~~ stub.c:101:23: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] 101 | Print(L"Unable to locate embedded .linux section: %r\n", err); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | short unsigned int * /usr/include/efi/efilib.h:530:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 530 | IN CONST CHAR16 *fmt, stub.c:112:23: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] 112 | Print(L"builtin command line was not null-terminated\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | short unsigned int * /usr/include/efi/efilib.h:530:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 530 | IN CONST CHAR16 *fmt, stub.c:131:23: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] 131 | Print(L"Failed to allocate memory for command line"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | short unsigned int * /usr/include/efi/efilib.h:530:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 530 | IN CONST CHAR16 *fmt, stub.c:141:23: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] 141 | Print(L"remove_leading_efi_name returned error\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | short unsigned int * /usr/include/efi/efilib.h:530:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 530 | IN CONST CHAR16 *fmt, gcc -DLINUX_TEST -Wall -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -fno-stack-protector -fpic -DGIT_VERSION=\"\" -mno-red-zone -DEFI_FUNCTION_WRAPPER -c -o linux_efilib-lt.o linux_efilib.c stub.c:161:42: warning: passing argument 2 of 'efivar_get_raw' from incompatible pointer type [-Wincompatible-pointer-types] 161 | if (efivar_get_raw(&loader_guid, L"LoaderDevicePartUUID", NULL, | ^~~~~~~~~~~~~~~~~~~~~~~ | | | short unsigned int * util.h:60:65: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 60 | EFI_STATUS efivar_get_raw(const EFI_GUID *vendor, const CHAR16 *name, | ~~~~~~~~~~~~~~^~~~ stub.c:165:36: warning: passing argument 1 of 'efivar_set' from incompatible pointer type [-Wincompatible-pointer-types] 165 | efivar_set(L"LoaderDevicePartUUID", uuid, FALSE); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | short unsigned int * util.h:52:37: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 52 | EFI_STATUS efivar_set(const CHAR16 *name, const CHAR16 *value, | ~~~~~~~~~~~~~~^~~~ stub.c:169:42: warning: passing argument 2 of 'efivar_get_raw' from incompatible pointer type [-Wincompatible-pointer-types] 169 | if (efivar_get_raw(&loader_guid, L"LoaderImageIdentifier", NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | short unsigned int * util.h:60:65: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 60 | EFI_STATUS efivar_get_raw(const EFI_GUID *vendor, const CHAR16 *name, | ~~~~~~~~~~~~~~^~~~ stub.c:174:28: warning: passing argument 1 of 'efivar_set' from incompatible pointer type [-Wincompatible-pointer-types] 174 | efivar_set(L"LoaderImageIdentifier", s, FALSE); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | short unsigned int * util.h:52:37: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 52 | EFI_STATUS efivar_set(const CHAR16 *name, const CHAR16 *value, | ~~~~~~~~~~~~~~^~~~ stub.c:178:42: warning: passing argument 2 of 'efivar_get_raw' from incompatible pointer type [-Wincompatible-pointer-types] 178 | if (efivar_get_raw(&loader_guid, L"LoaderFirmwareInfo", NULL, | ^~~~~~~~~~~~~~~~~~~~~ | | | short unsigned int * util.h:60:65: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 60 | EFI_STATUS efivar_get_raw(const EFI_GUID *vendor, const CHAR16 *name, | ~~~~~~~~~~~~~~^~~~ stub.c:182:31: warning: passing argument 1 of 'PoolPrint' from incompatible pointer type [-Wincompatible-pointer-types] 182 | s = PoolPrint(L"%s %d.%02d\n", | ^~~~~~~~~~~~~~~ | | | short unsigned int * /usr/include/efi/efilib.h:564:26: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 564 | IN CONST CHAR16 *fmt, stub.c:186:28: warning: passing argument 1 of 'efivar_set' from incompatible pointer type [-Wincompatible-pointer-types] 186 | efivar_set(L"LoaderFirmwareInfo", s, FALSE); | ^~~~~~~~~~~~~~~~~~~~~ | | | short unsigned int * util.h:52:37: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 52 | EFI_STATUS efivar_set(const CHAR16 *name, const CHAR16 *value, | ~~~~~~~~~~~~~~^~~~ fatal: not a git repository (or any of the parent directories): .git stub.c:190:42: warning: passing argument 2 of 'efivar_get_raw' from incompatible pointer type [-Wincompatible-pointer-types] 190 | if (efivar_get_raw(&loader_guid, L"LoaderFirmwareType", NULL, | ^~~~~~~~~~~~~~~~~~~~~ | | | short unsigned int * util.h:60:65: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 60 | EFI_STATUS efivar_get_raw(const EFI_GUID *vendor, const CHAR16 *name, | ~~~~~~~~~~~~~~^~~~ stub.c:194:31: warning: passing argument 1 of 'PoolPrint' from incompatible pointer type [-Wincompatible-pointer-types] 194 | s = PoolPrint(L"UEFI %d.%02d\n", ST->Hdr.Revision >> 16, | ^~~~~~~~~~~~~~~~~ | | | short unsigned int * /usr/include/efi/efilib.h:564:26: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 564 | IN CONST CHAR16 *fmt, stub.c:196:28: warning: passing argument 1 of 'efivar_set' from incompatible pointer type [-Wincompatible-pointer-types] 196 | efivar_set(L"LoaderFirmwareType", s, FALSE); | ^~~~~~~~~~~~~~~~~~~~~ | | | short unsigned int * util.h:52:37: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 52 | EFI_STATUS efivar_set(const CHAR16 *name, const CHAR16 *value, | ~~~~~~~~~~~~~~^~~~ stub.c:201:28: warning: passing argument 2 of 'efivar_get_raw' from incompatible pointer type [-Wincompatible-pointer-types] 201 | L"StubInfo", NULL, NULL) != EFI_SUCCESS) | ^~~~~~~~~~~ | | | short unsigned int * util.h:60:65: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 60 | EFI_STATUS efivar_get_raw(const EFI_GUID *vendor, const CHAR16 *name, | ~~~~~~~~~~~~~~^~~~ stub.c:202:28: warning: passing argument 1 of 'efivar_set' from incompatible pointer type [-Wincompatible-pointer-types] 202 | efivar_set(L"StubInfo", L"stubby " GIT_VERSION, FALSE); | ^~~~~~~~~~~ | | | short unsigned int * util.h:52:37: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 52 | EFI_STATUS efivar_set(const CHAR16 *name, const CHAR16 *value, | ~~~~~~~~~~~~~~^~~~ stub.c:202:41: warning: passing argument 2 of 'efivar_set' from incompatible pointer type [-Wincompatible-pointer-types] 202 | efivar_set(L"StubInfo", L"stubby " GIT_VERSION, FALSE); | ^~~~~~~~~~ | | | short unsigned int * util.h:52:57: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 52 | EFI_STATUS efivar_set(const CHAR16 *name, const CHAR16 *value, | ~~~~~~~~~~~~~~^~~~~ stub.c:210:15: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] 210 | Print(L"Execution of embedded linux image failed: %r\n", err); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | short unsigned int * /usr/include/efi/efilib.h:530:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 530 | IN CONST CHAR16 *fmt, fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git gcc -DLINUX_TEST -Wall -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -fno-stack-protector -fpic -DGIT_VERSION=\"\" -mno-red-zone -DEFI_FUNCTION_WRAPPER -c -o kcmdline-lt.o kcmdline.c fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git gcc -DLINUX_TEST -Wall -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -fno-stack-protector -fpic -DGIT_VERSION=\"\" -mno-red-zone -DEFI_FUNCTION_WRAPPER -c -o stra-lt.o stra.c fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git In file included from kcmdline.c:1: kcmdline.c: In function 'check_cmdline': kcmdline.c:68:33: warning: passing argument 3 of 'UnicodeSPrint' from incompatible pointer type [-Wincompatible-pointer-types] 68 | L"Bad character 0x%02hhx in position %d: %a.", c, i, cmdline); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | short unsigned int * stubby_efi.h:10:47: note: in definition of macro 'UnicodeSPrint' 10 | #define UnicodeSPrint(fmt, ...) SPrint(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~ In file included from stubby_efi.h:7: /usr/include/efi/efilib.h:544:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 544 | IN CONST CHAR16 *fmt, kcmdline.c:73:59: warning: passing argument 3 of 'UnicodeSPrint' from incompatible pointer type [-Wincompatible-pointer-types] 73 | UnicodeSPrint(errmsg, errmsg_len, L"Too many tokens in cmdline."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | short unsigned int * stubby_efi.h:10:47: note: in definition of macro 'UnicodeSPrint' 10 | #define UnicodeSPrint(fmt, ...) SPrint(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~ /usr/include/efi/efilib.h:544:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 544 | IN CONST CHAR16 *fmt, kcmdline.c:99:59: warning: passing argument 3 of 'UnicodeSPrint' from incompatible pointer type [-Wincompatible-pointer-types] 99 | UnicodeSPrint(errmsg, errmsg_len, L"token not allowed: %a", tokens[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | short unsigned int * stubby_efi.h:10:47: note: in definition of macro 'UnicodeSPrint' 10 | #define UnicodeSPrint(fmt, ...) SPrint(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~ /usr/include/efi/efilib.h:544:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 544 | IN CONST CHAR16 *fmt, kcmdline.c: In function 'get_cmdline': kcmdline.c:167:57: warning: passing argument 3 of 'UnicodeSPrint' from incompatible pointer type [-Wincompatible-pointer-types] 167 | L"runtime arguments cannot be given to non-empty builtin without marker"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | short unsigned int * stubby_efi.h:10:47: note: in definition of macro 'UnicodeSPrint' 10 | #define UnicodeSPrint(fmt, ...) SPrint(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~ /usr/include/efi/efilib.h:544:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 544 | IN CONST CHAR16 *fmt, kcmdline.c:182:49: warning: passing argument 3 of 'UnicodeSPrint' from incompatible pointer type [-Wincompatible-pointer-types] 182 | L"%a appears more than once in builtin cmdline", marker); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | short unsigned int * stubby_efi.h:10:47: note: in definition of macro 'UnicodeSPrint' 10 | #define UnicodeSPrint(fmt, ...) SPrint(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~ /usr/include/efi/efilib.h:544:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 544 | IN CONST CHAR16 *fmt, kcmdline.c:191:70: warning: passing argument 3 of 'UnicodeSPrint' from incompatible pointer type [-Wincompatible-pointer-types] 191 | UnicodeSPrint(errbuf, errbuf_buflen, L"%a is not a full token", marker); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | short unsigned int * stubby_efi.h:10:47: note: in definition of macro 'UnicodeSPrint' 10 | #define UnicodeSPrint(fmt, ...) SPrint(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~ /usr/include/efi/efilib.h:544:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 544 | IN CONST CHAR16 *fmt, kcmdline.c:205:54: warning: passing argument 3 of 'UnicodeSPrint' from incompatible pointer type [-Wincompatible-pointer-types] 205 | UnicodeSPrint(errbuf, errbuf_buflen, L"%a appears in builtin cmdline", namespace); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | short unsigned int * stubby_efi.h:10:47: note: in definition of macro 'UnicodeSPrint' 10 | #define UnicodeSPrint(fmt, ...) SPrint(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~ /usr/include/efi/efilib.h:544:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 544 | IN CONST CHAR16 *fmt, kcmdline.c:212:54: warning: passing argument 3 of 'UnicodeSPrint' from incompatible pointer type [-Wincompatible-pointer-types] 212 | UnicodeSPrint(errbuf, errbuf_buflen, L"%a appears in runtime cmdline", namespace); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | short unsigned int * stubby_efi.h:10:47: note: in definition of macro 'UnicodeSPrint' 10 | #define UnicodeSPrint(fmt, ...) SPrint(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~ /usr/include/efi/efilib.h:544:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 544 | IN CONST CHAR16 *fmt, kcmdline.c: In function 'get_cmdline_with_print': kcmdline.c:287:23: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] 287 | Print(L"%r\n", err); | ^~~~~~~ | | | short unsigned int * /usr/include/efi/efilib.h:530:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 530 | IN CONST CHAR16 *fmt, kcmdline.c:289:23: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] 289 | Print(L"%r: %ls\n", err, errmsg); | ^~~~~~~~~~~~ | | | short unsigned int * /usr/include/efi/efilib.h:530:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 530 | IN CONST CHAR16 *fmt, kcmdline.c:294:31: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] 294 | Print(L"Custom kernel command line rejected\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | short unsigned int * /usr/include/efi/efilib.h:530:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 530 | IN CONST CHAR16 *fmt, kcmdline.c:296:31: warning: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types] 296 | Print(L"Custom kernel would be rejected in secure mode\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | short unsigned int * /usr/include/efi/efilib.h:530:24: note: expected 'const CHAR16 *' {aka 'const int *'} but argument is of type 'short unsigned int *' 530 | IN CONST CHAR16 *fmt, fatal: not a git repository (or any of the parent directories): .git gcc -DLINUX_TEST -Wall -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -fno-stack-protector -fpic -DGIT_VERSION=\"\" -mno-red-zone -DEFI_FUNCTION_WRAPPER -c -o test-cmdline-lt.o test-cmdline.c fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git gcc -DLINUX_TEST -Wall -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -fno-stack-protector -fpic -DGIT_VERSION=\"\" -mno-red-zone -DEFI_FUNCTION_WRAPPER -c -o test-get-cmdline-lt.o test-get-cmdline.c fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git gcc -DLINUX_TEST -Wall -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -fno-stack-protector -fpic -DGIT_VERSION=\"\" -mno-red-zone -DEFI_FUNCTION_WRAPPER -o test-cmdline test-cmdline-lt.o linux_efilib-lt.o kcmdline-lt.o stra-lt.o fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git gcc -DLINUX_TEST -Wall -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -fno-stack-protector -fpic -DGIT_VERSION=\"\" -mno-red-zone -DEFI_FUNCTION_WRAPPER -o test-get-cmdline test-get-cmdline-lt.o linux_efilib-lt.o kcmdline-lt.o stra-lt.o fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git ld -shared -nostdlib -znocombreloc -T /usr/lib/elf_x86_64_efi.lds -Bsymbolic -L /usr/lib -L /usr/lib /usr/lib/crt0-efi-x86_64.o util.o disk.o pe.o linux.o stub.o stra.o kcmdline.o -o stubby.so -lefi -lgnuefi fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git objcopy -j .text -j .sdata -j .data -j .dynamic \ -j .dynsym -j .rel -j .rela -j .reloc \ --target=efi-app-x86_64 stubby.so stubby.efi fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git rm test-get-cmdline-lt.o test-cmdline-lt.o fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git -- test-cmdline -- # | rslt | expect | found |cmdline| 01 | PASS | allow | allow |console=ttyS0| 02 | PASS | allow | allow || 03 | PASS | allow | allow | | 04 | PASS | allow | allow |quiet| 05 | PASS | allow | allow | root=atomix console=ttyS0| 06 | PASS | allow | allow | root=atomix console=/dev/ttyS0 | 07 | PASS | allow | allow |root=atomix console=/dev/ttyS0| 08 | PASS | reject-S | reject-S |root=atomix init=/bin/bash debug| 09 | PASS | reject-S | reject-S |init=/bin/bash| 10 | PASS | reject-S | reject-S |root= atomix| 11 | PASS | reject-S | reject-S |quieter| passed: 11. failed: 0 -- test-get-cmdline -- passed: 15. failed: 0 >>> stubbyboot: Entering fakeroot... >>> stubbyboot-efistub*: Running split function efistub... '/home/buildozer/aports/testing/stubbyboot/pkg/stubbyboot/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: 68.0 KB >>> stubbyboot-efistub*: Compressing data... >>> stubbyboot-efistub*: Create checksum... >>> stubbyboot-efistub*: Create stubbyboot-efistub-1.0.1-r1.apk >>> stubbyboot*: Tracing dependencies... >>> stubbyboot*: Package size: 16.0 KB >>> stubbyboot*: Compressing data... >>> stubbyboot*: Create checksum... >>> stubbyboot*: Create stubbyboot-1.0.1-r1.apk >>> stubbyboot: Build complete at Tue, 16 May 2023 17:08:54 +0000 elapsed time 0h 0m 3s >>> stubbyboot: Cleaning up srcdir >>> stubbyboot: Cleaning up pkgdir >>> stubbyboot: Uninstalling dependencies... (1/3) Purging .makedepends-stubbyboot (20230516.170852) (2/3) Purging gnu-efi-dev (3.0.17-r0) (3/3) Purging gnu-efi (3.0.17-r0) OK: 374 MiB in 102 packages >>> stubbyboot: Updating the testing/x86_64 repository index... >>> stubbyboot: Signing the index...