[Pkg-openssl-devel] Bug#1137599: qtbase-opensource-src: FTBFS with openssl 4.0
Sebastian Andrzej Siewior
sebastian at breakpoint.cc
Mon May 25 17:41:21 BST 2026
Package: qtbase-opensource-src
Version: 5.15.17+dfsg-7
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:
| ssl/qsslsocket_openssl_symbols.cpp: In function ‘QDateTime q_getTimeFromASN1(const ASN1_TIME*)’:
| ssl/qsslsocket_openssl_symbols.cpp:1257:31: error: invalid use of incomplete type ‘const ASN1_TIME’ {aka ‘const struct asn1_string_st’}
| 1257 | size_t lTimeLength = aTime->length;
| | ^~
| In file included from /usr/include/openssl/crypto.h:38,
| from /usr/include/openssl/comp.h:25,
| from /usr/include/openssl/ssl.h:31,
| from ../../include/QtNetwork/5.15.17/QtNetwork/private/../../../../../src/network/ssl/qsslcontext_openssl_p.h:60,
| from ../../include/QtNetwork/5.15.17/QtNetwork/private/qsslcontext_openssl_p.h:1,
| from ssl/qsslsocket_p.h:63,
| from ssl/qsslsocket_openssl_p.h:70,
| from ssl/qsslsocket_openssl_symbols_p.h:72,
| from ssl/qsslsocket_openssl_symbols.cpp:58:
| /usr/include/openssl/types.h:57:16: note: forward declaration of ‘ASN1_TIME’ {aka ‘struct asn1_string_st’}
| 57 | typedef struct asn1_string_st ASN1_INTEGER;
| | ^~~~~~~~~~~~~~
| ssl/qsslsocket_openssl_symbols.cpp:1258:35: error: invalid use of incomplete type ‘const ASN1_TIME’ {aka ‘const struct asn1_string_st’}
| 1258 | char *pString = (char *) aTime->data;
| | ^~
| /usr/include/openssl/types.h:57:16: note: forward declaration of ‘ASN1_TIME’ {aka ‘struct asn1_string_st’}
| 57 | typedef struct asn1_string_st ASN1_INTEGER;
| | ^~~~~~~~~~~~~~
| ssl/qsslsocket_openssl_symbols.cpp:1263:14: error: invalid use of incomplete type ‘const ASN1_TIME’ {aka ‘const struct asn1_string_st’}
| 1263 | if (aTime->type == V_ASN1_UTCTIME) {
| | ^~
| /usr/include/openssl/types.h:57:16: note: forward declaration of ‘ASN1_TIME’ {aka ‘struct asn1_string_st’}
| 57 | typedef struct asn1_string_st ASN1_INTEGER;
| | ^~~~~~~~~~~~~~
| ssl/qsslsocket_openssl_symbols.cpp:1336:21: error: invalid use of incomplete type ‘const ASN1_TIME’ {aka ‘const struct asn1_string_st’}
| 1336 | } else if (aTime->type == V_ASN1_GENERALIZEDTIME) {
| | ^~
| /usr/include/openssl/types.h:57:16: note: forward declaration of ‘ASN1_TIME’ {aka ‘struct asn1_string_st’}
| 57 | typedef struct asn1_string_st ASN1_INTEGER;
| | ^~~~~~~~~~~~~~
| ssl/qsslsocket_openssl_symbols.cpp:1261:5: warning: control reaches end of non-void function [-Wreturn-type]
| 1261 | };
| | ^
| make[4]: *** [Makefile:28154: .obj/qsslsocket_openssl_symbols.o] Error 1
| make[4]: Leaving directory '/build/reproducible-path/qtbase-opensource-src-5.15.17+dfsg/src/network'
Full buildlog
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/qtbase-opensource-src_5.15.17+dfsg-7_amd64-2026-04-19T12:59:23Z
Sebastian
More information about the Pkg-openssl-devel
mailing list