Public bug reported:

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

Package: tpm2-pkcs11
Version: 1.9.1-0.2
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 -DHAVE_CONFIG_H -I. -I./src/lib -Wdate-time 
-D_FORTIFY_SOURCE=2 -I./src -I./src/lib -Wall -Wextra -Wformat 
-Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 
-O2 -fPIC -fdata-sections -ffunction-sections -I/usr/include/tss2 
-I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -pthread -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/tpm2-pkcs11-1.9.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -c src/lib/ssl_util.c  -fPIC -DPIC -o 
src/lib/.libs/ssl_util.o
| src/lib/ssl_util.c: In function 'get_EC_evp_pubkey':
| src/lib/ssl_util.c:201:19: error: invalid use of incomplete typedef 
'ASN1_OCTET_STRING' {aka 'struct asn1_string_st'}
|   201 |                 os->data, os->length) != 1) {
|       |                   ^~
| src/lib/ssl_util.c:201:29: error: invalid use of incomplete typedef 
'ASN1_OCTET_STRING' {aka 'struct asn1_string_st'}
|   201 |                 os->data, os->length) != 1) {
|       |                             ^~
| make[1]: *** [Makefile:2076: src/lib/ssl_util.lo] Error 1


Full buildlog
        
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/tpm2-pkcs11_1.9.1-0.2_amd64-2026-04-19T09:02:50Z

Sebastian

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

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

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

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

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

Title:
  tpm2-pkcs11: FTBFS with openssl 4.0

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


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

Reply via email to