SOAP::Lite failure on AIX

gabor on 2004-12-19T18:29:20

After some (political) struggle I managed to install 5.8.6 from source on this AIX machine using gcc.

  • Installing perl was simple.
  • Installing Compress::Zlib was simple
  • Installing a bunch of other prerequisites was simple
  • for XML::Parser I had to install Expat 1.95.8, I had do manually copy expat_external.h to the include directory and then I had to edit the Makefile.PL of XML::Parser. But in the end it worked.
  • The problem is that SOAP::Lite fails some of its tests :(
Heres is the output
gabor:/software/UniQPrint/gabor/install/SOAP-Lite-0.60> make test
        PERL_DL_NONLAZY=1 /software/UniQPrint/gabor/perl586/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/01-core.t t/02-payload.t t/03-server.t t/04-attach.t t/05-customxml.t t/06-modules.t t/07-xmlrpc_payload.t t/08-schema.t
t/01-core..............ok
t/02-payload...........ok
t/03-server............ok 1/30# Failed test 2 in t/03-server.t at line 138 fail #2
#  t/03-server.t line 138 is:     $_ =~ /XML/ || $is_mimeparser ? ok(($result->faultstring || '') =~ /Failed to access class \(Calculator\)/)t/03-server............NOK 2# Failed test 3 in t/03-server.t at line 138 fail #3
t/03-server............ok 5/30# Failed test 6 in t/03-server.t at line 148 fail #2
#  t/03-server.t line 148 is:     $_ =~ /XML/ || $is_mimeparser ? ok(($result->result || 0) == 7)
t/03-server............NOK 6# Failed test 7 in t/03-server.t at line 148 fail #3
t/03-server............FAILED tests 2-3, 6-7
        Failed 4/30 tests, 86.67% okay
t/04-attach............Something wrong with MIME message: MIME::Parser: can't flush:  at /software/UniQPrint/gabor/perl586/lib/site_perl/5.8.6/MIME/Parser.pm line 789.
 
t/04-attach............dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-15
        Failed 15/15 tests, 0.00% okay
t/05-customxml.........ok
t/06-modules...........ok
        5/18 skipped: various reasons
t/07-xmlrpc_payload....ok
t/08-schema............ok
Failed Test   Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/03-server.t               30    4  13.33%  2-3 6-7
t/04-attach.t  255 65280    15   30 200.00%  1-15
5 subtests skipped.
Failed 2/8 test scripts, 75.00% okay. 19/308 subtests failed, 93.83% okay.
make: 1254-004 The error code from the last command is 2.


Linux too

alexmc on 2004-12-30T16:28:48

I'm getting similar SOAP::Lite build errors on Linux, red hat 9 I think. Did you figure out what was wrong?

t/03-server............ok 1/30# Failed test 2 in t/03-server.t at line 138 fail #2 # t/03-server.t line 138 is: $_ =~ /XML/ || $is_mimeparser ? ok(($result->faultstring || '') =~ /Failed to access class \(Calculator\)/) # Failed test 3 in t/03-server.t at line 138 fail #3 t/03-server............NOK 6# Failed test 6 in t/03-server.t at line 148 fail #2 # t/03-server.t line 148 is: $_ =~ /XML/ || $is_mimeparser ? ok(($result->result || 0) == 7) t/03-server............NOK 7# Failed test 7 in t/03-server.t at line 148 fail #3 t/03-server............FAILED tests 2-3, 6-7 Failed 4/30 tests, 86.67% okay t/04-attach............Something wrong with MIME message: MIME::Parser: can't flush: Inappropriate ioctl for device at /usr/lib/perl5/site_perl/5.8.0/MIME/Parser.pm line 789.

Re:Linux too

gabor on 2004-12-30T16:44:33

no, in the meantime the politics took over and management decided we'll write this thing in Java and will it from our perl script...

so I did not invest more energy in it

MIME::Parser

alexmc on 2004-12-30T16:58:52

I am guessing that this is the cause of our problems. Though I am not sure why.

Something wrong with MIME message: MIME::Parser: can't flush

And looking at the docs for that class it says

"experimental class for parsing MIME streams"

great!

Anyway I just checked again and I have the latest version of that class and it does pass its own tests :-(

Re:MIME::Parser

judith on 2005-08-03T23:13:17

I reverted to an older version of MIME-tools: 5.413 and this error went away.

Re:MIME::Parser

n1vux on 2005-08-04T00:47:08

Useful, thank you -- I've also built Perl from sources on AIX, and have SOAP users, so if this comes up, I'll remember to check here!

BIll

Re:MIME::Parser

bassnote on 2006-07-24T01:20:16

I've found that installing the latest version of IO::ScalarArray sorts this out

Re:MIME::Parser

nite_man on 2007-07-30T09:35:31

bassnote, thanks a lot! I installed the latest version of IO::ScalarArray as you suggested and that error disappeared!