On Tue, Jan 23, 2024 at 10:58:03AM +0200, Faidon Liambotis wrote:
> > * The "udev" crate is required, and missing from the
> >   missing list. Note that it's distinctly different to
> >   librust-libudev-dev. debcargo generates a librust-udev-dev package
> >   that seems to build with minor modifications, and no other
> >   dependencies.
> 
> Still required.

I uploaded that last week, currently sitting in NEW.

> > * bch_bindgen also depends on a custom fork of rust-bindgen, checked out
> >   from bcachefs' git. This seems to have only a patch compared to what's
> >   shipped in Debian, originating in an upstream issue:
> >   https://github.com/rust-lang/rust-bindgen/issues/2240
> > 
> This turned out to be more complicated. There's been some discussion on
> the upstream bug tracker:
> https://github.com/koverstreet/bcachefs-tools/issues/202
> including a proposed way forward, that Thomas Bertschinger kindly
> implemented:
> https://lore.kernel.org/linux-bcachefs/20240122201913.GA207770@fedora-laptop/T/#t

This was merged, and bcachefs-tools could be built with Debian's bindgen
for a short while. In the time since, a more generic fix went into
bindgen 0.69.4, and backed out from bcachefs:
https://lore.kernel.org/linux-bcachefs/pcj3od6gpxug7rwksamxfn2hnz2mrebrypa6ss67igmupeqvip@7r2s22ajvygg/T/#t

This will mean one of two options: a) upgrade bindgen in Debian to
0.69.4, b) cherry-pick a revert of this patch.

Faidon

Reply via email to