Public bug reported:

Imported from Debian bug http://bugs.debian.org/1138313:

Package: qca2
Version: 2.3.10-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:

| cd /build/reproducible-path/qca2-2.3.10/build/plugins/qca-ossl && 
/usr/bin/c++ -DHAVE_OPENSSL_AES_CCM -DHAVE_OPENSSL_AES_CTR 
-DHAVE_OPENSSL_AES_GCM 
-DQCA_SYSTEMSTORE_PATH=\"/etc/ssl/certs/ca-certificates.crt\" -DQT_CORE_LIB 
-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII 
-DQT_NO_DEBUG -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT 
-DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING 
-DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -D_DEFAULT_SOURCE 
-Dqca_ossl_EXPORTS 
-I/build/reproducible-path/qca2-2.3.10/build/plugins/qca-ossl 
-I/build/reproducible-path/qca2-2.3.10/plugins/qca-ossl 
-I/build/reproducible-path/qca2-2.3.10/build/plugins/qca-ossl/qca-ossl_autogen/include
 -I/build/reproducible-path/qca2-2.3.10/include/QtCrypto 
-I/build/reproducible-path/qca2-2.3.10/build -isystem 
/usr/include/x86_64-linux-gnu/qt5 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore -isystem 
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -g -O2 
-ffile-prefix-map=/build/reproducible-path/qca2-2.3.10=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fvisibility=hidden 
-fvisibility-inlines-hidden -Wdate-time -D_FORTIFY_SOURCE=2 -Wcast-align 
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wchar-subscripts -Wall -W 
-Wpointer-arith -Wwrite-strings -Wformat-security -fno-check-new -fno-common 
-Wsuggest-override -Wlogical-op -std=gnu++17 -fPIC -fPIC -MD -MT 
plugins/qca-ossl/CMakeFiles/qca-ossl.dir/qca-ossl.cpp.o -MF 
CMakeFiles/qca-ossl.dir/qca-ossl.cpp.o.d -o 
CMakeFiles/qca-ossl.dir/qca-ossl.cpp.o -c 
/build/reproducible-path/qca2-2.3.10/plugins/qca-ossl/qca-ossl.cpp
| /build/reproducible-path/qca2-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In member 
function ‘void {anonymous}::DsaDeleter::operator()(DSA*)’:
| /build/reproducible-path/qca2-2.3.10/plugins/qca-ossl/qca-ossl.cpp:58:21: 
warning: ‘void DSA_free(DSA*)’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
|    58 |             DSA_free(pointer);
|       |             ~~~~~~~~^~~~~~~~~
| In file included from /usr/include/openssl/x509.h:39,
|                  from /usr/include/openssl/pem.h:23,
|                  from 
/build/reproducible-path/qca2-2.3.10/plugins/qca-ossl/qca-ossl.cpp:39:
| /usr/include/openssl/dsa.h:131:28: note: declared here
|   131 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
|       |                            ^~~~~~~~
| /build/reproducible-path/qca2-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In 
function ‘void opensslQCAPlugin::try_get_name_item(X509_NAME*, int, const 
QCA::CertificateInfoType&, QCA::CertificateInfo*)’:
| /build/reproducible-path/qca2-2.3.10/plugins/qca-ossl/qca-ossl.cpp:312:52: 
error: invalid conversion from ‘const X509_NAME_ENTRY*’ {aka ‘const 
X509_name_entry_st*’} to ‘X509_NAME_ENTRY*’ {aka 
‘X509_name_entry_st*’} [-fpermissive]
|   312 |         X509_NAME_ENTRY *ne   = X509_NAME_get_entry(name, loc);
|       |                                 ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
|       |                                                    |
|       |                                                    const 
X509_NAME_ENTRY* {aka const X509_name_entry_st*}
| /build/reproducible-path/qca2-2.3.10/plugins/qca-ossl/qca-ossl.cpp:313:57: 
error: invalid conversion from ‘const ASN1_STRING*’ {aka ‘const 
asn1_string_st*’} to ‘ASN1_STRING*’ {aka ‘asn1_string_st*’} 
[-fpermissive]
|   313 |         ASN1_STRING     *data = X509_NAME_ENTRY_get_data(ne);
|       |                                 ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
|       |                                                         |
|       |                                                         const 
ASN1_STRING* {aka const asn1_string_st*}
| /build/reproducible-path/qca2-2.3.10/plugins/qca-ossl/qca-ossl.cpp:314:47: 
error: invalid use of incomplete type ‘ASN1_STRING’ {aka ‘struct 
asn1_string_st’}
|   314 |         QByteArray       cs((const char *)data->data, data->length);
|       |                                               ^~
| In file included from /usr/include/openssl/evp.h:26,
|                  from 
/build/reproducible-path/qca2-2.3.10/plugins/qca-ossl/qca-ossl.cpp:29:
| /usr/include/openssl/types.h:57:16: note: forward declaration of 
‘ASN1_STRING’ {aka ‘struct asn1_string_st’}
|    57 | typedef struct asn1_string_st ASN1_INTEGER;
|       |                ^~~~~~~~~~~~~~
| /build/reproducible-path/qca2-2.3.10/plugins/qca-ossl/qca-ossl.cpp:314:59: 
error: invalid use of incomplete type ‘ASN1_STRING’ {aka ‘struct 
asn1_string_st’}
|   314 |         QByteArray       cs((const char *)data->data, data->length);
|       |                                                           ^~
| /usr/include/openssl/types.h:57:16: note: forward declaration of 
‘ASN1_STRING’ {aka ‘struct asn1_string_st’}
|    57 | typedef struct asn1_string_st ASN1_INTEGER;
|       |                ^~~~~~~~~~~~~~
| /build/reproducible-path/qca2-2.3.10/plugins/qca-ossl/qca-ossl.cpp: In 
function ‘void opensslQCAPlugin::try_get_name_item_by_oid(X509_NAME*, const 
QString&, const QCA::CertificateInfoType&, QCA::CertificateInfo*)’:
| /build/reproducible-path/qca2-2.3.10/plugins/qca-ossl/qca-ossl.cpp:329:52: 
error: invalid conversion from ‘const X509_NAME_ENTRY*’ {aka ‘const 
X509_name_entry_st*’} to ‘X509_NAME_ENTRY*’ {aka 
‘X509_name_entry_st*’} [-fpermissive]
|   329 |         X509_NAME_ENTRY *ne   = X509_NAME_get_entry(name, loc);
|       |                                 ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
|       |                                                    |
|       |                                                    const 
X509_NAME_ENTRY* {aka const X509_name_entry_st*}
| /build/reproducible-path/qca2-2.3.10/plugins/qca-ossl/qca-ossl.cpp:330:57: 
error: invalid conversion from ‘const ASN1_STRING*’ {aka ‘const 
asn1_string_st*’} to ‘ASN1_STRING*’ {aka ‘asn1_string_st*’} 
[-fpermissive]
|   330 |         ASN1_STRING     *data = X509_NAME_ENTRY_get_data(ne);
|       |                                 ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
|       |                                                         |
|       |                                                         const 
ASN1_STRING* {aka const asn1_string_st*}
| /build/reproducible-path/qca2-2.3.10/plugins/qca-ossl/qca-ossl.cpp:331:47: 
error: invalid use of incomplete type ‘ASN1_STRING’ {aka ‘struct 
asn1_string_st’}
|   331 |         QByteArray       cs((const char *)data->data, data->length);
|       |                                               ^~
| /usr/include/openssl/types.h:57:16: note: forward declaration of 
‘ASN1_STRING’ {aka ‘struct asn1_string_st’}
|    57 | typedef struct asn1_string_st ASN1_INTEGER;
|       |                ^~~~~~~~~~~~~~
| /build/reproducible-path/qca2-2.3.10/plugins/qca-ossl/qca-ossl.cpp:331:59: 
error: invalid use of incomplete type ‘ASN1_STRING’ {aka ‘struct 
asn1_string_st’}
…

Full buildlog
        
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/qca2_2.3.10-2_amd64-2026-04-19T07:32:34Z

Sebastian

** Affects: qca2 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: qca2 (Debian)
     Importance: Undecided
         Status: New


** Tags: ftbfs openssl-4.0

** Bug watch added: Debian Bug tracker #1138313
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1138313

** Changed in: qca2 (Debian)
 Remote watch: None => Debian Bug tracker #1138313

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2154860

Title:
  qca2: FTBFS with openssl 4.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qca2/+bug/2154860/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to