Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 951203 - sys-fs/bcachefs-tools-1.20.0 fails to build: incompatible type for argument 2 of ‘rbio_init’
Summary: sys-fs/bcachefs-tools-1.20.0 fails to build: incompatible type for argument 2...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matt Jolly
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-12 15:43 UTC by Florian Schmaus
Modified: 2025-03-13 17:48 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,33.00 KB, text/x-log)
2025-03-12 15:43 UTC, Florian Schmaus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Schmaus gentoo-dev 2025-03-12 15:43:24 UTC
Created attachment 920620 [details]
build.log

bcachefs-tools-1.20.0 fails to build with:

x86_64-pc-linux-gnu-gcc  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -O2 -march=native -pipe -std=gnu11   -MMD -Wall -
fPIC -Wno-pointer-sign -Wno-deprecated-declarations -fno-strict-aliasing -fno-delete-null-pointer-checks -I. -Ic_src -Iinclude -Iraid -D_FI
LE_OFFSET_BITS=64 -D_GNU_SOURCE -D_LGPL_SOURCE -DRCU_MEMBARRIER -DZSTD_STATIC_LINKING_ONLY -DFUSE_USE_VERSION=35 -DNO_BCACHEFS_CHARDEV -DNO
_BCACHEFS_FS -DNO_BCACHEFS_SYSFS -DVERSION_STRING='"1.20.0"' -D__SANE_USERSPACE_TYPES__  -Wno-unused-but-set-variable -Wno-stringop-overflo
w -Wno-zero-length-bounds -Wno-missing-braces -Wno-shift-overflow -Wno-enum-conversion -DBCACHEFS_FUSE -I/usr/include/blkid -I/usr/include/
uuid -I/usr/include/fuse3 -c -o c_src/libbcachefs.o c_src/libbcachefs.c
c_src/cmd_fusemount.c:484:43: error: incompatible type for argument 2 of ‘rbio_init’
  484 |         bch2_read(c, rbio_init(&rbio.bio, io_opts), inum);
      |                                           ^~~~~~~
      |                                           |
      |                                           struct bch_io_opts
Comment 1 Florian Schmaus gentoo-dev 2025-03-12 15:48:12 UTC
Probably requires USE=fuse
Comment 2 Larry the Git Cow gentoo-dev 2025-03-13 17:48:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fec786ce9d0d512ab9495be1de9e2a879119f979

commit fec786ce9d0d512ab9495be1de9e2a879119f979
Author:     Florian Schmaus <flow@gentoo.org>
AuthorDate: 2025-03-13 17:43:55 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2025-03-13 17:48:20 +0000

    sys-fs/bcachefs-tools: fix USE=fuse build
    
    Closes: https://bugs.gentoo.org/951203
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 sys-fs/bcachefs-tools/Manifest                     | 1 +
 sys-fs/bcachefs-tools/bcachefs-tools-1.20.0.ebuild | 9 ++++++++-
 2 files changed, 9 insertions(+), 1 deletion(-)