Bug#931730: libfile-stripnondeterminism-perl: build dependency cycle with libsub-identify-perl

Chris Lamb lamby at debian.org
Tue Jul 9 20:08:18 BST 2019


Hi Niko,

> the recently added libmonkey-patch-perl dependency in
> libfile-stripnondeterminism-perl has unfortunately resulted in a build
> dependency cycle
[…]
> I see this new dependency was introduced for normalizing zip archives
> (#858431) by changing the Archive::Zip behaviour on the fly. Is this
> fixable on the Archive::Zip side?

I guess in theory but if I recall the details correctly, I don't
/think/ this was going to be a trivial patch to Archive::Zip and my
Perl-fu is/was a bit weak. Would pkg-perl apply and upload a patch
anyway?

Here's a link to my long comment given that I just dug it up for my
own benefit:

  https://salsa.debian.org/reproducible-builds/strip-nondeterminism/commit/f40f555085eeb086bfd4ee1fca1012550790a12d#40676c4ac877689b2966fdabb71ac3686de48aeb_227_224
  
... although I would concede that this doesn't speak to the
plausibility of the aforementioned patch.

> Alternatively, would it be possible to weaken the cycle somehow, for
> instance by making this dependency optional and having the packages that
> actually need it declare an explicit build dependency ?

Would adding a <!nocheck> restriction be of use to you?


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org 🍥 chris-lamb.co.uk
       `-



More information about the Reproducible-builds mailing list