[Bug 437804] New: Module::CoreList does not support perl version 5.010000

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.




https://bugzilla.redhat.com/show_bug.cgi?id=437804

           Summary: Module::CoreList does not support perl version 5.010000
           Product: Fedora
           Version: rawhide
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: low
          Priority: low
         Component: cpanspec
        AssignedTo: steve@xxxxxxxxx
        ReportedBy: rc040203@xxxxxxxxxx
         QAContact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: fedora-perl-devel-list@xxxxxxxxxx


Description of problem:
cpanspec is broken when being used with perl-5.10 (fc9)

# cpanspec --packager foo -o -s Test
Module::CoreList does not support perl version 5.010000!
Version-Release number of selected component (if applicable):


How reproducible:
Always.

Steps to Reproduce:
1. cf. above

Expected results:
function.

Additional info:
AFAIS, the culprit is http://rt.cpan.org/Public/Bug/Display.html?id=32047
i.e. Module::CoreList's silly versioning.

This breaks cpanspec's "$Module::CoreList::version{$]}" because
in cpanspec $] expands to 5.010000 (trailing zeros),
while the keys in CoreList are floats (They expect 5.01).

Cf. /usr/bin/corelist -v 's output:
$ corelist -v
...
5.01
...

Though I think, the actual bug to be in Module::CoreList, this hack below would
get cpanspec going again:

-- /usr/bin/cpanspec~      2008-03-17 15:43:41.000000000 +0100
+++ /usr/bin/cpanspec       2008-03-17 15:43:41.000000000 +0100
@@ -563,7 +563,7 @@
 }
 
 die "Module::CoreList does not support perl version $]!\n"
-    if (!exists($Module::CoreList::version{$]}));
+    if (!exists($Module::CoreList::version{$] + 0 }));
 
 my @args=@ARGV;
 my @processed=();

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux