On Sat, 02 Aug 2025 19:30:59 +0200 Jonas Smedegaard <[email protected]> wrote:
Quoting Matthias Geiger (2025-08-02 19:17:46)
> On Sat, 02 Aug 2025 19:07, Jonas Smedegaard <[email protected]> wrote:
> >I now identified a more narrow problem that is hopefully the real one
> >(not another one): librust-uuid-dev is impossible to install. Filed as
> >bug#1110273.
> >
> > - Jonas
> >
> Since rand etc. only gets pulled in as -dev-dependency, and since you
> B-D on -dev-dependencies not needed for cargo build, but only for cargo
> test, IMO the "easiest" way is to disable tests for now since that
> caused this loop.
With dh-rust, also the install routine requires dev-dependencies
satisfied.
dh-cargo has python code copying Rust code files.
dh-rust rely on upstream cargo to copy Rust code files, which requires
dev-dependencies available. So no, I cannot do that trick (or I won't,
because I won't bypass cargo in relolving upstream dependency tree).
The easiest way to unbreak this loop (and we have to do this) is IMO to
temporarily disable the log feature of rand. This avoids rand pulling in
log, breaking the cycle. Then at least ahash should built. I will do a
quick testrun of both and report back here.
best,
werdahias