[From nobody Sat Nov 14 18:35:07 2026
Received: (at submit) by bugs.debian.org; 14 Nov 2026 15:08:01 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-4.1 required=4.0 tests=BAYES_00,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,SPF_HELO_NONE,SPF_PASS
 autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 40; hammy, 150; neutral, 222; spammy,
 0. spammytokens: hammytokens:0.000-+--autopkgtest,
 0.000-+--H*Ad:N*Bug, 
 0.000-+--HTo:N*Debian, 0.000-+--forky, 0.000-+--HTo:N*Bug
Return-path: &lt;sven@stormbind.net&gt;
Received: from bowmore.stormbind.net ([2a01:4f8:252:2f12::100]:47772)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sven@stormbind.net&gt;) id 1xSFMG-009PZa-0D
 for submit@bugs.debian.org; Sat, 14 Nov 2026 15:08:01 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stormbind.net;
 i=@stormbind.net; q=dns/txt; s=s20210526; t=1794668410; h=date : from
 : to : subject : message-id : mime-version : content-type : from;
 bh=MlrHjvVGFO2U9mjxL54/R6gBtGbIJThzfUJtj6q8bh4=;
 b=U+QgD0qnX7hBVy/0q3C4c6xc8NQ6zqj4HJesezq+36h3V5VcwRH/yUxlziNGPkvTR24/f
 eWwzgvCramYatW9/aX6Ils0UlpTSWXC70mdM8px5SxM53UlAaINAGidFlHzap9a/k16WeOU
 iuT8sidGx9PsGirriTh6ESYY6vNPJDzFiEGJygtHcNcAsHQW3Ozunv6s417/aJEannE+DqG
 Delafx7hQO/rI1JdjYOUXA0KyiJ00lyMZXq3YevjRuPjgO4L2LbwKcVBO192MTndonvKmGN
 nBFCC0pjYHiZ6woiyM2Yikh6qMQCTTKfjr1yEeHruKk29QMPPyGTGazt1gRQ==
Received: from lintilla.lan (dslb-088-072-011-036.088.072.pools.vodafone-ip.de
 [88.72.11.36])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange secp256r1 server-signature RSA-PSS (2048 bits) server-digest
 SHA256) (No client certificate requested)
 by bowmore.stormbind.net (Postfix) with ESMTPSA id 111B45FFFC;
 Sat, 14 Nov 2026 16:00:10 +0100 (CET)
Received: from sven by lintilla.lan with local (Exim 4.100.1)
 (envelope-from &lt;sven@stormbind.net&gt;) id 1xSFEf-00000002gFe-2UfF;
 Sat, 14 Nov 2026 16:00:09 +0100
Date: Sat, 14 Nov 2026 16:00:09 +0100
From: Sven Hoexter &lt;sven@stormbind.net&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: libblockdev: exfatprogs 1.4.4 version output on stderr breaks tests
Message-ID: &lt;64a0db27-ac66-4b8e-a2cc-621120f515b0@lintilla.lan&gt;
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary=&quot;TegvUC3ii3kgif6D&quot;
Content-Disposition: inline
X-Reportbug-Version: 13.2.0+nmu1
X-Greylist: delayed 464 seconds by postgrey-1.37 at buxtehude;
 Sat, 14 Nov 2026 15:07:59 UTC
Delivered-To: submit@bugs.debian.org

--TegvUC3ii3kgif6D
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline

Source: libblockdev
Version: 3.6.0-1
Severity: normal

Hi Michael,
exfatprogs 1.4.4 introduced again changes which break libblockdev. I hope this
time it's only the version check in the test suite.
I opened https://github.com/exfatprogs/exfatprogs/issues/404 for the exfatprogs
upstreams to figure out if we can keep it more stable in the future.

On the libblockdev end I created
https://github.com/storaged-project/libblockdev/pull/1228
only to discover that someone from Fedora already posted
https://github.com/storaged-project/libblockdev/pull/1227
with a slightly different implementation.

Attached is a debdiff of my variant I'm currently testing locally, though
autopkgtest takes its time to run.

Sven

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 7.2.14+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

--TegvUC3ii3kgif6D
Content-Type: text/x-diff; charset=utf-8
Content-Disposition: attachment;
	filename=debdiff_libblockdev_exfatprogs_144.diff

diff -Nru libblockdev-3.6.0/debian/changelog libblockdev-3.6.0/debian/changelog
--- libblockdev-3.6.0/debian/changelog	2026-11-12 23:02:52.000000000 +0100
+++ libblockdev-3.6.0/debian/changelog	2026-11-14 15:46:36.000000000 +0100
@@ -1,3 +1,10 @@
+libblockdev (3.6.0-2) unstable; urgency=medium
+
+  * Add d/patches/fs-test-exfat-version-check - exfatprogs 1.4.4
+    outputs version to stderr instead of stdout.
+
+ -- Sven Hoexter &lt;hoexter@debian.org&gt;  Sat, 14 Nov 2026 15:46:36 +0100
+
 libblockdev (3.6.0-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru libblockdev-3.6.0/debian/patches/fs-test-exfat-version-check libblockdev-3.6.0/debian/patches/fs-test-exfat-version-check
--- libblockdev-3.6.0/debian/patches/fs-test-exfat-version-check	1970-01-01 01:00:00.000000000 +0100
+++ libblockdev-3.6.0/debian/patches/fs-test-exfat-version-check	2026-11-14 15:46:36.000000000 +0100
@@ -0,0 +1,27 @@
+Description: exfatprogs 1.4.4 outputs version on stderr
+Author: Sven Hoexter &lt;hoexter@debian.org&gt;
+Forwarded: https://github.com/storaged-project/libblockdev/pull/1228
+Last-Update: 2026-11-14
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: libblockdev/tests/fs_tests/exfat_test.py
+===================================================================
+--- libblockdev.orig/tests/fs_tests/exfat_test.py
++++ libblockdev/tests/fs_tests/exfat_test.py
+@@ -16,7 +16,15 @@ from gi.repository import BlockDev, GLib
+ def _get_exfatprogs_version():
+     _ret, out, _err = utils.run_command(&quot;mkfs.exfat --version&quot;)
+     # exfatprogs version : 1.4.1 (2026-05-28)
+-    m = re.search(r&quot;exfatprogs version : ([\d\.]+)&quot;, out)
++    # as of 1.4.4 - exfatprogs version via stderr, libblkid version on stdout:
++    # exfatprogs version : 1.4.4 (2026-11-10)
++    # libblkid version : 2.42.4 (21-Sep-2026)
++    m = re.search(
++        r&quot;^exfatprogs version : ([\d\.]+)&quot;,
++        &quot;\n&quot;.join((out, _err)),
++        re.MULTILINE
++    )
++
+     if not m or len(m.groups()) != 1:
+         raise RuntimeError(&quot;Failed to determine exfatprogs version from: %s&quot; % out)
+     return Version(m.groups()[0])
diff -Nru libblockdev-3.6.0/debian/patches/series libblockdev-3.6.0/debian/patches/series
--- libblockdev-3.6.0/debian/patches/series	2026-11-12 23:02:52.000000000 +0100
+++ libblockdev-3.6.0/debian/patches/series	2026-11-14 15:46:36.000000000 +0100
@@ -1 +1,2 @@
 Skip-smartmontools-integration-test.patch
+fs-test-exfat-version-check

--TegvUC3ii3kgif6D--
]