Package: qtbase-opensource-src-gles
Version: 5.15.17+dfsg-2
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:

| g++ -c -include .pch/Qt5Network -g -O2 
-ffile-prefix-map=/build/reproducible-path/qtbase-opensource-src-gles-5.15.17+dfsg=.
 -fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
-DOPENSSL_API_COMPAT=0x10100000L -O2 -std=c++1z -fvisibility=hidden 
-fvisibility-inlines-hidden -fno-exceptions -Wall -Wextra -Wvla -Wdate-time 
-Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow 
-Wno-format-overflow -D_REENTRANT -fPIC -DQT_NO_LINKED_LIST 
-DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH 
-DQT_USE_SYSTEM_PROXIES -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT 
-DQT_BUILD_NETWORK_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII 
-DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER 
-DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 
-DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_NO_EXCEPTIONS 
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -I. 
-Ikernel -I../../include -I../../include/QtNetwork 
-I../../include/QtNetwork/5.15.17 -I../../include/QtNetwork/5.15.17/QtNetwork 
-I../../include/QtCore/5.15.17 -I../../include/QtCore/5.15.17/QtCore 
-I../../include/QtCore -I.moc -I../../mkspecs/linux-g++ -o 
.obj/qsslsocket_openssl_symbols.o ssl/qsslsocket_openssl_symbols.cpp
| 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-gles-5.15.17+dfsg/src/network'

Full buildlog
        
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/qtbase-opensource-src-gles_5.15.17+dfsg-2_amd64-2026-04-19T11:12:34Z

Sebastian

Reply via email to