>>> efitools: Building main/efitools 1.9.2-r11 (using abuild 3.14.0-r0) started Thu, 17 Oct 2024 15:58:02 +0000 >>> efitools: Validating /home/buildozer/aports/main/efitools/APKBUILD... >>> WARNING: efitools: Setting the maintainer with a comment is deprecated. Use maintainer="Timo Teräs " instead >>> efitools: Analyzing dependencies... >>> efitools: Installing for build: build-base mount gnu-efi-dev gnu-efi openssl-dev>3 perl-file-slurp help2man sbsigntool (1/17) Installing libeconf (0.6.3-r0) (2/17) Installing libblkid (2.40.2-r3) (3/17) Installing libmount (2.40.2-r3) (4/17) Installing mount (2.40.2-r3) (5/17) Installing gnu-efi (3.0.18-r0) (6/17) Installing gnu-efi-dev (3.0.18-r0) (7/17) Installing openssl-dev (3.3.2-r2) (8/17) Installing libbz2 (1.0.8-r6) (9/17) Installing perl (5.40.0-r3) (10/17) Installing perl-file-slurp (9999.32-r3) (11/17) Installing help2man (1.49.3-r0) (12/17) Installing libuuid (2.40.2-r3) (13/17) Installing sbsigntool (0.9.5-r2) (14/17) Installing .makedepends-efitools (20241017.155803) (15/17) Installing perl-error (0.17029-r2) (16/17) Installing perl-git (2.46.2-r0) (17/17) Installing git-perl (2.46.2-r0) Executing busybox-1.36.1-r32.trigger OK: 304 MiB in 117 packages >>> efitools: Cleaning up srcdir >>> efitools: Cleaning up pkgdir >>> efitools: Cleaning up tmpdir >>> efitools: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/efitools-1.9.2.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> efitools: Fetching https://git.kernel.org/pub/scm/linux/kernel/git/jejb/efitools.git/snapshot/efitools-1.9.2.tar.gz Connecting to git.kernel.org ([2604:1380:4601:e00::1]:443) saving to '/var/cache/distfiles/v3.21/efitools-1.9.2.tar.gz.part' efitools-1.9.2.tar.g 100% |********************************| 113k 0:00:00 ETA '/var/cache/distfiles/v3.21/efitools-1.9.2.tar.gz.part' saved >>> efitools: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/efitools-1.9.2.tar.gz >>> efitools: Checking sha512sums... efitools-1.9.2.tar.gz: OK 001-datatypes.patch: OK 002-fix-parallel-make.patch: OK 003-fix-wchar_t.patch: OK 004-typo.patch: OK 005-riscv64.patch: OK fix-build-on-aarch64.patch: OK >>> efitools: Unpacking /var/cache/distfiles/v3.21/efitools-1.9.2.tar.gz... >>> efitools: 001-datatypes.patch patching file lib/asn1/oid.h Hunk #1 succeeded at 10 (offset 2 lines). >>> efitools: 002-fix-parallel-make.patch patching file Make.rules >>> efitools: 003-fix-wchar_t.patch patching file cert-to-efi-hash-list.c patching file flash-var.c patching file hash-to-efi-sig-list.c patching file sign-efi-sig-list.c >>> efitools: 004-typo.patch patching file lib/console.c >>> efitools: 005-riscv64.patch patching file Make.rules >>> efitools: fix-build-on-aarch64.patch patching file Make.rules make -C lib lib-efi.a make[1]: Entering directory '/home/buildozer/aports/main/efitools/src/efitools-1.9.2/lib' gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -c HelloWorld.c -o HelloWorld.o openssl req -new -x509 -newkey rsa:2048 -subj "/CN=DB/" -keyout DB.key -out DB.crt -days 3650 -nodes -sha256 gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -fno-toplevel-reorder -DBUILD_EFI -c simple_file.c -o simple_file.efi.o openssl req -new -x509 -newkey rsa:2048 -subj "/CN=PK/" -keyout PK.key -out PK.crt -days 3650 -nodes -sha256 ........+.+............+...+..............+++++++++++++++++++++++++++++++++++++++*.........+++++++++++++++++++++++++++++++++++++++*.+...+..+.+........+....+..+.+.....+...+....+...+..+..........+.......................+...+.+......+..+.+...........+...+.+.....+.+...+..+.+...........................+..+...+...+.......+......+......+...+........+...+...............+.+.........+..+..........+.....+......................+.....+...+gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -fno-toplevel-reorder -DBUILD_EFI -c pecoff.c -o pecoff.efi.o .........+...+......+.+...+..............+.............+.....+.+............+....+....+.+...+......+.....+.+......+.......+...+.+......+..+..........++......+.....+....+......+.........+........+...+....+............+........+.......+......+...+..+....+++++++++++++.+..++++.+++..+.+..++++++.+++.+.++++++*...+....+..+...++.+...+........+...+....+...+++++++++++++++++++++++++++++++++++++++*.+.............+...+...+.....++...+.....+......+..............+........+.........+......+...................+..+..............+....+.+..........+..........+....+..............+.......+...+.....+......+............++..+......++......+.+.+.........++...........++.......+..+...+.......................+......+........+..................++.................++........+.+gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -c cert-to-efi-sig-list.c -o cert-to-efi-sig-list.o ...+.........+............+...........+.......+..........+.....+..................+....+...+...........+..+.+.........+..+.+......+.......+.......++....+......+...+...+......+......+....+..+..+....+........................+...++......++.....++..+...+.....++...........+....+....+........+.........+............++...........+....+....+..............++...+.........++............++.......++.................++............++...............+......+........++...+...++...++++ ..+.....+.++++++++++++++++++.........++++++++++++++++.+..+.+..+.++*.+.......+......+..+.........+.......+..+..................+...+...+......+.......+..+....+......+........+......++...+.+.....+.......+..+...+......................+.....+.+..+...............+...+.+...+.....+......+.++++++++..+++.+..++++++++++++++++++++++++++++*.....+.........+.+.................++.......+....+..+..+.....................+...............+....+.............+...+...+........++...............++...........++..........+......+....+.....+..+....++......++.................++..+............++.......+.......+.........+......++......................++............++.............++..+.....+..+.......+...+pecoff.c: In function 'pecoff_relocate': pecoff.c:183:69: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 183 | context->PEHdr->Pe32Plus.OptionalHeader.ImageBase = (UINT64)*data; | ^ pecoff.c:203:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 203 | Adjust = (UINT64)*data - context->ImageAddress; | ^ ..+.......+......+......+.+.....+.....+.+.............++......gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -fno-toplevel-reorder -DBUILD_EFI -c guid.c -o guid.efi.o ...+.....+...+.................+.........+...+.....+.....................+.........+............+...make -C lib lib.a +.....+..+.....+...+..............++....................++...+......+...+............++.......++....++cert-to-efi-sig-list.c:9:9: warning: "__STDC_VERSION__" redefined 9 | #define __STDC_VERSION__ 199901L | ^~~~~~~~~~~~~~~~ : note: this is the location of the previous definition ......++..+...+...+...........+...+.+...+...+....+..+..........+......+...............+...........+........+.+.........+...+.+.....+...............+..+....+..............++.+.........+.+........+.++.................++.............+..+..............+....+......+....+...+.....+..+...+......++.......++...............+..+++ +.............+..+..........+........+.----- +..+..........+..+.......+.....+.+....................+.........+....+...............+..+....+...............+......+..+...+....+...+++++openssl req -new -x509 -newkey rsa:2048 -subj "/CN=KEK/" -keyout KEK.key -out KEK.crt -days 3650 -nodes -sha256 make[1]: Entering directory '/home/buildozer/aports/main/efitools/src/efitools-1.9.2/lib' + ....+....+..+.........+..........+..+....+...+.....+.......+...+......+......+...+++++++++++++++++++++++++++++++++++++++*.......+......+..........+.....+.+++++++++++++++++++++++++++++++++++++++*..............+.....+.+.....+..........+.....+....+...+...........+.+......+.....+.......+...+...+...........+...+.+.........+.....+......+.+...+..+In file included from cert-to-efi-sig-list.c:25: /home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/guid.h:8:9: warning: no matching push for '#pragma GCC visibility pop' [-Wpragmas] 8 | #pragma GCC visibility pop | ^~~ ......+...+.........+.......+.....+..........+..............+....+...+...+gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -fno-toplevel-reorder -DBUILD_EFI -c sha256.c -o sha256.efi.o ...........+..........+...........+...+....+..+....+..............................+.....+.......+...+......+.....+...+.............+..........................................+...+.....+....+...+..+......+.......+...+..+.+.........+...........+.+.....++++++ ..+....+.........+..+....+..+++++++++++++++++++++++++++++++++++++++*..+...+...+....+..+.........+......+.........................+...+...+..+...+.........+.+...+.....+......+.+++++++++++++++++++++++++++++++++++++++*.......+...........----- +....+..+....................................+...+.+.....+....+..............+.............+.........+...........+.........+...++++++ ........+..+.+..+....+......+.........+.........+++++++++++++++++++++++++++++++++++++++*..+++++++++++++++++++++++++++++++++++++++*..+........gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -c simple_file.c -o simple_file.o +...+gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -c sign-efi-sig-list.c -o sign-efi-sig-list.o ..........+........+.+......+...+..+.........+.+..+...+...+.+...+...+....................+.......+.....++++++ ----- gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -fno-toplevel-reorder -DBUILD_EFI -c console.c -o console.efi.o sign-efi-sig-list.c:7:9: warning: "__STDC_VERSION__" redefined 7 | #define __STDC_VERSION__ 199901L | ^~~~~~~~~~~~~~~~ : note: this is the location of the previous definition gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -c Loader.c -o Loader.o gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -c pecoff.c -o pecoff.o In file included from sign-efi-sig-list.c:26: /home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/guid.h:8:9: warning: no matching push for '#pragma GCC visibility pop' [-Wpragmas] 8 | #pragma GCC visibility pop | ^~~ gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -fno-toplevel-reorder -DBUILD_EFI -c execute.c -o execute.efi.o make -C lib/asn1 libasn1-efi.a In file included from pecoff.c:63: /home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/guid.h:8:9: warning: no matching push for '#pragma GCC visibility pop' [-Wpragmas] 8 | #pragma GCC visibility pop | ^~~ gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -c guid.c -o guid.o pecoff.c: In function 'pecoff_relocate': pecoff.c:183:69: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 183 | context->PEHdr->Pe32Plus.OptionalHeader.ImageBase = (UINT64)*data; | ^ pecoff.c:203:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 203 | Adjust = (UINT64)*data - context->ImageAddress; | ^ make[1]: Entering directory '/home/buildozer/aports/main/efitools/src/efitools-1.9.2/lib/asn1' gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -fno-toplevel-reorder -DBUILD_EFI -c configtable.c -o configtable.efi.o gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -c ReadVars.c -o ReadVars.o gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -c sha256.c -o sha256.o gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -fno-toplevel-reorder -DBUILD_EFI -c shell.c -o shell.efi.o ReadVars.c: In function 'efi_main': ReadVars.c:177:73: warning: dangling pointer 'variables' to an unnamed temporary may be used [-Wdangling-pointer=] 177 | Print(L"Variable %s has no entries\n", variables[i]); | ^ ReadVars.c:112:41: note: unnamed temporary defined here 112 | variables = (CHAR16 *[]){ L"PK", L"KEK", L"db", L"dbx", L"dbt", L"MokList" , NULL}; | ^ ReadVars.c:179:67: warning: dangling pointer 'variables' to an unnamed temporary may be used [-Wdangling-pointer=] 179 | Print(L"Failed to get %s: %d\n", variables[i], status); | ^ ReadVars.c:112:41: note: unnamed temporary defined here 112 | variables = (CHAR16 *[]){ L"PK", L"KEK", L"db", L"dbx", L"dbt", L"MokList" , NULL}; | ^ ReadVars.c:184:61: warning: dangling pointer 'variables' to an unnamed temporary may be used [-Wdangling-pointer=] 184 | parse_db(data, len, image, variables[i], save_keys); | ^ ReadVars.c:112:41: note: unnamed temporary defined here 112 | variables = (CHAR16 *[]){ L"PK", L"KEK", L"db", L"dbx", L"dbt", L"MokList" , NULL}; | ^ ReadVars.c:182:61: warning: dangling pointer 'variables' to an unnamed temporary may be used [-Wdangling-pointer=] 182 | parse_db(data, len, image, variables[i], save_keys); | ^ ReadVars.c:112:41: note: unnamed temporary defined here 112 | variables = (CHAR16 *[]){ L"PK", L"KEK", L"db", L"dbx", L"dbt", L"MokList" , NULL}; | ^ ReadVars.c:181:68: warning: dangling pointer 'variables' to an unnamed temporary may be used [-Wdangling-pointer=] 181 | Print(L"Variable %s length %d\n", variables[i], len); | ^ ReadVars.c:112:41: note: unnamed temporary defined here 112 | variables = (CHAR16 *[]){ L"PK", L"KEK", L"db", L"dbx", L"dbt", L"MokList" , NULL}; | ^ gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -fno-toplevel-reorder -DBUILD_EFI -c asn1.c -o asn1.efi.o gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -c UpdateVars.c -o UpdateVars.o gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -c console.c -o console.o gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -fno-toplevel-reorder -DBUILD_EFI -c security_policy.c -o security_policy.efi.o gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -fno-toplevel-reorder -DBUILD_EFI -c asn1_parser.c -o asn1_parser.efi.o UpdateVars.c: In function 'efi_main': UpdateVars.c:24:49: warning: variable 'owner_guid' set but not used [-Wunused-but-set-variable] 24 | CHAR16 **ARGV, *var, *name, *progname, *owner_guid; | ^~~~~~~~~~ gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -c KeyTool.c -o KeyTool.o gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -c execute.c -o execute.o gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -fno-toplevel-reorder -DBUILD_EFI -c shim_protocol.c -o shim_protocol.efi.o asn1_parser.c: In function 'iterate': asn1_parser.c:82:15: warning: variable 'level' set but not used [-Wunused-but-set-variable] 82 | u_int level; | ^~~~~ gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -fno-toplevel-reorder -DBUILD_EFI -c enumerator.c -o enumerator.efi.o gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -c HashTool.c -o HashTool.o gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -c configtable.c -o configtable.o gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -fno-toplevel-reorder -DBUILD_EFI -c pkcs7verify.c -o pkcs7verify.efi.o gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -fno-toplevel-reorder -DBUILD_EFI -c chunk.c -o chunk.efi.o HashTool.c: In function 'efi_main': HashTool.c:187:25: warning: variable 'setup_mode_arg' set but not used [-Wunused-but-set-variable] 187 | setup_mode_arg = 0, keytool = NOSEL; | ^~~~~~~~~~~~~~ HashTool.c:185:28: warning: variable 'setup_mode' set but not used [-Wunused-but-set-variable] 185 | int c = 0, setup_mode = NOSEL, uefi_reboot = NOSEL, | ^~~~~~~~~~ gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -c SetNull.c -o SetNull.o gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -c shell.c -o shell.o gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -c variables.c -o variables.o gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -fno-toplevel-reorder -DBUILD_EFI -c oid.c -o oid.efi.o gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -c ShimReplace.c -o ShimReplace.o gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -c security_policy.c -o security_policy.o gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -fno-toplevel-reorder -DBUILD_EFI -c identification.c -o identification.efi.o ShimReplace.c: In function 'efi_main': ShimReplace.c:51:37: warning: passing argument 2 of 'execute' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 51 | efi_status = execute(image, loader); | ^~~~~~ In file included from ShimReplace.c:17: /home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/execute.h:5:35: note: expected 'CHAR16 *' {aka 'short unsigned int *'} but argument is of type 'const CHAR16 *' {aka 'const short unsigned int *'} 5 | execute(EFI_HANDLE image, CHAR16 *name); | ~~~~~~~~^~~~ ShimReplace.c:57:37: warning: passing argument 2 of 'execute' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 57 | efi_status = execute(image, fallback); | ^~~~~~~~ /home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/execute.h:5:35: note: expected 'CHAR16 *' {aka 'short unsigned int *'} but argument is of type 'const CHAR16 *' {aka 'const short unsigned int *'} 5 | execute(EFI_HANDLE image, CHAR16 *name); | ~~~~~~~~^~~~ gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -c sig-list-to-certs.c -o sig-list-to-certs.o ar rcv lib-efi.a simple_file.efi.o pecoff.efi.o guid.efi.o sha256.efi.o console.efi.o execute.efi.o configtable.efi.o shell.efi.o security_policy.efi.o shim_protocol.efi.o pkcs7verify.efi.o variables.o gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -c shim_protocol.c -o shim_protocol.o identification.c:33:24: warning: 'x501rdns' defined but not used [-Wunused-const-variable=] 33 | static const x501rdn_t x501rdns[] = { | ^~~~~~~~ sig-list-to-certs.c:7:9: warning: "__STDC_VERSION__" redefined 7 | #define __STDC_VERSION__ 199901L | ^~~~~~~~~~~~~~~~ : note: this is the location of the previous definition gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -fno-toplevel-reorder -DBUILD_EFI -c x509.c -o x509.efi.o gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -c hash-to-efi-sig-list.c -o hash-to-efi-sig-list.o a - simple_file.efi.o a - pecoff.efi.o a - guid.efi.o a - sha256.efi.o a - console.efi.o a - execute.efi.o a - configtable.efi.o a - shell.efi.o a - security_policy.efi.o a - shim_protocol.efi.o a - pkcs7verify.efi.o a - variables.o make[1]: Leaving directory '/home/buildozer/aports/main/efitools/src/efitools-1.9.2/lib' gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -c pkcs7verify.c -o pkcs7verify.o In file included from sig-list-to-certs.c:29: /home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/guid.h:8:9: warning: no matching push for '#pragma GCC visibility pop' [-Wpragmas] 8 | #pragma GCC visibility pop | ^~~ hash-to-efi-sig-list.c:7:9: warning: "__STDC_VERSION__" redefined 7 | #define __STDC_VERSION__ 199901L | ^~~~~~~~~~~~~~~~ : note: this is the location of the previous definition ar rcv libasn1-efi.a asn1.efi.o asn1_parser.efi.o enumerator.efi.o chunk.efi.o oid.efi.o identification.efi.o x509.efi.o gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -c efi-readvar.c -o efi-readvar.o In file included from hash-to-efi-sig-list.c:28: /home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/guid.h:8:9: warning: no matching push for '#pragma GCC visibility pop' [-Wpragmas] 8 | #pragma GCC visibility pop | ^~~ gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -c kernel_efivars.c -o kernel_efivars.o a - asn1.efi.o a - asn1_parser.efi.o a - enumerator.efi.o a - chunk.efi.o a - oid.efi.o a - identification.efi.o a - x509.efi.o make[1]: Leaving directory '/home/buildozer/aports/main/efitools/src/efitools-1.9.2/lib/asn1' gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -c efi-updatevar.c -o efi-updatevar.o efi-readvar.c:20:9: warning: "__STDC_VERSION__" redefined 20 | #define __STDC_VERSION__ 199901L | ^~~~~~~~~~~~~~~~ : note: this is the location of the previous definition kernel_efivars.c:19:9: warning: "__STDC_VERSION__" redefined 19 | #define __STDC_VERSION__ 199901L | ^~~~~~~~~~~~~~~~ : note: this is the location of the previous definition gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -c openssl_sign.c -o openssl_sign.o gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -c cert-to-efi-hash-list.c -o cert-to-efi-hash-list.o efi-updatevar.c:23:9: warning: "__STDC_VERSION__" redefined 23 | #define __STDC_VERSION__ 199901L | ^~~~~~~~~~~~~~~~ : note: this is the location of the previous definition gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -c flash-var.c -o flash-var.o openssl_sign.c: In function 'read_engine_private_key': openssl_sign.c:118:9: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 118 | ENGINE_load_builtin_engines(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from openssl_sign.c:10: /usr/include/openssl/engine.h:358:28: note: declared here 358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ openssl_sign.c:119:9: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | e = ENGINE_by_id(engine); | ^ /usr/include/openssl/engine.h:336:31: note: declared here 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); | ^~~~~~~~~~~~ openssl_sign.c:135:9: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | if (!ENGINE_init(e)) { | ^~ /usr/include/openssl/engine.h:620:27: note: declared here 620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e); | ^~~~~~~~~~~ openssl_sign.c:141:9: warning: 'ENGINE_load_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | pkey = ENGINE_load_private_key(e, keyfile, ui, NULL); | ^~~~ /usr/include/openssl/engine.h:638:11: note: declared here 638 | EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id, | ^~~~~~~~~~~~~~~~~~~~~~~ openssl_sign.c:142:9: warning: 'ENGINE_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 142 | ENGINE_finish(e); | ^~~~~~~~~~~~~ /usr/include/openssl/engine.h:628:27: note: declared here 628 | OSSL_DEPRECATEDIN_3_0 int ENGINE_finish(ENGINE *e); | ^~~~~~~~~~~~~ openssl_sign.c:145:9: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | ENGINE_free(e); | ^~~~~~~~~~~ /usr/include/openssl/engine.h:493:27: note: declared here 493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e); | ^~~~~~~~~~~ ar rcv lib.a simple_file.o pecoff.o guid.o sha256.o console.o execute.o configtable.o shell.o security_policy.o shim_protocol.o pkcs7verify.o kernel_efivars.o openssl_sign.o In file included from cert-to-efi-hash-list.c:31: /home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/guid.h:8:9: warning: no matching push for '#pragma GCC visibility pop' [-Wpragmas] 8 | #pragma GCC visibility pop | ^~~ > noPK.esl flash-var.c:13:9: warning: "__STDC_VERSION__" redefined 13 | #define __STDC_VERSION__ 199901L | ^~~~~~~~~~~~~~~~ : note: this is the location of the previous definition a - simple_file.o a - pecoff.o a - guid.o a - sha256.o a - console.o a - execute.o a - configtable.o a - shell.o a - security_policy.o a - shim_protocol.o a - pkcs7verify.o a - kernel_efivars.o a - openssl_sign.o make[1]: Leaving directory '/home/buildozer/aports/main/efitools/src/efitools-1.9.2/lib' openssl req -new -x509 -newkey rsa:2048 -subj "/CN=DB1/" -keyout DB1.key -out DB1.crt -days 3650 -nodes -sha256 In file included from flash-var.c:7: In function 'memset', inlined from 'main' at flash-var.c:186:2: /usr/include/fortify/string.h:75:16: warning: '__builtin_memset' offset [0, 56] is out of the bounds [0, 0] [-Warray-bounds=] 75 | return __builtin_memset(__d, __c, __n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openssl req -new -x509 -newkey rsa:2048 -subj "/CN=DB2/" -keyout DB2.key -out DB2.crt -days 3650 -nodes -sha256 .....+..+.+.....+....+.....+...+...............+...............+++++++++++++++++++++++++++++++++++++++*.+.....................+............+........+...+......+.+...+............+...+..............+.+.....+....+...+.....+........................+.+.....+....+...+..+...+......+.+.....+++++++++++++++++++++++++++++++++++++++*......+...+.....+...+...............+............+.+.....+.+.....+.+..............+.+..+...+.........+.............+...+...+..+....+........+...............+..........+......+.....++++++ ........+.+.....+...............+....+...+......+..+...+.+......+............+++++++++++++++++++++++++++++++++++++++*....+............+.....+++++++++++++++++++++++++++++++++++++++*.....+...+.......+..+.+.....+.........+......+.............................+..........+........+.........+...+.+..+.......+......+......+.........+......+++++++++++++++++++++++++++++++++++++++*...+.++++++++++++++++++++++++++++++++++++++......++*....++..........++.......++..........++...+......+...+....++.......++.......++........+......+.....+...+..........+.....+......+..........+...+..........+.+...+..+....+..+.........++...........++.......++...+...++++.++ ......+.+...+.....+++++++++++++++++++++++++++...+++++++++++++*..+....+.....+...+.................+......+.++.+...+..+.........+.+..................+.....+.........+......+.+...+..+.+........+...+........+.........+...............+....+...++++++++++++++++++++++++++++++++++++++++*..........+...++....+......+...................++..........+......+.....+...+...+..........+.....+.+....+......+.....+.........++.....................+...+.......+...............++.............++.+....+..+...............++..............+....+++.....++++ +++++ ----- ----- ld -nostdlib -shared -Bsymbolic /usr/lib/crt0-efi-arm.o -L /usr/lib -L /usr/lib -L /usr/lib64 -T elf_arm_efi.lds --defsym=EFI_SUBSYSTEM=0x0a HelloWorld.o lib/lib-efi.a -o HelloWorld.so -lefi -lgnuefi /usr/lib/gcc/armv7-alpine-linux-musleabihf/14.2.0/libgcc.a gcc -o cert-to-efi-sig-list cert-to-efi-sig-list.o lib/lib.a -lcrypto # check we have no undefined symbols nm -D HelloWorld.so | grep ' U ' && exit 1 || exit 0 gcc -o sign-efi-sig-list sign-efi-sig-list.o lib/lib.a -lcrypto /usr/lib/gcc/armv7-alpine-linux-musleabihf/14.2.0/../../../../armv7-alpine-linux-musleabihf/bin/ld: warning: cert-to-efi-sig-list.o uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail /usr/lib/gcc/armv7-alpine-linux-musleabihf/14.2.0/../../../../armv7-alpine-linux-musleabihf/bin/ld: warning: lib/lib.a(guid.o) uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail ./cert-to-efi-sig-list -g 11111111-2222-3333-4444-123456789abc KEK.crt KEK.esl /usr/lib/gcc/armv7-alpine-linux-musleabihf/14.2.0/../../../../armv7-alpine-linux-musleabihf/bin/ld: warning: sign-efi-sig-list.o uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail /usr/lib/gcc/armv7-alpine-linux-musleabihf/14.2.0/../../../../armv7-alpine-linux-musleabihf/bin/ld: warning: lib/lib.a(guid.o) uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail /usr/lib/gcc/armv7-alpine-linux-musleabihf/14.2.0/../../../../armv7-alpine-linux-musleabihf/bin/ld: warning: lib/lib.a(openssl_sign.o) uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail ./cert-to-efi-sig-list -g 11111111-2222-3333-4444-123456789abc DB.crt DB.esl ld -nostdlib -shared -Bsymbolic /usr/lib/crt0-efi-arm.o -L /usr/lib -L /usr/lib -L /usr/lib64 -T elf_arm_efi.lds --defsym=EFI_SUBSYSTEM=0x0a Loader.o lib/lib-efi.a -o Loader.so -lefi -lgnuefi /usr/lib/gcc/armv7-alpine-linux-musleabihf/14.2.0/libgcc.a # check we have no undefined symbols nm -D Loader.so | grep ' U ' && exit 1 || exit 0 ld -nostdlib -shared -Bsymbolic /usr/lib/crt0-efi-arm.o -L /usr/lib -L /usr/lib -L /usr/lib64 -T elf_arm_efi.lds --defsym=EFI_SUBSYSTEM=0x0a ReadVars.o lib/lib-efi.a lib/asn1/libasn1-efi.a -o ReadVars.so -lefi -lgnuefi /usr/lib/gcc/armv7-alpine-linux-musleabihf/14.2.0/libgcc.a # check we have no undefined symbols nm -D ReadVars.so | grep ' U ' && exit 1 || exit 0 ld -nostdlib -shared -Bsymbolic /usr/lib/crt0-efi-arm.o -L /usr/lib -L /usr/lib -L /usr/lib64 -T elf_arm_efi.lds --defsym=EFI_SUBSYSTEM=0x0a UpdateVars.o lib/lib-efi.a -o UpdateVars.so -lefi -lgnuefi /usr/lib/gcc/armv7-alpine-linux-musleabihf/14.2.0/libgcc.a # check we have no undefined symbols nm -D UpdateVars.so | grep ' U ' && exit 1 || exit 0 ld -nostdlib -shared -Bsymbolic /usr/lib/crt0-efi-arm.o -L /usr/lib -L /usr/lib -L /usr/lib64 -T elf_arm_efi.lds --defsym=EFI_SUBSYSTEM=0x0a KeyTool.o lib/lib-efi.a lib/asn1/libasn1-efi.a -o KeyTool.so -lefi -lgnuefi /usr/lib/gcc/armv7-alpine-linux-musleabihf/14.2.0/libgcc.a # check we have no undefined symbols nm -D KeyTool.so | grep ' U ' && exit 1 || exit 0 ld -nostdlib -shared -Bsymbolic /usr/lib/crt0-efi-arm.o -L /usr/lib -L /usr/lib -L /usr/lib64 -T elf_arm_efi.lds --defsym=EFI_SUBSYSTEM=0x0a HashTool.o lib/lib-efi.a -o HashTool.so -lefi -lgnuefi /usr/lib/gcc/armv7-alpine-linux-musleabihf/14.2.0/libgcc.a # check we have no undefined symbols nm -D HashTool.so | grep ' U ' && exit 1 || exit 0 ld -nostdlib -shared -Bsymbolic /usr/lib/crt0-efi-arm.o -L /usr/lib -L /usr/lib -L /usr/lib64 -T elf_arm_efi.lds --defsym=EFI_SUBSYSTEM=0x0a SetNull.o -o SetNull.so -lefi -lgnuefi /usr/lib/gcc/armv7-alpine-linux-musleabihf/14.2.0/libgcc.a # check we have no undefined symbols nm -D SetNull.so | grep ' U ' && exit 1 || exit 0 ld -nostdlib -shared -Bsymbolic /usr/lib/crt0-efi-arm.o -L /usr/lib -L /usr/lib -L /usr/lib64 -T elf_arm_efi.lds --defsym=EFI_SUBSYSTEM=0x0a ShimReplace.o lib/lib-efi.a -o ShimReplace.so -lefi -lgnuefi /usr/lib/gcc/armv7-alpine-linux-musleabihf/14.2.0/libgcc.a gcc -o sig-list-to-certs sig-list-to-certs.o lib/lib.a -lcrypto # check we have no undefined symbols nm -D ShimReplace.so | grep ' U ' && exit 1 || exit 0 gcc -o hash-to-efi-sig-list hash-to-efi-sig-list.o lib/lib.a /usr/lib/gcc/armv7-alpine-linux-musleabihf/14.2.0/../../../../armv7-alpine-linux-musleabihf/bin/ld: warning: sig-list-to-certs.o uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail /usr/lib/gcc/armv7-alpine-linux-musleabihf/14.2.0/../../../../armv7-alpine-linux-musleabihf/bin/ld: warning: lib/lib.a(guid.o) uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail gcc -o efi-readvar efi-readvar.o lib/lib.a -lcrypto /usr/lib/gcc/armv7-alpine-linux-musleabihf/14.2.0/../../../../armv7-alpine-linux-musleabihf/bin/ld: warning: hash-to-efi-sig-list.o uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail /usr/lib/gcc/armv7-alpine-linux-musleabihf/14.2.0/../../../../armv7-alpine-linux-musleabihf/bin/ld: warning: lib/lib.a(guid.o) uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail /usr/lib/gcc/armv7-alpine-linux-musleabihf/14.2.0/../../../../armv7-alpine-linux-musleabihf/bin/ld: warning: lib/lib.a(sha256.o) uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail /usr/lib/gcc/armv7-alpine-linux-musleabihf/14.2.0/../../../../armv7-alpine-linux-musleabihf/bin/ld: warning: lib/lib.a(pecoff.o) uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail gcc -o efi-updatevar efi-updatevar.o lib/lib.a -lcrypto /usr/lib/gcc/armv7-alpine-linux-musleabihf/14.2.0/../../../../armv7-alpine-linux-musleabihf/bin/ld: warning: efi-readvar.o uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail /usr/lib/gcc/armv7-alpine-linux-musleabihf/14.2.0/../../../../armv7-alpine-linux-musleabihf/bin/ld: warning: lib/lib.a(guid.o) uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail /usr/lib/gcc/armv7-alpine-linux-musleabihf/14.2.0/../../../../armv7-alpine-linux-musleabihf/bin/ld: warning: lib/lib.a(kernel_efivars.o) uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail gcc -o cert-to-efi-hash-list cert-to-efi-hash-list.o lib/lib.a -lcrypto /usr/lib/gcc/armv7-alpine-linux-musleabihf/14.2.0/../../../../armv7-alpine-linux-musleabihf/bin/ld: warning: efi-updatevar.o uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail /usr/lib/gcc/armv7-alpine-linux-musleabihf/14.2.0/../../../../armv7-alpine-linux-musleabihf/bin/ld: warning: lib/lib.a(guid.o) uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail /usr/lib/gcc/armv7-alpine-linux-musleabihf/14.2.0/../../../../armv7-alpine-linux-musleabihf/bin/ld: warning: lib/lib.a(sha256.o) uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail /usr/lib/gcc/armv7-alpine-linux-musleabihf/14.2.0/../../../../armv7-alpine-linux-musleabihf/bin/ld: warning: lib/lib.a(kernel_efivars.o) uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail /usr/lib/gcc/armv7-alpine-linux-musleabihf/14.2.0/../../../../armv7-alpine-linux-musleabihf/bin/ld: warning: lib/lib.a(openssl_sign.o) uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail /usr/lib/gcc/armv7-alpine-linux-musleabihf/14.2.0/../../../../armv7-alpine-linux-musleabihf/bin/ld: warning: lib/lib.a(pecoff.o) uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail gcc -o flash-var flash-var.o lib/lib.a /usr/lib/gcc/armv7-alpine-linux-musleabihf/14.2.0/../../../../armv7-alpine-linux-musleabihf/bin/ld: warning: cert-to-efi-hash-list.o uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail /usr/lib/gcc/armv7-alpine-linux-musleabihf/14.2.0/../../../../armv7-alpine-linux-musleabihf/bin/ld: warning: lib/lib.a(guid.o) uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail help2man --no-info -i doc/cert-to-efi-hash-list.1.in -o doc/cert-to-efi-hash-list.1 ./cert-to-efi-hash-list /usr/lib/gcc/armv7-alpine-linux-musleabihf/14.2.0/../../../../armv7-alpine-linux-musleabihf/bin/ld: warning: flash-var.o uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail /usr/lib/gcc/armv7-alpine-linux-musleabihf/14.2.0/../../../../armv7-alpine-linux-musleabihf/bin/ld: warning: lib/lib.a(guid.o) uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail help2man --no-info -i doc/cert-to-efi-sig-list.1.in -o doc/cert-to-efi-sig-list.1 ./cert-to-efi-sig-list help2man --no-info -i doc/efi-readvar.1.in -o doc/efi-readvar.1 ./efi-readvar help2man --no-info -i doc/efi-updatevar.1.in -o doc/efi-updatevar.1 ./efi-updatevar help2man --no-info -i doc/hash-to-efi-sig-list.1.in -o doc/hash-to-efi-sig-list.1 ./hash-to-efi-sig-list help2man --no-info -i doc/sig-list-to-certs.1.in -o doc/sig-list-to-certs.1 ./sig-list-to-certs help2man --no-info -i doc/sign-efi-sig-list.1.in -o doc/sign-efi-sig-list.1 ./sign-efi-sig-list date: invalid date '1 second' ./sign-efi-sig-list -t "" -c PK.crt -k PK.key PK noPK.esl noPK.auth Timestamp is 1900-1-0 00:00:00 ./cert-to-efi-sig-list -g 11111111-2222-3333-4444-123456789abc DB1.crt DB1.esl Authentication Payload size 40 Signature of size 1148 Signature at: 40 ./cert-to-efi-sig-list -g 11111111-2222-3333-4444-123456789abc DB2.crt DB2.esl ./cert-to-efi-sig-list -g 77FA9ABD-0359-4D32-BD60-28F4E78F784B ms-uefi.crt ms-uefi.esl ./cert-to-efi-sig-list -g 77FA9ABD-0359-4D32-BD60-28F4E78F784B ms-kek.crt ms-kek.esl ./sign-efi-sig-list -a -c PK.crt -k PK.key KEK KEK.esl KEK-update.auth Timestamp is 0-0-0 00:00:00 Authentication Payload size 855 Signature of size 1148 Signature at: 40 ./sign-efi-sig-list -a -c KEK.crt -k KEK.key db DB.esl DB-update.auth Timestamp is 0-0-0 00:00:00 Authentication Payload size 851 Signature of size 1151 Signature at: 40 ./sign-efi-sig-list -a -c KEK.crt -k KEK.key db DB1.esl DB1-update.auth Timestamp is 0-0-0 00:00:00 Authentication Payload size 853 Signature of size 1151 Signature at: 40 ./sign-efi-sig-list -a -c KEK.crt -k KEK.key db DB2.esl DB2-update.auth Timestamp is 0-0-0 00:00:00 Authentication Payload size 853 Signature of size 1151 Signature at: 40 ./sign-efi-sig-list -a -c KEK.crt -k KEK.key db ms-uefi.esl ms-uefi-update.auth Timestamp is 0-0-0 00:00:00 Authentication Payload size 1640 Signature of size 1151 Signature at: 40 ./sign-efi-sig-list -a -c KEK.crt -k KEK.key db ms-kek.esl ms-kek-update.auth Timestamp is 0-0-0 00:00:00 Authentication Payload size 1600 Signature of size 1151 Signature at: 40 ./sign-efi-sig-list -a -c PK.crt -k PK.key KEK KEK.esl KEK-pkupdate.auth Timestamp is 0-0-0 00:00:00 Authentication Payload size 855 Signature of size 1148 Signature at: 40 ./sign-efi-sig-list -a -c PK.crt -k PK.key db DB.esl DB-pkupdate.auth Timestamp is 0-0-0 00:00:00 Authentication Payload size 851 Signature of size 1148 Signature at: 40 ./sign-efi-sig-list -a -c PK.crt -k PK.key db DB1.esl DB1-pkupdate.auth Timestamp is 0-0-0 00:00:00 Authentication Payload size 853 Signature of size 1148 Signature at: 40 ./sign-efi-sig-list -a -c PK.crt -k PK.key db DB2.esl DB2-pkupdate.auth Timestamp is 0-0-0 00:00:00 Authentication Payload size 853 Signature of size 1148 Signature at: 40 ./sign-efi-sig-list -a -c PK.crt -k PK.key db ms-uefi.esl ms-uefi-pkupdate.auth Timestamp is 0-0-0 00:00:00 Authentication Payload size 1640 Signature of size 1148 Signature at: 40 ./sign-efi-sig-list -a -c PK.crt -k PK.key db ms-kek.esl ms-kek-pkupdate.auth Timestamp is 0-0-0 00:00:00 ./cert-to-efi-sig-list PK.crt PK-blacklist.esl Authentication Payload size 1600 Signature of size 1148 Signature at: 40 ./cert-to-efi-sig-list KEK.crt KEK-blacklist.esl ./cert-to-efi-sig-list DB.crt DB-blacklist.esl ./cert-to-efi-sig-list DB1.crt DB1-blacklist.esl ./cert-to-efi-sig-list DB2.crt DB2-blacklist.esl ./cert-to-efi-sig-list ms-uefi.crt ms-uefi-blacklist.esl ./cert-to-efi-sig-list ms-kek.crt ms-kek-blacklist.esl ./cert-to-efi-hash-list PK.crt PK-hash-blacklist.esl TimeOfRevocation is 0-0-0 00:00:00 ./cert-to-efi-hash-list KEK.crt KEK-hash-blacklist.esl ./cert-to-efi-hash-list DB.crt DB-hash-blacklist.esl TimeOfRevocation is 0-0-0 00:00:00 TimeOfRevocation is 0-0-0 00:00:00 ./cert-to-efi-hash-list DB1.crt DB1-hash-blacklist.esl ./cert-to-efi-hash-list DB2.crt DB2-hash-blacklist.esl TimeOfRevocation is 0-0-0 00:00:00 TimeOfRevocation is 0-0-0 00:00:00 ./cert-to-efi-hash-list ms-uefi.crt ms-uefi-hash-blacklist.esl ./cert-to-efi-hash-list ms-kek.crt ms-kek-hash-blacklist.esl TimeOfRevocation is 0-0-0 00:00:00 TimeOfRevocation is 0-0-0 00:00:00 objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym \ -j .rel -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \ -j .reloc -O binary HelloWorld.so HelloWorld.efi ./cert-to-efi-sig-list -g 11111111-2222-3333-4444-123456789abc PK.crt PK.esl ./sign-efi-sig-list -c PK.crt -k PK.key KEK KEK.esl KEK.auth Timestamp is 2024-10-17 15:58:26 Authentication Payload size 855 Signature of size 1148 Signature at: 40 ./sign-efi-sig-list -c KEK.crt -k KEK.key db DB.esl DB.auth Timestamp is 2024-10-17 15:58:26 objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym \ -j .rel -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \ -j .reloc -O binary Loader.so Loader.efi Authentication Payload size 851 Signature of size 1151 Signature at: 40 objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym \ -j .rel -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \ -j .reloc -O binary ReadVars.so ReadVars.efi objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym \ -j .rel -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \ -j .reloc -O binary UpdateVars.so UpdateVars.efi objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym \ -j .rel -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \ -j .reloc -O binary KeyTool.so KeyTool.efi objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym \ -j .rel -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \ -j .reloc -O binary HashTool.so HashTool.efi objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym \ -j .rel -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \ -j .reloc -O binary SetNull.so SetNull.efi objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym \ -j .rel -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \ -j .reloc -O binary ShimReplace.so ShimReplace.efi ./sign-efi-sig-list -c KEK.crt -k KEK.key db DB1.esl DB1.auth Timestamp is 2024-10-17 15:58:28 Authentication Payload size 853 Signature of size 1151 Signature at: 40 ./sign-efi-sig-list -c KEK.crt -k KEK.key db DB2.esl DB2.auth Timestamp is 2024-10-17 15:58:28 Authentication Payload size 853 Signature of size 1151 Signature at: 40 ./sign-efi-sig-list -c KEK.crt -k KEK.key db ms-uefi.esl ms-uefi.auth Timestamp is 2024-10-17 15:58:29 Authentication Payload size 1640 Signature of size 1151 Signature at: 40 ./sign-efi-sig-list -c KEK.crt -k KEK.key db ms-kek.esl ms-kek.auth Timestamp is 2024-10-17 15:58:29 Authentication Payload size 1600 Signature of size 1151 Signature at: 40 ./sign-efi-sig-list -a -c PK.crt -k PK.key PK PK.esl PK-update.auth Timestamp is 0-0-0 00:00:00 Authentication Payload size 851 Signature of size 1148 Signature at: 40 ./sign-efi-sig-list -a -c PK.crt -k PK.key PK PK.esl PK-pkupdate.auth Timestamp is 0-0-0 00:00:00 ./sign-efi-sig-list -a -c KEK.crt -k KEK.key dbx PK-blacklist.esl PK-blacklist.auth Authentication Payload size 851 Signature of size 1148 Signature at: 40 ./sign-efi-sig-list -a -c KEK.crt -k KEK.key dbx KEK-blacklist.esl KEK-blacklist.auth Timestamp is 0-0-0 00:00:00 Authentication Payload size 853 Signature of size 1151 Signature at: 40 Timestamp is 0-0-0 00:00:00 ./sign-efi-sig-list -a -c KEK.crt -k KEK.key dbx DB-blacklist.esl DB-blacklist.auth Authentication Payload size 855 Signature of size 1151 Signature at: 40 Timestamp is 0-0-0 00:00:00 ./sign-efi-sig-list -a -c KEK.crt -k KEK.key dbx DB1-blacklist.esl DB1-blacklist.auth Authentication Payload size 853 Signature of size 1151 Signature at: 40 Timestamp is 0-0-0 00:00:00 ./sign-efi-sig-list -a -c KEK.crt -k KEK.key dbx DB2-blacklist.esl DB2-blacklist.auth Authentication Payload size 855 Signature of size 1151 Signature at: 40 Timestamp is 0-0-0 00:00:00 ./sign-efi-sig-list -a -c KEK.crt -k KEK.key dbx ms-uefi-blacklist.esl ms-uefi-blacklist.auth Authentication Payload size 855 Signature of size 1151 Signature at: 40 Timestamp is 0-0-0 00:00:00 ./sign-efi-sig-list -a -c KEK.crt -k KEK.key dbx ms-kek-blacklist.esl ms-kek-blacklist.auth Authentication Payload size 1642 Signature of size 1151 Signature at: 40 Timestamp is 0-0-0 00:00:00 ./sign-efi-sig-list -a -c KEK.crt -k KEK.key dbx PK-hash-blacklist.esl PK-hash-blacklist.auth Authentication Payload size 1602 Signature of size 1151 Signature at: 40 ./sign-efi-sig-list -a -c KEK.crt -k KEK.key dbx KEK-hash-blacklist.esl KEK-hash-blacklist.auth Timestamp is 0-0-0 00:00:00 Authentication Payload size 134 Signature of size 1151 Signature at: 40 ./sign-efi-sig-list -a -c KEK.crt -k KEK.key dbx DB-hash-blacklist.esl DB-hash-blacklist.auth Timestamp is 0-0-0 00:00:00 Authentication Payload size 134 Signature of size 1151 Signature at: 40 Timestamp is 0-0-0 00:00:00 ./sign-efi-sig-list -a -c KEK.crt -k KEK.key dbx DB1-hash-blacklist.esl DB1-hash-blacklist.auth Authentication Payload size 134 Signature of size 1151 Signature at: 40 Timestamp is 0-0-0 00:00:00 ./sign-efi-sig-list -a -c KEK.crt -k KEK.key dbx DB2-hash-blacklist.esl DB2-hash-blacklist.auth Authentication Payload size 134 Signature of size 1151 Signature at: 40 Timestamp is 0-0-0 00:00:00 ./sign-efi-sig-list -a -c KEK.crt -k KEK.key dbx ms-uefi-hash-blacklist.esl ms-uefi-hash-blacklist.auth Authentication Payload size 134 Signature of size 1151 Signature at: 40 ./sign-efi-sig-list -a -c KEK.crt -k KEK.key dbx ms-kek-hash-blacklist.esl ms-kek-hash-blacklist.auth Timestamp is 0-0-0 00:00:00 Authentication Payload size 134 Signature of size 1151 Signature at: 40 sbsign --key DB.key --cert DB.crt --output HelloWorld-signed.efi HelloWorld.efi Timestamp is 0-0-0 00:00:00 Authentication Payload size 134 Signature of size 1151 Signature at: 40 warning: data remaining[53248 vs 53808]: gaps between PE/COFF sections? Signing Unsigned original image ./sign-efi-sig-list -c PK.crt -k PK.key PK PK.esl PK.auth ./xxdi.pl KEK.auth > KEK.h Timestamp is 2024-10-17 15:58:32 Authentication Payload size 851 Signature of size 1148 Signature at: 40 ./xxdi.pl DB.auth > DB.h sbsign --key DB.key --cert DB.crt --output Loader-signed.efi Loader.efi sbsign --key DB.key --cert DB.crt --output ReadVars-signed.efi ReadVars.efi warning: data remaining[73728 vs 74320]: gaps between PE/COFF sections? Signing Unsigned original image sbsign --key DB.key --cert DB.crt --output UpdateVars-signed.efi UpdateVars.efi warning: data remaining[94208 vs 94784]: gaps between PE/COFF sections? Signing Unsigned original image sbsign --key DB.key --cert DB.crt --output KeyTool-signed.efi KeyTool.efi warning: data remaining[69632 vs 70192]: gaps between PE/COFF sections? Signing Unsigned original image sbsign --key DB.key --cert DB.crt --output HashTool-signed.efi HashTool.efi warning: data remaining[98304 vs 98880]: gaps between PE/COFF sections? Signing Unsigned original image sbsign --key DB.key --cert DB.crt --output SetNull-signed.efi SetNull.efi warning: data remaining[73728 vs 74304]: gaps between PE/COFF sections? Signing Unsigned original image sbsign --key DB.key --cert DB.crt --output ShimReplace-signed.efi ShimReplace.efi warning: data remaining[49152 vs 49712]: gaps between PE/COFF sections? Signing Unsigned original image warning: data remaining[73728 vs 74288]: gaps between PE/COFF sections? ./xxdi.pl PK.auth > PK.h Signing Unsigned original image gcc -I/home/buildozer/aports/main/efitools/src/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/arm -I/usr/include/efi/protocol -Os -fstack-clash-protection -Wformat -Werror=format-security -Wno-pointer-sign -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DCONFIG_arm -c LockDown.c -o LockDown.o ld -nostdlib -shared -Bsymbolic /usr/lib/crt0-efi-arm.o -L /usr/lib -L /usr/lib -L /usr/lib64 -T elf_arm_efi.lds --defsym=EFI_SUBSYSTEM=0x0a LockDown.o lib/lib-efi.a -o LockDown.so -lefi -lgnuefi /usr/lib/gcc/armv7-alpine-linux-musleabihf/14.2.0/libgcc.a # check we have no undefined symbols nm -D LockDown.so | grep ' U ' && exit 1 || exit 0 objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym \ -j .rel -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \ -j .reloc -O binary LockDown.so LockDown.efi sbsign --key DB.key --cert DB.crt --output LockDown-signed.efi LockDown.efi warning: data remaining[61440 vs 62096]: gaps between PE/COFF sections? Signing Unsigned original image rm KEK-blacklist.esl SetNull.so KeyTool.o ms-kek.esl DB1.crt DB1.esl PK-hash-blacklist.esl ShimReplace.o ReadVars.o DB2-blacklist.esl ms-kek-blacklist.esl SetNull.o ms-uefi-hash-blacklist.esl HelloWorld.o ms-uefi-blacklist.esl UpdateVars.o KEK-hash-blacklist.esl DB-blacklist.esl HashTool.o DB1-hash-blacklist.esl ms-uefi.esl DB2.esl Loader.o DB2.crt ms-kek-hash-blacklist.esl PK-blacklist.esl DB2-hash-blacklist.esl DB-hash-blacklist.esl DB1-blacklist.esl >>> efitools: Entering fakeroot... make -C lib lib-efi.a make -C lib lib.a make[1]: Entering directory '/home/buildozer/aports/main/efitools/src/efitools-1.9.2/lib' make -C lib/asn1 libasn1-efi.a make[1]: Entering directory '/home/buildozer/aports/main/efitools/src/efitools-1.9.2/lib' make[1]: 'lib-efi.a' is up to date. make[1]: Leaving directory '/home/buildozer/aports/main/efitools/src/efitools-1.9.2/lib' make[1]: Entering directory '/home/buildozer/aports/main/efitools/src/efitools-1.9.2/lib/asn1' make[1]: 'lib.a' is up to date. make[1]: Leaving directory '/home/buildozer/aports/main/efitools/src/efitools-1.9.2/lib' make[1]: 'libasn1-efi.a' is up to date. make[1]: Leaving directory '/home/buildozer/aports/main/efitools/src/efitools-1.9.2/lib/asn1' install -m 755 -d /home/buildozer/aports/main/efitools/pkg/efitools/usr/share/man/man1 install -m 644 doc/cert-to-efi-hash-list.1 doc/cert-to-efi-sig-list.1 doc/efi-readvar.1 doc/efi-updatevar.1 doc/hash-to-efi-sig-list.1 doc/sig-list-to-certs.1 doc/sign-efi-sig-list.1 /home/buildozer/aports/main/efitools/pkg/efitools/usr/share/man/man1 install -m 755 -d /home/buildozer/aports/main/efitools/pkg/efitools/usr/share/efitools/efi install -m 755 HelloWorld.efi LockDown.efi Loader.efi ReadVars.efi UpdateVars.efi KeyTool.efi HashTool.efi SetNull.efi ShimReplace.efi /home/buildozer/aports/main/efitools/pkg/efitools/usr/share/efitools/efi install -m 755 -d /home/buildozer/aports/main/efitools/pkg/efitools/usr/bin install -m 755 cert-to-efi-sig-list sig-list-to-certs sign-efi-sig-list hash-to-efi-sig-list efi-readvar efi-updatevar cert-to-efi-hash-list flash-var /home/buildozer/aports/main/efitools/pkg/efitools/usr/bin install -m 755 mkusb.sh /home/buildozer/aports/main/efitools/pkg/efitools/usr/bin/efitool-mkusb install -m 755 -d /home/buildozer/aports/main/efitools/pkg/efitools/usr/share/efitools install -m 644 README COPYING /home/buildozer/aports/main/efitools/pkg/efitools/usr/share/efitools >>> efitools-doc*: Running split function doc... 'usr/share/man' -> '/home/buildozer/aports/main/efitools/pkg/efitools-doc/usr/share/man' >>> efitools-doc*: Preparing subpackage efitools-doc... >>> efitools-doc*: Running postcheck for efitools-doc >>> efitools*: Running postcheck for efitools >>> efitools*: Preparing package efitools... >>> efitools*: Stripping binaries >>> efitools-doc*: Scanning shared objects libfakeroot internal error: payload not recognized! libfakeroot internal error: payload not recognized! >>> efitools*: Scanning shared objects >>> efitools-doc*: Tracing dependencies... >>> efitools-doc*: Package size: 6.1 KB >>> efitools-doc*: Compressing data... >>> efitools-doc*: Create checksum... >>> efitools-doc*: Create efitools-doc-1.9.2-r11.apk >>> efitools*: Tracing dependencies... mount so:libc.musl-armv7.so.1 so:libcrypto.so.3 >>> efitools*: Package size: 794.7 KB >>> efitools*: Compressing data... >>> efitools*: Create checksum... >>> efitools*: Create efitools-1.9.2-r11.apk >>> efitools: Build complete at Thu, 17 Oct 2024 15:58:35 +0000 elapsed time 0h 0m 33s >>> efitools: Cleaning up srcdir >>> efitools: Cleaning up pkgdir >>> efitools: Uninstalling dependencies... (1/17) Purging .makedepends-efitools (20241017.155803) (2/17) Purging mount (2.40.2-r3) (3/17) Purging gnu-efi-dev (3.0.18-r0) (4/17) Purging gnu-efi (3.0.18-r0) (5/17) Purging openssl-dev (3.3.2-r2) (6/17) Purging perl-file-slurp (9999.32-r3) (7/17) Purging help2man (1.49.3-r0) (8/17) Purging sbsigntool (0.9.5-r2) (9/17) Purging git-perl (2.46.2-r0) (10/17) Purging perl-git (2.46.2-r0) (11/17) Purging perl-error (0.17029-r2) (12/17) Purging perl (5.40.0-r3) (13/17) Purging libbz2 (1.0.8-r6) (14/17) Purging libmount (2.40.2-r3) (15/17) Purging libuuid (2.40.2-r3) (16/17) Purging libblkid (2.40.2-r3) (17/17) Purging libeconf (0.6.3-r0) Executing busybox-1.36.1-r32.trigger OK: 271 MiB in 100 packages >>> efitools: Updating the main/armv7 repository index... >>> efitools: Signing the index...