Skip Menu |

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

Report information
The Basics
Id: 29444
Status: resolved
Priority: 0/
Queue: XML-Parser

People
Owner: Nobody in particular
Requestors: jesse [...] bestpractical.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.34
Fixed in: 2.35



Subject: XML::Parser fails encoding tests on 5.10-tobe on OSX 10.4
Date: Mon, 17 Sep 2007 16:44:10 -0400
To: bug-xml-parser [...] rt.cpan.org
From: Jesse Vincent <jesse [...] bestpractical.com>
(the "my" issue is a red herring and fixing it doesn't fix the test failure) CPAN.pm: Going to build M/MS/MSERGEANT/XML-Parser-2.34.tar.gz Checking if your kit is complete... Looks good Writing Makefile for XML::Parser::Expat Writing Makefile for XML::Parser cp Parser/Encodings/x-sjis-cp932.enc blib/lib/XML/Parser/Encodings/x- sjis-cp932.enc cp Parser/Encodings/iso-8859-7.enc blib/lib/XML/Parser/Encodings/ iso-8859-7.enc cp Parser/Style/Tree.pm blib/lib/XML/Parser/Style/Tree.pm cp Parser/Encodings/iso-8859-9.enc blib/lib/XML/Parser/Encodings/ iso-8859-9.enc cp Parser/Encodings/x-euc-jp-unicode.enc blib/lib/XML/Parser/ Encodings/x-euc-jp-unicode.enc cp Parser/Encodings/README blib/lib/XML/Parser/Encodings/README cp Parser/Encodings/euc-kr.enc blib/lib/XML/Parser/Encodings/euc-kr.enc cp Parser/Encodings/windows-1250.enc blib/lib/XML/Parser/Encodings/ windows-1250.enc cp Parser/Encodings/windows-1252.enc blib/lib/XML/Parser/Encodings/ windows-1252.enc cp Parser/Encodings/big5.enc blib/lib/XML/Parser/Encodings/big5.enc cp Parser/Encodings/iso-8859-3.enc blib/lib/XML/Parser/Encodings/ iso-8859-3.enc cp Parser/Encodings/Japanese_Encodings.msg blib/lib/XML/Parser/ Encodings/Japanese_Encodings.msg cp Parser/Style/Subs.pm blib/lib/XML/Parser/Style/Subs.pm cp Parser/Encodings/iso-8859-4.enc blib/lib/XML/Parser/Encodings/ iso-8859-4.enc cp Parser/Encodings/iso-8859-8.enc blib/lib/XML/Parser/Encodings/ iso-8859-8.enc cp Parser/Encodings/x-euc-jp-jisx0221.enc blib/lib/XML/Parser/ Encodings/x-euc-jp-jisx0221.enc cp Parser/Encodings/iso-8859-2.enc blib/lib/XML/Parser/Encodings/ iso-8859-2.enc cp Parser/Encodings/x-sjis-jdk117.enc blib/lib/XML/Parser/Encodings/x- sjis-jdk117.enc cp Parser/Encodings/x-sjis-unicode.enc blib/lib/XML/Parser/Encodings/ x-sjis-unicode.enc cp Parser/LWPExternEnt.pl blib/lib/XML/Parser/LWPExternEnt.pl cp Parser/Style/Objects.pm blib/lib/XML/Parser/Style/Objects.pm cp Parser.pm blib/lib/XML/Parser.pm cp Parser/Style/Debug.pm blib/lib/XML/Parser/Style/Debug.pm cp Parser/Encodings/x-sjis-jisx0221.enc blib/lib/XML/Parser/Encodings/ x-sjis-jisx0221.enc cp Parser/Style/Stream.pm blib/lib/XML/Parser/Style/Stream.pm cp Parser/Encodings/iso-8859-5.enc blib/lib/XML/Parser/Encodings/ iso-8859-5.enc cp Expat.pm ../blib/lib/XML/Parser/Expat.pm /opt/perl-blead/bin/perl /opt/perl-blead/lib/5.10.0/ExtUtils/xsubpp - noprototypes -typemap /opt/perl-blead/lib/5.10.0/ExtUtils/typemap - typemap typemap Expat.xs > Expat.xsc && mv Expat.xsc Expat.c cc -c -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict- aliasing -pipe -I/usr/local/include -I/opt/local/include -O3 - DVERSION=\"2.34\" -DXS_VERSION=\"2.34\" "-I/opt/perl-blead/lib/ 5.10.0/darwin-2level/CORE" Expat.c Running Mkbootstrap for XML::Parser::Expat () chmod 644 Expat.bs rm -f ../blib/arch/auto/XML/Parser/Expat/Expat.bundle LD_RUN_PATH="/opt/local/lib" env MACOSX_DEPLOYMENT_TARGET=10.3 cc - bundle -undefined dynamic_lookup -L/usr/local/lib -L/opt/local/lib Expat.o -o ../blib/arch/auto/XML/Parser/Expat/Expat.bundle \ -lexpat \ chmod 755 ../blib/arch/auto/XML/Parser/Expat/Expat.bundle cp Expat.bs ../blib/arch/auto/XML/Parser/Expat/Expat.bs chmod 644 ../blib/arch/auto/XML/Parser/Expat/Expat.bs Manifying ../blib/man3/XML::Parser::Expat.3 Manifying blib/man3/XML::Parser::Style::Objects.3 Manifying blib/man3/XML::Parser::Style::Debug.3 Manifying blib/man3/XML::Parser.3 Manifying blib/man3/XML::Parser::Style::Subs.3 Manifying blib/man3/XML::Parser::Style::Tree.3 Manifying blib/man3/XML::Parser::Style::Stream.3 MSERGEANT/XML-Parser-2.34.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /opt/perl-blead/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/astress.........ok t/cdata...........ok t/decl............ok t/defaulted.......ok t/encoding........"my" variable $p masks earlier declaration in same scope at t/encoding.t line 94. t/encoding........FAILED test 3 Failed 1/6 tests, 83.33% okay t/external_ent....ok t/file............ok t/finish..........ok t/namespaces......ok t/parament........ok t/partial.........ok t/skip............ok t/stream..........ok t/styles..........ok Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------ ------- t/encoding.t 6 1 3 Failed 1/14 test scripts. 1/130 subtests failed. Files=14, Tests=130, 2 wallclock secs ( 0.67 cusr + 0.24 csys = 0.91 CPU) Failed 1/14 test programs. 1/130 subtests failed. make: *** [test_dynamic] Error 255 MSERGEANT/XML-Parser-2.34.tar.gz /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force Failed during this command: MSERGEANT/XML-Parser-2.34.tar.gz : make_test NO
Download PGP.sig
application/pgp-signature 186b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #29444] AutoReply: XML::Parser fails encoding tests on 5.10-tobe on OSX 10.4
Date: Mon, 17 Sep 2007 16:59:52 -0400
To: bug-XML-Parser [...] rt.cpan.org
From: Jesse Vincent <jesse [...] bestpractical.com>
And actually, the patching is trivial. You can thank ANDK ;) http://ftp.funet.fi/pub/CPAN/authors/id/A/AN/ANDK/patches/XML- Parser-2.34-ANDK-01.patch.gz
Download PGP.sig
application/pgp-signature 186b

Message body not shown because it is not plain text.

From: SREZIC [...] cpan.org
On Mon Sep 17 17:00:09 2007, jesse@bestpractical.com wrote: Show quoted text
> And actually, the patching is trivial. You can thank ANDK ;) > > http://ftp.funet.fi/pub/CPAN/authors/id/A/AN/ANDK/patches/XML- > Parser-2.34-ANDK-01.patch.gz
I created an even better patch which makes the test suite pass even on perl 5.00505: http://ftp.funet.fi/pub/CPAN/authors/id/S/SR/SREZIC/patches/XML-Parser-2.34-SREZIC-01.patch.gz