From: "Malte Schröder" <malte.schroeder@tnxip.de>
To: John Stoffel <john@stoffel.org>, linux-bcachefs@vger.kernel.org
Subject: Re: errors compiling bcachefs-tools v1.20.0 on debian 12
Date: Mon, 17 Mar 2025 22:48:25 +0100 [thread overview]
Message-ID: <66bf47fc-643e-4e6b-ab6d-492024fdd2e7@tnxip.de> (raw)
In-Reply-To: <26584.36927.6100.282713@quad.stoffel.home>
On 17/03/2025 22:12, John Stoffel wrote:
> Hi guys,
> I'm trying to upgrade the bcachefs tools since I tend to use newer
> kernels on my Debian 12 system. The debian packages bcachefs-tools
> are ancient.
>
> So I cloned the repo, installed the pre-reqs and I'm trying to compile
> it, but I get the following:
>
>
> quad:/bcachefs/bcachefs1/bcachefs-tools$ make
> [CC] c_src/bcachefs.o
> In file included from ./libbcachefs/bcachefs.h:202,
> from c_src/tools-util.h:21,
> from c_src/cmds.h:10,
> from c_src/bcachefs.c:26:
> include/linux/srcu.h:10:41: error: return type is an incomplete type
> 10 | static inline struct urcu_gp_poll_state get_state_synchronize_rcu()
> | ^~~~~~~~~~~~~~~~~~~~~~~~~
> include/linux/srcu.h: In function ‘get_state_synchronize_rcu’:
> include/linux/srcu.h:12:16: warning: implicit declaration of function ‘start_poll_synchronize_rcu’ ]
> 12 | return start_poll_synchronize_rcu();
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> include/linux/srcu.h:12:16: warning: ‘return’ with a value, in function returning void [-Wreturn-ty]
> 12 | return start_poll_synchronize_rcu();
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> include/linux/srcu.h:10:41: note: declared here
> 10 | static inline struct urcu_gp_poll_state get_state_synchronize_rcu()
> | ^~~~~~~~~~~~~~~~~~~~~~~~~
> include/linux/srcu.h: At top level:
> include/linux/srcu.h:25:99: error: parameter 2 (‘cookie’) has incomplete type
> 25 | bool poll_state_synchronize_srcu(struct srcu_struct *ssp, struct urcu_gp_poll_state cookie)
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
>
> include/linux/srcu.h: In function ‘poll_state_synchronize_srcu’:
> include/linux/srcu.h:27:16: warning: implicit declaration of function ‘poll_state_synchronize_rcu’;]
> 27 | return poll_state_synchronize_rcu(cookie);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> | poll_state_synchronize_srcu
> include/linux/srcu.h: At top level:
> include/linux/srcu.h:30:41: error: return type is an incomplete type
> 30 | static inline struct urcu_gp_poll_state start_poll_synchronize_srcu(struct srcu_struct *ssp)
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> include/linux/srcu.h: In function ‘start_poll_synchronize_srcu’:
> include/linux/srcu.h:32:16: warning: ‘return’ with a value, in function returning void [-Wreturn-ty]
> 32 | return start_poll_synchronize_rcu();
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> include/linux/srcu.h:30:41: note: declared here
> 30 | static inline struct urcu_gp_poll_state start_poll_synchronize_srcu(struct srcu_struct *ssp)
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> include/linux/srcu.h: At top level:
> include/linux/srcu.h:35:41: error: return type is an incomplete type
> 35 | static inline struct urcu_gp_poll_state get_state_synchronize_srcu(struct srcu_struct *ssp)
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> make: *** [Makefile:171: c_src/bcachefs.o] Error 1
> quad:/bcachefs/bcachefs1/bcachefs-tools$ git branch
> master * v1.20.0
>
Libs in Debian 12/Bookworm are too old for bcachefs-tools. I think
someone pulled it of by forcing some libs from Trixie, but that caused
other things to break.
next prev parent reply other threads:[~2025-03-17 23:06 UTC|newest]
Thread overview: 63+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-11 20:15 [PATCH 00/14] better handling of checksum errors/bitrot Kent Overstreet
2025-03-11 20:15 ` [PATCH 01/14] bcachefs: Convert read path to standard error codes Kent Overstreet
2025-03-11 20:15 ` [PATCH 02/14] bcachefs: Fix BCH_ERR_data_read_csum_err_maybe_userspace in retry path Kent Overstreet
2025-03-11 20:15 ` [PATCH 03/14] bcachefs: Read error message now indicates if it was for an internal move Kent Overstreet
2025-03-11 20:15 ` [PATCH 04/14] bcachefs: BCH_ERR_data_read_buffer_too_small Kent Overstreet
2025-03-11 20:15 ` [PATCH 05/14] bcachefs: Return errors to top level bch2_rbio_retry() Kent Overstreet
2025-03-11 20:15 ` [PATCH 06/14] bcachefs: Print message on successful read retry Kent Overstreet
2025-03-11 20:15 ` [PATCH 07/14] bcachefs: Don't create bch_io_failures unless it's needed Kent Overstreet
2025-03-11 20:15 ` [PATCH 08/14] bcachefs: Checksum errors get additional retries Kent Overstreet
2025-03-11 20:15 ` [PATCH 09/14] bcachefs: __bch2_read() now takes a btree_trans Kent Overstreet
2025-03-11 20:15 ` [PATCH 10/14] bcachefs: Poison extents that can't be read due to checksum errors Kent Overstreet
2025-03-11 20:15 ` [PATCH 11/14] bcachefs: Data move can read from poisoned extents Kent Overstreet
2025-03-11 20:15 ` [PATCH 12/14] bcachefs: Debug params for data corruption injection Kent Overstreet
2025-03-11 20:15 ` [PATCH 13/14] block: Allow REQ_FUA|REQ_READ Kent Overstreet
2025-03-15 16:47 ` Jens Axboe
2025-03-15 17:01 ` Kent Overstreet
2025-03-15 17:03 ` Jens Axboe
2025-03-15 17:27 ` Kent Overstreet
2025-03-15 17:43 ` Jens Axboe
2025-03-15 18:07 ` Kent Overstreet
2025-03-15 18:32 ` Jens Axboe
2025-03-15 18:41 ` Kent Overstreet
2025-03-17 6:00 ` Christoph Hellwig
2025-03-17 12:15 ` Kent Overstreet
2025-03-17 14:13 ` Keith Busch
2025-03-17 14:49 ` Kent Overstreet
2025-03-17 15:15 ` Keith Busch
2025-03-17 15:22 ` Kent Overstreet
2025-03-17 15:30 ` Martin K. Petersen
2025-03-17 15:43 ` Kent Overstreet
2025-03-17 17:57 ` Martin K. Petersen
2025-03-17 18:21 ` Kent Overstreet
2025-03-17 19:24 ` Keith Busch
2025-03-17 19:40 ` Kent Overstreet
2025-03-17 20:39 ` Keith Busch
2025-03-17 21:13 ` Bart Van Assche
2025-03-18 1:06 ` Kent Overstreet
2025-03-18 6:16 ` Christoph Hellwig
2025-03-18 17:49 ` Bart Van Assche
2025-03-18 18:00 ` Kent Overstreet
2025-03-18 18:10 ` Keith Busch
2025-03-18 18:13 ` Kent Overstreet
2025-03-20 5:40 ` Christoph Hellwig
2025-03-20 10:28 ` Kent Overstreet
2025-03-18 0:27 ` Kent Overstreet
2025-03-18 6:11 ` Christoph Hellwig
2025-03-18 21:33 ` Kent Overstreet
2025-03-17 17:32 ` Keith Busch
2025-03-18 6:19 ` Christoph Hellwig
2025-03-18 6:01 ` Christoph Hellwig
2025-03-11 20:15 ` [PATCH 14/14] bcachefs: Read retries are after checksum errors now REQ_FUA Kent Overstreet
2025-03-17 20:55 ` [PATCH 00/14] better handling of checksum errors/bitrot John Stoffel
2025-03-17 21:12 ` errors compiling bcachefs-tools v1.20.0 on debian 12 John Stoffel
2025-03-17 21:48 ` Malte Schröder [this message]
2025-03-17 23:10 ` John Stoffel
2025-03-18 21:04 ` John Stoffel
2025-03-18 21:32 ` Malte Schröder
2025-03-19 14:16 ` John Stoffel
2025-03-24 15:25 ` Krzysztof Hajdamowicz
2025-03-26 13:45 ` John Stoffel
2025-03-18 1:15 ` [PATCH 00/14] better handling of checksum errors/bitrot Kent Overstreet
2025-03-18 14:47 ` John Stoffel
2025-03-20 17:15 ` Kent Overstreet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=66bf47fc-643e-4e6b-ab6d-492024fdd2e7@tnxip.de \
--to=malte.schroeder@tnxip.de \
--cc=john@stoffel.org \
--cc=linux-bcachefs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox