Bug#668638: dh-make-perl: Incorrect dependency detection (because Module::Depends is used)

Damyan Ivanov dmn at debian.org
Thu Aug 8 16:26:51 UTC 2013


Control: -1 tags confirmed

-=| Slaven Rezic, 13.04.2012 21:02:05 +0200 |=-
> Package: dh-make-perl
> Version: 0.70-1
> Severity: normal
> 
> When trying to build Tk::Wizard with dh-make-perl using
> 
>     dh-make-perl --cpan=Tk::Wizard --build
> 
> an obviously wrong dependecy was detected:
> 
> - Win32::TieRegistry  not found in any package
>    CPAN contains it in Win32-TieRegistry
>    substituting package name of libwin32-tieregistry-perl
> 
> Problem is very probably that META.yml is used for
> dependency detection. This is wrong unless dynamic_config:0 is
> set in the META file. If dynamic_config is not defined or
> set to 1, then Makefile.PL or Build.PL must be run and
> the created Makefile or Build must be inspected for the
> correct dependencies (in newer Perls one can use the created
> MYMETA* files instead).

Thanks for the explanation and sorry for replaying more than an year 
later.

> I can point you to the correct dependency detection code in
> CPAN.pm.

That would be very helpful indeed. Hopefully there is a way to just 
use some CPAN.pm-provided method to obtain this information.

> Maybe using Module::Depends::Intrusive *always* would also do the 
> right thing.

Tried that, but for this package M:D:Intrusive returns an empty hash 
:/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20130808/6959e22c/attachment.sig>


More information about the pkg-perl-maintainers mailing list