Skip Menu |

This queue is for tickets about the HTML-Parser CPAN distribution.

Report information
The Basics
Id: 2155
Status: resolved
Priority: 0/
Queue: HTML-Parser

People
Owner: Nobody in particular
Requestors: matt [...] quexion.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 3.27
Fixed in: (no value)



Subject: HTML::Parser fails to make test
HTML::Parser fails to make test on new install of RedHat 8.0(Perl 5.8.0). Answering no to "Do you want decoding on unicode entities? [no]" still causes failure. Please help. And thank you. Below is test output from CPAN install ------------------------------------------------------------------- CPAN.pm: Going to build G/GA/GAAS/HTML-Parser-3.27.tar.gz Perl-5.7 provide experimental core support for Unicode strings. You can compile HTML::Entities so that Unicode entities like € and € are decoded into a string containing "\x{20AC}". If you select no to the question below such entities will be left alone and only entities in the Latin-1 range is decoded. Do you want decoding on unicode entities? [no] yes Checking if your kit is complete... Looks good Writing Makefile for HTML::Parser cp lib/HTML/PullParser.pm blib/lib/HTML/PullParser.pm cp lib/HTML/Entities.pm blib/lib/HTML/Entities.pm cp Parser.pm blib/lib/HTML/Parser.pm cp lib/HTML/TokeParser.pm blib/lib/HTML/TokeParser.pm cp lib/HTML/LinkExtor.pm blib/lib/HTML/LinkExtor.pm cp lib/HTML/HeadParser.pm blib/lib/HTML/HeadParser.pm cp lib/HTML/Filter.pm blib/lib/HTML/Filter.pm /usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap Parser.xs > Parser.xsc && mv Parser.xsc Parser.c /usr/bin/perl mkhctype >hctype.h /usr/bin/perl mkpfunc >pfunc.h gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=i386 -mcpu=i686 -DVERSION=\"3.27\" -DXS_VERSION=\"3.27\" -fpic "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" -DMARKED_SECTION -DUNICODE_ENTITIES Parser.c Running Mkbootstrap for HTML::Parser () chmod 644 Parser.bs rm -f blib/arch/auto/HTML/Parser/Parser.so LD_RUN_PATH="" gcc -shared -L/usr/local/lib Parser.o -o blib/arch/auto/HTML/Parser/Parser.so chmod 755 blib/arch/auto/HTML/Parser/Parser.so cp Parser.bs blib/arch/auto/HTML/Parser/Parser.bs chmod 644 blib/arch/auto/HTML/Parser/Parser.bs Manifying blib/man3/HTML::PullParser.3pm Manifying blib/man3/HTML::Parser.3pm Manifying blib/man3/HTML::Entities.3pm Manifying blib/man3/HTML::TokeParser.3pm Manifying blib/man3/HTML::LinkExtor.3pm Manifying blib/man3/HTML::Filter.3pm Manifying blib/man3/HTML::HeadParser.3pm /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/api_version........ok t/argspec-bad........ok t/argspec............ok t/argspec2...........ok t/attr-encoded.......ok t/callback...........ok t/case-sensitive.....ok t/cases..............ok t/comment............ok t/crashme............ok t/declaration........ok t/default............ok t/dtext..............ok t/entities...........Malformed UTF-8 character (unexpected non-continuation byte 0x72, immediately after start byte 0xe5) in substitution iterator. t/entities...........ok 2/11Confused test output: test 2 answered after test 4 t/entities...........ok 3/11Confused test output: test 3 answered after test 5 t/entities...........NOK 4Confused test output: test 4 answered after test 6 t/entities...........NOK 5Confused test output: test 5 answered after test 7 t/entities...........NOK 6Confused test output: test 6 answered after test 8 t/entities...........ok 7/11Confused test output: test 7 answered after test 9 t/entities...........ok 8/11Confused test output: test 8 answered after test 10 t/entities...........FAILED tests 1-3, 7-9 Failed 6/11 tests, 45.45% okay t/entities2..........ok t/filter-methods.....ok t/filter.............ok t/handler-eof........ok t/handler............ok t/headparser-http....ok t/headparser.........FAILED test 3 Failed 1/4 tests, 75.00% okay t/ignore.............ok t/largetags..........ok t/linkextor-base.....ok t/linkextor-rel......ok t/magic..............ok t/marked-sect........ok t/offset.............ok t/options............ok t/parsefile..........ok t/parser.............ok t/plaintext..........ok t/process............ok t/pullparser.........ok t/skipped-text.......ok t/textarea...........ok t/tokeparser.........ok t/uentities..........FAILED tests 2, 8 Failed 2/10 tests, 80.00% okay t/unbroken-text......ok t/xml-mode...........ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/entities.t 11 6 54.55% 1-3 7-9 t/headparser.t 4 1 25.00% 3 t/uentities.t 10 2 20.00% 2 8 Failed 3/40 test scripts, 92.50% okay. 9/236 subtests failed, 96.19% okay. make: *** [test_dynamic] Error 29 /usr/bin/make test -- NOT OK Running make install Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Writing /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/HTML/Parser/.packlist Appending installation info to /usr/lib/perl5/5.8.0/i386-linux-thread-multi/perllocal.pod
[guest - Tue Feb 25 18:37:16 2003]: Show quoted text
> HTML::Parser fails to make test on new install of RedHat 8.0(Perl > 5.8.0). > Answering no to "Do you want decoding on unicode entities? [no]" still > causes failure. Please help. And thank you. > > > Below is test output from CPAN install > ------------------------------------------------------------------- > >
[...] The test suite will work OK if you disable the default utf-8 locale. So try env LANG= make test It is generally a good idea to set LANG=en_US or LANG=C for perl 5.8.0. The Unicode locale problem is solved in the maintanence version of perl and will be in perl 5.8.1. Regards, Slaven