[Pkg-openssl-devel] Bug#1154852: globalplatform: FTBFS with openssl 4.0

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Sun Nov 22 15:25:36 GMT 2026


Package: globalplatform
Version: 3.0.0+dfsg-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:

|[  2%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/crypto.c.o
|cd /build/reproducible-path/globalplatform-3.0.0+dfsg/globalplatform/src && /usr/bin/x86_64-linux-gnu-gcc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -Dglobalplatform_EXPORTS -I/usr/include/PCSC -I/build/reproducible-path/globalplatform-3.0.0+dfsg/globalplatform/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-3.0.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT globalplatform/src/CMakeFiles/globalplatform.dir/crypto.c.o -MF CMakeFiles/globalplatform.dir/crypto.c.o.d -o CMakeFiles/globalplatform.dir/crypto.c.o -c /build/reproducible-path/globalplatform-3.0.0+dfsg/globalplatform/src/crypto.c
…
|/build/reproducible-path/globalplatform-3.0.0+dfsg/globalplatform/src/crypto.c: In function ‘extract_x509_authority_key_identifier’:
|/build/reproducible-path/globalplatform-3.0.0+dfsg/globalplatform/src/crypto.c:3533:57: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’}
| 3533 |                         || authorityKeyIdentifier->keyid->length <= 0) {
|      |                                                         ^~
|/build/reproducible-path/globalplatform-3.0.0+dfsg/globalplatform/src/crypto.c:3538:49: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’}
| 3538 |         if ((DWORD)authorityKeyIdentifier->keyid->length > *authorityIdentifierLength) {
|      |                                                 ^~
|/build/reproducible-path/globalplatform-3.0.0+dfsg/globalplatform/src/crypto.c:3542:66: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’}
| 3542 |         memcpy(authorityIdentifier, authorityKeyIdentifier->keyid->data,
|      |                                                                  ^~
|/build/reproducible-path/globalplatform-3.0.0+dfsg/globalplatform/src/crypto.c:3543:62: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’}
| 3543 |                         (size_t)authorityKeyIdentifier->keyid->length);
|      |                                                              ^~
|/build/reproducible-path/globalplatform-3.0.0+dfsg/globalplatform/src/crypto.c:3544:74: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’}
| 3544 |         *authorityIdentifierLength = (DWORD)authorityKeyIdentifier->keyid->length;
|      |                                                                          ^~
|/build/reproducible-path/globalplatform-3.0.0+dfsg/globalplatform/src/crypto.c: In function ‘extract_public_ecc_key_from_evp_pkey’:
…
|make[3]: *** [globalplatform/src/CMakeFiles/globalplatform.dir/build.make:110: globalplatform/src/CMakeFiles/globalplatform.dir/crypto.c.o] Error 1
|make[3]: Leaving directory '/build/reproducible-path/globalplatform-3.0.0+dfsg'

Sebastian



More information about the Pkg-openssl-devel mailing list