Public bug reported:

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

Package: saunafs
Version: 5.8.0-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/saunafs-5.8.0/build/src/common && /usr/bin/c++ 
-DBUILD_TIME=\"N/A\" -DENABLE_CRC -DFMT_HEADER_ONLY -DFMT_SHARED 
-DGIT_BRANCH=\"N/A\" -DGIT_COMMIT=\"N/A\" -DHAVE_PROMETHEUS 
-DSAUNAFS_HAVE_CONFIG_H -DSPDLOG_COMPILED_LIB -DSPDLOG_DISABLE_DEFAULT_LOGGER 
-DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS 
-D__STDC_LIMIT_MACROS -I/build/reproducible-path/saunafs-5.8.0/build 
-I/build/reproducible-path/saunafs-5.8.0/src 
-I/build/reproducible-path/saunafs-5.8.0/src/common -isystem 
/usr/include/crcutil -g -O2 
-ffile-prefix-map=/build/reproducible-path/saunafs-5.8.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pipe 
-pthread -Wall -Wextra -Werror -Wpedantic -fwrapv  -O3 -DNDEBUG -O3 -DNDEBUG -g 
-std=gnu++23 -MD -MT src/common/CMakeFiles/sfscommon.dir/tls_session.cc.o -MF 
CMakeFiles/sfscommon.dir/tls_session.cc.o.d -o 
CMakeFiles/sfscommon.dir/tls_session.cc.o -c 
/build/reproducible-path/saunafs-5.8.0/src/common/tls_session.cc
| /build/reproducible-path/saunafs-5.8.0/src/common/tls_session.cc: In 
constructor ‘TlsSession::TlsSession(int, bool, const std::string&, const 
std::string&, const std::string&, const std::string&)’:
| /build/reproducible-path/saunafs-5.8.0/src/common/tls_session.cc:171:42: 
error: ‘int SSL_set1_host(SSL*, const char*)’ is deprecated: Since OpenSSL 
4.0 [-Werror=deprecated-declarations]
|   171 |                         if (SSL_set1_host(ssl_.get(), 
expectedHostname.c_str()) != 1) {
|       |                             
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| In file included from 
/build/reproducible-path/saunafs-5.8.0/src/common/tls_session.cc:29:
| /usr/include/openssl/ssl.h:1922:34: note: declared here
|  1922 | OSSL_DEPRECATEDIN_4_0 __owur int SSL_set1_host(SSL *s, const char 
*host);
|       |                                  ^~~~~~~~~~~~~
| cc1plus: all warnings being treated as errors
| make[3]: *** [src/common/CMakeFiles/sfscommon.dir/build.make:684: 
src/common/CMakeFiles/sfscommon.dir/tls_session.cc.o] Error 1

Full buildlog
        
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/saunafs_5.8.0-1_amd64-2026-04-19T11:57:59Z

Sebastian

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

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


** Tags: ftbfs openssl-4.0

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

** Changed in: saunafs (Debian)
 Remote watch: None => Debian Bug tracker #1138416

** 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/2154961

Title:
  saunafs: FTBFS with openssl 4.0

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


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

Reply via email to