Bug#785031: Bug#782676: libgraph-perl: warning about Storable version 2.49_01

Niko Tyni ntyni at debian.org
Sat Sep 19 17:55:49 UTC 2015


tag 782676 patch
thanks

On Thu, Apr 16, 2015 at 10:30:18AM +1000, Kevin Ryde wrote:
> Package: libgraph-perl
> Version: 1:0.96-1.1
> Severity: minor
> File: /usr/share/perl5/Graph.pm
> 
> Running
> 
>     perl -w -MGraph /dev/null
> 
> gives a warning
> 
>     Argument "2.49_01" isn't numeric in numeric ge (>=) at (eval 6) line 1.
> 
> which I believe is due to the version check at the start of Graph.pm.
> 
> It'd be good if that check was done with ->VERSION() so version.pm can
> crunch the dodgy cpanish "2.49_01" in Storable.pm of perl 5.20.xyz.

This warning also affects other packages: using libgraph-d3-perl currently
triggers it too, see #785031. For your convenience, I'm attaching a
patch with Kevin's suggested fix. I've tested that it fixes the issue
while keeping the test suite passing.

Please let me know if you'd like an NMU. The pkg-perl group is also
happy to adopt the package in case you don't want to maintain it anymore.

Thanks for your work on Debian,
-- 
Niko Tyni   ntyni at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Don-t-compare-version-numbers-numerically.patch
Type: text/x-diff
Size: 1054 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20150919/a8dda15b/attachment.patch>


More information about the pkg-perl-maintainers mailing list