Package: qt6-base
Version: 6.10.2+dfsg-7
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:
| /usr/bin/c++ -DOPENSSL_API_COMPAT=0x10100000L -DQT_CORE_LIB
-DQT_DEPRECATED_WARNINGS -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH
-DQT_LEAN_HEADERS=1 -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS
-DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS
-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_QASCONST -DQT_NO_QEXCHANGE
-DQT_NO_QSNPRINTF -DQT_NO_STD_FORMAT_SUPPORT -DQT_PLUGIN
-DQT_USE_QSTRINGBUILDER -DQTlsBackendOpenSSLPlugin_EXPORTS
-D_GLIBCXX_ASSERTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
-I/build/reproducible-path/qt6-base-6.10.2+dfsg/obj-x86_64-linux-gnu/src/plugins/tls/openssl/QTlsBackendOpenSSLPlugin_autogen/include
-I/build/reproducible-path/qt6-base-6.10.2+dfsg/src/plugins/tls/openssl
-I/build/reproducible-path/qt6-base-6.10.2+dfsg/obj-x86_64-linux-gnu/src/plugins/tls/openssl
-I/build/reproducible-path/qt6-base-6.10.2+dfsg/obj-x86_64-linux-gnu/include
-I/build/reproducible-path/qt6-base-6.10.2+dfsg/obj-x86_64-linux-gnu/include/QtNetwork
-I/build/reproducible-path/qt6-base-6.10.2+dfsg/obj-x86_64-linux-gnu/include/QtCore
-I/build/reproducible-path/qt6-base-6.10.2+dfsg/mkspecs/linux-g++
-I/build/reproducible-path/qt6-base-6.10.2+dfsg/obj-x86_64-linux-gnu/src/network
-I/build/reproducible-path/qt6-base-6.10.2+dfsg/obj-x86_64-linux-gnu/include/QtNetwork/6.10.2
-I/build/reproducible-path/qt6-base-6.10.2+dfsg/obj-x86_64-linux-gnu/include/QtNetwork/6.10.2/QtNetwork
-I/build/reproducible-path/qt6-base-6.10.2+dfsg/obj-x86_64-linux-gnu/src/corelib
-I/build/reproducible-path/qt6-base-6.10.2+dfsg/obj-x86_64-linux-gnu/include/QtCore/6.10.2
-I/build/reproducible-path/qt6-base-6.10.2+dfsg/obj-x86_64-linux-gnu/include/QtCore/6.10.2/QtCore
-g -O2 -ffile-prefix-map=/build/reproducible-path/qt6-base-6.10.2+dfsg=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection
-Wformat -Werror=format-security -fcf-protection -Wdate-time
-D_FORTIFY_SOURCE=2 -std=gnu++17 -fPIC -fvisibility=hidden
-fvisibility-inlines-hidden -Wall -Wextra -Wno-expansion-to-defined
-U_FORTIFY_SOURCE -Wsuggest-override -fcf-protection=full -D_FORTIFY_SOURCE=2
-ftrivial-auto-var-init=pattern -fstack-protector-strong
-fstack-clash-protection -fno-exceptions -MD -MT
src/plugins/tls/openssl/CMakeFiles/QTlsBackendOpenSSLPlugin.dir/qx509_openssl.cpp.o
-MF
src/plugins/tls/openssl/CMakeFiles/QTlsBackendOpenSSLPlugin.dir/qx509_openssl.cpp.o.d
-o
src/plugins/tls/openssl/CMakeFiles/QTlsBackendOpenSSLPlugin.dir/qx509_openssl.cpp.o
-c
/build/reproducible-path/qt6-base-6.10.2+dfsg/src/plugins/tls/openssl/qx509_openssl.cpp
|
/build/reproducible-path/qt6-base-6.10.2+dfsg/src/plugins/tls/openssl/qx509_openssl.cpp:
In function ‘QVariant
QTlsPrivate::{anonymous}::x509ExtensionToValue(X509_EXTENSION*)’:
|
/build/reproducible-path/qt6-base-6.10.2+dfsg/src/plugins/tls/openssl/qx509_openssl.cpp:333:80:
error: invalid use of incomplete type ‘ASN1_OCTET_STRING’ {aka ‘struct
asn1_string_st’}
| 333 | QByteArray keyid(reinterpret_cast<const char
*>(auth_key->keyid->data),
| |
^~
| In file included from /usr/include/openssl/crypto.h:38,
| from /usr/include/openssl/bio.h:32,
| from /usr/include/openssl/asn1.h:32,
| from
/build/reproducible-path/qt6-base-6.10.2+dfsg/src/plugins/tls/openssl/qopenssl_p.h:52,
| from
/build/reproducible-path/qt6-base-6.10.2+dfsg/src/plugins/tls/openssl/qsslsocket_openssl_symbols_p.h:38,
| from
/build/reproducible-path/qt6-base-6.10.2+dfsg/src/plugins/tls/openssl/qx509_openssl.cpp:5:
| /usr/include/openssl/types.h:57:16: note: forward declaration of
‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’}
| 57 | typedef struct asn1_string_st ASN1_INTEGER;
| | ^~~~~~~~~~~~~~
|
/build/reproducible-path/qt6-base-6.10.2+dfsg/src/plugins/tls/openssl/qx509_openssl.cpp:334:49:
error: invalid use of incomplete type ‘ASN1_OCTET_STRING’ {aka ‘struct
asn1_string_st’}
| 334 | auth_key->keyid->length);
| | ^~
| /usr/include/openssl/types.h:57:16: note: forward declaration of
‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’}
| 57 | typedef struct asn1_string_st ASN1_INTEGER;
| | ^~~~~~~~~~~~~~
|
/build/reproducible-path/qt6-base-6.10.2+dfsg/src/plugins/tls/openssl/qx509_openssl.cpp:
In member function ‘virtual QMultiMap<QSsl::AlternativeNameEntryType,
QString> QTlsPrivate::X509CertificateOpenSSL::subjectAlternativeNames()
const’:
|
/build/reproducible-path/qt6-base-6.10.2+dfsg/src/plugins/tls/openssl/qx509_openssl.cpp:468:106:
error: invalid use of incomplete type ‘ASN1_OCTET_STRING’ {aka ‘struct
asn1_string_st’}
| 468 | ipAddress =
QHostAddress(qFromBigEndian(*reinterpret_cast<quint32
*>(genName->d.iPAddress->data)));
| |
^~
| /usr/include/openssl/types.h:57:16: note: forward declaration of
‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’}
| 57 | typedef struct asn1_string_st ASN1_INTEGER;
| | ^~~~~~~~~~~~~~
|
/build/reproducible-path/qt6-base-6.10.2+dfsg/src/plugins/tls/openssl/qx509_openssl.cpp:471:89:
error: invalid use of incomplete type ‘ASN1_OCTET_STRING’ {aka ‘struct
asn1_string_st’}
| 471 | ipAddress = QHostAddress(reinterpret_cast<quint8
*>(genName->d.iPAddress->data));
| |
^~
| /usr/include/openssl/types.h:57:16: note: forward declaration of
‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’}
| 57 | typedef struct asn1_string_st ASN1_INTEGER;
| | ^~~~~~~~~~~~~~
|
/build/reproducible-path/qt6-base-6.10.2+dfsg/src/plugins/tls/openssl/qx509_openssl.cpp:
In static member function ‘static QSslCertificate
QTlsPrivate::X509CertificateOpenSSL::certificateFromX509(X509*)’:
|
/build/reproducible-path/qt6-base-6.10.2+dfsg/src/plugins/tls/openssl/qx509_openssl.cpp:565:39:
error: invalid use of incomplete type ‘ASN1_INTEGER’ {aka ‘struct
asn1_string_st’}
| 565 | hexString.reserve(serialNumber->length * 3);
| | ^~
| /usr/include/openssl/types.h:57:16: note: forward declaration of
‘ASN1_INTEGER’ {aka ‘struct asn1_string_st’}
| 57 | typedef struct asn1_string_st ASN1_INTEGER;
| | ^~~~~~~~~~~~~~
|
/build/reproducible-path/qt6-base-6.10.2+dfsg/src/plugins/tls/openssl/qx509_openssl.cpp:566:41:
error: invalid use of incomplete type ‘ASN1_INTEGER’ {aka ‘struct
asn1_string_st’}
| 566 | for (int a = 0; a < serialNumber->length; ++a) {
| | ^~
| /usr/include/openssl/types.h:57:16: note: forward declaration of
‘ASN1_INTEGER’ {aka ‘struct asn1_string_st’}
| 57 | typedef struct asn1_string_st ASN1_INTEGER;
| | ^~~~~~~~~~~~~~
|
/build/reproducible-path/qt6-base-6.10.2+dfsg/src/plugins/tls/openssl/qx509_openssl.cpp:567:57:
error: invalid use of incomplete type ‘ASN1_INTEGER’ {aka ‘struct
asn1_string_st’}
| 567 | hexString += QByteArray::number(serialNumber->data[a],
16).rightJustified(2, '0');
| | ^~
| /usr/include/openssl/types.h:57:16: note: forward declaration of
‘ASN1_INTEGER’ {aka ‘struct asn1_string_st’}
| 57 | typedef struct asn1_string_st ASN1_INTEGER;
| | ^~~~~~~~~~~~~~
| ninja: build stopped: subcommand failed.
| dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j1 -v
returned exit code 1
Full buildlog
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/qt6-base_6.10.2+dfsg-7_amd64-2026-04-19T09:54:11Z
Sebastian