Public bug reported:

Imported from Debian bug http://bugs.debian.org/1138331:

Package: tpm2-openssl
Version: 1.3.0-1
Severity: normal
Tags: sid
control: affects -1 src:openssl
User: [email protected]
Usertags: openssl-4.0

OpenSSL 4.0 is in experimental. This package fails to build against it:

| libtool: compile:  gcc -DPACKAGE_NAME=\"tpm2-openssl\" 
-DPACKAGE_TARNAME=\"tpm2-openssl\" -DPACKAGE_VERSION=\"1.3.0\" 
"-DPACKAGE_STRING=\"tpm2-openssl 1.3.0\"" 
-DPACKAGE_BUGREPORT=\"https://github.com/tpm2-software/tpm2-openssl/issues\"; 
-DPACKAGE_URL=\"https://github.com/tpm2-software/tpm2-openssl\"; 
-DPACKAGE=\"tpm2-openssl\" -DVERSION=\"1.3.0\" -DNDEBUG=1 -DHAVE_STDIO_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
-DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 
-DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DWITH_TSS2_RC=1 -I. 
-Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/tss2 -I/usr/include/tss2 -Werror 
-Wall -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/tpm2-openssl-1.3.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -c src/tpm2-provider-pkey.c  -fPIC 
-DPIC -o src/.libs/tpm2_la-tpm2-provider-pkey.o
| src/tpm2-provider-pkey.c: In function 'tpm2_keydata_read':
| src/tpm2-provider-pkey.c:152:53: error: invalid use of incomplete typedef 
'ASN1_OCTET_STRING' {aka 'struct asn1_string_st'}
|   152 |     if (Tss2_MU_TPM2B_PRIVATE_Unmarshal(tpk->privkey->data,
|       |                                                     ^~
| src/tpm2-provider-pkey.c:153:53: error: invalid use of incomplete typedef 
'ASN1_OCTET_STRING' {aka 'struct asn1_string_st'}
|   153 |                                         tpk->privkey->length, NULL,
|       |                                                     ^~
| src/tpm2-provider-pkey.c:157:51: error: invalid use of incomplete typedef 
'ASN1_OCTET_STRING' {aka 'struct asn1_string_st'}
|   157 |     if (Tss2_MU_TPM2B_PUBLIC_Unmarshal(tpk->pubkey->data,
|       |                                                   ^~
| src/tpm2-provider-pkey.c:158:51: error: invalid use of incomplete typedef 
'ASN1_OCTET_STRING' {aka 'struct asn1_string_st'}
|   158 |                                        tpk->pubkey->length, NULL,
|       |                                                   ^~
| make[1]: *** [Makefile:1070: src/tpm2_la-tpm2-provider-pkey.lo] Error 1


Full buildlog
        
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/tpm2-openssl_1.3.0-1_amd64-2026-04-19T07:51:35Z

Sebastian

** Affects: tpm2-openssl (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: tpm2-openssl (Debian)
     Importance: Undecided
         Status: New

** Bug watch added: Debian Bug tracker #1138331
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1138331

** Changed in: tpm2-openssl (Debian)
 Remote watch: None => Debian Bug tracker #1138331

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2154878

Title:
  tpm2-openssl: FTBFS with openssl 4.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tpm2-openssl/+bug/2154878/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to