GNOME Bugzilla – Bug 723436
sanitycheck can't find xmlcatalog modules even after installing docbook-xsl
Last modified: 2014-02-28 21:30:18 UTC
I was getting the following when running jhbuild sanitycheck: $ jhbuild sanitycheck Could not find DocBook XML DTD V4.1.2 in XML catalog (usually part of package 'docbook-xsl') Could not find DocBook XSL Stylesheets in XML catalog (usually part of package 'docbook-xsl') Even after installing docbook-xsl, same error occurred... Well, what happens is that this is the command that was run: xmlcatalog /etc/xml/catalog http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl But it wasn't failing because it couldn't find that XSL in the XML catalog, but because the command xmlcatalog didn't exist in the system! Patch coming...
Created attachment 267806 [details] [review] Proposed patch
Created attachment 267807 [details] [review] Another nice to have
Comment on attachment 267806 [details] [review] Proposed patch great, thanks.
Comment on attachment 267807 [details] [review] Another nice to have Is this also libxml-parser-perl on fedora & friends?
(In reply to comment #4) > Is this also libxml-parser-perl on fedora & friends? No idea sorry, don't use Fedora.
Created attachment 270599 [details] [review] Another nice to have v2 Now including fedora package name (confirmed in https://apps.fedoraproject.org/packages/s/perl-XML-Parser and freenode#fedora).
Comment on attachment 270599 [details] [review] Another nice to have v2 Sorry I didn't have a proper look before; as the error message is now specific to that perl module, and the loop has just one element, we should remove the loop. That would be a diff like this, and you could apply your patch on top of it: + # Perl module used by tools such as intltool: + perlmod = 'XML::Parser' + try: + get_output(['perl', '-M%s' % perlmod, '-e', 'exit']) + except: + uprint(_('Could not find the Perl module %s') % perlmod)
Cool thanks, all pushed!