Skip Menu |

This queue is for tickets about the libwww-perl CPAN distribution.

Report information
The Basics
Id: 39668
Status: resolved
Priority: 0/
Queue: libwww-perl

People
Owner: Nobody in particular
Requestors: AERO [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 5.815
Fixed in: (no value)



Subject: LWP 5.815 has problem with CPAN.
After upgrading from LWP 5.814 to 5.815 "cpan -r" command raising "Content-length mismatching ... " error when getting 01mailrc.txt.gz file from CPAN.
I'm not able to reproduce it here. Can you share some more details about your environment. What version of perl and CPAN.pm are you using?
Subject: Re: [rt.cpan.org #39668] LWP 5.815 has problem with CPAN.
Date: Mon, 29 Sep 2008 16:52:57 +0900
To: bug-libwww-perl [...] rt.cpan.org
From: Kang <chahkang [...] gmail.com>
I'm using Strawberry Perl 5.8.8, 5.10.0 for Win32 Both have the same problem C:\strawberry>cpan CPAN: File::HomeDir loaded ok (v0.80) cpan shell -- CPAN exploration and modules installation (v1.9205) ReadLine support enabled Show quoted text
cpan> upgrade LWP
Going to read C:\strawberry\cpan\sources\authors\01mailrc.txt.gz ............................................................................DONE Going to read C:\strawberry\cpan\sources\modules\02packages.details.txt.gz Database was generated on Sun, 28 Sep 2008 22:26:51 GMT ............................................................................DONE Going to read C:\strawberry\cpan\sources\modules\03modlist.data.gz ............................................................................DONE Package namespace installed latest in CPAN file LWP 5.814 5.815 GAAS/libwww-perl-5.815.tar.gz Running install for module 'LWP' Running make for G/GA/GAAS/libwww-perl-5.815.tar.gz Fetching with LWP: http://cpan.strawberryperl.com/authors/id/G/GA/GAAS/libwww-perl-5.815.tar.gz Fetching with LWP: http://cpan.strawberryperl.com/authors/id/G/GA/GAAS/CHECKSUMS Checksum for C:\strawberry\cpan\sources\authors\id\G\GA\GAAS\libwww-perl-5.815.t ar.gz ok Scanning cache C:\strawberry\cpan\build for sizes DONE CPAN.pm: Going to build G/GA/GAAS/libwww-perl-5.815.tar.gz Checking if your kit is complete... Looks good Writing Makefile for LWP (C:\strawberry\perl\bin\perl.exe Makefile.PL LIBS=-LC:\strawberry\c\lib INC=-IC: \strawberry\c\include exited with 0) CPAN::Reporter: Makefile.PL result is 'pass', No errors. cp lib/LWP/RobotUA.pm blib\lib\LWP\RobotUA.pm cp lib/LWP/Authen/Ntlm.pm blib\lib\LWP\Authen\Ntlm.pm cp lib/LWP.pm blib\lib\LWP.pm cp lib/HTTP/Headers/ETag.pm blib\lib\HTTP\Headers\ETag.pm cp lib/LWP/Protocol.pm blib\lib\LWP\Protocol.pm cp lwptut.pod blib\lib\lwptut.pod cp lib/HTTP/Request/Common.pm blib\lib\HTTP\Request\Common.pm cp lib/HTTP/Message.pm blib\lib\HTTP\Message.pm cp lib/LWP/Protocol/ftp.pm blib\lib\LWP\Protocol\ftp.pm cp lib/HTML/Form.pm blib\lib\HTML\Form.pm cp lib/HTTP/Cookies/Netscape.pm blib\lib\HTTP\Cookies\Netscape.pm cp lib/LWP/Authen/Digest.pm blib\lib\LWP\Authen\Digest.pm cp lib/LWP/Protocol/gopher.pm blib\lib\LWP\Protocol\gopher.pm cp lib/Net/HTTP/NB.pm blib\lib\Net\HTTP\NB.pm cp lib/HTTP/Status.pm blib\lib\HTTP\Status.pm cp lib/LWP/Protocol/cpan.pm blib\lib\LWP\Protocol\cpan.pm cp lib/Net/HTTPS.pm blib\lib\Net\HTTPS.pm cp lib/HTTP/Headers/Util.pm blib\lib\HTTP\Headers\Util.pm cp lib/LWP/Authen/Basic.pm blib\lib\LWP\Authen\Basic.pm cp lib/HTTP/Cookies/Microsoft.pm blib\lib\HTTP\Cookies\Microsoft.pm cp lib/LWP/UserAgent.pm blib\lib\LWP\UserAgent.pm cp lib/LWP/Protocol/loopback.pm blib\lib\LWP\Protocol\loopback.pm cp lib/LWP/Protocol/nntp.pm blib\lib\LWP\Protocol\nntp.pm cp lib/LWP/Protocol/mailto.pm blib\lib\LWP\Protocol\mailto.pm cp lib/LWP/Debug.pm blib\lib\LWP\Debug.pm cp lib/HTTP/Headers/Auth.pm blib\lib\HTTP\Headers\Auth.pm cp lib/LWP/media.types blib\lib\LWP\media.types cp lib/Net/HTTP.pm blib\lib\Net\HTTP.pm cp lib/HTTP/Daemon.pm blib\lib\HTTP\Daemon.pm cp lib/HTTP/Cookies.pm blib\lib\HTTP\Cookies.pm cp lib/LWP/ConnCache.pm blib\lib\LWP\ConnCache.pm cp lib/File/Listing.pm blib\lib\File\Listing.pm cp lib/WWW/RobotRules/AnyDBM_File.pm blib\lib\WWW\RobotRules\AnyDBM_File.pm cp lwpcook.pod blib\lib\lwpcook.pod cp lib/LWP/MediaTypes.pm blib\lib\LWP\MediaTypes.pm cp lib/HTTP/Date.pm blib\lib\HTTP\Date.pm cp lib/LWP/Protocol/http10.pm blib\lib\LWP\Protocol\http10.pm cp lib/LWP/Protocol/file.pm blib\lib\LWP\Protocol\file.pm cp lib/LWP/Protocol/GHTTP.pm blib\lib\LWP\Protocol\GHTTP.pm cp lib/LWP/DebugFile.pm blib\lib\LWP\DebugFile.pm cp lib/HTTP/Negotiate.pm blib\lib\HTTP\Negotiate.pm cp lib/HTTP/Request.pm blib\lib\HTTP\Request.pm cp lib/WWW/RobotRules.pm blib\lib\WWW\RobotRules.pm cp lib/LWP/Protocol/data.pm blib\lib\LWP\Protocol\data.pm cp lib/HTTP/Config.pm blib\lib\HTTP\Config.pm cp lib/LWP/Protocol/nogo.pm blib\lib\LWP\Protocol\nogo.pm cp lib/LWP/Protocol/http.pm blib\lib\LWP\Protocol\http.pm cp lib/LWP/Protocol/https10.pm blib\lib\LWP\Protocol\https10.pm cp lib/LWP/MemberMixin.pm blib\lib\LWP\MemberMixin.pm cp lib/HTTP/Response.pm blib\lib\HTTP\Response.pm cp lib/LWP/Simple.pm blib\lib\LWP\Simple.pm cp lib/HTTP/Headers.pm blib\lib\HTTP\Headers.pm cp lib/LWP/Protocol/https.pm blib\lib\LWP\Protocol\https.pm cp lib/Bundle/LWP.pm blib\lib\Bundle\LWP.pm cp lib/Net/HTTP/Methods.pm blib\lib\Net\HTTP\Methods.pm C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e cp bin/lwp-mirror blib\sc ript\lwp-mirror pl2bat.bat blib\script\lwp-mirror C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e cp bin/lwp-download blib\ script\lwp-download pl2bat.bat blib\script\lwp-download C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e cp bin/lwp-rget blib\scri pt\lwp-rget pl2bat.bat blib\script\lwp-rget C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e cp bin/lwp-request blib\s cript\lwp-request pl2bat.bat blib\script\lwp-request (C:\strawberry\c\bin\dmake.EXE exited with 0) CPAN::Reporter: dmake result is 'pass', No errors. GAAS/libwww-perl-5.815.tar.gz C:\strawberry\c\bin\dmake.EXE -- OK Running make test C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e cp bin/lwp-mirror blib\sc ript\lwp-mirror pl2bat.bat blib\script\lwp-mirror C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e cp bin/lwp-download blib\ script\lwp-download pl2bat.bat blib\script\lwp-download C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e cp bin/lwp-rget blib\scri pt\lwp-rget pl2bat.bat blib\script\lwp-rget C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e cp bin/lwp-request blib\s cript\lwp-request pl2bat.bat blib\script\lwp-request C:\strawberry\perl\bin\perl.exe 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-config..........ok base/http.................ok base/listing..............ok base/mediatypes...........ok base/message-old..........ok base/message-parts........ok base/message..............ok base/negotiate............ok base/protocols............ok base/request..............ok base/response.............ok base/status...............ok base/ua...................ok html/form-maxlength.......ok html/form-multi-select....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/chunked.............ok local/get.................ok local/http-get............ok local/http................ok local/protosub............ok All tests successful. Files=35, Tests=1031, 24 wallclock secs ( 0.17 usr + 0.14 sys = 0.31 CPU) Result: PASS (C:\strawberry\c\bin\dmake.EXE test exited with 0) CPAN::Reporter: Test result is 'pass', All tests successful. CPAN::Reporter: preparing a CPAN Testers report for libwww-perl-5.815 CPAN::Reporter: couldn't read configuration file 'C:\Documents and Settings\chah kang\My Documents\.cpanreporter\config.ini': File 'C:\Documents and Settings\chahkang\My Documents\.cpanreporter\config.ini' does not exist CPAN::Reporter: required 'email_from' option missing an email address, so test report will not be sent. See documentation for configuration details. GAAS/libwww-perl-5.815.tar.gz C:\strawberry\c\bin\dmake.EXE test -- OK Running make install Prepending C:\strawberry\cpan\build\libwww-perl-5.815-ALXt_h/blib/arch C:\strawb erry\cpan\build\libwww-perl-5.815-ALXt_h/blib/lib to PERL5LIB for 'install' C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e cp bin/lwp-mirror blib\sc ript\lwp-mirror pl2bat.bat blib\script\lwp-mirror C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e cp bin/lwp-download blib\ script\lwp-download pl2bat.bat blib\script\lwp-download C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e cp bin/lwp-rget blib\scri pt\lwp-rget pl2bat.bat blib\script\lwp-rget C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e cp bin/lwp-request blib\s cript\lwp-request pl2bat.bat blib\script\lwp-request Installing C:\strawberry\perl\site\lib\LWP.pm Installing C:\strawberry\perl\site\lib\HTTP\Cookies.pm Installing C:\strawberry\perl\site\lib\HTTP\Daemon.pm Installing C:\strawberry\perl\site\lib\HTTP\Headers.pm Installing C:\strawberry\perl\site\lib\HTTP\Message.pm Installing C:\strawberry\perl\site\lib\HTTP\Request.pm Installing C:\strawberry\perl\site\lib\HTTP\Request\Common.pm Installing C:\strawberry\perl\site\lib\LWP\Protocol.pm Installing C:\strawberry\perl\site\lib\LWP\UserAgent.pm Installing C:\strawberry\perl\site\lib\LWP\Authen\Basic.pm Installing C:\strawberry\perl\site\lib\LWP\Authen\Digest.pm Installing C:\strawberry\perl\site\lib\Net\HTTP\Methods.pm Writing C:\strawberry\perl\site\lib\auto\LWP\.packlist Appending installation info to C:\strawberry\perl\lib/perllocal.pod GAAS/libwww-perl-5.815.tar.gz C:\strawberry\c\bin\dmake.EXE install UNINST=1 -- OK Show quoted text
cpan> quit
Lockfile removed. --- I removed all files in C:\strawberry\cpan\sources\ for testing.(cpan will get files again if necessary.) C:\strawberry>cpan CPAN: File::HomeDir loaded ok (v0.80) cpan shell -- CPAN exploration and modules installation (v1.9205) ReadLine support enabled Show quoted text
cpan> r
Fetching with LWP: http://cpan.strawberryperl.com/authors/01mailrc.txt.gz Catching error: 'Content-length mismatch: expected 147430 bytes, got 147968 ' at C:/strawberry/perl/lib/CPAN.pm line 281 CPAN::shell() called at C:\strawberry\perl\bin/cpan.bat line 211 Show quoted text
cpan>
2008/9/29 Gisle_Aas via RT <bug-libwww-perl@rt.cpan.org> Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=39668 > > > I'm not able to reproduce it here. Can you share some more details about > your environment. > What version of perl and CPAN.pm are you using? >

Message body is not shown because it is too large.

Thanks. This was easy to reproduce in ActivePerl on Windows as well. Fixed in http://gitorious.org/projects/libwww- perl/repos/mainline/commits/9524b75e5b634b15ddff2a4a00025c1911ba2add I'll upload 5.816 later today.