Public bug reported:

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

Package: nextcloud-desktop
Version: 33.0.2-1
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/nextcloud-desktop-33.0.2/obj-x86_64-linux-gnu/src/libsync
 && /usr/bin/c++ -DOPENSSL_SUPPRESS_DEPRECATED -DQT_CONCURRENT_LIB 
-DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DEPRECATED_WARNINGS 
-DQT_DISABLE_DEPRECATED_BEFORE=0x051200 -DQT_GUI_LIB -DQT_MESSAGELOGCONTEXT 
-DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB 
-DQT_USE_QSTRINGBUILDER -DQT_WEBSOCKETS_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB 
-DUNICODE -D_UNICODE -Dnextcloudsync_EXPORTS 
-I/build/reproducible-path/nextcloud-desktop-33.0.2/obj-x86_64-linux-gnu/src/libsync
 -I/build/reproducible-path/nextcloud-desktop-33.0.2/src/libsync 
-I/build/reproducible-path/nextcloud-desktop-33.0.2/obj-x86_64-linux-gnu/src/libsync/nextcloudsync_autogen/include
 -I/build/reproducible-path/nextcloud-desktop-33.0.2/obj-x86_64-linux-gnu 
-I/build/reproducible-path/nextcloud-desktop-33.0.2/src 
-I/build/reproducible-path/nextcloud-desktop-33.0.2/obj-x86_64-linux-gnu/src 
-I/build/reproducible-path/nextcloud-desktop-33.0.2/obj-x86_64-linux-gnu/src/csync
 -I/build/reproducible-path/nextcloud-desktop-33.0.2/src/csync 
-I/build/reproducible-path/nextcloud-desktop-33.0.2/src/csync/std -isystem 
/usr/include/x86_64-linux-gnu/qt6/QtCore -isystem 
/usr/include/x86_64-linux-gnu/qt6 -isystem 
/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem 
/usr/include/x86_64-linux-gnu/qt6/QtConcurrent -isystem 
/usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem 
/usr/include/x86_64-linux-gnu/qt6/QtWebSockets -isystem 
/usr/include/x86_64-linux-gnu/qt6/QtXml -isystem 
/usr/include/x86_64-linux-gnu/qt6/QtSql -isystem 
/usr/include/x86_64-linux-gnu/qt6/QtGui -isystem 
/usr/include/x86_64-linux-gnu/qt6/QtSvg -isystem 
/usr/include/x86_64-linux-gnu/qt6/QtWidgets -isystem /usr/include/KF6/KArchive 
-isystem /usr/include/x86_64-linux-gnu/qt6/QtCore5Compat -isystem 
/usr/include/x86_64-linux-gnu/qt6/QtDBus -g -O2 
-ffile-prefix-map=/build/reproducible-path/nextcloud-desktop-33.0.2=. 
-flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection 
-Wformat -Werror=format-security -fcf-protection -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wall -Wextra -Wpedantic -fstack-protector-strong 
-std=gnu++20 -fPIC -fdiagnostics-color=always -MD -MT 
src/libsync/CMakeFiles/nextcloudsync.dir/clientsideencryption.cpp.o -MF 
CMakeFiles/nextcloudsync.dir/clientsideencryption.cpp.o.d -o 
CMakeFiles/nextcloudsync.dir/clientsideencryption.cpp.o -c 
/build/reproducible-path/nextcloud-desktop-33.0.2/src/libsync/clientsideencryption.cpp
| 
␛[01m␛[K/build/reproducible-path/nextcloud-desktop-33.0.2/src/libsync/clientsideencryption.cpp:␛[m␛[K
 In member function ‘␛[01m␛[Kstd::pair<QByteArray, OCC::PKey> 
OCC::ClientSideEncryption::␛[01;32m␛[KgenerateCSR␛[m␛[K(OCC::PKey, 
OCC::PKey)␛[m␛[K’:
| 
␛[01m␛[K/build/reproducible-path/nextcloud-desktop-33.0.2/src/libsync/clientsideencryption.cpp:2030:42:␛[m␛[K
 ␛[01;31m␛[Kerror: ␛[m␛[Kinvalid conversion from ‘␛[01m␛[K␛[01;32m␛[Kconst 
X509_name_st*␛[m␛[K␛[m␛[K’ to ‘␛[01m␛[K␛[01;34m␛[KX509_NAME*␛[m␛[K’ {aka 
‘␛[01m␛[K␛[01;34m␛[KX509_name_st*␛[m␛[K’} [␛[01;31m␛[K-fpermissive␛[m␛[K]
|  2030 |         ret = 
X509_NAME_add_entry_by_txt(␛[01;32m␛[Kx␛[m␛[K␛[01;32m␛[K5␛[m␛[K␛[01;32m␛[K0␛[m␛[K␛[01;32m␛[K9␛[m␛[K␛[01;32m␛[K_␛[m␛[K␛[01;32m␛[Kn␛[m␛[K␛[01;32m␛[Ka␛[m␛[K␛[01;32m␛[Km␛[m␛[K␛[01;32m␛[Ke␛[m␛[K,
 v.first,  MBSTRING_ASC, (const unsigned char*) v.second, -1, -1, 0);
|       |                                          
␛[01;32m␛[K^␛[m␛[K␛[01;32m␛[K~␛[m␛[K␛[01;32m␛[K~␛[m␛[K␛[01;32m␛[K~␛[m␛[K␛[01;32m␛[K~␛[m␛[K␛[01;32m␛[K~␛[m␛[K␛[01;32m␛[K~␛[m␛[K␛[01;32m␛[K~␛[m␛[K␛[01;32m␛[K~␛[m␛[K
|       |                                          ␛[01;32m␛[K|␛[m␛[K
|       |                                          ␛[01;32m␛[Kconst 
X509_name_st*␛[m␛[K
| In file included from ␛[01m␛[K/usr/include/libp11.h:33␛[m␛[K,
|                  from 
␛[01m␛[K/build/reproducible-path/nextcloud-desktop-33.0.2/src/libsync/clientsideencryptionprimitives.h:11␛[m␛[K,
|                  from 
␛[01m␛[K/build/reproducible-path/nextcloud-desktop-33.0.2/src/libsync/clientsideencryption.h:11␛[m␛[K,
|                  from 
␛[01m␛[K/build/reproducible-path/nextcloud-desktop-33.0.2/src/libsync/clientsideencryption.cpp:6␛[m␛[K:
| ␛[01m␛[K/usr/include/openssl/x509.h:1072:43:␛[m␛[K ␛[01;36m␛[Knote: 
␛[m␛[Kinitializing argument 1 of ‘␛[01m␛[Kint␛[01;32m␛[K 
X509_NAME_add_entry_by_txt␛[m␛[K(X509_NAME*, const char*, int, const unsigned 
char*, int, int, int)␛[m␛[K’
|  1072 | int 
X509_NAME_add_entry_by_txt(␛[01;34m␛[KX␛[m␛[K␛[01;34m␛[K5␛[m␛[K␛[01;34m␛[K0␛[m␛[K␛[01;34m␛[K9␛[m␛[K␛[01;34m␛[K_␛[m␛[K␛[01;34m␛[KN␛[m␛[K␛[01;34m␛[KA␛[m␛[K␛[01;34m␛[KM␛[m␛[K␛[01;34m␛[KE␛[m␛[K␛[01;34m␛[K
 
␛[m␛[K␛[01;34m␛[K*␛[m␛[K␛[01;34m␛[Kn␛[m␛[K␛[01;34m␛[Ka␛[m␛[K␛[01;34m␛[Km␛[m␛[K␛[01;34m␛[Ke␛[m␛[K,
 const char *field, int type,
|       |                                
␛[01;34m␛[K~␛[m␛[K␛[01;34m␛[K~␛[m␛[K␛[01;34m␛[K~␛[m␛[K␛[01;34m␛[K~␛[m␛[K␛[01;34m␛[K~␛[m␛[K␛[01;34m␛[K~␛[m␛[K␛[01;34m␛[K~␛[m␛[K␛[01;34m␛[K~␛[m␛[K␛[01;34m␛[K~␛[m␛[K␛[01;34m␛[K~␛[m␛[K␛[01;34m␛[K~␛[m␛[K␛[01;34m␛[K^␛[m␛[K␛[01;34m␛[K~␛[m␛[K␛[01;34m␛[K~␛[m␛[K␛[01;34m␛[K~␛[m␛[K
| make[3]: *** [src/libsync/CMakeFiles/nextcloudsync.dir/build.make:872: 
src/libsync/CMakeFiles/nextcloudsync.dir/clientsideencryption.cpp.o] Error 1
| make[3]: Leaving directory 
'/build/reproducible-path/nextcloud-desktop-33.0.2/obj-x86_64-linux-gnu'

Full buildlog
        
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/nextcloud-desktop_33.0.2-1_amd64-2026-04-19T07:48:22Z

Sebastian

** Affects: nextcloud-desktop (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: nextcloud-desktop (Debian)
     Importance: Undecided
         Status: New


** Tags: ftbfs openssl-4.0

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

** Changed in: nextcloud-desktop (Debian)
 Remote watch: None => Debian Bug tracker #1138393

** Tags added: ftbfs openssl-4.0

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

Title:
  nextcloud-desktop: FTBFS with openssl 4.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nextcloud-desktop/+bug/2154940/+subscriptions


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

Reply via email to