Home > Archive > PERL Modules > March 2005 > libwww-perl 5.803 failures
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
libwww-perl 5.803 failures
|
|
| cbdeja@my-deja.com 2005-03-10, 3:57 pm |
| I'm building libwww-perl version 5.803 (the latest) on Solaris 10 with
perl 5.8.6.
libwww-perl fails two tests as below:
......
Manifying blib/man3/HTTP::Headers.3
Manifying blib/man3/LWP::Simple.3
Manifying blib/man3/Bundle::LWP.3
/home/testarea/bin/perl t/TEST 0
base/common-req.......ok
base/cookies..........ok
base/date.............ok
base/headers-auth.....ok
base/headers-etag.....ok
base/headers-util.....ok
base/headers..........ok
base/http.............ok
base/listing..........ok
base/mediatypes.......ok
base/message-old......ok
base/message-parts....ok
base/message..........NOK 83# Test 83 got: <UNDEF> (base/message.t at
line 322)
# Expected: "\x{FEFF}Hi there \x{263A}\n"
# base/message.t line 322 is: sub { eval { $m->decoded_content }
}, "\x{FEFF}Hi there \x{263A}\n");
base/message..........NOK 86# Test 86 got: <UNDEF> (base/message.t at
line 331)
# Expected: "\x{FEFF}Hi there \x{263A}\n"
# base/message.t line 331 is: sub { eval { $m->decoded_content }
}, "\x{FEFF}Hi there \x{263A}\n");
base/message..........FAILED tests 83, 86
Failed 2/92 tests, 97.83% okay
base/negotiate........ok
base/protocols........ok
base/response.........ok
base/status...........ok
base/ua...............ok
html/form-param.......ok
html/form.............ok
robot/rules-dbm.......ok
robot/rules...........ok
robot/ua-get..........ok
robot/ua..............ok
local/autoload-get....ok
local/autoload........ok
local/get.............ok
local/http-get........ok
local/http............ok
local/protosub........ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
base/message.t 92 2 2.17% 83 86
Failed 1/30 test scripts, 96.67% okay. 2/759 subtests failed, 99.74%
okay.
*** Error code 255
make: Fatal error: Command failed for target `test'
Any ideas about what is likely to be causing these failures?
TIA.
| |
| Slaven Rezic 2005-03-10, 8:55 pm |
| cbdeja@my-deja.com writes:
> I'm building libwww-perl version 5.803 (the latest) on Solaris 10 with
> perl 5.8.6.
>
> libwww-perl fails two tests as below:
>
> .....
> Manifying blib/man3/HTTP::Headers.3
> Manifying blib/man3/LWP::Simple.3
> Manifying blib/man3/Bundle::LWP.3
> /home/testarea/bin/perl t/TEST 0
> base/common-req.......ok
> base/cookies..........ok
> base/date.............ok
> base/headers-auth.....ok
> base/headers-etag.....ok
> base/headers-util.....ok
> base/headers..........ok
> base/http.............ok
> base/listing..........ok
> base/mediatypes.......ok
> base/message-old......ok
> base/message-parts....ok
> base/message..........NOK 83# Test 83 got: <UNDEF> (base/message.t at
> line 322)
> # Expected: "\x{FEFF}Hi there \x{263A}\n"
> # base/message.t line 322 is: sub { eval { $m->decoded_content }
> }, "\x{FEFF}Hi there \x{263A}\n");
> base/message..........NOK 86# Test 86 got: <UNDEF> (base/message.t at
> line 331)
> # Expected: "\x{FEFF}Hi there \x{263A}\n"
> # base/message.t line 331 is: sub { eval { $m->decoded_content }
> }, "\x{FEFF}Hi there \x{263A}\n");
> base/message..........FAILED tests 83, 86
> Failed 2/92 tests, 97.83% okay
> base/negotiate........ok
> base/protocols........ok
> base/response.........ok
> base/status...........ok
> base/ua...............ok
> html/form-param.......ok
> html/form.............ok
> robot/rules-dbm.......ok
> robot/rules...........ok
> robot/ua-get..........ok
> robot/ua..............ok
> local/autoload-get....ok
> local/autoload........ok
> local/get.............ok
> local/http-get........ok
> local/http............ok
> local/protosub........ok
> Failed Test Stat Wstat Total Fail Failed List of Failed
> -------------------------------------------------------------------------------
> base/message.t 92 2 2.17% 83 86
> Failed 1/30 test scripts, 96.67% okay. 2/759 subtests failed, 99.74%
> okay.
> *** Error code 255
> make: Fatal error: Command failed for target `test'
>
>
>
> Any ideas about what is likely to be causing these failures?
>
Change the
$m->decoded_content
calls to
$m->decoded_content(raise_error => 1);
to get more diagnostics. It might be because Compress::Zlib is not
installed on your system or some big endian vs. little endian issue.
It works fine on my 5.8.6 installation with FreeBSD 4.9.
Regards,
Slaven
--
Slaven Rezic - slaven <at> rezic <dot> de
Tired of using file selectors? Real programmers use the TAB key for
completion and not for jumping around. Try
http://search.cpan.org/search?mode=...y=Tk::PathEntry
| |
| cbdeja@my-deja.com 2005-03-11, 8:55 am |
|
Slaven Rezic wrote:
> cbdeja@my-deja.com writes:
>
with[color=darkred]
>
> Change the
> $m->decoded_content
> calls to
> $m->decoded_content(raise_error => 1);
> to get more diagnostics. It might be because Compress::Zlib is not
> installed on your system or some big endian vs. little endian issue.
Many thanks Slaven, it revealed exactly what you thought - no
Compress::Zlib. I've added Compress::Zlib and all libwww-perl tests now
pass.
|
|
|
|
|