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
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 <[email protected]> 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 <[email protected]> +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("mkfs.exfat --version") + # exfatprogs version : 1.4.1 (2026-05-28) +- m = re.search(r"exfatprogs version : ([\d\.]+)", 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"^exfatprogs version : ([\d\.]+)", ++ "\n".join((out, _err)), ++ re.MULTILINE ++ ) ++ + if not m or len(m.groups()) != 1: + raise RuntimeError("Failed to determine exfatprogs version from: %s" % 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

