Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#80189 - [bcachefs-tools] build with fuse3 support

Attached to Project: Arch Linux
Opened by nl6720 (nl6720) - Tuesday, 07 November 2023, 10:49 GMT
Last edited by freswa (frederik) - Tuesday, 07 November 2023, 20:44 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To freswa (frederik)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
/usr/bin/mount.fuse.bcachefs (bcachefs fusemount) doesn't work since the package is built without fuse3 support. Since it will be a while until Linux 6.7 is out, it would be useful to have at least bcachefs via fuse.

$ mount.fuse.bcachefs /tmp/test.img /mnt
ERROR - bcachefs_rust::cmd_mount: Fatal error: No such device

Replacing `make` with `BCACHEFS_FUSE=1 make` in the PKGBUILD per https://github.com/koverstreet/bcachefs-tools/blob/master/INSTALL.md#experimental-features results in:

Bcmd_fusemount.c:24:10: fatal error: libbcachefs/io.h: No such file or directory
24 | #include "libbcachefs/io.h"
| ^~~~~~~~~~~~~~~~~~
compilation terminated.

This can be fixed by backporting https://github.com/koverstreet/bcachefs-tools/commit/a0371350efecbc09ca24864a414eee2d7c691c34.patch
See attached diff.


Additional info:
* package version(s)
* config and/or log files etc.
* link to upstream bug report, if any
bcachefs-tools 3:1.3.1-1


Steps to reproduce:
$ truncate -s 1G /tmp/test.img
$ mkfs.bcachefs /tmp/test.img
# mount.fuse.bcachefs /tmp/test.img /mnt
This task depends upon

Closed by  freswa (frederik)
Tuesday, 07 November 2023, 20:44 GMT
Reason for closing:  Implemented

Loading...