OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004974 [pm_xml_libxml] other minor always 2012-07-09 09:14 2013-04-23 18:01
Reporter ghenry View Status public  
Assigned To dam
Priority normal Resolution fixed  
Status closed  
Summary 0004974: could not find ParserDetails.ini in /opt/csw/share/perl/csw/XML/SAX
Description when you install CSWpmxmllibxml:

=> Installing CSWpmxmllibxml-1.70,REV=2010.02.09 (15/15) ...
===========NOTICE===========
To register this parser, please issue

/opt/csw/bin/perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers();"

============================

Installation of <CSWpmxmllibxml> was successful.

the file ParserDetails.ini does not exist:
root@melpomene:~# ls -l /opt/csw/share/perl/csw/XML/SAX
total 403
-r--r--r-- 1 root bin 122932 Jul 5 13:45 Base.pm
-r--r--r-- 1 root bin 28692 Jul 5 13:45 BuildSAXBase.pl
-r--r--r-- 1 root bin 2882 Jul 5 14:48 DocumentLocator.pm
-r--r--r-- 1 root bin 3046 Jul 5 13:45 Exception.pm
-r--r--r-- 1 root bin 14817 Jul 5 14:48 Intro.pod
-r--r--r-- 1 root bin 6535 Jul 5 14:48 ParserFactory.pm
drwxr-xr-x 3 root bin 13 Jul 9 09:07 PurePerl
-r--r--r-- 1 root bin 20587 Jul 5 14:48 PurePerl.pm


root@melpomene:~# /opt/csw/bin/perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers();"
could not find ParserDetails.ini in /opt/csw/share/perl/csw/XML/SAX

The message is confusing, because ParserDetails.ini is just created:
root@melpomene:~# ls -l /opt/csw/share/perl/csw/XML/SAX
total 405
-r--r--r-- 1 root bin 122932 Jul 5 13:45 Base.pm
-r--r--r-- 1 root bin 28692 Jul 5 13:45 BuildSAXBase.pl
-r--r--r-- 1 root bin 2882 Jul 5 14:48 DocumentLocator.pm
-r--r--r-- 1 root bin 3046 Jul 5 13:45 Exception.pm
-r--r--r-- 1 root bin 14817 Jul 5 14:48 Intro.pod
-rw-r--r-- 1 root root 66 Jul 9 09:10 ParserDetails.ini
-r--r--r-- 1 root bin 6535 Jul 5 14:48 ParserFactory.pm
drwxr-xr-x 3 root bin 13 Jul 9 09:07 PurePerl
-r--r--r-- 1 root bin 20587 Jul 5 14:48 PurePerl.pm

not a bug, just a confusing message
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0010331)
dam (administrator)
2013-04-16 15:52

A general solution will be tracked at
  http://wiki.opencsw.org/porting-faq#toc25 [^]
(0010358)
dam (administrator)
2013-04-23 18:01

This is now fixed in all XML::SAX parser modules which register/unregister via postinstall/preremove automatically, namely 2.0016,REV=2013.04.23 which is pushed to unstable/.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker