develooper Front page | perl.perl5.porters | Postings from October 2003

Re: 5.8.0 -> 5.8.1 breakage on Debian: HTML::Parser failure

Thread Previous | Thread Next
From:
Walt Mankowski
Date:
October 9, 2003 13:11
Subject:
Re: 5.8.0 -> 5.8.1 breakage on Debian: HTML::Parser failure
Message ID:
20031009201035.GI20409@waltman.dnsalias.org
On Thu, Oct 02, 2003 at 10:53:02AM -0400, Chip Salzenberg wrote:
> I understand that 5.8.1 is supposed to be binary compatible with
> 5.8.0.  However, the Debian build of 5.8.1, is not compatible with the
> Debian HTML::Parser binary package.  Rebuilding HTML::Parser (without
> any source changes) fixed the failure.
> 
> Has anyone else experienced an upgrade difficulty of this kind?  Is
> it, in the collective opinion of this august list, Debian-specific?

I'm noticing this, too.  I've been trying to install the new version
of WWW::Mechanize, and it's been failing all sorts of tests.  I've
been working with Andy Lester to figure out what the problem is, and
we tracked it down to report_tags() in HTML::Parser.  Like Chip, I'm
running 5.8.1 with a version of HTML::Parser that was built under
5.8.0.  However, unlike Chip, I'm using a version of Perl I built
myself.

I don't know enough XS to understand much of that code, but I did see
that report_tags was defined as an HV*.  I had a hunch that it might
be related to the hash randomization that was introduced in 5.8.1, so
I tried setting PERL_HASH_SEED to 0 and rerunning make test.  Sure
enough, all the tests for WWW::Mechanize now passed!

Unfortunately knowing that HV means "hash value" is about the limit of
my knowledge of perl internals, so I can't tell if this is happening
due to a bug in HTML::Parse or a binary incompatibility in 5.8.1.

Walt

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About