PATH=/opt/SUNWspro/bin:/usr/local/bin:/opt/csw/bin:/usr/ccs/bin:/usr/bin:/usr/sbin Start 2012-03-29T15:49:26 ActivePerl-1402 CPAN-1.9402 Going to read '/export/home/fly1464/var/cpan/Metadata' Database was generated on Thu, 29 Mar 2012 19:10:47 GMT Running make for T/TI/TIMB/Java-2Perl6API-0.11.tar.gz Checksum for /net/nas/data/cpan/authors/id/T/TI/TIMB/Java-2Perl6API-0.11.tar.gz ok Java-2Perl6API-0.11 Java-2Perl6API-0.11/Changes Java-2Perl6API-0.11/dist.ini Java-2Perl6API-0.11/TODO Java-2Perl6API-0.11/bin Java-2Perl6API-0.11/bin/java2perl6api Java-2Perl6API-0.11/lib/Java Java-2Perl6API-0.11/lib/Java/Javap.pm Java-2Perl6API-0.11/lib/Java/Javap Java-2Perl6API-0.11/lib/Java/Javap/Generator.pm Java-2Perl6API-0.11/lib/Java/Javap/Grammar.pm Java-2Perl6API-0.11/lib/Java/Javap/javap.grammar Java-2Perl6API-0.11/lib/Java/Javap/Parserpm Java-2Perl6API-0.11/lib/Java/Javap/TypeCast.pm Java-2Perl6API-0.11/lib/Java/Javap/Generator Java-2Perl6API-0.11/lib/Java/Javap/Generator/Perl6.pm Java-2Perl6API-0.11/t Java-2Perl6API-0.11/t/01_use.t Java-2Perl6API-0.11/t/02_interface.t Java-2Perl6API-0.11/t/03_class.t Java-2Perl6API-0.11/t/22_invoke_javap.t Java-2Perl6API-0.11/t/55_final.t Java-2Perl6API-0.11/t/70_java2perl6.t Java-2Perl6API-0.11/t/80_j_s_date.t Java-2Perl6API-0.11/testjavas Java-2Perl6API-0.11/testjavas/ClassTest.class Java-2Perl6API-0.11/testjavas/ClassTest.java Java-2Perl6API-0.11/testjavas/dupMethodTest.class Java-2Perl6API-0.11/testjavas/dupMethodTest.java Java-2Perl6API-0.11/testjavas/FinalClassTest.class Java-2Perl6API-0.11/testjavas/FinalClassTest.java Java-2Perl6API-0.11/testjavas/IntTest.class Java-2Perl6API-0.11/testjavas/IntTest.java Java-2Perl6API-0.11/testjavas/com/example Java-2Perl6API-0.11/testjavas/com/example/NestedIntTest.class Java-2Perl6API-0.11/testjavas/com/example/NestedIntTest.java Java-2Perl6API-0.11/testjavas/com/example/Second.class Java-2Perl6API-0.11/testjavas/com/example/Second.java Java-2Perl6API-0.11/testperls Java-2Perl6API-0.11/testperls/IntTest.pm Java-2Perl6API-0.11/LICENSE Java-2Perl6API-0.11/README Java-2Perl6API-0.11/t/release-pod-syntax.t Java-2Perl6API-0.11/MANIFEST Java-2Perl6API-0.11/META.json Java-2Perl6API-0.11/Makefile.PL CPAN.pm: Going to build T/TI/TIMB/Java-2Perl6API-0.11.tar.gz >>> /export/home/fly1464/bin/perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Java::2Perl6API Writing MYMETA.yml and MYMETA.json >>> make cp lib/Java/Javap/Generator.pm blib/lib/Java/Javap/Generator.pm cp lib/Java/Javap/Grammar.pm blib/lib/Java/Javap/Grammar.pm cp lib/Java/Javap/Parserpm blib/lib/Java/Javap/Parserpm cp lib/Java/Javap/Generator/Perl6.pm blib/lib/Java/Javap/Generator/Perl6.pm cp lib/Java/Javap.pm blib/lib/Java/Javap.pm cp lib/Java/Javap/javap.grammar blib/lib/Java/Javap/javap.grammar cp lib/Java/Javap/TypeCast.pm blib/lib/Java/Javap/TypeCast.pm cp bin/java2perl6api blib/script/java2perl6api /export/home/fly1464/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/java2perl6api Manifying blib/man1/java2perl6api.1 Manifying blib/man3/Java::Javap::Generator.3 Manifying blib/man3/Java::Javap::Generator::Perl6.3 Manifying blib/man3/Java::Javap::TypeCast.3 Manifying blib/man3/Java::Javap.3 TIMB/Java-2Perl6API-0.11.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /export/home/fly1464/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t # java version "1.4.2_05" # Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04) # Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode) t/01_use.t .............. 1..1 ok 1 - use Java::Javap; ok ERROR (line 38): Invalid comp unit: Was expecting '}' but found "throws java/lang/NumberFormatException, java/lang/Exception" instead # Failed test 'interface' # at t/02_interface.t line 172. # Structures begin differing at: # $got = undef # $expected = HASH(0x1010cbee0) Use of uninitialized value in delete at lib/Java/Javap.pm line 32. # Failed test 'unique_types' # at t/02_interface.t line 182. # Structures begin differing at: # $got->[0] = Does not exist # $expected->[0] = 'com.example.Second' # Failed test 'emission' # at t/02_interface.t line 240. # +----+-----------+----+-------------------------------------------------------------------------------+ # | Elt|Got | Elt|Expected | # +----+-----------+----+-------------------------------------------------------------------------------+ # | 0|'use v6;' | 0|'use v6;' | # | 1|'' | 1|'' | # | | * 2|'class com::example::Second { ... };' * # | 2|'' | 3|'' | # * 3|'role {' * 4|'role com::example::NestedIntTest {' * # | | * 5|'' * # | | * 6|' method USELESS_CONSTANT (--> Int) is export { 4 }' * # | | * 7|'' * # | | * 8|' method array_returner (' * # | | * 9|' Str $v1, # java.lang.String' * # | | * 10|' Int $v2, # int' * # | | * 11|' Num @v3, # float' * # | | * 12|' Num @v4, # float' * # | | * 13|' --> Array # Array of Array of int' * # | | * 14|' ) { ... }' * # | | * 15|'' * # | | * 16|' multi method object_returner (' * # | | * 17|' --> Str # java.lang.String' * # | | * 18|' ) { ... } # throws java.lang.NumberFormatException, java.lang.Exception' * # | | * 19|'' * # | | * 20|' multi method object_returner (' * # | | * 21|' Str $v1, # java.lang.String' * # | | * 22|' --> Str # java.lang.String' * # | | * 23|' ) { ... } # throws java.lang.NumberFormatException' * # | | * 24|'' * # | | * 25|' method recurse_for_me (' * # | | * 26|' --> com::example::Second # com.example.Second' * # | | * 27|' ) { ... }' * # | | * 28|'' * # | | * 29|' method void_returner (' * # | | * 30|' Int $v1, # int' * # | | * 31|' ) { ... }' * # | 4|'' | 32|'' | # | 5|'};' | 33|'};' | # +----+-----------+----+-------------------------------------------------------------------------------+ # Looks like you failed 3 tests of 3. t/02_interface.t ........ 1..3 not ok 1 - interface not ok 2 - unique_types not ok 3 - emission ---vvv--- use v6; role { }; ---^^^--- Dubious, test returned 3 (wstat 768, 0x300) Failed 3/3 subtests t/03_class.t ............ 1..3 ok 1 - class ok 2 - emission ok 3 - emission - duplicate method signatures removed ok t/22_invoke_javap.t ..... 1..4 # Compiled from "NestedIntTest.java" # interface com.example.NestedIntTest # SourceFile: "NestedIntTest.java" # minor version: 0 # major version: 0 # Constant pool: # const #1 = class #21; // NestedIntTest # const #2 = class #22; // Object # const #3 = Asciz USELESS_CONSTANT; # const #4 = Asciz I; # const #5 = Asciz ConstantValue; # const #6 = int 4; # const #7 = Asciz array_returner; # const #8 = Asciz (Ljava/lang/String;I[F[[F)[[I; # const #9 = Asciz object_returner; # const #10 = Asciz ()Ljava/lang/String;; # const #11 = Asciz Exceptions; # const #12 = class #23; // NumberFormatException # const #13 = class #24; // Exception # const #14 = Asciz (Ljava/lang/String;)Ljava/lang/String;; # const #15 = Asciz void_returner; # const #16 = Asciz (I)V; # const #17 = Asciz recurse_for_me; # const #18 = Asciz ()Lcom/example/Second;; # const #19 = Asciz SourceFile; # const #20 = Asciz NestedIntTest.java; # const #21 = Asciz com/example/NestedIntTest; # const #22 = Asciz java/lang/Object; # const #23 = Asciz java/lang/NumberFormatException; # const #24 = Asciz java/lang/Exception; # # { # public static final int USELESS_CONSTANT; # Constant value: int 4 # public abstract int[][] array_returner(java.lang.String,int,float[]); # # public abstract java.lang.String object_returner(); # throws java/lang/NumberFormatException, java/lang/Exception # Exceptions: # throws java/lang/NumberFormatException, java/lang/Exception # # public abstract java.lang.String object_returner(java.lang.String); # throws java/lang/NumberFormatException # Exceptions: # throws java/lang/NumberFormatException # # public abstract void void_returner(int); # # public abstract com.example.Second recurse_for_me(); # # } # ok 1 - received some output from javap ok 2 - javap output contains a "Compiled from" statement ok 3 - javap output contains the original class name ok 4 - javap output is longer than the class name ok t/55_final.t ............ 1..1 ok 1 - final class ok ERROR (line 36): Invalid comp unit: Was expecting '}' but found "throws java/lang/NumberFormatException, java/lang/Exception" instead Error parsing output of 'javap -classpath testjavas IntTest' # Failed test 'IntTest.pm6 in current dir' # at t/70_java2perl6.t line 32. ERROR (line 36): Invalid comp unit: Was expecting '}' but found "throws java/lang/NumberFormatException, java/lang/Exception" instead Error parsing output of 'javap -classpath testjavas IntTest' # Failed test 'IntTest.pm6 in new dir' # at t/70_java2perl6.t line 47. ERROR (line 38): Invalid comp unit: Was expecting '}' but found "throws java/lang/NumberFormatException, java/lang/Exception" instead Error parsing output of 'javap -classpath testjavas com.example.NestedIntTest' # Failed test 'com/example/NestedIntTest.pm6 under current dir' # at t/70_java2perl6.t line 66. ERROR (line 38): Invalid comp unit: Was expecting '}' but found "throws java/lang/NumberFormatException, java/lang/Exception" instead Error parsing output of 'javap -classpath testjavas com.example.NestedIntTest' # Failed test 'newdir/com/example/NestedIntTest.pm6 under alternate dir' # at t/70_java2perl6.t line 83. ERROR (line 38): Invalid comp unit: Was expecting '}' but found "throws java/lang/NumberFormatException, java/lang/Exception" instead Error parsing output of 'javap -classpath testjavas com.example.NestedIntTest' # Failed test 'com/example/Second.pm6 under current dir' # at t/70_java2perl6.t line 103. # Looks like you failed 5 tests of 5. t/70_java2perl6.t ....... 1..5 not ok 1 - IntTest.pm6 in current dir not ok 2 - IntTest.pm6 in new dir not ok 3 - com/example/NestedIntTest.pm6 under current dir not ok 4 - newdir/com/example/NestedIntTest.pm6 under alternate dir not ok 5 - com/example/Second.pm6 under current dir Dubious, test returned 5 (wstat 1280, 0x500) Failed 5/5 subtests # Failed test 'class' # at t/80_j_s_date.t line 263. # Structures begin differing at: # $got->{contents}[1]{body_element} = 'method' # $expected->{contents}[1]{body_element} = 'constructor' ERROR (line 508): Invalid comp unit: Was expecting '}' but found "throws java/sql/SQLException" instead # Failed test at t/80_j_s_date.t line 278. # Looks like you failed 2 tests of 3. t/80_j_s_date.t ......... not ok 1 - class ---vvv--- $VAR1 = { 'parent' => 'java.util.Date', 'perl_qualified_name' => 'java::sql::Date', 'qualifiers' => [], 'access' => 'public', 'contents' => [ { 'body_element' => 'constant', 'value' => '1511598038487230103', 'access' => '', 'name' => 'serialVersionUID', 'type' => { 'array_depth' => 0, 'array_text' => '', 'name' => 'long' }, 'modifiers' => [ 'final' ] }, { 'attrs' => [], 'body_element' => 'method', 'access' => 'public', 'args' => [], 'name' => 'getHours', 'type' => { 'array_depth' => 0, 'array_text' => '', 'name' => 'int' }, 'throws' => [] }, { 'attrs' => [], 'body_element' => 'method', 'access' => 'public', 'args' => [], 'name' => 'getMinutes', 'type' => { 'array_depth' => 0, 'array_text' => '', 'name' => 'int' }, 'throws' => [] }, { 'attrs' => [], 'body_element' => 'method', 'access' => 'public', 'args' => [], 'name' => 'getSeconds', 'type' => { 'array_depth' => 0, 'array_text' => '', 'name' => 'int' }, 'throws' => [] }, { 'attrs' => [], 'body_element' => 'method', 'access' => 'public', 'args' => [ { 'array_depth' => 0, 'array_text' => '', 'name' => 'int' } ], 'name' => 'setHours', 'type' => { 'array_depth' => 0, 'array_text' => '', 'name' => 'void' }, 'throws' => [] }, { 'attrs' => [], 'body_element' => 'method', 'access' => 'public', 'args' => [ { 'array_depth' => 0, 'array_text' => '', 'name' => 'int' } ], 'name' => 'setMinutes', 'type' => { 'array_depth' => 0, 'array_text' => '', 'name' => 'void' }, 'throws' => [] }, { 'attrs' => [], 'body_element' => 'method', 'access' => 'public', 'args' => [ { 'array_depth' => 0, 'array_text' => '', 'name' => 'int' } ], 'name' => 'setSeconds', 'type' => { 'array_depth' => 0, 'array_text' => '', 'name' => 'void' }, 'throws' => [] }, { 'body_element' => 'constructor', 'access' => 'public', 'name' => 'new', 'args' => [ { 'array_depth' => 0, 'array_text' => '', 'name' => 'int' }, { 'array_depth' => 0, 'array_text' => '', 'name' => 'int' }, { 'array_depth' => 0, 'array_text' => '', 'name' => 'int' } ], 'type' => { 'array_depth' => 0, 'name' => 'java.sql.Date', 'array_text' => '' }, 'throws' => [], 'native' => '' }, { 'body_element' => 'constructor', 'access' => 'public', 'name' => 'new', 'args' => [ { 'array_depth' => 0, 'array_text' => '', 'name' => 'long' } ], 'type' => { 'array_depth' => 0, 'name' => 'java.sql.Date', 'array_text' => '' }, 'throws' => [], 'native' => '' }, { 'attrs' => [], 'body_element' => 'method', 'access' => 'public', 'args' => [ { 'array_depth' => 0, 'array_text' => '', 'name' => 'long' } ], 'name' => 'setTime', 'type' => { 'array_depth' => 0, 'array_text' => '', 'name' => 'void' }, 'throws' => [] }, { 'attrs' => [], 'body_element' => 'method', 'access' => 'public', 'args' => [], 'name' => 'toString', 'type' => { 'array_depth' => 0, 'array_text' => '', 'name' => 'java.lang.String' }, 'throws' => [] }, { 'attrs' => [ 'static' ], 'body_element' => 'method', 'access' => 'public', 'args' => [ { 'array_depth' => 0, 'array_text' => '', 'name' => 'java.lang.String' } ], 'name' => 'valueOf', 'type' => { 'array_depth' => 0, 'array_text' => '', 'name' => 'java.sql.Date' }, 'throws' => [] } ], 'class_or_interface' => 'class', 'compiled_from' => 'Date.java', 'java_qualified_name' => 'java.sql.Date', 'methods' => { 'getSeconds' => 1, 'setSeconds' => 1, 'getHours' => 1, 'getMinutes' => 1, 'setMinutes' => 1, 'setTime' => 1, 'toString' => 1, 'valueOf' => 1, 'setHours' => 1, 'new' => 2 }, 'constructors' => 2, 'implements' => undef }; ---^^^--- not ok 2 ok 3 1..3 Dubious, test returned 2 (wstat 512, 0x200) Failed 2/3 subtests t/release-pod-syntax.t .. skipped: these tests are for release candidate testing Test Summary Report ------------------- t/02_interface.t (Wstat: 768 Tests: 3 Failed: 3) Failed tests: 1-3 Non-zero exit status: 3 t/70_java2perl6.t (Wstat: 1280 Tests: 5 Failed: 5) Failed tests: 1-5 Non-zero exit status: 5 t/80_j_s_date.t (Wstat: 512 Tests: 3 Failed: 2) Failed tests: 1-2 Non-zero exit status: 2 Files=8, Tests=20, 19 wallclock secs ( 0.21 usr 0.04 sys + 14.56 cusr 2.08 csys = 16.89 CPU) Result: FAIL Failed 3/8 test programs. 10/20 subtests failed. make: *** [test_dynamic] Error 255 TIMB/Java-2Perl6API-0.11.tar.gz make test TEST_VERBOSE=1 -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports TIMB/Java-2Perl6API-0.11.tar.gz Finished 2012-03-29T15:49:57