Public bug reported: Imported from Debian bug http://bugs.debian.org/1138378:
Package: tpm2-tss-engine Version: 1.2.0-4 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 -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c src/tpm2-tss-engine-common.c -fPIC -DPIC -o src/.libs/libtpm2tss_la-tpm2-tss-engine-common.o | src/tpm2-tss-engine-common.c: In function 'tpm2tss_tpm2data_readtpm': | src/tpm2-tss-engine-common.c:263:9: warning: 'RAND_get_rand_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] | 263 | const RAND_METHOD *rand_save = RAND_get_rand_method(); | | ^~~~~ | In file included from /usr/include/openssl/engine.h:94, | from src/tpm2-tss-engine-common.c:39: | /usr/include/openssl/rand.h:50:42: note: declared here | 50 | OSSL_DEPRECATEDIN_3_0 const RAND_METHOD *RAND_get_rand_method(void); | | ^~~~~~~~~~~~~~~~~~~~ | src/tpm2-tss-engine-common.c:267:9: warning: 'RAND_set_rand_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] | 267 | RAND_set_rand_method(RAND_OpenSSL()); | | ^~~~~~~~~~~~~~~~~~~~ | /usr/include/openssl/rand.h:49:27: note: declared here | 49 | OSSL_DEPRECATEDIN_3_0 int RAND_set_rand_method(const RAND_METHOD *meth); | | ^~~~~~~~~~~~~~~~~~~~ | src/tpm2-tss-engine-common.c:267:9: warning: 'RAND_OpenSSL' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] | 267 | RAND_set_rand_method(RAND_OpenSSL()); | | ^~~~~~~~~~~~~~~~~~~~ | /usr/include/openssl/rand.h:52:36: note: declared here | 52 | OSSL_DEPRECATEDIN_3_0 RAND_METHOD *RAND_OpenSSL(void); | | ^~~~~~~~~~~~ | src/tpm2-tss-engine-common.c:296:9: warning: 'RAND_set_rand_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] | 296 | RAND_set_rand_method(rand_save); | | ^~~~~~~~~~~~~~~~~~~~ | /usr/include/openssl/rand.h:49:27: note: declared here | 49 | OSSL_DEPRECATEDIN_3_0 int RAND_set_rand_method(const RAND_METHOD *meth); | | ^~~~~~~~~~~~~~~~~~~~ | src/tpm2-tss-engine-common.c: In function 'tpm2tss_tpm2data_read': | src/tpm2-tss-engine-common.c:393:53: error: invalid use of incomplete typedef 'ASN1_OCTET_STRING' {aka 'struct asn1_string_st'} | 393 | r = Tss2_MU_TPM2B_PRIVATE_Unmarshal(tpk->privkey->data, | | ^~ | src/tpm2-tss-engine-common.c:394:53: error: invalid use of incomplete typedef 'ASN1_OCTET_STRING' {aka 'struct asn1_string_st'} | 394 | tpk->privkey->length, NULL, | | ^~ | src/tpm2-tss-engine-common.c:400:51: error: invalid use of incomplete typedef 'ASN1_OCTET_STRING' {aka 'struct asn1_string_st'} | 400 | r = Tss2_MU_TPM2B_PUBLIC_Unmarshal(tpk->pubkey->data, tpk->pubkey->length, | | ^~ | src/tpm2-tss-engine-common.c:400:70: error: invalid use of incomplete typedef 'ASN1_OCTET_STRING' {aka 'struct asn1_string_st'} | 400 | r = Tss2_MU_TPM2B_PUBLIC_Unmarshal(tpk->pubkey->data, tpk->pubkey->length, | | ^~ | make[1]: *** [Makefile:1165: src/libtpm2tss_la-tpm2-tss-engine-common.lo] Error 1 | make[1]: Leaving directory '/build/reproducible-path/tpm2-tss-engine-1.2.0' Full buildlog https://breakpoint.cc/openssl-rebuild/logs-4/attempted/tpm2-tss-engine_1.2.0-4_amd64-2026-04-19T13:42:13Z Sebastian ** Affects: tpm2-tss-engine (Ubuntu) Importance: Undecided Status: New ** Affects: tpm2-tss-engine (Debian) Importance: Undecided Status: New ** Tags: ftbfs openssl-4.0 ** Bug watch added: Debian Bug tracker #1138378 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1138378 ** Changed in: tpm2-tss-engine (Debian) Remote watch: None => Debian Bug tracker #1138378 ** 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/2154926 Title: tpm2-tss-engine: FTBFS with openssl 4.0 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/tpm2-tss-engine/+bug/2154926/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
