[Pkg-openssl-devel] Bug#1138416: saunafs: FTBFS with openssl 4.0

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Sat May 30 17:10:44 BST 2026


Package: saunafs
Version: 5.8.0-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/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



More information about the Pkg-openssl-devel mailing list