Your message dated Mon, 05 Jan 2026 22:18:38 +0000
with message-id <[email protected]>
and subject line Bug#1122408: fixed in efitools 1.9.2-3.7
has caused the Debian Bug report #1122408,
regarding efitools: FTBFS: objcopy: HelloWorld.so: file format not recognized
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1122408: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1122408
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:efitools
Version: 1.9.2-3.6
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202512/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:efitools, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_auto_clean
        make -j2 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f PK.* KEK.* DB.* HelloWorld.efi LockDown.efi Loader.efi ReadVars.efi 
UpdateVars.efi KeyTool.efi HashTool.efi SetNull.efi ShimReplace.efi 
HelloWorld-signed.efi LockDown-signed.efi Loader-signed.efi ReadVars-signed.efi 
UpdateVars-signed.efi KeyTool-signed.efi HashTool-signed.efi SetNull-signed.efi 
ShimReplace-signed.efi 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 
*.o *.so
rm -f noPK.*
rm -f doc/*.1
make -C lib clean
make[2]: Entering directory '/<<PKGBUILDDIR>>/lib'
rm -f lib.a
rm -f lib-efi.a
rm -f 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
rm -f 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 
make[2]: Leaving directory '/<<PKGBUILDDIR>>/lib'

[... snipped ...]

x509.c:13:18: warning: pointer targets in initialization of ‘const u_char 
*’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness 
[-Wpointer-sign]
   13 |         { 2,     "serialNumber",                ASN1_INTEGER,           
ASN1_BODY                       }, /*  4 */
      |                  ^~~~~~~~~~~~~~
x509.c:13:18: note: (near initialization for ‘x509_certObjects[4].name’)
x509.c:14:18: warning: pointer targets in initialization of ‘const u_char 
*’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness 
[-Wpointer-sign]
   14 |         { 2,     "signature",                   ASN1_EOC,               
        ASN1_RAW                        }, /*  5 */
      |                  ^~~~~~~~~~~
x509.c:14:18: note: (near initialization for ‘x509_certObjects[5].name’)
x509.c:15:18: warning: pointer targets in initialization of ‘const u_char 
*’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness 
[-Wpointer-sign]
   15 |         { 2,     "issuer",                              ASN1_SEQUENCE,  
        ASN1_OBJ                        }, /*  6 */
      |                  ^~~~~~~~
x509.c:15:18: note: (near initialization for ‘x509_certObjects[6].name’)
x509.c:16:18: warning: pointer targets in initialization of ‘const u_char 
*’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness 
[-Wpointer-sign]
   16 |         { 2,     "validity",                    ASN1_SEQUENCE,          
ASN1_NONE                       }, /*  7 */
      |                  ^~~~~~~~~~
x509.c:16:18: note: (near initialization for ‘x509_certObjects[7].name’)
x509.c:17:20: warning: pointer targets in initialization of ‘const u_char 
*’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness 
[-Wpointer-sign]
   17 |         { 3,       "notBefore",                 ASN1_EOC,               
        ASN1_RAW                        }, /*  8 */
      |                    ^~~~~~~~~~~
x509.c:17:20: note: (near initialization for ‘x509_certObjects[8].name’)
x509.c:18:20: warning: pointer targets in initialization of ‘const u_char 
*’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness 
[-Wpointer-sign]
   18 |         { 3,       "notAfter",                  ASN1_EOC,               
        ASN1_RAW                        }, /*  9 */
      |                    ^~~~~~~~~~
x509.c:18:20: note: (near initialization for ‘x509_certObjects[9].name’)
x509.c:19:18: warning: pointer targets in initialization of ‘const u_char 
*’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness 
[-Wpointer-sign]
   19 |         { 2,     "subject",                             ASN1_SEQUENCE,  
        ASN1_OBJ                        }, /* 10 */
      |                  ^~~~~~~~~
x509.c:19:18: note: (near initialization for ‘x509_certObjects[10].name’)
x509.c:20:18: warning: pointer targets in initialization of ‘const u_char 
*’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness 
[-Wpointer-sign]
   20 |         { 2,     "subjectPublicKeyInfo",ASN1_SEQUENCE,          
ASN1_RAW                        }, /* 11 */
      |                  ^~~~~~~~~~~~~~~~~~~~~~
x509.c:20:18: note: (near initialization for ‘x509_certObjects[11].name’)
x509.c:21:18: warning: pointer targets in initialization of ‘const u_char 
*’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness 
[-Wpointer-sign]
   21 |         { 2,     "issuerUniqueID",              ASN1_CONTEXT_C_1,       
ASN1_OPT                        }, /* 12 */
      |                  ^~~~~~~~~~~~~~~~
x509.c:21:18: note: (near initialization for ‘x509_certObjects[12].name’)
x509.c:22:18: warning: pointer targets in initialization of ‘const u_char 
*’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness 
[-Wpointer-sign]
   22 |         { 2,     "end opt",                             ASN1_EOC,       
                ASN1_END                        }, /* 13 */
      |                  ^~~~~~~~~
x509.c:22:18: note: (near initialization for ‘x509_certObjects[13].name’)
x509.c:23:18: warning: pointer targets in initialization of ‘const u_char 
*’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness 
[-Wpointer-sign]
   23 |         { 2,     "subjectUniqueID",             ASN1_CONTEXT_C_2,       
ASN1_OPT                        }, /* 14 */
      |                  ^~~~~~~~~~~~~~~~~
x509.c:23:18: note: (near initialization for ‘x509_certObjects[14].name’)
x509.c:24:18: warning: pointer targets in initialization of ‘const u_char 
*’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness 
[-Wpointer-sign]
   24 |         { 2,     "end opt",                             ASN1_EOC,       
                ASN1_END                        }, /* 15 */
      |                  ^~~~~~~~~
x509.c:24:18: note: (near initialization for ‘x509_certObjects[15].name’)
x509.c:25:18: warning: pointer targets in initialization of ‘const u_char 
*’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness 
[-Wpointer-sign]
   25 |         { 2,     "optional extensions", ASN1_CONTEXT_C_3,       
ASN1_OPT                        }, /* 16 */
      |                  ^~~~~~~~~~~~~~~~~~~~~
x509.c:25:18: note: (near initialization for ‘x509_certObjects[16].name’)
x509.c:26:20: warning: pointer targets in initialization of ‘const u_char 
*’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness 
[-Wpointer-sign]
   26 |         { 3,       "extensions",                ASN1_SEQUENCE,          
ASN1_LOOP                       }, /* 17 */
      |                    ^~~~~~~~~~~~
x509.c:26:20: note: (near initialization for ‘x509_certObjects[17].name’)
x509.c:27:22: warning: pointer targets in initialization of ‘const u_char 
*’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness 
[-Wpointer-sign]
   27 |         { 4,         "extension",               ASN1_SEQUENCE,          
ASN1_NONE                       }, /* 18 */
      |                      ^~~~~~~~~~~
x509.c:27:22: note: (near initialization for ‘x509_certObjects[18].name’)
x509.c:28:24: warning: pointer targets in initialization of ‘const u_char 
*’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness 
[-Wpointer-sign]
   28 |         { 5,           "extnID",                ASN1_OID,               
        ASN1_BODY                       }, /* 19 */
      |                        ^~~~~~~~
x509.c:28:24: note: (near initialization for ‘x509_certObjects[19].name’)
x509.c:29:24: warning: pointer targets in initialization of ‘const u_char 
*’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness 
[-Wpointer-sign]
   29 |         { 5,           "critical",              ASN1_BOOLEAN,           
ASN1_DEF|ASN1_BODY      }, /* 20 */
      |                        ^~~~~~~~~~
x509.c:29:24: note: (near initialization for ‘x509_certObjects[20].name’)
x509.c:30:24: warning: pointer targets in initialization of ‘const u_char 
*’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness 
[-Wpointer-sign]
   30 |         { 5,           "extnValue",             ASN1_OCTET_STRING,      
ASN1_BODY                       }, /* 21 */
      |                        ^~~~~~~~~~~
x509.c:30:24: note: (near initialization for ‘x509_certObjects[21].name’)
x509.c:31:20: warning: pointer targets in initialization of ‘const u_char 
*’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness 
[-Wpointer-sign]
   31 |         { 3,       "end loop",                  ASN1_EOC,               
        ASN1_END                        }, /* 22 */
      |                    ^~~~~~~~~~
x509.c:31:20: note: (near initialization for ‘x509_certObjects[22].name’)
x509.c:32:18: warning: pointer targets in initialization of ‘const u_char 
*’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness 
[-Wpointer-sign]
   32 |         { 2,     "end opt",                             ASN1_EOC,       
                ASN1_END                        }, /* 23 */
      |                  ^~~~~~~~~
x509.c:32:18: note: (near initialization for ‘x509_certObjects[23].name’)
x509.c:33:16: warning: pointer targets in initialization of ‘const u_char 
*’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness 
[-Wpointer-sign]
   33 |         { 1,   "signatureAlgorithm",    ASN1_EOC,                       
ASN1_RAW                        }, /* 24 */
      |                ^~~~~~~~~~~~~~~~~~~~
x509.c:33:16: note: (near initialization for ‘x509_certObjects[24].name’)
x509.c:34:16: warning: pointer targets in initialization of ‘const u_char 
*’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness 
[-Wpointer-sign]
   34 |         { 1,   "signatureValue",                ASN1_BIT_STRING,        
ASN1_BODY                       }, /* 25 */
      |                ^~~~~~~~~~~~~~~~
x509.c:34:16: note: (near initialization for ‘x509_certObjects[25].name’)
x509.c:35:14: warning: pointer targets in initialization of ‘const u_char 
*’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness 
[-Wpointer-sign]
   35 |         { 0, "exit",                                    ASN1_EOC,       
                ASN1_EXIT                       }
      |              ^~~~~~
x509.c:35:14: note: (near initialization for ‘x509_certObjects[26].name’)
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
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[2]: Leaving directory '/<<PKGBUILDDIR>>/lib/asn1'
cc -I/<<PKGBUILDDIR>>/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 
-I/usr/include/efi/protocol -O2 -g  -fno-stack-protector -fpic -Wall 
-fshort-wchar -fno-strict-aliasing -fno-merge-constants -D_XOPEN_SOURCE=700 
-DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c 
HashTool.c -o HashTool.o
cc -I/<<PKGBUILDDIR>>/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 
-I/usr/include/efi/protocol -O2 -g  -fno-stack-protector -fpic -Wall 
-fshort-wchar -fno-strict-aliasing -fno-merge-constants -D_XOPEN_SOURCE=700 
-DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c 
SetNull.c -o SetNull.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,
      |                            ^~~~~~~~~~
cc -I/<<PKGBUILDDIR>>/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 
-I/usr/include/efi/protocol -O2 -g  -fno-stack-protector -fpic -Wall 
-fshort-wchar -fno-strict-aliasing -fno-merge-constants -D_XOPEN_SOURCE=700 
-DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c 
ShimReplace.c -o ShimReplace.o
cc -I/<<PKGBUILDDIR>>/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 
-I/usr/include/efi/protocol -O2 -g  -fno-stack-protector -fpic -Wall 
-fshort-wchar -fno-strict-aliasing -fno-merge-constants -D_XOPEN_SOURCE=700 
-DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c 
sig-list-to-certs.c -o sig-list-to-certs.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:
/<<PKGBUILDDIR>>/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);
      |                                     ^~~~~~~~
/<<PKGBUILDDIR>>/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);
      |                           ~~~~~~~~^~~~
cc -I/<<PKGBUILDDIR>>/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 
-I/usr/include/efi/protocol -O2 -g  -fno-stack-protector -fpic -Wall 
-fshort-wchar -fno-strict-aliasing -fno-merge-constants -D_XOPEN_SOURCE=700 
-DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c 
hash-to-efi-sig-list.c -o hash-to-efi-sig-list.o
hash-to-efi-sig-list.c: In function ‘main’:
hash-to-efi-sig-list.c:96:60: warning: format ‘%d’ expects argument of type 
‘int’, but argument 3 has type ‘EFI_STATUS’ {aka ‘long unsigned 
int’} [-Wformat=]
   96 |                         printf("Failed to get hash of %s: %d\n", 
argv[i+1],
      |                                                           ~^
      |                                                            |
      |                                                            int
      |                                                           %ld
   97 |                                status);
      |                                ~~~~~~                       
      |                                |
      |                                EFI_STATUS {aka long unsigned int}
cc -I/<<PKGBUILDDIR>>/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 
-I/usr/include/efi/protocol -O2 -g  -fno-stack-protector -fpic -Wall 
-fshort-wchar -fno-strict-aliasing -fno-merge-constants -D_XOPEN_SOURCE=700 
-DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c 
efi-readvar.c -o efi-readvar.o
cc -I/<<PKGBUILDDIR>>/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 
-I/usr/include/efi/protocol -O2 -g  -fno-stack-protector -fpic -Wall 
-fshort-wchar -fno-strict-aliasing -fno-merge-constants -D_XOPEN_SOURCE=700 
-DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c 
efi-updatevar.c -o efi-updatevar.o
cc -I/<<PKGBUILDDIR>>/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 
-I/usr/include/efi/protocol -O2 -g  -fno-stack-protector -fpic -Wall 
-fshort-wchar -fno-strict-aliasing -fno-merge-constants -D_XOPEN_SOURCE=700 
-DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c 
cert-to-efi-hash-list.c -o cert-to-efi-hash-list.o
cert-to-efi-hash-list.c:9:9: warning: ‘_XOPEN_SOURCE’ redefined
    9 | #define _XOPEN_SOURCE
      |         ^~~~~~~~~~~~~
<command-line>: note: this is the location of the previous definition
cc -I/<<PKGBUILDDIR>>/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 
-I/usr/include/efi/protocol -O2 -g  -fno-stack-protector -fpic -Wall 
-fshort-wchar -fno-strict-aliasing -fno-merge-constants -D_XOPEN_SOURCE=700 
-DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c 
flash-var.c -o flash-var.o
> noPK.esl
openssl req -new -x509 -newkey rsa:2048 -subj "/CN=DB1/" -keyout DB1.key -out 
DB1.crt -days 3650 -nodes -sha256
flash-var.c: In function ‘main’:
flash-var.c:185:9: warning: ‘memset’ offset [0, 56] is out of the bounds 
[0, 0] [-Warray-bounds=]
  185 |         memset(vh, 0, sizeof(*vh));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
...........+...+............+...+..........+..+....+...+........+...+.+...+...........+....+...+...+......+...........+....+...............+...+........+.........+.............+++++++++++++++++++++++++++++++++++++++*.+++++++++++++++++++++++++++++++++++++++*...+.....................+.+...............+.....+.........+.........+....+.....+...+.......+..+.+...+.....+................+...+...........+....+........+...+....+......+..+....+...........+...+....+......+.....+....+......+.....+.........+...............+openssl
 req -new -x509 -newkey rsa:2048 -subj "/CN=DB2/" -keyout DB2.key -out DB2.crt 
-days 3650 -nodes -sha256
...+....+...+......+..+...+.........+...+............+...+....+...+...+...+.....+.+...+..+.+..+......+.......+............+..+.........+....+......+.....+......+.+..+.+..............+...+....+......+.......................+......+.+.....+...+.+........+...+...+.......+.....+.........+.+..+.....................+..........+..+..........+...+..............+.+......+......+..+...+....+.....+.++++++++++.+...+..+++++++...+....+.+++++++++++++.++...+++++++*..+......+......+......+.+..+............+.+...............+.......+..+.....++++++++++++++.+++++++++....+++++...+++++.+...++++++++*.....+......+..+....+............+.....+..........+........++.......+...+.+.........+......+..+.........+...+.....+.............+..+...........+..+++++..+...........++
....+.....+.++++++++++++.............+++++++++++++++++++.....++++++++++*.......+..+.........++.+...........+..........+..+...+....+...+.....+...+...+.+..............+....+.....+.........+................+....+.++++++++++++++++++++++++++++++++++++++*..+..........+......+....+.....+.......++.......++......+..........+...+........+............+.+....+..........++....+.......+...+....+.......+......+................+.........+....+...+.......+......+..+...+.............+.+.................+.+...+........+.......+....................+..........+...++.....++...++.......++...++
.........+.+...............+...+.............+..+..+.......+.........+..++++.........+++++++++++++++++++...++++++++++++++++++*..............+.+...........+..........+........+...+...+....+.........+......+.+.............+.+..+............++...+...+.+...+......++++++++++++++++++++++
+++++++++++++++++++*...+......+.........+......+...+...+.........+...+.......+.-----
.....+.....+...++++++
-----
ld -nostdlib -shared -Bsymbolic /lib/crt0-efi-x86_64.o -L /lib -L /usr/lib -L 
/usr/lib64 -T elf_x86_64_efi.lds HelloWorld.o lib/lib-efi.a -o HelloWorld.so 
-lefi -lgnuefi /usr/lib/gcc/x86_64-linux-gnu/15/libgcc.a
cc  -o cert-to-efi-sig-list cert-to-efi-sig-list.o -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wl,-z,relro lib/lib.a -lcrypto
# check we have no undefined symbols
nm -D HelloWorld.so | grep ' U ' && exit 1 || exit 0
cc  -o sign-efi-sig-list sign-efi-sig-list.o -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wl,-z,relro lib/lib.a -lcrypto
ld -nostdlib -shared -Bsymbolic /lib/crt0-efi-x86_64.o -L /lib -L /usr/lib -L 
/usr/lib64 -T elf_x86_64_efi.lds Loader.o lib/lib-efi.a -o Loader.so -lefi 
-lgnuefi /usr/lib/gcc/x86_64-linux-gnu/15/libgcc.a
# check we have no undefined symbols
nm -D Loader.so | grep ' U ' && exit 1 || exit 0
ld -nostdlib -shared -Bsymbolic /lib/crt0-efi-x86_64.o -L /lib -L /usr/lib -L 
/usr/lib64 -T elf_x86_64_efi.lds ReadVars.o lib/lib-efi.a 
lib/asn1/libasn1-efi.a -o ReadVars.so -lefi -lgnuefi 
/usr/lib/gcc/x86_64-linux-gnu/15/libgcc.a
# check we have no undefined symbols
nm -D ReadVars.so | grep ' U ' && exit 1 || exit 0
ld -nostdlib -shared -Bsymbolic /lib/crt0-efi-x86_64.o -L /lib -L /usr/lib -L 
/usr/lib64 -T elf_x86_64_efi.lds UpdateVars.o lib/lib-efi.a -o UpdateVars.so 
-lefi -lgnuefi /usr/lib/gcc/x86_64-linux-gnu/15/libgcc.a
# check we have no undefined symbols
nm -D UpdateVars.so | grep ' U ' && exit 1 || exit 0
ld -nostdlib -shared -Bsymbolic /lib/crt0-efi-x86_64.o -L /lib -L /usr/lib -L 
/usr/lib64 -T elf_x86_64_efi.lds KeyTool.o lib/lib-efi.a lib/asn1/libasn1-efi.a 
-o KeyTool.so -lefi -lgnuefi /usr/lib/gcc/x86_64-linux-gnu/15/libgcc.a
# check we have no undefined symbols
nm -D KeyTool.so | grep ' U ' && exit 1 || exit 0
ld -nostdlib -shared -Bsymbolic /lib/crt0-efi-x86_64.o -L /lib -L /usr/lib -L 
/usr/lib64 -T elf_x86_64_efi.lds HashTool.o lib/lib-efi.a -o HashTool.so -lefi 
-lgnuefi /usr/lib/gcc/x86_64-linux-gnu/15/libgcc.a
# check we have no undefined symbols
nm -D HashTool.so | grep ' U ' && exit 1 || exit 0
ld -nostdlib -shared -Bsymbolic /lib/crt0-efi-x86_64.o -L /lib -L /usr/lib -L 
/usr/lib64 -T elf_x86_64_efi.lds SetNull.o -o SetNull.so -lefi -lgnuefi 
/usr/lib/gcc/x86_64-linux-gnu/15/libgcc.a
# check we have no undefined symbols
nm -D SetNull.so | grep ' U ' && exit 1 || exit 0
ld -nostdlib -shared -Bsymbolic /lib/crt0-efi-x86_64.o -L /lib -L /usr/lib -L 
/usr/lib64 -T elf_x86_64_efi.lds ShimReplace.o lib/lib-efi.a -o ShimReplace.so 
-lefi -lgnuefi /usr/lib/gcc/x86_64-linux-gnu/15/libgcc.a
cc  -o sig-list-to-certs sig-list-to-certs.o -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wl,-z,relro lib/lib.a -lcrypto
# check we have no undefined symbols
nm -D ShimReplace.so | grep ' U ' && exit 1 || exit 0
cc  -o hash-to-efi-sig-list hash-to-efi-sig-list.o -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wl,-z,relro lib/lib.a
cc  -o efi-readvar efi-readvar.o -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wl,-z,relro lib/lib.a -lcrypto
cc  -o efi-updatevar efi-updatevar.o -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wl,-z,relro lib/lib.a -lcrypto
cc  -o cert-to-efi-hash-list cert-to-efi-hash-list.o -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wl,-z,relro lib/lib.a -lcrypto
cc  -o flash-var flash-var.o -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wl,-z,relro lib/lib.a
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
./sign-efi-sig-list -t "2025-12-10 17:30:43" -c PK.crt -k PK.key PK noPK.esl 
noPK.auth
./cert-to-efi-sig-list -g 11111111-2222-3333-4444-123456789abc DB1.crt DB1.esl
Timestamp is 2025-12-10 17:30:43
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 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 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
./cert-to-efi-sig-list PK.crt PK-blacklist.esl
Timestamp is 0-0-0 00:00:00
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
./cert-to-efi-hash-list KEK.crt KEK-hash-blacklist.esl
TimeOfRevocation is 0-0-0 00:00:00
./cert-to-efi-hash-list DB.crt DB-hash-blacklist.esl
TimeOfRevocation is 0-0-0 00:00:00
./cert-to-efi-hash-list DB1.crt DB1-hash-blacklist.esl
TimeOfRevocation is 0-0-0 00:00:00
./cert-to-efi-hash-list DB2.crt DB2-hash-blacklist.esl
TimeOfRevocation is 0-0-0 00:00:00
./cert-to-efi-hash-list ms-uefi.crt ms-uefi-hash-blacklist.esl
TimeOfRevocation is 0-0-0 00:00:00
./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 --target=efi-app-x86_64 HelloWorld.so HelloWorld.efi
./cert-to-efi-sig-list -g 11111111-2222-3333-4444-123456789abc PK.crt PK.esl
objcopy: HelloWorld.so: file format not recognized
make[1]: *** [Make.rules:73: HelloWorld.efi] Error 1
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
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 INSTALL="install --strip-program=true" returned 
exit code 2
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

--- End Message ---
--- Begin Message ---
Source: efitools
Source-Version: 1.9.2-3.7
Done: Bastian Germann <[email protected]>

We believe that the bug you reported is fixed in the latest version of
efitools, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Germann <[email protected]> (supplier of updated efitools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 05 Jan 2026 22:55:31 +0100
Source: efitools
Architecture: source
Version: 1.9.2-3.7
Distribution: unstable
Urgency: medium
Maintainer: Debian UEFI Maintainers <[email protected]>
Changed-By: Bastian Germann <[email protected]>
Closes: 1122408
Changes:
 efitools (1.9.2-3.7) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Use objcopy --output-target instead of --target. (Closes: #1122408)
Checksums-Sha1:
 db7e05c230925894166cae8892be17d708bd361a 1889 efitools_1.9.2-3.7.dsc
 953d503cab08b19afa06bd5c7fce4a3dbf3ebd90 9396 efitools_1.9.2-3.7.debian.tar.xz
 25e3f4948cd13c3fcb2540b755a07e8dad2eef5b 5822 
efitools_1.9.2-3.7_source.buildinfo
Checksums-Sha256:
 66da40ba7fa45e1dc3deb15ad497a9c66bc7f8042edf3a8255b7f7ce3ec6a762 1889 
efitools_1.9.2-3.7.dsc
 0eb875577630315482393bec6573b986ae568ad032c9147f98e97ff689b28960 9396 
efitools_1.9.2-3.7.debian.tar.xz
 ced5d198e599dbccd5adeec66bb520a6259941f1feb55f54c55d3f48e367dfb0 5822 
efitools_1.9.2-3.7_source.buildinfo
Files:
 77380fbb946fd2df8936ebd0060da229 1889 admin optional efitools_1.9.2-3.7.dsc
 ae6e14859a4d80960e624d8b540a6037 9396 admin optional 
efitools_1.9.2-3.7.debian.tar.xz
 431db2e3c163c67e03b00448a941c645 5822 admin optional 
efitools_1.9.2-3.7_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmlcNGUQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFISyDACOA7Sw7wzK79g/r3Ixs8ldXB1m2TTD5X4y
Nn+B8fRYvqayjGt2wA7MYHFyOpHYrcJHXaEpwmeiJjWLy4nh6ZuL/r0VJ6GyeO/L
KlQNzMMJVqNEDvzJ6wkOF40Gq2lhTUzbrE350Gf7IsOPP5NSjj/4GbvDHq7D1Td6
evtaDxOc7hmo/TpXO5EzKHymYJFSMBlrCTwKSOB7mnyFowTvyzcrifKuKHZlTRxj
tkj1SzJ6riR0L+JdSrq/8/Si1tG7DHXP73lSdVM4V2qsY/0xLrzE2dAjDeLikSM4
2UJyy8+9gLtlhA33AGK8rJcQjA8dZSIlAj+0d+zhiZxaYFEib6acA0q+S/02ug+5
eq3TrpKOzAcsHm3qASbYol+PH9SRbhsP5u91qUevZkqv1qJU1varjYYFcnmHB4pA
/dY3mQPrUEtecZ3rnw2ooZ60bnNs5qAhRQwXG/mixBJ3tcx/eCgGtJKtOcUIG04E
Pw/6f1efcjytKBsKn+deXvL0eWA7Jhk=
=kQ+Z
-----END PGP SIGNATURE-----

Attachment: pgpZAsolKLRfu.pgp
Description: PGP signature


--- End Message ---

Reply via email to