[packages/bcachefs-tools] Up to 1.39.7

arekm arekm at pld-linux.org
Fri Nov 27 22:02:07 CET 2026


commit 8358694cbf268702140740186468fd3f7a0b8e03
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Nov 27 15:58:36 2026 +0100

    Up to 1.39.7

 bcachefs-tools.spec | 11 +++++++++--
 bi_offset.patch     | 16 ++++++++++++++++
 2 files changed, 25 insertions(+), 2 deletions(-)
---
diff --git a/bcachefs-tools.spec b/bcachefs-tools.spec
index 8de64bc..25fbfd6 100644
--- a/bcachefs-tools.spec
+++ b/bcachefs-tools.spec
@@ -1,13 +1,14 @@
 Summary:	Userspace tools for bcachefs
 Summary(pl.UTF-8):	Narzędzia przestrzeni użytkownika do bcachefs
 Name:		bcachefs-tools
-Version:	1.38.2
+Version:	1.39.7
 Release:	1
 License:	GPL v2+
 Group:		Applications/System
 Source0:	https://evilpiepirate.org/bcachefs-tools/%{name}-vendored-%{version}.tar.zst
-# Source0-md5:	2ac6404d9ace898a393c3811914905a6
+# Source0-md5:	cfefdf013edca1aaaa9f23012bcb066d
 Patch0:		rust-target.patch
+Patch1:		bi_offset.patch
 URL:		https://bcachefs.org/
 BuildRequires:	cargo
 BuildRequires:	clang
@@ -23,6 +24,7 @@ BuildRequires:	libaio-devel
 BuildRequires:	libblkid-devel
 BuildRequires:	libfuse3-devel >= 3.7
 BuildRequires:	libsodium-devel
+BuildRequires:	libunwind-devel
 BuildRequires:	libuuid-devel
 BuildRequires:	llvm-devel
 BuildRequires:	lz4-devel
@@ -59,6 +61,7 @@ Ten pakiet zawiera narzędzia przestrzeni użytkownika do bcachefs.
 %prep
 %setup -q
 %patch -P0 -p1
+%patch -P1 -p1
 
 %build
 export RUSTFLAGS="%{rpmrustflags}"
@@ -117,11 +120,15 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_sbindir}/bcachefs
 %attr(755,root,root) %{_sbindir}/fsck.bcachefs
 %attr(755,root,root) %{_sbindir}/fsck.fuse.bcachefs
+%attr(755,root,root) %{_sbindir}/fsck.fuseblk.bcachefs
 %attr(755,root,root) %{_sbindir}/mkfs.bcachefs
 %attr(755,root,root) %{_sbindir}/mkfs.fuse.bcachefs
+%attr(755,root,root) %{_sbindir}/mkfs.fuseblk.bcachefs
 %attr(755,root,root) %{_sbindir}/mount.bcachefs
 %attr(755,root,root) %{_sbindir}/mount.fuse.bcachefs
+%attr(755,root,root) %{_sbindir}/mount.fuseblk.bcachefs
 %{systemdunitdir}/bcachefs-wait-devices at .service
+%attr(755,root,root) %{systemdunitdir}-generators/bcachefs-mount-generator
 /lib/udev/rules.d/64-bcachefs.rules
 %{bash_compdir}/bcachefs
 %{_mandir}/man8/bcachefs.8*
diff --git a/bi_offset.patch b/bi_offset.patch
new file mode 100644
index 0000000..41ba10b
--- /dev/null
+++ b/bi_offset.patch
@@ -0,0 +1,16 @@
+# userspace bvec shim lacks bi_offset, which fs/ uses when linux headers are >= 7.3
+--- bcachefs-tools-1.39.7/include/linux/bvec.h.orig
++++ bcachefs-tools-1.39.7/include/linux/bvec.h
+@@ -38,8 +38,11 @@
+ 
+ 	unsigned int		bi_idx;		/* current index into bvl_vec */
+ 
+-	unsigned int            bi_bvec_done;	/* number of bytes completed in
++	union {
++		unsigned int	bi_bvec_done;	/* number of bytes completed in
+ 						   current bvec */
++		unsigned int	bi_offset;	/* renamed from bi_bvec_done in 7.3 */
++	};
+ };
+ 
+ struct bvec_iter_all {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/bcachefs-tools.git/commitdiff/8358694cbf268702140740186468fd3f7a0b8e03



More information about the pld-cvs-commit mailing list