Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kio-fuse for openSUSE:Factory checked in at 2021-06-04 00:34:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kio-fuse (Old) and /work/SRC/openSUSE:Factory/.kio-fuse.new.1898 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kio-fuse" Fri Jun 4 00:34:07 2021 rev:5 rq:897274 version:5.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/kio-fuse/kio-fuse.changes 2021-03-25 14:52:39.188505469 +0100 +++ /work/SRC/openSUSE:Factory/.kio-fuse.new.1898/kio-fuse.changes 2021-06-04 00:34:26.565020439 +0200 @@ -1,0 +2,7 @@ +Thu Jun 3 14:00:13 UTC 2021 - Fabian Vogt <fab...@ritter-vogt.de> + +- Use %pkg_vcmp for util-linux requirement for %check +- Add patch to avoid occasional test failure: + * 0001-Initialize-m_lastChildrenRefresh-to-be-really-in-the.patch + +------------------------------------------------------------------- New: ---- 0001-Initialize-m_lastChildrenRefresh-to-be-really-in-the.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kio-fuse.spec ++++++ --- /var/tmp/diff_new_pack.6AwytA/_old 2021-06-04 00:34:26.965020872 +0200 +++ /var/tmp/diff_new_pack.6AwytA/_new 2021-06-04 00:34:26.965020872 +0200 @@ -29,6 +29,8 @@ Source1: https://download.kde.org/stable/%{name}/%{version}/%{name}-%{version}.tar.xz.sig Source2: kio-fuse.keyring %endif +# PATCH-FIX-UPSTREAM +Patch1: 0001-Initialize-m_lastChildrenRefresh-to-be-really-in-the.patch BuildRequires: extra-cmake-modules BuildRequires: pkgconfig BuildRequires: cmake(KF5KIO) >= 5.66.0 @@ -55,7 +57,7 @@ %install %kf5_makeinstall -C build -%if 0%{?suse_version} > 1500 +%if %{pkg_vcmp util-linux >= 2.34} %check # The hack below only works with util-linux 3.34+. # Without working umount, the tests can't work :-( ++++++ 0001-Initialize-m_lastChildrenRefresh-to-be-really-in-the.patch ++++++ >From 1a8862daee5c3ef502d7cf04e451180c15e8f3a3 Mon Sep 17 00:00:00 2001 From: Fabian Vogt <fab...@ritter-vogt.de> Date: Thu, 3 Jun 2021 15:50:40 +0200 Subject: [PATCH] Initialize m_lastChildrenRefresh to be really in the past steady_clock's epoch is the system start and such a default constructed steady_clock::time_point might actually not be older than ATTR_TIMEOUT. By setting it to min() explicitly, it should be sufficiently behind. --- kiofusenode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiofusenode.h b/kiofusenode.h index 357b094..28a920a 100644 --- a/kiofusenode.h +++ b/kiofusenode.h @@ -76,7 +76,7 @@ public: // be emitted on finish. bool m_childrenRequested = false; // Stores the last time a node's children were refreshed via KIO::listDir. - std::chrono::steady_clock::time_point m_lastChildrenRefresh; + std::chrono::steady_clock::time_point m_lastChildrenRefresh = decltype(m_lastChildrenRefresh)::min(); // Returns true if a node is due for a readdir refresh, false otherwise. bool haveChildrenTimedOut() { return m_lastChildrenRefresh < g_timeoutEpoch || (std::chrono::steady_clock::now() - m_lastChildrenRefresh) >= ATTR_TIMEOUT; } -- 2.25.1