Subject: | Install fails under Perl v5.18.0 |
Date: | Fri, 28 Jun 2013 11:58:17 -0600 |
To: | bug-HTML-Perlinfo [...] rt.cpan.org |
From: | "Hugh S. Myers" <hsmyers [...] gmail.com> |
Here is the log:
cpanm (App::cpanminus) 1.6914 on perl 5.018000 built for
MSWin32-x64-multi-thread
Work directory is C:\Users\hsmyers/.cpanm/work/1372440837.2152
You have make C:\strawberry\c\bin\dmake.exe
You have LWP 6.05
You have C:\gnuwin32\bin\tar.exe, C:\gnuwin32\bin\gzip.exe and
C:\gnuwin32\bin\bzip2.exe
You have C:\gnuwin32\bin\unzip.exe
Searching HTML::Perlinfo on cpanmetadb ...
--> Working on HTML::Perlinfo
Fetching
http://www.cpan.org/authors/id/A/AC/ACCARDO/HTML-Perlinfo-1.62.tar.gz
-> OK
Unpacking HTML-Perlinfo-1.62.tar.gz
Entering HTML-Perlinfo-1.62
Checking configure dependencies from META.yml
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.68)
Configuring HTML-Perlinfo-1.62
Running Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for HTML::Perlinfo
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.68)
Building and testing HTML-Perlinfo-1.62
cp lib/HTML/Perlinfo.pm blib\lib\HTML\Perlinfo.pm
cp lib/HTML/Perlinfo/Loaded.pm blib\lib\HTML\Perlinfo\Loaded.pm
cp lib/HTML/Perlinfo/HTML.pod blib\lib\HTML\Perlinfo\HTML.pod
cp lib/HTML/Perlinfo/Common.pm blib\lib\HTML\Perlinfo\Common.pm
cp lib/HTML/Perlinfo/General.pm blib\lib\HTML\Perlinfo\General.pm
cp lib/HTML/Perlinfo/Base.pm blib\lib\HTML\Perlinfo\Base.pm
cp lib/HTML/Perlinfo/Modules.pm blib\lib\HTML\Perlinfo\Modules.pm
cp lib/HTML/Perlinfo/Apache.pm blib\lib\HTML\Perlinfo\Apache.pm
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e cp -- perlinfo
blib\script\perlinfo
pl2bat.bat blib\script\perlinfo
C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
# Failed test 'use HTML::Perlinfo;'
# at t/test.t line 8.
# Tried to use 'HTML::Perlinfo'.
# Error: syntax error at
C:\Users\hsmyers\.cpanm\work\1372440837.2152\HTML-Perlinfo-1.62\blib\lib/HTML/Perlinfo/Apache.pm
line 32, near "->has qw(mp)"
# Compilation failed in require at
C:\Users\hsmyers\.cpanm\work\1372440837.2152\HTML-Perlinfo-1.62\blib\lib/HTML/Perlinfo.pm
line 8.
# BEGIN failed--compilation aborted at
C:\Users\hsmyers\.cpanm\work\1372440837.2152\HTML-Perlinfo-1.62\blib\lib/HTML/Perlinfo.pm
line 8.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
syntax error at
C:\Users\hsmyers\.cpanm\work\1372440837.2152\HTML-Perlinfo-1.62\blib\lib/HTML/Perlinfo/Apache.pm
line 32, near "->has qw(mp)"
Compilation failed in require at
C:\Users\hsmyers\.cpanm\work\1372440837.2152\HTML-Perlinfo-1.62\blib\lib/HTML/Perlinfo.pm
line 8.
BEGIN failed--compilation aborted at
C:\Users\hsmyers\.cpanm\work\1372440837.2152\HTML-Perlinfo-1.62\blib\lib/HTML/Perlinfo.pm
line 8.
Compilation failed in require at t/info.cgi line 1.
BEGIN failed--compilation aborted at t/info.cgi line 1.
# Failed test 'INFO_VARIABLES worked'
# at t/test.t line 11.
syntax error at
C:\Users\hsmyers\.cpanm\work\1372440837.2152\HTML-Perlinfo-1.62\blib\lib/HTML/Perlinfo/Apache.pm
line 32, near "->has qw(mp)"
Compilation failed in require at
C:\Users\hsmyers\.cpanm\work\1372440837.2152\HTML-Perlinfo-1.62\blib\lib/HTML/Perlinfo.pm
line 8.
BEGIN failed--compilation aborted at
C:\Users\hsmyers\.cpanm\work\1372440837.2152\HTML-Perlinfo-1.62\blib\lib/HTML/Perlinfo.pm
line 8.
Compilation failed in require at t/info.cgi line 1.
BEGIN failed--compilation aborted at t/info.cgi line 1.
# Failed test 'INFO_GENERAL worked'
# at t/test.t line 14.
syntax error at
C:\Users\hsmyers\.cpanm\work\1372440837.2152\HTML-Perlinfo-1.62\blib\lib/HTML/Perlinfo/Apache.pm
line 32, near "->has qw(mp)"
Compilation failed in require at
C:\Users\hsmyers\.cpanm\work\1372440837.2152\HTML-Perlinfo-1.62\blib\lib/HTML/Perlinfo.pm
line 8.
BEGIN failed--compilation aborted at
C:\Users\hsmyers\.cpanm\work\1372440837.2152\HTML-Perlinfo-1.62\blib\lib/HTML/Perlinfo.pm
line 8.
Compilation failed in require at t/info.cgi line 1.
BEGIN failed--compilation aborted at t/info.cgi line 1.
# Failed test 'INFO_LICENSE worked'
# at t/test.t line 17.
syntax error at
C:\Users\hsmyers\.cpanm\work\1372440837.2152\HTML-Perlinfo-1.62\blib\lib/HTML/Perlinfo/Apache.pm
line 32, near "->has qw(mp)"
Compilation failed in require at
C:\Users\hsmyers\.cpanm\work\1372440837.2152\HTML-Perlinfo-1.62\blib\lib/HTML/Perlinfo.pm
line 8.
BEGIN failed--compilation aborted at
C:\Users\hsmyers\.cpanm\work\1372440837.2152\HTML-Perlinfo-1.62\blib\lib/HTML/Perlinfo.pm
line 8.
Compilation failed in require at t/info.cgi line 1.
BEGIN failed--compilation aborted at t/info.cgi line 1.
# Failed test 'INFO_CONFIG worked'
# at t/test.t line 20.
# Looks like you failed 5 tests of 5.
t/test.t ..
Dubious, test returned 5 (wstat 1280, 0x500)
Failed 5/5 subtests
Test Summary Report
-------------------
t/test.t (Wstat: 1280 Tests: 5 Failed: 5)
Failed tests: 1-5
Non-zero exit status: 5
Files=1, Tests=5, 0 wallclock secs ( 0.06 usr + 0.05 sys = 0.11 CPU)
Result: FAIL
Failed 1/1 test programs. 5/5 subtests failed.
dmake.exe: Error code 133, while making 'test_dynamic'
-> FAIL Installing HTML::Perlinfo failed. See
C:\Users\hsmyers\.cpanm\build.log for details.
Reference from 5.18.0-RC1 perldelta.pod:
* qw(...) can no longer be used as parentheses** "qw" lists
used to fool the parser into thinking they were** always
surrounded by parentheses. This permitted some surprising**
constructions such as "foreach $x qw(a b c) {...}", which should**
really be written "foreach $x (qw(a b c)) {...}". These would**
sometimes get the lexer into the wrong state, so they didn't**
fully work, and the similar "foreach qw(a b c) {...}" that one**
might expect to be permitted never worked at all.** ** This
side effect of "qw" has now been abolished. It has been**
deprecated since Perl v5.13.11. It is now necessary to use real**
parentheses everywhere that the grammar calls for them*
And the line in quest is:
$mp_status = 'enabled' if $self->has *qw(mp)*;
in Apache.pm.
In as much as I'd love to use this module, I'd like to see this escalated :)
thanks,
--hsm
Message body is not shown because it is too large.