Quoting Matthias Geiger (2025-08-02 21:44:07) > 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.
I don't like the "temporary" part of that plan. Not sure, but I imagine that a more sustainable alternative is to provide the rng feature of uuid as a separate (i.e. non-virtual) binary together with whatever other features also depending on random. That way only packages depending on those features need to pull in random, which might break the dependency loop. - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ * Sponsorship: https://ko-fi.com/drjones [x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: signature

