Package Details: bcachefs-tools-git v1.25.3.r56.gda8f1d0-1

Git Clone URL: https://aur.archlinux.org/bcachefs-tools-git.git (read-only, click to copy)
Package Base: bcachefs-tools-git
Description: BCacheFS filesystem utilities (Git)
Upstream URL: https://github.com/koverstreet/bcachefs-tools
Licenses: GPL-2.0-only
Conflicts: bcachefs-tools
Provides: bcachefs-tools
Submitter: QuartzDragon
Maintainer: QuartzDragon
Last Packager: QuartzDragon
Votes: 10
Popularity: 0.012604
First Submitted: 2018-11-16 21:14 (UTC)
Last Updated: 2025-08-30 06:26 (UTC)

Latest Comments

1 2 3 4 Next › Last »

neycrol commented on 2025-12-09 17:27 (UTC) (edited on 2026-01-13 10:35 (UTC) by neycrol)

Hi QuartzDragon, thanks for maintaining this!

I've encountered issues recovering a bcachefs partition on Kernel 6.18+ because the in-tree module is gone, and the current PKGBUILD lacks FUSE support (which is now the only way to mount/repair in many scenarios).

I have refactored the PKGBUILD to fix this and clean up a few other things.

Changes:

    Enable FUSE: Added BCACHEFS_FUSE=1 and fuse3 dependency. (Verified working for recovery).

    Fix DKMS Conflict: Explicitly rm -rf /usr/src in package(). The upstream Makefile forces a DKMS source install which conflicts with dedicated DKMS packages (like bcachefs-dkms , bcachefs-kernel-dkms-git). This package should strictly provide tools.

Modernize:

    Removed obsolete manual hook installation (upstream Makefile handles paths correctly now via vars).

    Added Rust/Cargo handling in prepare() for better offline build support.

    Fixed Shell Completions installation.

    Removed _FORTIFY_SOURCE hacks (Builds and runs fine without them on current Arch).

I've uploaded both the full PKGBUILD and a diff/patch here:

https://gist.githubusercontent.com/Neycrol/e05f12ab5fed532c78e64d6ddc936f24/raw/PKGBUILD

You can apply the patch directly via:

curl -L https://gist.githubusercontent.com/Neycrol/e05f12ab5fed532c78e64d6ddc936f24/raw/fix_bcachefs_tools.patch | git apply -v

Tested and verified on CachyOS (Arch) with Kernel 6.18.

Hope this helps!

freswa commented on 2025-09-27 10:17 (UTC)

Mind to add the split package for bcachefs-dkms here?

kode54 commented on 2025-05-28 08:05 (UTC)

Check ~/.cache/paru for source directories.

This commit from last December removed the patch in question, so you should not be seeing it anywhere when building:

https://aur.archlinux.org/cgit/aur.git/commit/PKGBUILD?h=bcachefs-tools-git&id=1b3efbb3c642c7dc709b81932fb027caf7884d10

gkmcd commented on 2025-05-27 07:22 (UTC)

@kode54 I've tried to install this package for the first time with paru -Syu bcachefs-tools-git. I'm not sure where any old source would come from?

I've also tried clearing all cached package with -Scc, which did not help.

What do you mean, update your package source?

kode54 commented on 2025-05-26 10:36 (UTC)

How can you be having the same issue as @nathanielcwm? That patch does not exist any more. Please update your package source before rebuilding.

gkmcd commented on 2025-05-26 08:28 (UTC)

Can't install, same error as @nathanielcwm below.

kode54 commented on 2025-05-02 20:14 (UTC)

By the way, it doesn't require a new release, but you don't need to include git as a depends, just a makedepends. Feel free to update that at any time, and thanks for responding so quickly. :)

snogard commented on 2025-05-02 13:28 (UTC)

I'm having the same exact problem as @nathanielcwm

kode54 commented on 2025-05-01 10:27 (UTC)

Please add git to makedepends, and disable the (still incomplete) FUSE support, by removing the fuse3 dependency and removing the BCACHEFS_FUSE setting from both build and install steps.

Setting it to 0 does not disable it, as the Makefile does an ifdef check, not a value check.