Bug#517227: dh-make-perl cannot find dependancy using
Damyan Ivanov
dmn at debian.org
Fri Feb 27 06:07:05 UTC 2009
-=| gregor herrmann, Thu, Feb 26, 2009 at 10:55:17PM +0100 |=-
> On Thu, 26 Feb 2009 23:15:47 +0200, Damyan Ivanov wrote:
>
> > 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.
>
> Ah, good catch.
>
> > 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 remember the reason: you added the filtering after I complained
> that creating the cache takes ages because my sources.list is so long
> :)
Caching shall help here. stable does not change that much. testing
does though...
Another help is the --refresh-cache command which can be used to
update dh-make-perl caches after firing apt-file update in some cron
job...
> > I think I shall remove the filtering and see what happens.
>
> Hm, maybe some fallback or option or ...?
There is an option.
Ilya, can you try adding "--dist stable" to the command line and see
if it makes a difference?
Fallback would complicate things. "Unable to find any Contents files
matching {sid,unstable}. Trying with {stable,testing}...".
In any case, the information about chosen Contents distributions shall
be made more visible (somehow).
--
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/20090227/21a54544/attachment.pgp
More information about the pkg-perl-maintainers
mailing list