#1138416 saunafs: FTBFS with openssl 4.0

Package:
saunafs
Source:
saunafs
Submitter:
Sebastian Andrzej Siewior
Date:
2026-07-29 14:13:01 UTC
Severity:
normal
Tags:
#1138416#5
Date:
2026-05-30 16:10:44 UTC
From:
To:
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

#1138416#12
Date:
2026-06-05 12:19:34 UTC
From:
To:
Hello,

This issue has been fixed upstream in:

https://github.com/leil-io/leilfs/pull/876

The fix removes the OpenSSL 4.0 deprecation warning that caused the FTBFS.

The fix will be included in the first release after v5.10.0.

Thanks,

Rolando




Rolando Sánchez Ramos
Software Developer

[Leil Logo]<https://leil.io/>
Leil.io<https://leil.io/> — HDD-Native™ storage for on-premises data
E: rolysr@leil.io<mailto:rolysr@leil.io> | P: +346 923 19519

#1138416#17
Date:
2026-07-29 14:09:15 UTC
From:
To:
Hello, according to upstream this has already been fixed
https://github.com/leil-io/leilfs/commit/1e9e026dc6fa536ebbc0708a58a9947741b8c2c0.patch

thanks

Gianfranco