Quoting Hilko Bengen (2025-02-07 23:31:43)
> Control: tag -1 patch
> 
> * Jonas Smedegaard:
> 
> > Thanks a lot, Hilko!
> >
> > I have tried to do similar, but using the CPAN library Graph.  I will
> > have a closer look at your seemingly more lightweight approach.
> 
> Here's a refined versino of my patch that will cause dh-rust to throw an
> error on cycles in their dependency graph instead of hanging.
> 
> Using this patch, I tried to rebuild 112 packages that depend on
> dh-rust. Of those 112 packages, only 2 failed to build because of a
> cycle: rust-axum and rust-bounded-static. (On 7 other packages, either
> build-dependencies had become unavailable or tests had started to fail,
> independent of dh-rust behavior.)
> 
> This is certainly an improvement over the status quo and should allow
> packages to migrate towards testing.
> 
> If NoisyCoil's patch can be added to cargo, that will be the better
> long-term solution, but for the time being I think that dependency
> sorting + cycle detection should be added to dh-rust so we can move on
> with other packaging tasks before the freeze.
> 
> Cheers,
> -Hilko

Thanks a lot, Hilko and NoisyCoil.

 - 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

Attachment: signature.asc
Description: signature

Reply via email to