Bug#730229: libmodule-starter-perl: $ExtUtils::MakeMaker::VERSION is not numeric in numeric ge
Dennis van Dok
dennisvd at nikhef.nl
Fri Nov 22 21:35:11 UTC 2013
Package: libmodule-starter-perl
Version: 1.580+dfsg-1
Severity: normal
Tags: upstream patch
When starting a fresh module with MakeMaker e.g. with
module-starter --module Test -eumm --author "John Doe" --email "jdoe at example.com"
The Makefile.PL contains a test:
($ExtUtils::MakeMaker::VERSION >= 6.3002
? ('LICENSE'=> 'perl')
: ()),
However, the $ExtUtils::MakeMaker::VERSION is a string '6.57_05'.
When running
perl Makefile.PL
it prints an error:
Argument "6.57_05" isn't numeric in numeric ge (>=) at Makefile.PL line 6.
The solution is to use Revision instead of VERSION.
I'll attach a patch. It doesn't seem to affect the generated Makefile on my
system.
-- System Information:
Debian Release: 7.2
APT prefers stable
APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.10-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libmodule-starter-perl depends on:
ii libpath-class-perl 0.26-1
ii perl 5.14.2-21+deb7u1
libmodule-starter-perl recommends no packages.
libmodule-starter-perl suggests no packages.
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makemakerversion.patch
Type: text/x-diff
Size: 402 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20131122/cbea110c/attachment.patch>
More information about the pkg-perl-maintainers
mailing list