[MacPorts] #26151: installed docbook ports are not always correctly reflected in xml catalog

MacPorts noreply at macports.org
Fri Feb 27 04:36:48 PST 2015


#26151: installed docbook ports are not always correctly reflected in xml catalog
-------------------------------------------------+-------------------------
  Reporter:  jabronson@…                         |      Owner:  macports-
      Type:  defect                              |  tickets@…
  Priority:  Normal                              |     Status:  reopened
 Component:  ports                               |  Milestone:
Resolution:                                      |    Version:  1.9.1
      Port:  docbook-xml docbook-xsl xmlcatmgr   |   Keywords:
  xmlto                                          |
-------------------------------------------------+-------------------------

Comment (by pancake@…):

 I have found several dupped issues related to the same problem, and its
 something that it's been buggy since the begining and the bugs get opened
 again and again. This is the solution I did to solve the same problem I
 was able to reproduce right now.

 ```
 $ cat xml-catalog.sh
 #!/bin/sh
 echo '<?xml version="1.0"?>'
 echo '<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML
 Catalog V1.0//EN" "http://www.oasis-
 open.org/committees/entity/release/1.0/catalog.dtd">'
 echo '<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">'
 CATS=`find  /opt/local/share/| grep catalog.xml$`
 for a in ${CATS} ; do
         echo '<nextCatalog catalog="'$a'"/>'
 done
 echo '</catalog>'
 ```

 This script will generate the /opt/local/etc/xml/catalog. the gtk-doc
 program fails if this file contain entries that point to outdated or non-
 existent versions of those catalogs.

 This script or a similar one should be used after
 installing/upgrading/removing any package that contains a file named
 `catalog.xml`. This way it will keep consistency.

 Related issues are:

 https://trac.macports.org/ticket/17662
 https://trac.macports.org/ticket/26151
 https://trac.macports.org/ticket/34077
 https://trac.macports.org/ticket/28092
 https://trac.macports.org/ticket/28313
 https://trac.macports.org/ticket/27771
 https://trac.macports.org/ticket/42470
 ...

-- 
Ticket URL: <https://trac.macports.org/ticket/26151#comment:37>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list