Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: dsteinbrunner [...] pobox.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Test failures related to HTML::Tagset not being installed
libwww-perl: current perl: v5.8.6 built for darwin-thread-multi-2level OS: Darwin comnet-noc-74.bright.net 8.8.2 Darwin Kernel Version 8.8.2: Thu Sep 28 20:43:26 PDT 2006; root:xnu-792.14.14.obj~1/RELEASE_I386 i386 i386 I have a new system install and used the cpan CLI tool to install LWP. 2 tests fail due to HTML::Tagset not being installed. It would seen that either tests that require HTML::Tagset should be skiped if HTML::Tagset is not installed or HTML::Tagset should be a prereq in the LWP install. Here is the test output: Running make test /usr/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..........ok base/negotiate........ok base/protocols........ok base/response.........ok base/status...........ok base/ua...............ok html/form-param.......Can't locate HTML/Tagset.pm in @INC (@INC contains: ../blib/lib ../ blib/arch /System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/ 5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin- thread-multi-2level /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 / Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/ Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/5.8.6 /Network/ Library/Perl /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/Library/ Perl/Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.6 /Library/ Perl/5.8.1 ../. /System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/ 5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl / Network/Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/5.8.6 / Network/Library/Perl /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level / System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1 .) at /System/Library/Perl/Extras/5.8.6/ darwin-thread-multi-2level/HTML/TokeParser.pm line 12. BEGIN failed--compilation aborted at /System/Library/Perl/Extras/5.8.6/darwin-thread- multi-2level/HTML/TokeParser.pm line 12. Compilation failed in require at ../blib/lib/HTML/Form.pm line 116. html/form-param.......dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-24 Failed 24/24 tests, 0.00% okay html/form.............Can't locate HTML/Tagset.pm in @INC (@INC contains: ../blib/lib ../blib/ arch /System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6/ darwin-thread-multi-2level /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread- multi-2level /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/ Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/Library/ Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/5.8.6 /Network/Library/Perl / System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/ 5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1 ../. / System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 /Library/ Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/Library/ Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/5.8.6 /Network/Library/Perl / System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/ 5.8.6 /Library/Perl/5.8.1 .) at /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level/ HTML/TokeParser.pm line 12. BEGIN failed--compilation aborted at /System/Library/Perl/Extras/5.8.6/darwin-thread- multi-2level/HTML/TokeParser.pm line 12. Compilation failed in require at ../blib/lib/HTML/Form.pm line 116. html/form.............dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-122 Failed 122/122 tests, 0.00% okay 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 ------------------------------------------------------------------------------- html/form-param.t 2 512 24 48 200.00% 1-24 html/form.t 2 512 122 244 200.00% 1-122 Failed 2/30 test scripts, 93.33% okay. 146/799 subtests failed, 81.73% okay.
From: OLIVIERT [...] cpan.org
Adding simple patch for makefile, to append HTML::Tagset as prereq.
--- Makefile.PL.orig 2005-11-04 02:26:39.000000000 +0900 +++ Makefile.PL 2007-02-01 11:41:18.000000000 +0900 @@ -275,6 +275,7 @@ 'HTML::Parser' => "3.33", 'Digest::MD5' => 0, 'Compress::Zlib' => "1.10", + 'HTML::Tagset' => 0, }, 'clean' => { FILES => join(" ", map "bin/$_", @request_aliases) }, 'dist' => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
This was actually fixed in v5.806