Article View: linux.debian.bugs.dist
Article #590Bug#1143703: saunafs: diff for NMU version 5.8.0-1.1
From: Adrian Bunk
Date: Mon, 12 Oct 2026 15:40
Date: Mon, 12 Oct 2026 15:40
175 lines
7767 bytes
7767 bytes
--y7Xc7iJFxjShx2i+
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
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
--y7Xc7iJFxjShx2i+
Content-Type: text/x-diff; charset=utf-8
Content-Disposition: attachment; filename="saunafs-5.8.0-1.1-nmu.diff"
Content-Transfer-Encoding: 8bit
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 <bunk@debian.org> 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 <anton@leil.io>
+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 <anton@leil.io>
+---
+ 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
--y7Xc7iJFxjShx2i+--
Technical Details
Message-ID:
<NNqi5-561u-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<NoHYS-95k2-39@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Adrian Bunk <bunk@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1143703: saunafs: diff for NMU version 5.8.0-1.1 Date: Mon, 12 Oct 2026 17:40:01 +0200 Message-ID: <NNqi5-561u-1@gated-at.bofh.it> References: <NoHYS-95k2-39@gated-at.bofh.it> X-Original-To: 1143703@bugs.debian.org X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Mon Oct 12 15:35:28 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Adrian Bunk <bunk@debian.org>, 1143703@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: debian-hpc@lists.debian.org X-Debian-Pr-Message: followup 1143703 X-Debian-Pr-Package: src:saunafs X-Debian-Pr-Keywords: forky ftbfs sid X-Debian-Pr-Source: saunafs MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="y7Xc7iJFxjShx2i+" Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Debian-User: bunk X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996401 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 175 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 12 Oct 2026 16:07:16 +0300 X-Original-Message-ID: <aszbhIiI_NQs2OO9@localhost> X-Original-References: <E1wrZkS-00Gxni-00@paradis.debian.org>