[Pkg-openssl-devel] Bug#1138445: tpm2-pkcs11: FTBFS with openssl 4.0

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Sat May 30 17:16:04 BST 2026


Package: tpm2-pkcs11
Version: 1.9.1-0.2
Severity: normal
Tags: sid
control: affects -1 src:openssl
User: pkg-openssl-devel at lists.alioth.debian.org
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



More information about the Pkg-openssl-devel mailing list