Bug#517227: dh-make-perl cannot find dependancy using
Damyan Ivanov
dmn at debian.org
Thu Feb 26 21:15:47 UTC 2009
apt-file
Reply-To:
In-Reply-To: <20090226160515.GD4570 at belanna.comodo.priv.at>
X-Debbugs-No-Ack: please
-=| gregor herrmann, Thu, Feb 26, 2009 at 05:05:15PM +0100 |=-
> On Thu, 26 Feb 2009 17:11:27 +0300, Ilya Martynov wrote:
>
> > I tried to build POE::Component::SSLify from CPAN and noticed that
> > dh-make-perl cannot find all dependancies for the module using
> > apt-file:
> >
> > ilya at denmark:~/tmp/POE-Component-SSLify-0.15$ dh-make-perl
> > Found: POE-Component-SSLify 0.15 (libpoe-component-sslify-perl arch=all)
> > + perl found in perl
> > - Net::SSLeay not found in any package
>
> I can't reproduce this problem:
>
>
> gregoa at belanna:/tmp/perl/POE-Component-SSLify-0.15$ dh-make-perl
> Found: POE-Component-SSLify 0.15 (libpoe-component-sslify-perl arch=all)
> Parsing /var/cache/apt/apt-file/ftp.at.debian.org_debian_dists_unstable_Contents-i386.gz ...
> [..]
> + perl found in perl
> + Net::SSLeay found in libnet-ssleay-perl
>
> Needs the following debian packages: libnet-ssleay-perl (>= 1.30)
>
> [..]
>
>
> (And if I ran it a second time the "Parsing /var/cache/..." is
> missing as expected but the result is the same.)
>
> Could you try to "rm ~/.dh-make-perl/Contents.cache" and run
> dh-make-perl again? Maybe there is some problem with the cache ...
I think I have found the root reason. Hopefuly it is not
cache-related.
By default dh-make-perl parses only Contents files the distribution
part of whose names is either 'sid' or 'unstable'. So on a pure stable
(or testing) system, AptContents has nothing to parse and should fail
to detect *any* dependency package.
I am not very sure why I filtered on distribution at all. Perhaps to
avoid false positives when using unofficial repositories, or to save
time parsing. OTOH, if these repositories are in sources.list, the
admin relies on them so...
I think I shall remove the filtering and see what happens.
--
dam JabberID: dam at jabber.minus273.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20090226/c9c3d4db/attachment.pgp
More information about the pkg-perl-maintainers
mailing list