Red Hat Bugzilla – Bug 614470
Module VERSION value breaks with use Archive::Tar $version
Last modified: 2010-07-21 10:11:44 EDT
Description of problem:
When a program or module calls:
use Archive::Tar 1.29
A warning is printed similar to:
Argument "1.39_01" isn't numeric in subroutine entry
This is seemingly due to the way that version values are compared on module import. It only happens when -w is passed to the intepreter or when 'use warnings;' is in effect.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Run this script:
use Archive::Tar 1.29;
print "Hello world...";
Argument "1.39_01" isn't numeric in subroutine entry at test.pl line 4.
This isn't a critical issue, but it does cause our spamassassin sa-update cron job to generate mail at every run.
I've worked around it for now by adding:
$VERSION = eval $VERSION;
immediately after the $VERSION = "1.39_01";
line in Tar.pm. This issue will only present on 'alpha' version numbering (ones containing the _XY). An upstream fix adding the above line is likely appropriate as a general fix.
I believe there is policy that the same package can't be in EPEL and in RHEL. This package should be removed from EPEL if it's there.
The bug was already fixed in RHEL #612879.
Mark as dead package in EPEL, because package is in RHEL repositories.