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

Niko Tyni ntyni at debian.org
Fri Feb 22 19:31:54 UTC 2008


On Mon, Jan 21, 2008 at 05:06:09PM -0500, Joey Hess wrote:

> 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.

Time is running out: libxml-parser-perl will be uninstallable and
unbuildable (taking along a bunch of other packages) in a week or so
unless this is fixed. See

 http://lists.debian.org/debian-perl/2008/02/msg00093.html

I came up with one more possible solution: as the encoding maps are
architecture independent, they could be split out into a separate package
so that libxml-encoding-perl isn't needed for binNMUs at all.

Proposed patch attached; this seems to work for me. It's not a solution
suitable for an NMU, so I would appreciate comments from the package
maintainers.

The patch puts the encodings in /usr/share/libxml-parser-perl and symlinks
/usr/share/perl5/XML/Parser/Encodings there. XML::Parser looks for the
encoding files in the whole @INC, so moving them from /usr/lib/perl5
isn't a problem.

Cheers,
-- 
Niko Tyni   ntyni at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 458144.patch
Type: text/x-diff
Size: 5433 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20080222/1c489676/attachment.patch 


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