Bug#854046: dh-make-perl: Incorrect dependencies created from List::Util

gregor herrmann gregoa at debian.org
Fri Mar 3 18:18:09 UTC 2017


On Fri, 03 Feb 2017 20:57:36 +0200, Niko Tyni wrote:

> > dh-make-perl creates this weird dependency line if there is
> > a dependency on List::Util:
> >  libperl5.24:amd64 (>= 1.45) | libscalar-list-utils-perl (>= 1.45) | perl-base (>= 1.45)
> 
> This should read either something like
>  libscalar-list-utils-perl (>= 1.45) | perl-base (>= 5.25.1)

> In particular, libperl5.xx is always wrong and should be transformed to
> 'perl' or 'perl-base' instead, with some version mangling as well.
> 
> Looks like Debian::Control::FromCPAN::find_debs_for_modules() needs to
> be smarter about newer versions of core modules. Currently it just sees
> that it's not in core for the current Perl, and goes ahead to look for
> it in the package file lists, without giving any special handling to
> the src:perl packages.

In fact it does, but it only knows about 'perl', 'perl-base', and
'perl-modules*' but not about libperl*. At a naïve first glance,
adding libperl* everywhere where perl-modules* occurs might be a good
step forward.


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at/ - Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Rolling Stones
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20170303/4b5984c6/attachment.sig>


More information about the pkg-perl-maintainers mailing list