Subject: | test broken on linux |
I use cpanm install this module failed , the following is the log of cpanm :
[ my environment are ]
OS : Linux vsandbox067001 3.2.0-43-virtual #68-Ubuntu SMP Wed May 15 03:52:58 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
perl : This is perl 5, version 18, subversion 0 (v5.18.0)
===========================================
cpanm (App::cpanminus) 1.6911 on perl 5.018000 built for x86_64-linux
Work directory is /home/admin/.cpanm/work/1375266226.6770
You have make /usr/bin/make
You have LWP 6.05
You have /bin/tar: tar (GNU tar) 1.26
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
You have /usr/bin/unzip
Searching Regexp::Common::time on cpanmetadb ...
--> Working on Regexp::Common::time
Fetching http://www.cpan.org/authors/id/R/RO/ROODE/Regexp-Common-time-0.04.tar.gz
-> OK
Unpacking Regexp-Common-time-0.04.tar.gz
Entering Regexp-Common-time-0.04
Checking configure dependencies from META.yml
Configuring Regexp-Common-time-0.04
Running Build.PL
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Regexp-Common-time' version '0.04'
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have Test::More 0.40 ... Yes (0.98)
Checking if you have Regexp::Common 0 ... Yes (2013031301)
Checking if you have POSIX 0 ... Yes (1.32)
Building and testing Regexp-Common-time-0.04
Building Regexp-Common-time
t/0-signature.t .. ok
t/1-load.t ....... ok
syntax error at t/american.t line 12, near "->import qw(langinfo MON_1 ABMON_1 MON_2 ABMON_2 MON_3 ABMON_3 MON_4 ABMON_4 MON_5 ABMON_5 MON_6 ABMON_6 MON_7 ABMON_7 MON_8 ABMON_8 MON_9 ABMON_9 MON_10 ABMON_10 MON_11 ABMON_11 MON_12 ABMON_12)"
BEGIN not safe after errors--compilation aborted at t/american.t line 101.
t/american.t .....
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
syntax error at t/dmy.t line 13, near "->import qw(langinfo MON_1 ABMON_1 MON_2 ABMON_2 MON_3 ABMON_3 MON_4 ABMON_4 MON_5 ABMON_5 MON_6 ABMON_6 MON_7 ABMON_7 MON_8 ABMON_8 MON_9 ABMON_9 MON_10 ABMON_10 MON_11 ABMON_11 MON_12 ABMON_12)"
BEGIN not safe after errors--compilation aborted at t/dmy.t line 591.
t/dmy.t ..........
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
syntax error at t/doc.t line 25, near "->import qw(langinfo MON_11 ABDAY_5)"
Execution of t/doc.t aborted due to compilation errors.
# Looks like your test exited with 255 before it could output anything.
t/doc.t ..........
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 20/20 subtests
t/hms.t .......... ok
t/mail-strict.t .. ok
t/mail.t ......... ok
syntax error at t/mdy.t line 13, near "->import qw(langinfo MON_1 ABMON_1 MON_2 ABMON_2 MON_3 ABMON_3 MON_4 ABMON_4 MON_5 ABMON_5 MON_6 ABMON_6 MON_7 ABMON_7 MON_8 ABMON_8 MON_9 ABMON_9 MON_10 ABMON_10 MON_11 ABMON_11 MON_12 ABMON_12)"
BEGIN not safe after errors--compilation aborted at t/mdy.t line 701.
t/mdy.t ..........
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
t/strftime.t ..... ok
t/tf.t ........... ok
syntax error at t/ymd.t line 13, near "->import qw(langinfo MON_1 ABMON_1 MON_2 ABMON_2 MON_3 ABMON_3 MON_4 ABMON_4 MON_5 ABMON_5 MON_6 ABMON_6 MON_7 ABMON_7 MON_8 ABMON_8 MON_9 ABMON_9 MON_10 ABMON_10 MON_11 ABMON_11 MON_12 ABMON_12)"
BEGIN not safe after errors--compilation aborted at t/ymd.t line 605.
t/ymd.t ..........
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
t/zone.t ......... ok
Test Summary Report
-------------------
t/american.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
t/dmy.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
t/doc.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 20 tests but ran 0.
t/mdy.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
t/ymd.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
Files=13, Tests=2500, 1 wallclock secs ( 0.31 usr 0.12 sys + 0.98 cusr 0.15 csys = 1.56 CPU)
Result: FAIL
Failed 5/13 test programs. 0/2500 subtests failed.
-> FAIL Installing Regexp::Common::time failed. See /home/admin/.cpanm/build.log for details.
--
clean coder !