Subject: Re: textproc/p5-XML-Simple broken (was: CVS commit: pkgsrc/textproc/p5-XML-SAX)
To: None <>
From: Klaus Heinz <>
List: pkgsrc-users
Date: 06/16/2007 17:28:37
Bernd Ernesti wrote:

> I don't know why, but I have the feeling that this or one of the
> other updates in this area broke textproc/p5-XML-Simple:
> =20
> =3D=3D=3D> Configuring for p5-XML-Simple-2.16
> =3D> Checking for portability problems in extracted files
> Can't locate object method "new" via package "XML::LibXML::SAX" at /usr/p=
> 8.0/XML/SAX/ line 43.
> Checking installed modules ...
> *** Error code 2

Do you have installed p5-XML-LibXML at all? If not, then I suppose your
registry of XML parsers is messed up, which would support my case of
automatic parser registration, which the commit was all about.

Please take a look at

If you have p5-XML-SAX (which owns this file), it must contain 4 lines
(the last two are empty).

  [XML::SAX::PurePerl] =3D 1


=46rom the error message, I conclude that you do _not_ have p5-XML-LibXML
installed but ParserDetails.ini probably contains

  [XML::SAX::PurePerl] =3D 1

  [XML::LibXML::SAX::Parser] =3D 1

  [XML::LibXML::SAX] =3D 1


As a solution, you could delete the sections [XML::LibXML::SAX::Parser]
and [XML::LibXML::SAX] manually.
As an alternative, deinstall p5-XML-SAX and every package which depends
on it and make sure the file ParserDetails.ini is gone. Then reinstall
from current pkgsrc as needed. Registration of parsers at install time
and removal at deinstall time should be done automatically.