[xml/sgml-pkgs] Bug#458144: FWD: Re: libxml-parser-perl: depends/build depends loop makes building against, new perl versions impossible

Joey Hess joeyh at debian.org
Mon Jan 21 22:06:09 UTC 2008


Resend since I typoed the address the first time.

----- Forwarded message from Joey Hess <joeyh at debian.org> -----

From: Joey Hess <joeyh at debian.org>
Date: Tue, 1 Jan 2008 15:15:34 -0500
To: peter green <plugwash at p10link.net>
Cc: 458144 at bugs.debian.oet
Subject: Re: libxml-parser-perl: depends/build depends loop makes building
	against, new perl versions impossible
User-Agent: Mutt/1.5.17 (2007-11-01)

In #132989 I described four ways to fix that bug, and ended up using
the first of them, since the maintainer made the mecessary changes to
libxml-encoding-perl to allow it, and since that was more NMU-amenable
solution to the bug than adding a bunch of uuencoded encoding files to
libxml-parser-perl.

To avoid the build dependency loop, any of the other three solutions
could be used. Note that #132989 includes an old patch implementing the
fourth option, if you're looking for a quick fix. I'm not sure if that
patch includes all the encoding files, so it might need to be updated.

> Well I took another look at this bug and it looks like the build-dep issue 
> was introduced with the previous NMU so I went back to the previous version 
> but then ran into another problem with the testsuite failing.
>
> 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
>
> I disabled the testsuite and that version built.

FWIW, that testsuite failure seems to be caused by the new perl somehow.
(And it's not related to the "my" warning.)

Rather than using an old version, you can use the current version, just
change the debian/rules temporarily to not run compile_encoding, and
ignore the build dependency.

> I then used that version to satisfy the depencies of the latest version but 
> that then failed to build with
>
> Not a HASH reference at /usr/bin/compile_encoding line 42.
>
> repeated quite a number of times.

Yugh! libxml-encoding-perl's compile_encoding uses a pseudo hash, so
that will need to be fixed before it will work with perl 5.10.

I've filed a separate bug about that, but I don't have a fix handy yet.

-- 
see shy jo



----- End forwarded message -----
-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20080121/c289f852/attachment.pgp 


More information about the debian-xml-sgml-pkgs mailing list