[Pkg-openssl-devel] Bug#1138411: kdeconnect: FTBFS with openssl 4.0

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Sat May 30 17:09:38 BST 2026


Package: kdeconnect
Version: 25.12.3-1
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:

| cd /build/reproducible-path/kdeconnect-25.12.3/obj-x86_64-linux-gnu/core && /usr/bin/c++ -DKCOREADDONS_LIB -DKDECONNECT_BLUETOOTH -DKDECONNECT_MDNS -DKF_DEPRECATED_WARNINGS_SINCE=0x70000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x60500 -DQT_BLUETOOTH_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x70000 -DQT_DISABLE_DEPRECATED_BEFORE=0x60600 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kdeconnect-core\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dkdeconnectcore_EXPORTS -I/build/reproducible-path/kdeconnect-25.12.3/obj-x86_64-linux-gnu/core -I/build/reproducible-path/kdeconnect-25.12.3/core -I/build/reproducible-path/kdeconnect-25.12.3/obj-x86_64-linux-gnu/core/kdeconnectcore_autogen/include -I/build/reproducible-path/kdeconnect-25.12.3 -isystem /usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/KF6/KCoreAddons -isystem /usr/include/KF6/KIOCore -isystem /usr/include/KF6/KIO -isystem /usr/include/x86_64-linux-gnu/qt6/QtDBus -isystem /usr/include/KF6/KIOGui -isystem /usr/include/KF6/KConfig -isystem /usr/include/KF6/KConfigCore -isystem /usr/include/KF6/KService -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/KF6/KI18n -isystem /usr/include/x86_64-linux-gnu/qt6/QtBluetooth -g -O2 -ffile-prefix-map=/build/reproducible-path/kdeconnect-25.12.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT core/CMakeFiles/kdeconnectcore.dir/sslhelper.cpp.o -MF CMakeFiles/kdeconnectcore.dir/sslhelper.cpp.o.d -o CMakeFiles/kdeconnectcore.dir/sslhelper.cpp.o -c /build/reproducible-path/kdeconnect-25.12.3/core/sslhelper.cpp
| /build/reproducible-path/kdeconnect-25.12.3/core/sslhelper.cpp: In function ‘QSslCertificate SslHelper::generateSelfSignedCertificate(const QSslKey&, const QString&)’:
| /build/reproducible-path/kdeconnect-25.12.3/core/sslhelper.cpp:175:37: error: invalid conversion from ‘const X509_name_st*’ to ‘X509_NAME*’ {aka ‘X509_name_st*’} [-fpermissive]
|   175 |     if (!X509_NAME_add_entry_by_txt(name, "CN", MBSTRING_ASC, commonNameCStr, -1, -1, 0)) { // Common Name
|       |                                     ^~~~
|       |                                     |
|       |                                     const X509_name_st*
| In file included from /usr/include/openssl/pem.h:23,
|                  from /build/reproducible-path/kdeconnect-25.12.3/core/sslhelper.cpp:15:
| /usr/include/openssl/x509.h:1072:43: note: initializing argument 1 of ‘int X509_NAME_add_entry_by_txt(X509_NAME*, const char*, int, const unsigned char*, int, int, int)’
|  1072 | int X509_NAME_add_entry_by_txt(X509_NAME *name, const char *field, int type,
|       |                                ~~~~~~~~~~~^~~~
| /build/reproducible-path/kdeconnect-25.12.3/core/sslhelper.cpp:181:37: error: invalid conversion from ‘const X509_name_st*’ to ‘X509_NAME*’ {aka ‘X509_name_st*’} [-fpermissive]
|   181 |     if (!X509_NAME_add_entry_by_txt(name, "O", MBSTRING_ASC, organizationCStr, -1, -1, 0)) { // Organization
|       |                                     ^~~~
|       |                                     |
|       |                                     const X509_name_st*
| /usr/include/openssl/x509.h:1072:43: note: initializing argument 1 of ‘int X509_NAME_add_entry_by_txt(X509_NAME*, const char*, int, const unsigned char*, int, int, int)’
|  1072 | int X509_NAME_add_entry_by_txt(X509_NAME *name, const char *field, int type,
|       |                                ~~~~~~~~~~~^~~~
| /build/reproducible-path/kdeconnect-25.12.3/core/sslhelper.cpp:187:37: error: invalid conversion from ‘const X509_name_st*’ to ‘X509_NAME*’ {aka ‘X509_name_st*’} [-fpermissive]
|   187 |     if (!X509_NAME_add_entry_by_txt(name, "OU", MBSTRING_ASC, organizationalUnitCStr, -1, -1, 0)) { // Organizational Unit
|       |                                     ^~~~
|       |                                     |
|       |                                     const X509_name_st*
| /usr/include/openssl/x509.h:1072:43: note: initializing argument 1 of ‘int X509_NAME_add_entry_by_txt(X509_NAME*, const char*, int, const unsigned char*, int, int, int)’
|  1072 | int X509_NAME_add_entry_by_txt(X509_NAME *name, const char *field, int type,
|       |                                ~~~~~~~~~~~^~~~
| make[3]: *** [core/CMakeFiles/kdeconnectcore.dir/build.make:522: core/CMakeFiles/kdeconnectcore.dir/sslhelper.cpp.o] Error 1
| make[3]: Leaving directory '/build/reproducible-path/kdeconnect-25.12.3/obj-x86_64-linux-gnu'

Full buildlog
 	https://breakpoint.cc/openssl-rebuild/logs-4/attempted/kdeconnect_25.12.3-1_amd64-2026-04-19T08:29:30Z

Sebastian



More information about the Pkg-openssl-devel mailing list