Subject: | Fails tests on 5.8.1 |
rabbit@Thesaurus:~/.cpancache/build/libwww-perl-5.836$ perlbrew switch 5.8.1
rabbit@Thesaurus:~/.cpancache/build/libwww-perl-5.836$ perl Makefile.PL
Writing Makefile for LWP
rabbit@Thesaurus:~/.cpancache/build/libwww-perl-5.836$ make test
Skip blib/lib/HTTP/Response.pm (unchanged)
Skip blib/lib/LWP/Protocol/http.pm (unchanged)
Skip blib/lib/LWP/Debug.pm (unchanged)
Skip blib/lib/LWP/Protocol/https.pm (unchanged)
Skip blib/lib/LWP/Authen/Basic.pm (unchanged)
Skip blib/lib/LWP/Protocol.pm (unchanged)
Skip blib/lib/LWP/Protocol/nogo.pm (unchanged)
Skip blib/lib/HTTP/Daemon.pm (unchanged)
Skip blib/lib/lwpcook.pod (unchanged)
Skip blib/lib/HTTP/Cookies/Microsoft.pm (unchanged)
Skip blib/lib/HTTP/Status.pm (unchanged)
Skip blib/lib/HTTP/Headers/Util.pm (unchanged)
Skip blib/lib/Bundle/LWP.pm (unchanged)
Skip blib/lib/LWP/Protocol/cpan.pm (unchanged)
Skip blib/lib/HTTP/Request/Common.pm (unchanged)
Skip blib/lib/Net/HTTP/NB.pm (unchanged)
Skip blib/lib/LWP/DebugFile.pm (unchanged)
Skip blib/lib/LWP/Authen/Ntlm.pm (unchanged)
Skip blib/lib/LWP/MediaTypes.pm (unchanged)
Skip blib/lib/HTTP/Headers/ETag.pm (unchanged)
Skip blib/lib/HTTP/Request.pm (unchanged)
Skip blib/lib/HTTP/Cookies.pm (unchanged)
Skip blib/lib/LWP/Authen/Digest.pm (unchanged)
Skip blib/lib/LWP/Protocol/http10.pm (unchanged)
Skip blib/lib/Net/HTTPS.pm (unchanged)
Skip blib/lib/WWW/RobotRules.pm (unchanged)
Skip blib/lib/LWP/Protocol/loopback.pm (unchanged)
Skip blib/lib/LWP/MemberMixin.pm (unchanged)
Skip blib/lib/HTTP/Headers.pm (unchanged)
Skip blib/lib/HTTP/Cookies/Netscape.pm (unchanged)
Skip blib/lib/File/Listing.pm (unchanged)
Skip blib/lib/HTTP/Config.pm (unchanged)
Skip blib/lib/LWP/ConnCache.pm (unchanged)
Skip blib/lib/lwptut.pod (unchanged)
Skip blib/lib/LWP/Protocol/https10.pm (unchanged)
Skip blib/lib/HTTP/Negotiate.pm (unchanged)
Skip blib/lib/LWP/Protocol/gopher.pm (unchanged)
Skip blib/lib/LWP/Simple.pm (unchanged)
Skip blib/lib/HTTP/Date.pm (unchanged)
Skip blib/lib/Net/HTTP/Methods.pm (unchanged)
Skip blib/lib/LWP/Protocol/GHTTP.pm (unchanged)
Skip blib/lib/HTML/Form.pm (unchanged)
Skip blib/lib/LWP.pm (unchanged)
Skip blib/lib/LWP/Protocol/file.pm (unchanged)
Skip blib/lib/LWP/media.types (unchanged)
Skip blib/lib/LWP/Protocol/data.pm (unchanged)
Skip blib/lib/HTTP/Headers/Auth.pm (unchanged)
Skip blib/lib/WWW/RobotRules/AnyDBM_File.pm (unchanged)
Skip blib/lib/LWP/RobotUA.pm (unchanged)
Skip blib/lib/Net/HTTP.pm (unchanged)
Skip blib/lib/LWP/Protocol/ftp.pm (unchanged)
Skip blib/lib/LWP/Protocol/nntp.pm (unchanged)
Skip blib/lib/LWP/Protocol/mailto.pm (unchanged)
Skip blib/lib/LWP/UserAgent.pm (unchanged)
Skip blib/lib/HTTP/Message.pm (unchanged)
cp bin/lwp-download blib/script/lwp-download
/home/rabbit/perl5/perlbrew/perls/5.8.1/bin/perl5.8.1 -MExtUtils::MY -e
'MY->fixin(shift)' -- blib/script/lwp-download
cp bin/lwp-rget blib/script/lwp-rget
/home/rabbit/perl5/perlbrew/perls/5.8.1/bin/perl5.8.1 -MExtUtils::MY -e
'MY->fixin(shift)' -- blib/script/lwp-rget
cp bin/lwp-dump blib/script/lwp-dump
/home/rabbit/perl5/perlbrew/perls/5.8.1/bin/perl5.8.1 -MExtUtils::MY -e
'MY->fixin(shift)' -- blib/script/lwp-dump
cp bin/lwp-request blib/script/lwp-request
/home/rabbit/perl5/perlbrew/perls/5.8.1/bin/perl5.8.1 -MExtUtils::MY -e
'MY->fixin(shift)' -- blib/script/lwp-request
cp bin/lwp-mirror blib/script/lwp-mirror
/home/rabbit/perl5/perlbrew/perls/5.8.1/bin/perl5.8.1 -MExtUtils::MY -e
'MY->fixin(shift)' -- blib/script/lwp-mirror
/home/rabbit/perl5/perlbrew/perls/5.8.1/bin/perl5.8.1 t/TEST 0
base/common-req.t ......... ok
base/cookies.t ............ ok
base/date.t ............... ok
base/headers-auth.t ....... ok
base/headers-etag.t ....... ok
base/headers-util.t ....... ok
base/headers.t ............ ok
base/http-config.t ........ ok
base/http.t ............... ok
base/listing.t ............ ok
base/mediatypes.t ......... ok
base/message-charset.t .... skipped: Encode not available
base/message-old.t ........ ok
base/message-parts.t ...... ok
base/message.t ............ 1/125 # Test 125 got: <UNDEF>
(base/message.t at line 508)
# Expected: '<?xml version="1.0"?>
<root>�ric</root>
'
# base/message.t line 508 is: ok($m->decoded_content, "<?xml
version=\"1.0\"?>\n<root>\xC9ric</root>\n");
base/message.t ............ Failed 1/125 subtests
base/negotiate.t .......... ok
base/protocols.t .......... ok
base/request.t ............ ok
base/response.t ........... ok
base/status-old.t ......... ok
base/status.t ............. ok
base/ua.t ................. ok
html/form-maxlength.t ..... ok
html/form-multi-select.t .. ok
html/form-param.t ......... ok
html/form-selector.t ...... 1/12 Too many arguments for
Encode::decode_utf8 at ../blib/lib/HTTP/Message.pm line 274, near "))"
BEGIN not safe after errors--compilation aborted at
../blib/lib/HTTP/Message.pm line 643.
Compilation failed in require at ../blib/lib/HTTP/Request.pm line 3.
Compilation failed in require at ../blib/lib/HTML/Form.pm line 704.
html/form-selector.t ...... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 5/12 subtests
html/form.t ............... 1/127 Too many arguments for
Encode::decode_utf8 at ../blib/lib/HTTP/Message.pm line 274, near "))"
BEGIN not safe after errors--compilation aborted at
../blib/lib/HTTP/Message.pm line 643.
Compilation failed in require at ../blib/lib/HTTP/Request.pm line 3.
Compilation failed in require at ../blib/lib/HTML/Form.pm line 704.
html/form.t ............... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 123/127 subtests
robot/rules-dbm.t ......... ok
robot/rules.t ............. ok
robot/ua-get.t ............ ok
robot/ua.t ................ ok
local/autoload-get.t ...... ok
local/autoload.t .......... ok
local/chunked.t ........... ok
local/get.t ............... ok
local/http.t .............. ok
local/protosub.t .......... ok
Test Summary Report
-------------------
base/message.t (Wstat: 0 Tests: 125 Failed: 1)
Failed test: 125
html/form-selector.t (Wstat: 65280 Tests: 7 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 12 tests but ran 7.
html/form.t (Wstat: 65280 Tests: 4 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 127 tests but ran 4.
Files=37, Tests=990, 24 wallclock secs ( 0.30 usr 0.12 sys + 2.12 cusr
0.46 csys = 3.00 CPU)
Result: FAIL
Failed 3/37 test programs. 1/990 subtests failed.
make: *** [test] Error 255
rabbit@Thesaurus:~/.cpancache/build/libwww-perl-5.836$ perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration:
Platform:
osname=linux, osvers=2.6.29.2.thes2, archname=i686-linux-thread-multi
uname='linux thesaurus 2.6.29.2.thes2 #1 preempt tue sep 8 11:27:43
cest 2009 i686 gnulinux '
config_args='-de -Dprefix=/home/rabbit/perl5/perlbrew/perls/5.8.1
-Dusethreads'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='4.4.4', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.11.1.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.11.1'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
Built under linux
Compiled at Jul 5 2010 14:36:17
%ENV:
PERL5LIB="/home/rabbit/devel/utils/perl:/home/rabbit/devel/utils/perl:/home/rabbit/devel/utils/perl:"
PERL_AUTOINSTALL_PREFER_CPAN="1"
@INC:
/home/rabbit/devel/utils/perl
/home/rabbit/devel/utils/perl
/home/rabbit/devel/utils/perl
/home/rabbit/perl5/perlbrew/perls/5.8.1/lib/5.8.1/i686-linux-thread-multi
/home/rabbit/perl5/perlbrew/perls/5.8.1/lib/5.8.1
/home/rabbit/perl5/perlbrew/perls/5.8.1/lib/site_perl/5.8.1/i686-linux-thread-multi
/home/rabbit/perl5/perlbrew/perls/5.8.1/lib/site_perl/5.8.1
/home/rabbit/perl5/perlbrew/perls/5.8.1/lib/site_perl
.