Bug#686739: dh-make-perl: Incorrect resolution of

Damyan Ivanov dmn at debian.org
Wed Sep 5 09:03:01 UTC 2012


dependencies
Reply-To:
In-Reply-To: <20120905080205.3982.11933.reportbug at vpn-gw-int.charite.de>
X-Debbugs-No-Ack: please

tags 686739 confirmed
fixed 686739 0.75-1
thanks

-=| Ralf Hildebrandt, 05.09.2012 10:02:05 +0200 |=-
> Package: dh-make-perl
> Version: 0.70-1
> Severity: important
> 
> 
> I'm trying to build CGI::Application::Dispatch as a debian package.
> Here's what happens:
> 
> # dh-make-perl --cpan-mirror
> ftp://ftp.gwdg.de/pub/languages/perl/CPAN/ -build --cpan
> CGI::Application::Dispatch
> Going to read '/root/.cpan/Metadata'
>>   CPAN: Digest::SHA loaded ok (v5.47)
>   Checksum for
> /root/.cpan/source/authors/id/M/MA/MARKSTOS/CGI-Application-Dispatch-3.10.tar.gz
> ok
> CPAN: Archive::Tar loaded ok (v1.52)
>> CGI-Application-Dispatch-3.10/lib/CGI/Application/Dispatch/Regexp.pm
> CPAN: File::Temp loaded ok (v0.22)
> ----    Unsatisfied dependencies detected during   ----
> ---- MARKSTOS/CGI-Application-Dispatch-3.10.tar.gz ----
>     Module::Build [build_requires]
> Shall I follow them and prepend them to the queue
> of modules we are processing right now? [yes] 
> Cannot get M/MA/MARKSTOS/CGI-Application-Dispatch-3.10.tar.gz

I tried this on a squeeze system and it behaves as above. The reason 
is that the $dist->get call returns false, which is somewhat outside 
of dh-make-perl's realm.

Answering 'no' to the question about pulling Module::Build leads to

 never reached at /usr/share/perl/5.10/CPAN/Distribution.pm line 667, <STDIN> line 1.

This really sounds like a problem in CPAN.pm somewhere. Installing 
libmodule-build-perl for the Module::Build dependency doesn't seem to 
make any difference (it is not detected).

This seems to work OK in dh-make-perl 0.75-1 from unstable. Marking 
the bug as fixed there for now. Perhaps there is some workaround that 
we could use in DhMakePerl::Command::make (line 280), any clues?
-------------- 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/20120905/ca34ff4c/attachment.pgp>


More information about the pkg-perl-maintainers mailing list