Bug#851136: dh-make-perl: docs of where available modules -> debs found

gregor herrmann gregoa at debian.org
Sat Jan 14 15:36:28 UTC 2017


On Thu, 12 Jan 2017 22:04:08 +1100, Kevin Ryde wrote:

> It'd be good if the dh-make-perl man page summarised how it turns perl
> module depends into deb package depends.  The details of this have
> changed over time, but something short on what it looks for (and caches)
> would be good.

Thanks for your bug report.
 
> I struck trouble recently with dh-make-perl reporting I only had an old
> deb version available, despite new enough installed and in apt.  It took
> a while for me to guess it was reading /var/lib/dpkg/available, which
> for me was long out of date due to using apt not dselect I suppose.
> That file could be listed in the "FILES" section.

I think we actually have two issues here:
1) missing documentation for how dh-make-perl does the mapping of
   CPAN distributions to Debian packages (which is primarily with
   apt-file but also with DPKG::Parse::Available)
2) DPKG::Parse::Available reading the /var/lib/dpkg/available file
   which doesn't get updated anymore (?).
   I'm wondering if using DPKG::Parse::Status which reads
   /var/lib/dpkg/status would make sense. This then only returns
   installed packages in my understanding but maybe that was the idea
   of this change? [0]

Cc'ing Andy as the author of this functionality.


Cheers,
gregor


[0] 51f689679cc59e21650b18b907fe6929f4328952
https://anonscm.debian.org/cgit/pkg-perl/packages/dh-make-perl.git/commit/?id=51f689679cc59e21650b18b907fe6929f4328952

-- 
 .''`.  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: Dave Brubeck: Blue Rondo A La Turk
-------------- 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/20170114/802157b1/attachment.sig>


More information about the pkg-perl-maintainers mailing list