Fix for #130376

Evan Carroll me at
Thu Jun 18 17:17:04 UTC 2009

I'm looking to solve a long standing bug, here is a brief overview.

* BUG ID: 130376
* PROBLEM: Prevents using cpanp and cpan to update system

The real issue here is this was done **totally** wrong. Someone forked
over a module from cpan by polluting the namespace with
save_parsers_debian {} and breaking upstreams save_parsers {}. This
results in an update of XML::SAX (which will install to /usr/local)
holding higher precedence than /usr in the perl load sequence and
totally breaking the debian added functionality (including dpkg which
relies on it).

My fix for this problem is fairly simple:
1) Move Debian-specific changes into XML::SAX::Debian a subclass of
upstream XML::SAX
3) Update the /usr/bin/update-perl-sax-parsers to use XML::SAX::Debian
2) Package both separately. (libxml-sax-perl, libxml-sax-debian-perl)

Any input is appreciated, I'm not exactly sure on how to package perl
modules for debian, but I can do the subclassing of XML::SAX and
submit a tarball to CPAN (my pause id is ECARROLL) or the list. I can
also supply a patch to /usr/bin/update-perl-sax-parsers

Evan Carroll
System Lord of the Internets

More information about the pkg-perl-maintainers mailing list