Public bug reported: Imported from Debian bug http://bugs.debian.org/1138361:
Package: tpm2-tools Version: 5.7-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: | gcc -DHAVE_CONFIG_H -I. -I./lib -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tools-5.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o lib/libcommon_a-object.o `test -f 'lib/object.c' || echo './'`lib/object.c | lib/object.c: In function ‘tpm2_util_object_fetch_priv_pub_from_tpk’: | lib/object.c:254:30: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’} | 254 | int pub_len = tpk->pubkey->length; | | ^~ | lib/object.c:255:32: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’} | 255 | int priv_len = tpk->privkey->length; | | ^~ | lib/object.c:261:52: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’} | 261 | rc = Tss2_MU_TPM2B_PUBLIC_Unmarshal(tpk->pubkey->data, pub_len, | | ^~ | lib/object.c:268:54: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’} | 268 | rc = Tss2_MU_TPM2B_PRIVATE_Unmarshal(tpk->privkey->data, priv_len, | | ^~ | make[1]: *** [Makefile:2748: lib/libcommon_a-object.o] Error 1 Full buildlog https://breakpoint.cc/openssl-rebuild/logs-4/attempted/tpm2-tools_5.7-1_amd64-2026-04-19T11:05:54Z Sebastian ** Affects: tpm2-tools (Ubuntu) Importance: Undecided Status: New ** Affects: tpm2-tools (Debian) Importance: Undecided Status: New ** Tags: ftbfs openssl-4.0 ** Bug watch added: Debian Bug tracker #1138361 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1138361 ** Changed in: tpm2-tools (Debian) Remote watch: None => Debian Bug tracker #1138361 ** Tags added: ftbfs openssl-4.0 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2154909 Title: tpm2-tools: FTBFS with openssl 4.0 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/tpm2-tools/+bug/2154909/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
