Skip Menu |

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

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

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

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



Subject: Fails to pass tests
[root@dave11 Time-HiRes-1.72]# uname -o -s -v -p -i Linux #1 Tue May 17 18:01:37 EDT 2005 i686 i386 GNU/Linux [root@dave11 Time-HiRes-1.72]# perl -V Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: Platform: osname=linux, osvers=2.4.21-1.1931.2.393.entsmp, archname=i386-linux-thread-multi uname='linux por' config_args='-des -Doptimize=-O2 -g -pipe -march=i386 -mcpu=i686 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Dotherlibdirs=/usr/lib/perl5/5.8.0 -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef' useithreads=define usemultiplicity= useperlio= d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=un uselongdouble= usemymalloc=, bincompat5005=undef Compiler: cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', optimize='', cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm' ccversion='', gccversion='3.2.3 20030502 (Red Hat Linux 3.2.3-19)', gccosandvers='' gccversion='3.2.3 200305' intsize=o, longsize=s, ptrsize=l, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long' k', ivsize=4' ivtype, nvtype='double' o_no', nvsize=, Off_t='', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='gcc' l', ldflags =' -L/usr/local/lib' ldflags_use' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lgdbm -ldb -ldl -lm -lpthread -lc -lcrypt -lutil perllibs= libc=/lib/libc-2.3.2.so, so=so, useshrplib=true, libperl=libper gnulibc_version='2.3.2' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so', d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE' cccdlflags='-fPIC' ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5', lddlflags='s Unicode/Normalize XS/A' Characteristics of this binary (from libperl): Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Locally applied patches: MAINT18379 Built under linux Compiled at Sep 15 2003 10:03:52 @INC: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 . [root@dave11 Time-HiRes-1.72]# CPAN.pm: Going to build G/GA/GAAS/HTML-Parser-3.45.tar.gz 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 Par ser.c /usr/bin/perl mkhctype >hctype.h /usr/bin/perl mkpfunc >pfunc.h gcc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict- aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/ include/gdbm -O2 -g -pipe -march=i386 -mcpu=i686 -DVERSION=\"3.45\" -DXS_VERSI ON=\"3.45\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" -DMARKE D_SECTION 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/Pa rser/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 at /root/.cpa n/build/HTML-Parser-3.45/blib/lib/HTML/Entities.pm line 458. 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.........Parsing of undecoded UTF-8 will give garbage when decoding entities at /root/.cpan/build/HTML-Parser-3.45/blib/lib/HTML/Parser.pm line 104. # Test 3 got: 'à være eller Ã¥ ikke være' (t/headparser.t at line 137) # Expected: 'à være eller Ã¥ ikke være' # t/headparser.t line 137 is: ok($p->header("Title"), "à være eller Ã¥ ikke være"); t/headparser.........FAILED test 3 Failed 1/6 tests, 83.33% okay t/ignore.............ok t/largetags..........ok t/linkextor-base.....ok t/linkextor-rel......ok t/magic..............ok t/marked-sect........ok t/msie-compat........ok t/offset.............ok t/options............ok t/parsefile..........ok t/parser.............ok t/plaintext..........ok t/process............ok t/pullparser.........ok t/script.............ok t/skipped-text.......ok t/stack-realloc......ok t/textarea...........ok t/tokeparser.........ok t/uentities..........FAILED tests 2, 8 Failed 2/14 tests, 85.71% okay t/unbroken-text......ok t/unicode-bom........ok t/unicode............ok 2/97 skipped: 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 6 1 16.67% 3 t/uentities.t 14 2 14.29% 2 8 2 subtests skipped. Failed 3/45 test scripts, 93.33% okay. 9/356 subtests failed, 97.47% okay. make: *** [test_dynamic] Error 29 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force