Control: tags 1143703 + patch Control: tags 1143703 + pending Dear maintainer,
I've prepared an NMU for saunafs (versioned as 5.8.0-1.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should cancel it. cu Adrian
diffstat for saunafs-5.8.0 saunafs-5.8.0 changelog | 7 + patches/0001-fix-fix-build-errors-for-Fedora-835.patch | 111 +++++++++++++++++ patches/series | 1 saunafs-common.docs | 1 4 files changed, 119 insertions(+), 1 deletion(-) diff -Nru saunafs-5.8.0/debian/changelog saunafs-5.8.0/debian/changelog --- saunafs-5.8.0/debian/changelog 2026-03-27 21:07:55.000000000 +0200 +++ saunafs-5.8.0/debian/changelog 2026-10-12 15:20:57.000000000 +0300 @@ -1,3 +1,10 @@ +saunafs (5.8.0-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Backport upstream fix for FTBFS with GCC 16. (Closes: #1143703) + + -- Adrian Bunk <[email protected]> Mon, 12 Oct 2026 15:20:57 +0300 + saunafs (5.8.0-1) unstable; urgency=medium [ Urmas Rist ] diff -Nru saunafs-5.8.0/debian/patches/0001-fix-fix-build-errors-for-Fedora-835.patch saunafs-5.8.0/debian/patches/0001-fix-fix-build-errors-for-Fedora-835.patch --- saunafs-5.8.0/debian/patches/0001-fix-fix-build-errors-for-Fedora-835.patch 1970-01-01 02:00:00.000000000 +0200 +++ saunafs-5.8.0/debian/patches/0001-fix-fix-build-errors-for-Fedora-835.patch 2026-10-12 15:20:57.000000000 +0300 @@ -0,0 +1,111 @@ +From c8a243c0fd69658139cd9fae35f277aaa2ed658e Mon Sep 17 00:00:00 2001 +From: Anton Jaštšuk <[email protected]> +Date: Tue, 28 Apr 2026 19:24:13 +0300 +Subject: fix: fix build errors for Fedora (#835) + +In order for the binaries to correctly build in Fedora: +- Fix build failure due to missing mutex and cstdint include +(in GCC 15 some C++ standard library headers no longer +include other headers that were being used internally by +the library), +- Make Timer::now() static to fix compiler warnings. + +Additionally: +- Remove unused empty UPGRADE file. +- Remove executable permissions on .cc files (RPM +packaging guidelines). + +Signed-off-by: Anton Jastsuk <[email protected]> +--- + UPGRADE | 0 + src/common/compact_vector.h | 1 + + src/common/memory_mapped_file.h | 1 + + src/common/time_utils.cc | 2 +- + src/common/time_utils.h | 2 +- + src/master/filesystem_node.cc | 0 + src/master/filesystem_operations.cc | 0 + src/master/filesystem_stats.cc | 0 + src/mount/tweaks.h | 1 + + 9 files changed, 5 insertions(+), 2 deletions(-) + delete mode 100644 UPGRADE + mode change 100755 => 100644 src/master/filesystem_node.cc + mode change 100755 => 100644 src/master/filesystem_operations.cc + mode change 100755 => 100644 src/master/filesystem_stats.cc + +diff --git a/UPGRADE b/UPGRADE +deleted file mode 100644 +index e69de29b..00000000 +diff --git a/src/common/compact_vector.h b/src/common/compact_vector.h +index a1214f3d..0629ddc3 100644 +--- a/src/common/compact_vector.h ++++ b/src/common/compact_vector.h +@@ -23,6 +23,7 @@ + + #include <algorithm> + #include <cassert> ++#include <cstdint> + #include <iterator> + #include <limits> + #include <memory> +diff --git a/src/common/memory_mapped_file.h b/src/common/memory_mapped_file.h +index b5530e8d..3af59618 100644 +--- a/src/common/memory_mapped_file.h ++++ b/src/common/memory_mapped_file.h +@@ -18,6 +18,7 @@ + + #include "common/platform.h" + ++#include <cstdint> + #include <memory> + #include <string> + +diff --git a/src/common/time_utils.cc b/src/common/time_utils.cc +index 6059d701..dfc3e89d 100644 +--- a/src/common/time_utils.cc ++++ b/src/common/time_utils.cc +@@ -52,7 +52,7 @@ Timer::Timer() : startTime_(now()) { + static_assert(SteadyClock::is_steady, "Monotonic clock is required"); + } + +-SteadyTimePoint Timer::now() const { ++SteadyTimePoint Timer::now() { + return SteadyClock::now(); + } + +diff --git a/src/common/time_utils.h b/src/common/time_utils.h +index a4fcc2af..33207185 100644 +--- a/src/common/time_utils.h ++++ b/src/common/time_utils.h +@@ -78,7 +78,7 @@ public: + int64_t lap_s(); + + private: +- SteadyTimePoint now() const; ++ static SteadyTimePoint now(); + SteadyTimePoint startTime_; + }; + +diff --git a/src/master/filesystem_node.cc b/src/master/filesystem_node.cc +old mode 100755 +new mode 100644 +diff --git a/src/master/filesystem_operations.cc b/src/master/filesystem_operations.cc +old mode 100755 +new mode 100644 +diff --git a/src/master/filesystem_stats.cc b/src/master/filesystem_stats.cc +old mode 100755 +new mode 100644 +diff --git a/src/mount/tweaks.h b/src/mount/tweaks.h +index fb34cc8b..8f3b0f0b 100644 +--- a/src/mount/tweaks.h ++++ b/src/mount/tweaks.h +@@ -23,6 +23,7 @@ + + #include <atomic> + #include <memory> ++#include <mutex> + #include <string> + + /** +-- +2.47.3 + diff -Nru saunafs-5.8.0/debian/patches/series saunafs-5.8.0/debian/patches/series --- saunafs-5.8.0/debian/patches/series 2026-03-27 21:07:55.000000000 +0200 +++ saunafs-5.8.0/debian/patches/series 2026-10-12 15:20:57.000000000 +0300 @@ -3,3 +3,4 @@ 0006-disable-syslog.patch 0007-disable-date-generation.patch 0005-change-non-existant-libfmt-header-file.patch +0001-fix-fix-build-errors-for-Fedora-835.patch diff -Nru saunafs-5.8.0/debian/saunafs-common.docs saunafs-5.8.0/debian/saunafs-common.docs --- saunafs-5.8.0/debian/saunafs-common.docs 2026-03-27 21:07:55.000000000 +0200 +++ saunafs-5.8.0/debian/saunafs-common.docs 2026-10-12 15:20:57.000000000 +0300 @@ -1,3 +1,2 @@ README.md ReleaseNotes -UPGRADE

