develooper Front page | perl.perl5.porters | Postings from May 2012

Re: Perl 5.16.0 RC0

Thread Previous | Thread Next
From:
Rafael Garcia-Suarez
Date:
May 11, 2012 04:26
Subject:
Re: Perl 5.16.0 RC0
Message ID:
CAMoYMM-XqTMOX=hCasKJ-636wTdS1HyO0AHwF5rZ7__piNDRvw@mail.gmail.com
On 11 May 2012 13:15, Zefram <zefram@fysh.org> wrote:
> Ricardo Signes wrote:
>>  3f08f8e00adc215ccbf6aff38c58eef58f4df102  perl-5.16.0-RC0.tar.bz2
>
> Downloaded a file by this name that had a different SHA1 sum:
>
> 5cb530735dca0d180e5ea9fbbee99197bd7cccb0  perl-5.16.0-RC0.tar.bz2
>
>>  99ce35a3e1a48b6936e3e2e56966cb6736181875  perl-5.16.0-RC0.tar.gz
>
> Got this one intact.  Built and tested fine for i686-linux-64int-ld.
> Failed to install mod_perl from CPAN:
>
> |Running install for module 'APR'
> |Running make for P/PH/PHRED/mod_perl-2.0.6.tar.gz
> |Checksum for /opt/perl-5.16.0-RC0/cpan/sources/authors/id/P/PH/PHRED/mod_perl-2.0.6.tar.gz ok
> |
> |  CPAN.pm: Building P/PH/PHRED/mod_perl-2.0.6.tar.gz
> |
> |Please repair your Module::CoreList at lib/Apache2/Build.pm line 49.
> |BEGIN failed--compilation aborted at lib/Apache2/Build.pm line 64.
> |Compilation failed in require at Makefile.PL line 37.
> |BEGIN failed--compilation aborted at Makefile.PL line 37.
> |Warning: No success on command[/opt/perl-5.16.0-RC0/bin/perl Makefile.PL]
> |'YAML' not installed, will not store persistent state
> |  PHRED/mod_perl-2.0.6.tar.gz
> |  /opt/perl-5.16.0-RC0/bin/perl Makefile.PL -- NOT OK
> |Running make test
> |  Make had some problems, won't test
> |Running make install
> |  Make had some problems, won't install
>
> The problem is that %Module::CoreList::version contains the key "5.016"
> whereas the string value of $] is "5.016000".  Did we change how this
> works somewhere?

You need both entries in the hashes, see patch below. I did not dare
pushing it yet. That part should probably have tests, too.

diff --git a/dist/Module-CoreList/lib/Module/CoreList.pm
b/dist/Module-CoreList/lib/Module/CoreList.pm
index 9b5b07a..ec6e1aa 100644
--- a/dist/Module-CoreList/lib/Module/CoreList.pm
+++ b/dist/Module-CoreList/lib/Module/CoreList.pm
@@ -34687,6 +34687,8 @@ $released{'5.011000'} = $released{5.011};
 $released{'5.012000'} = $released{5.012};
 $released{'5.013000'} = $released{5.013};
 $released{'5.014000'} = $released{5.014};
+$released{'5.015000'} = $released{5.015};
+$released{'5.016000'} = $released{5.016};

 $version{'5.000'} = $version{5};
 $version{'5.010000'} = $version{5.01};
@@ -34694,11 +34696,15 @@ $version{'5.011000'} = $version{5.011};
 $version{'5.012000'} = $version{5.012};
 $version{'5.013000'} = $version{5.013};
 $version{'5.014000'} = $version{5.014};
+$version{'5.015000'} = $version{5.015};
+$version{'5.016000'} = $version{5.016};

 $deprecated{'5.011000'} = $deprecated{5.011};
 $deprecated{'5.012000'} = $deprecated{5.012};
 $deprecated{'5.013000'} = $deprecated{5.013};
 $deprecated{'5.014000'} = $deprecated{5.014};
+$deprecated{'5.015000'} = $deprecated{5.015};
+$deprecated{'5.016000'} = $deprecated{5.016};

 1;
 __END__

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About