DEBUG: Executing shell function do_compile
[1/8] TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot-native/usr/bin/aarch64-yoe-linux-musl/aarch64-yoe-linux-musl-gcc -mcpu=cortex-a57+crc -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot -c ../git/efi/crt0/crt0-efi-aarch64.S -o efi/crt0/crt0-efi-aarch64.o -Og -g3 --param=ssp-buffer-size=4 -fexceptions -Wall -Wextra -Wvla -std=gnu11 -fpic -fshort-wchar -ffreestanding -fno-strict-aliasing -fno-stack-protector -fno-stack-check -fno-merge-constants -Wsign-compare -Wno-missing-field-initializers -Wno-address-of-packed-member -grecord-gcc-switches '-DDEBUGDIR="/usr/lib/debug"' -I. -isystem TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot/usr/include/efi -isystem TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot/usr/include/efi/aarch64
[2/8] TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot-native/usr/bin/aarch64-yoe-linux-musl/aarch64-yoe-linux-musl-gcc -mcpu=cortex-a57+crc -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot -c ../git/efi/fwup-efi.c -o efi/fwup-efi.o -Og -g3 --param=ssp-buffer-size=4 -fexceptions -Wall -Wextra -Wvla -std=gnu11 -fpic -fshort-wchar -ffreestanding -fno-strict-aliasing -fno-stack-protector -fno-stack-check -fno-merge-constants -Wsign-compare -Wno-missing-field-initializers -Wno-address-of-packed-member -grecord-gcc-switches '-DDEBUGDIR="/usr/lib/debug"' -I. -isystem TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot/usr/include/efi -isystem TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot/usr/include/efi/aarch64
FAILED: efi/fwup-efi.o
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot-native/usr/bin/aarch64-yoe-linux-musl/aarch64-yoe-linux-musl-gcc -mcpu=cortex-a57+crc -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot -c ../git/efi/fwup-efi.c -o efi/fwup-efi.o -Og -g3 --param=ssp-buffer-size=4 -fexceptions -Wall -Wextra -Wvla -std=gnu11 -fpic -fshort-wchar -ffreestanding -fno-strict-aliasing -fno-stack-protector -fno-stack-check -fno-merge-constants -Wsign-compare -Wno-missing-field-initializers -Wno-address-of-packed-member -grecord-gcc-switches '-DDEBUGDIR="/usr/lib/debug"' -I. -isystem TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot/usr/include/efi -isystem TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot/usr/include/efi/aarch64
In file included from ../git/efi/fwup-efi.c:12:
../git/efi/fwup-efi.c: In function 'fwup_delete_variable':
../git/efi/fwup-efi.c:25:36: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
25 | fwup_debug(L"Not deleting variable '%s' as not found", name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:27:97: note: in definition of macro 'fwup_debug'
27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwup-efi.c:28:28: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
28 | fwup_debug(L"Could not get variable '%s' for delete: %r", name, rc);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:27:97: note: in definition of macro 'fwup_debug'
27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwup-efi.c: In function 'fwup_get_variable':
../git/efi/fwup-efi.c:55:36: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
55 | fwup_debug(L"Could not get variable '%s': %r", name, rc);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:27:97: note: in definition of macro 'fwup_debug'
27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwup-efi.c:59:28: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
59 | fwup_debug(L"GetVariable(%s) succeeded with size=0", name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:27:97: note: in definition of macro 'fwup_debug'
27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwup-efi.c:64:30: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
64 | fwup_warning(L"Could not get variable '%s': %r", name, rc);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:29:101: note: in definition of macro 'fwup_warning'
29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
[3/8] TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot-native/usr/bin/aarch64-yoe-linux-musl/aarch64-yoe-linux-musl-gcc -mcpu=cortex-a57+crc -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot -c ../git/efi/fwup-debug.c -o efi/fwup-debug.o -Og -g3 --param=ssp-buffer-size=4 -fexceptions -Wall -Wextra -Wvla -std=gnu11 -fpic -fshort-wchar -ffreestanding -fno-strict-aliasing -fno-stack-protector -fno-stack-check -fno-merge-constants -Wsign-compare -Wno-missing-field-initializers -Wno-address-of-packed-member -grecord-gcc-switches '-DDEBUGDIR="/usr/lib/debug"' -I. -isystem TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot/usr/include/efi -isystem TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot/usr/include/efi/aarch64
FAILED: efi/fwup-debug.o
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot-native/usr/bin/aarch64-yoe-linux-musl/aarch64-yoe-linux-musl-gcc -mcpu=cortex-a57+crc -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot -c ../git/efi/fwup-debug.c -o efi/fwup-debug.o -Og -g3 --param=ssp-buffer-size=4 -fexceptions -Wall -Wextra -Wvla -std=gnu11 -fpic -fshort-wchar -ffreestanding -fno-strict-aliasing -fno-stack-protector -fno-stack-check -fno-merge-constants -Wsign-compare -Wno-missing-field-initializers -Wno-address-of-packed-member -grecord-gcc-switches '-DDEBUGDIR="/usr/lib/debug"' -I. -isystem TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot/usr/include/efi -isystem TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot/usr/include/efi/aarch64
../git/efi/fwup-debug.c: In function 'fwupd_debug_efivar_append':
../git/efi/fwup-debug.c:31:24: error: initialization of 'CHAR16 *' {aka 'unsigned int *'} from incompatible pointer type 'short unsigned int *' [-Wincompatible-pointer-types]
31 | CHAR16 *name = L"FWUPDATE_DEBUG_LOG";
| ^~~~~~~~~~~~~~~~~~~~~
../git/efi/fwup-debug.c: In function 'fwup_log':
../git/efi/fwup-debug.c:55:23: error: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types]
55 | Print(L"fwupdate: Allocation for debug log failed!\n");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
In file included from ../git/efi/fwup-debug.c:8:
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot/usr/include/efi/efilib.h:534:24: note: expected 'const CHAR16 *' {aka 'const unsigned int *'} but argument is of type 'short unsigned int *'
534 | IN CONST CHAR16 *fmt,
| ^
../git/efi/fwup-debug.c:61:34: error: passing argument 1 of 'PoolPrint' from incompatible pointer type [-Wincompatible-pointer-types]
61 | out1 = PoolPrint(L"%a:%d:%a(): %s\n", file, line, func, tmp);
| ^~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot/usr/include/efi/efilib.h:568:26: note: expected 'const CHAR16 *' {aka 'const unsigned int *'} but argument is of type 'short unsigned int *'
568 | IN CONST CHAR16 *fmt,
| ^
../git/efi/fwup-debug.c:63:31: error: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types]
63 | Print(L"fwupdate: Allocation for debug log failed!\n");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot/usr/include/efi/efilib.h:534:24: note: expected 'const CHAR16 *' {aka 'const unsigned int *'} but argument is of type 'short unsigned int *'
534 | IN CONST CHAR16 *fmt,
| ^
../git/efi/fwup-debug.c:66:23: error: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types]
66 | Print(L"%s", out1);
| ^~~~~
| |
| short unsigned int *
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot/usr/include/efi/efilib.h:534:24: note: expected 'const CHAR16 *' {aka 'const unsigned int *'} but argument is of type 'short unsigned int *'
534 | IN CONST CHAR16 *fmt,
| ^
../git/efi/fwup-debug.c:73:31: error: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types]
73 | Print(L"WARNING: %s\n", tmp);
| ^~~~~~~~~~~~~~~~
| |
| short unsigned int *
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot/usr/include/efi/efilib.h:534:24: note: expected 'const CHAR16 *' {aka 'const unsigned int *'} but argument is of type 'short unsigned int *'
534 | IN CONST CHAR16 *fmt,
| ^
../git/efi/fwup-debug.c:76:31: error: passing argument 1 of 'Print' from incompatible pointer type [-Wincompatible-pointer-types]
76 | Print(L"%s\n", tmp);
| ^~~~~~~
| |
| short unsigned int *
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot/usr/include/efi/efilib.h:534:24: note: expected 'const CHAR16 *' {aka 'const unsigned int *'} but argument is of type 'short unsigned int *'
534 | IN CONST CHAR16 *fmt,
| ^
[4/8] TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot-native/usr/bin/aarch64-yoe-linux-musl/aarch64-yoe-linux-musl-gcc -mcpu=cortex-a57+crc -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot -c ../git/efi/fwup-common.c -o efi/fwup-common.o -Og -g3 --param=ssp-buffer-size=4 -fexceptions -Wall -Wextra -Wvla -std=gnu11 -fpic -fshort-wchar -ffreestanding -fno-strict-aliasing -fno-stack-protector -fno-stack-check -fno-merge-constants -Wsign-compare -Wno-missing-field-initializers -Wno-address-of-packed-member -grecord-gcc-switches '-DDEBUGDIR="/usr/lib/debug"' -I. -isystem TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot/usr/include/efi -isystem TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot/usr/include/efi/aarch64
FAILED: efi/fwup-common.o
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot-native/usr/bin/aarch64-yoe-linux-musl/aarch64-yoe-linux-musl-gcc -mcpu=cortex-a57+crc -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot -c ../git/efi/fwup-common.c -o efi/fwup-common.o -Og -g3 --param=ssp-buffer-size=4 -fexceptions -Wall -Wextra -Wvla -std=gnu11 -fpic -fshort-wchar -ffreestanding -fno-strict-aliasing -fno-stack-protector -fno-stack-check -fno-merge-constants -Wsign-compare -Wno-missing-field-initializers -Wno-address-of-packed-member -grecord-gcc-switches '-DDEBUGDIR="/usr/lib/debug"' -I. -isystem TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot/usr/include/efi -isystem TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot/usr/include/efi/aarch64
In file included from ../git/efi/fwup-common.c:10:
../git/efi/fwup-common.c: In function 'fwup_malloc_raw':
../git/efi/fwup-common.c:39:30: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
39 | fwup_warning(L"Could not allocate %d", size);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:29:101: note: in definition of macro 'fwup_warning'
29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwup-common.c:44:30: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
44 | fwup_warning(L"Got bad allocation at 0x%016x", (UINT64)pageaddr);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:29:101: note: in definition of macro 'fwup_warning'
29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwup-common.c: In function 'fwup_malloc':
../git/efi/fwup-common.c:66:30: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
66 | fwup_warning(L"Could not allocate %d", size);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:29:101: note: in definition of macro 'fwup_warning'
29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwup-common.c: In function 'fwup_malloc0':
../git/efi/fwup-common.c:75:30: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
75 | fwup_warning(L"Could not allocate %d", size);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:29:101: note: in definition of macro 'fwup_warning'
29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwup-common.c: In function 'fwup_read_file':
../git/efi/fwup-common.c:115:46: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
115 | fwup_warning(L"Could not read file: %r", rc);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:29:101: note: in definition of macro 'fwup_warning'
29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
[5/8] TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot-native/usr/bin/aarch64-yoe-linux-musl/aarch64-yoe-linux-musl-gcc -mcpu=cortex-a57+crc -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot -c ../git/efi/fwupdate.c -o efi/fwupdate.o -Og -g3 --param=ssp-buffer-size=4 -fexceptions -Wall -Wextra -Wvla -std=gnu11 -fpic -fshort-wchar -ffreestanding -fno-strict-aliasing -fno-stack-protector -fno-stack-check -fno-merge-constants -Wsign-compare -Wno-missing-field-initializers -Wno-address-of-packed-member -grecord-gcc-switches '-DDEBUGDIR="/usr/lib/debug"' -I. -isystem TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot/usr/include/efi -isystem TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot/usr/include/efi/aarch64
FAILED: efi/fwupdate.o
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot-native/usr/bin/aarch64-yoe-linux-musl/aarch64-yoe-linux-musl-gcc -mcpu=cortex-a57+crc -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot -c ../git/efi/fwupdate.c -o efi/fwupdate.o -Og -g3 --param=ssp-buffer-size=4 -fexceptions -Wall -Wextra -Wvla -std=gnu11 -fpic -fshort-wchar -ffreestanding -fno-strict-aliasing -fno-stack-protector -fno-stack-check -fno-merge-constants -Wsign-compare -Wno-missing-field-initializers -Wno-address-of-packed-member -grecord-gcc-switches '-DDEBUGDIR="/usr/lib/debug"' -I. -isystem TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot/usr/include/efi -isystem TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot/usr/include/efi/aarch64
In file included from ../git/efi/fwupdate.c:14:
../git/efi/fwupdate.c: In function 'fwup_populate_update_info':
../git/efi/fwupdate.c:76:30: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
76 | fwup_warning(L"Update '%s' is is too small", name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:29:101: note: in definition of macro 'fwup_warning'
29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:81:30: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
81 | fwup_warning(L"Update '%s' is malformed, "
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:29:101: note: in definition of macro 'fwup_warning'
29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:89:30: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
89 | fwup_warning(L"Update '%s' has an invalid file path, "
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:29:101: note: in definition of macro 'fwup_warning'
29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:98:30: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
98 | fwup_warning(L"Update '%s' has an invalid file path, "
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:29:101: note: in definition of macro 'fwup_warning'
29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:109:30: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
109 | fwup_warning(L"Could not allocate %d", StrSize(name));
| ^~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:29:101: note: in definition of macro 'fwup_warning'
29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c: In function 'fwup_populate_update_table':
../git/efi/fwupdate.c:142:38: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
142 | fwup_warning(L"Could not get variable name: %r", rc);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:29:101: note: in definition of macro 'fwup_warning'
29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:151:43: error: passing argument 2 of 'StrCmp' from incompatible pointer type [-Wincompatible-pointer-types]
151 | if (StrCmp(variable_name, L"FWUPDATE_VERBOSE") == 0 ||
| ^~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
In file included from ../git/efi/fwupdate.c:10:
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot/usr/include/efi/efilib.h:314:24: note: expected 'const CHAR16 *' {aka 'const unsigned int *'} but argument is of type 'short unsigned int *'
314 | IN CONST CHAR16 *s2
| ^
../git/efi/fwupdate.c:152:43: error: passing argument 2 of 'StrCmp' from incompatible pointer type [-Wincompatible-pointer-types]
152 | StrCmp(variable_name, L"FWUPDATE_DEBUG_LOG") == 0)
| ^~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot/usr/include/efi/efilib.h:314:24: note: expected 'const CHAR16 *' {aka 'const unsigned int *'} but argument is of type 'short unsigned int *'
314 | IN CONST CHAR16 *s2
| ^
../git/efi/fwupdate.c:156:38: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
156 | fwup_warning(L"Ignoring update %s", variable_name);
| ^~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:29:101: note: in definition of macro 'fwup_warning'
29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:160:28: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
160 | fwup_debug(L"Found update %s", variable_name);
| ^~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:27:97: note: in definition of macro 'fwup_debug'
27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:167:38: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
167 | fwup_warning(L"Could not populate update info for '%s'", variable_name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:29:101: note: in definition of macro 'fwup_warning'
29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c: In function 'fwup_search_file':
../git/efi/fwupdate.c:194:30: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
194 | fwup_warning(L"Could not find handles");
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:29:101: note: in definition of macro 'fwup_warning'
29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:200:20: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
200 | fwup_debug(L"Searching Device Path: %s...", DevicePathToStr(dp));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:27:97: note: in definition of macro 'fwup_debug'
27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:220:20: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
220 | fwup_debug(L"Device Path prepared: %s", DevicePathToStr(parent_dp));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:27:97: note: in definition of macro 'fwup_debug'
27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:230:28: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
230 | fwup_debug(L"Device supporting SFSP: %s", DevicePathToStr(path));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:27:97: note: in definition of macro 'fwup_debug'
27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:233:36: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
233 | fwup_debug(L"Comparing: %s and %s",
| ^~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:27:97: note: in definition of macro 'fwup_debug'
27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:242:44: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
242 | fwup_debug(L"Match up! Returning %s",
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:27:97: note: in definition of macro 'fwup_debug'
27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:251:22: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
251 | fwup_warning(L"Failed to find '%s' DevicePath", DevicePathToStr(*file_dp));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:29:101: note: in definition of macro 'fwup_warning'
29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c: In function 'fwup_open_file':
../git/efi/fwupdate.c:271:38: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
271 | fwup_warning(L"Could not locate device handle: %r", rc);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:29:101: note: in definition of macro 'fwup_warning'
29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:278:30: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
278 | fwup_warning(L"Could not find appropriate device");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:29:101: note: in definition of macro 'fwup_warning'
29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:289:30: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
289 | fwup_warning(L"Invalid file device path of size %d", sz);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:29:101: note: in definition of macro 'fwup_warning'
29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:299:30: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
299 | fwup_warning(L"Could not open device interface: %r", rc);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:29:101: note: in definition of macro 'fwup_warning'
29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:302:20: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
302 | fwup_debug(L"Found device");
| ^~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:27:97: note: in definition of macro 'fwup_debug'
27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:306:30: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
306 | fwup_warning(L"Could not open volume: %r", rc);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:29:101: note: in definition of macro 'fwup_warning'
29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:309:20: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
309 | fwup_debug(L"Found volume");
| ^~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:27:97: note: in definition of macro 'fwup_debug'
27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:314:30: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
314 | fwup_warning(L"Could not open file '%s': %r", filename, rc);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:29:101: note: in definition of macro 'fwup_warning'
29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:317:20: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
317 | fwup_debug(L"Found file");
| ^~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:27:97: note: in definition of macro 'fwup_debug'
27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c: In function 'fwup_add_update_capsule':
../git/efi/fwupdate.c:413:30: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
413 | fwup_warning(L"Invalid capsule size %d", fsize);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:29:101: note: in definition of macro 'fwup_warning'
29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:417:20: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
417 | fwup_debug(L"Read file; %d bytes", fsize);
| ^~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:27:97: note: in definition of macro 'fwup_debug'
27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:418:20: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
418 | fwup_debug(L"updates guid: %g", &update->info->guid);
| ^~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:27:97: note: in definition of macro 'fwup_debug'
27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:419:20: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
419 | fwup_debug(L"File guid: %g", fbuf);
| ^~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:27:97: note: in definition of macro 'fwup_debug'
27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:436:28: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
436 | fwup_debug(L"Checking GOP for ux capsule");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:27:97: note: in definition of macro 'fwup_debug'
27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c: In function 'fwup_apply_capsules':
../git/efi/fwupdate.c:460:28: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
460 | fwup_debug(L"QueryCapsuleCapabilities: %r max: %ld reset:%d",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:27:97: note: in definition of macro 'fwup_debug'
27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:465:30: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
465 | fwup_warning(L"QueryCapsuleCapabilities failed, assuming EfiResetWarm: %r", rc);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:29:101: note: in definition of macro 'fwup_warning'
29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:469:20: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
469 | fwup_debug(L"Capsules: %d", num_updates);
| ^~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:27:97: note: in definition of macro 'fwup_debug'
27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:475:30: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
475 | fwup_warning(L"Could not apply capsule update: %r", rc);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:29:101: note: in definition of macro 'fwup_warning'
29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c: In function 'fwup_set_update_statuses':
../git/efi/fwupdate.c:493:38: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
493 | fwup_warning(L"Could not update variable status for '%s': %r",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:29:101: note: in definition of macro 'fwup_warning'
29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
In file included from TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot/usr/include/efi/efi.h:52,
from ../git/efi/fwupdate.c:9:
../git/efi/fwupdate.c: In function 'fwup_debug_hook':
../git/efi/fwupdate.c:517:60: error: passing argument 1 of 'RT->GetVariable' from incompatible pointer type [-Wincompatible-pointer-types]
517 | efi_status = uefi_call_wrapper(RT->GetVariable, 5, L"SHIM_DEBUG",
| ^~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwupdate.c:517:60: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
../git/efi/fwupdate.c:521:48: error: passing argument 1 of 'RT->GetVariable' from incompatible pointer type [-Wincompatible-pointer-types]
521 | L"FWUPDATE_VERBOSE",
| ^~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwupdate.c:521:48: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
../git/efi/fwupdate.c:535:19: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
535 | fwup_info(L"add-symbol-file "DEBUGDIR
| ^~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:28:95: note: in definition of macro 'fwup_info'
28 | #define fwup_info(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_INFO, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c: In function 'efi_main':
../git/efi/fwupdate.c:554:19: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
554 | fwup_info(L"fwupd-efi version " PACKAGE_VERSION);
| ^~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:28:95: note: in definition of macro 'fwup_info'
28 | #define fwup_info(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_INFO, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:569:30: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
569 | fwup_warning(L"Could not find updates: %r", rc);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:29:101: note: in definition of macro 'fwup_warning'
29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:573:30: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
573 | fwup_warning(L"No updates to process, exiting in 10 seconds.");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:29:101: note: in definition of macro 'fwup_warning'
29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:587:28: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
587 | fwup_debug(L"Adding new capsule");
| ^~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:27:97: note: in definition of macro 'fwup_debug'
27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:591:38: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
591 | fwup_warning(L"Could not add capsule with guid %g for update: %r",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:29:101: note: in definition of macro 'fwup_warning'
29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:599:30: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
599 | fwup_warning(L"Could not build update list: %r\n", rc);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:29:101: note: in definition of macro 'fwup_warning'
29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:603:20: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
603 | fwup_debug(L"n_updates: %d", n_updates);
| ^~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:27:97: note: in definition of macro 'fwup_debug'
27 | #define fwup_debug(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:611:30: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
611 | fwup_warning(L"Could not set update status: %r", rc);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:29:101: note: in definition of macro 'fwup_warning'
29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:618:30: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
618 | fwup_warning(L"Could not apply capsules: %r", rc);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:29:101: note: in definition of macro 'fwup_warning'
29 | #define fwup_warning(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_WARNING, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
../git/efi/fwupdate.c:621:19: error: passing argument 5 of 'fwup_log' from incompatible pointer type [-Wincompatible-pointer-types]
621 | fwup_info(L"Reset System");
| ^~~~~~~~~~~~~~~
| |
| short unsigned int *
../git/efi/fwup-debug.h:28:95: note: in definition of macro 'fwup_info'
28 | #define fwup_info(fmt, args...) fwup_log(FWUP_DEBUG_LEVEL_INFO, __func__, __FILE__, __LINE__, fmt, ## args )
| ^~~
../git/efi/fwup-debug.h:21:58: note: expected 'CHAR16 *' {aka 'unsigned int *'} but argument is of type 'short unsigned int *'
21 | CHAR16 *fmt,
| ~~~~~~~~~~~~~~~~^~~
[6/8] TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/git/efi/generate_sbat.py efi/fwup-sbat.o --cc 'aarch64-yoe-linux-musl-gcc -mcpu=cortex-a57+crc -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot' --objcopy TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot-native/usr/bin/aarch64-yoe-linux-musl/aarch64-yoe-linux-musl-objcopy --project-name fwupd-efi --project-version 1.3 --sbat-version 1 --sbat-generation 1 --sbat-distro-id yoe --sbat-distro-generation 0 --sbat-distro-summary 'Yoe Linux' --sbat-distro-pkgname fwupd-efi --sbat-distro-version 1.3 --sbat-distro-url ''
ninja: build stopped: subcommand failed.
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/recipe-sysroot-native/usr/bin/ninja -j 10 -l 64.0 -v
WARNING: TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/temp/run.do_compile.3691917:153 exit 1 from 'meson compile -v -j 10 -l 64'
WARNING: Backtrace (BB generated script):
#1: meson_do_compile, TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/temp/run.do_compile.3691917, line 153
#2: do_compile, TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/temp/run.do_compile.3691917, line 148
#3: main, TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fwupd-efi/1.3/temp/run.do_compile.3691917, line 157