Subject: | t/invalid.t fails |
Fetching http://search.cpan.org/CPAN/authors/id/A/AS/ASH/TryCatch-1.003000.tar.gz
-> OK
Unpacking TryCatch-1.003000.tar.gz
Entering TryCatch-1.003000
Checking configure dependencies from META.yml
Checking if you have B::Hooks::OP::Check 0.18 ... Yes (0.19)
Checking if you have ExtUtils::MakeMaker 6.42 ... Yes (6.62)
Checking if you have ExtUtils::Depends 0.302 ... Yes (0.304)
Checking if you have B::Hooks::OP::PPAddr 0.03 ... Yes (0.03)
Configuring TryCatch-1.003000
Running Makefile.PL
*** Module::AutoInstall version 1.03
*** Checking for Perl dependencies...
*** Since we're running under CPAN, I'll just let it take care
of the dependency's installation later.
[Core Features]
- Test::More ...loaded. (0.98 >= 0.88)
- Test::Exception ...loaded. (0.31)
- B::Hooks::OP::Check ...loaded. (0.19 >= 0.18)
- B::Hooks::OP::PPAddr ...loaded. (0.03 >= 0.03)
- Parse::Method::Signatures ...loaded. (1.003014 >= 1.003012)
- B::Hooks::EndOfScope ...loaded. (0.12 >= 0.08)
- Devel::Declare ...loaded. (0.006011 >= 0.005007)
- Moose ...loaded. (2.0604)
- MooseX::Types ...loaded. (0.35)
- Scope::Upper ...loaded. (0.21 >= 0.06)
- Variable::Magic ...loaded. (0.52 >= 0.28)
- Sub::Exporter ...loaded. (0.982 >= 0.979)
- XSLoader ...loaded. (0.13)
*** Module::AutoInstall configuration finished.
Checking if your kit is complete...
Looks good
Writing Makefile for TryCatch
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have Test::More 0.88 ... Yes (0.98)
Checking if you have B::Hooks::OP::Check 0.18 ... Yes (0.19)
Checking if you have Test::Exception 0 ... Yes (0.31)
Checking if you have ExtUtils::MakeMaker 6.42 ... Yes (6.62)
Checking if you have ExtUtils::Depends 0.302 ... Yes (0.304)
Checking if you have B::Hooks::OP::PPAddr 0.03 ... Yes (0.03)
Checking if you have XSLoader 0 ... Yes (0.13)
Checking if you have Test::Exception 0 ... Yes (0.31)
Checking if you have Scope::Upper 0.06 ... Yes (0.21)
Checking if you have Parse::Method::Signatures 1.003012 ... Yes (1.003014)
Checking if you have Sub::Exporter 0.979 ... Yes (0.982)
Checking if you have B::Hooks::EndOfScope 0.08 ... Yes (0.12)
Checking if you have Test::More 0.88 ... Yes (0.98)
Checking if you have B::Hooks::OP::Check 0.18 ... Yes (0.19)
Checking if you have MooseX::Types 0 ... Yes (0.35)
Checking if you have B::Hooks::OP::PPAddr 0.03 ... Yes (0.03)
Checking if you have Variable::Magic 0.28 ... Yes (0.52)
Checking if you have Devel::Declare 0.005007 ... Yes (0.006011)
Checking if you have Moose 0 ... Yes (2.0604)
Building and testing TryCatch-1.003000
cp bench_ok.pl blib/lib/bench_ok.pl
cp bench.pl blib/lib/bench.pl
cp lib/TryCatch.pm blib/lib/TryCatch.pm
/usr/bin/perl "-Iinc" /usr/share/perl/5.14/ExtUtils/xsubpp -typemap
/usr/share/perl/5.14/ExtUtils/typemap TryCatch.xs > TryCatch.xsc && mv TryCatch.xsc
TryCatch.c
cc -c -I/root/.cpanm/work/1355481259.24099/TryCatch-
1.003000/inc/EUDeps/B/Hooks/OP/Check/Install -
I/root/.cpanm/work/1355481259.24099/TryCatch-
1.003000/inc/EUDeps/B/Hooks/OP/PPAddr/Install -D_REENTRANT -D_GNU_SOURCE -
DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -
D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"1.003000\" -
DXS_VERSION=\"1.003000\" -fPIC "-I/usr/lib/perl/5.14/CORE" TryCatch.c
TryCatch.xs: In function ‘try_return’:
TryCatch.xs:72:7: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has
type ‘IV’ [-Wformat]
TryCatch.c: In function ‘XS_TryCatch__XS_uninstall_op_checks’:
TryCatch.xs:263:5: warning: ignoring return value of ‘Perl_av_shift’, declared with attribute
warn_unused_result [-Wunused-result]
Running Mkbootstrap for TryCatch ()
chmod 644 TryCatch.bs
rm -f blib/arch/auto/TryCatch/TryCatch.so
cc -shared -O2 -g -L/usr/local/lib -fstack-protector TryCatch.o -o
blib/arch/auto/TryCatch/TryCatch.so \
\
chmod 755 blib/arch/auto/TryCatch/TryCatch.so
cp TryCatch.bs blib/arch/auto/TryCatch/TryCatch.bs
chmod 644 blib/arch/auto/TryCatch/TryCatch.bs
Manifying blib/man3/TryCatch.3pm
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc',
'blib/lib', 'blib/arch')" t/catch_01.t t/context.t t/destroy.t t/handwritten.t t/invalid.t
t/method.t t/mx_types_structured.t t/nested.t t/simple.t t/types.t
t/catch_01.t ............. ok
t/context.t .............. ok
t/destroy.t .............. ok
t/handwritten.t .......... ok
# Failed test 'no block after catch'
# at t/invalid.t line 25.
# 'block required after catch at
/usr/local/share/perl/5.14.2/B/Hooks/EndOfScope/XS.pm line 26.
# syntax error at (eval 355) line 7, near "}
#
# my "
# Global symbol "$foo" requires explicit package name at (eval 355) line 7.
# Missing right curly or square bracket at (eval 355) line 9, at end of line
# '
# doesn't match '(?^:^block required after catch at \(eval \d+\) line (\d+)\b)'
# Failed test 'Error from line 5'
# at t/invalid.t line 36.
# got: undef
# expected: '5'
# Failed test 'invalid catch signature'
# at t/invalid.t line 38.
# 'Parameter expected near '^' in '^Err $e' at
/usr/local/share/perl/5.14.2/B/Hooks/EndOfScope/XS.pm line 26.
# syntax error at (eval 357) line 5, near "}
# {"
# Missing right curly or square bracket at (eval 357) line 8, at end of line
# '
# doesn't match '(?^:^Parameter expected near '\^' in '\^Err \$e' at \(eval \d+\) line
(\d+)\b)'
# Failed test 'Error from line 4'
# at t/invalid.t line 50.
# got: undef
# expected: '4'
# Failed test 'invalid catch signature (missing parenthesis)'
# at t/invalid.t line 52.
# 'Run-away catch signature at
/usr/local/share/perl/5.14.2/B/Hooks/EndOfScope/XS.pm line 26.
# Missing right curly or square bracket at (eval 363) line 5, at end of line
# syntax error at (eval 363) line 5, at EOF
# '
# doesn't match '(?^:^Run-away catch signature at \(eval \d+\) line (\d+))'
# Failed test 'Error from line 4'
# at t/invalid.t line 68.
# got: undef
# expected: '4'
# Looks like you failed 6 tests of 15.
t/invalid.t ..............
Dubious, test returned 6 (wstat 1536, 0x600)
Failed 6/15 subtests
t/method.t ............... ok
t/mx_types_structured.t .. ok
t/nested.t ............... ok
t/simple.t ............... ok
t/types.t ................ ok
Test Summary Report
-------------------
t/invalid.t (Wstat: 1536 Tests: 15 Failed: 6)
Failed tests: 3-8
Non-zero exit status: 6
Files=10, Tests=58, 7 wallclock secs ( 0.05 usr 0.09 sys + 6.00 cusr 0.76 csys = 6.90
CPU)
Result: FAIL
Failed 1/10 test programs. 6/58 subtests failed.
make: *** [test_dynamic] Error 255
-> FAIL Installing TryCatch failed. See /root/.cpanm/build.log for details.
root:~# perl -v
This is perl 5, version 14, subversion 2 (v5.14.2) built for x86_64-linux-gnu-thread-multi
(with 53 registered patches, see perl -V for more detail)