[MacPorts] #36526: docbook-xml-5.0 deactivate errors
#36526: docbook-xml-5.0 deactivate errors --------------------+----------------------------- Reporter: snc@… | Owner: lockhart@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.99 Keywords: | Port: docbook-xml-5.0 --------------------+----------------------------- When performing a `deactivate active`, docbook-xml-5.0 produced errors: {{{ :info:deactivate xmlcatmgr: no matching entry for = `/opt/local/share/xml/docbook/5.0/docbook.cat' of type `CATALOG' :info:deactivate Command failed: xmlcatmgr -s -c = /opt/local/etc/sgml/catalog remove CATALOG = /opt/local/share/xml/docbook/5.0/docbook.cat }}} -- Ticket URL: <https://trac.macports.org/ticket/36526> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36526: docbook-xml-5.0 deactivate errors ------------------------------+------------------------ Reporter: snc@… | Owner: lockhart@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.99 Resolution: | Keywords: Port: docbook-xml-5.0 | ------------------------------+------------------------ Comment (by lockhart@…): OK, I see how this can happen I think. There is a "post-deactivate" phase which removes items from the catalogs. istm that this is most properly fixed by changing this to "pre-deactivate" so we can test whether the files mentioned in the catalog actually exist, and only if so then try removing the entries. Advice is appreciated, but in the meantime will test a fix involving using pre-deactivate. -- Ticket URL: <https://trac.macports.org/ticket/36526#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36526: docbook-xml-5.0 deactivate errors ------------------------------+------------------------ Reporter: snc@… | Owner: lockhart@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.99 Resolution: | Keywords: Port: docbook-xml-5.0 | ------------------------------+------------------------ Comment (by snc@…): I suspect checking that the file exists first is the easiest way to wrap your command. I'd use Tcl's commands to check this, and maybe if you need to wrapping it with a catch. -- Ticket URL: <https://trac.macports.org/ticket/36526#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36526: docbook-xml-5.0 deactivate errors ------------------------------+----------------------------- Reporter: snc@… | Owner: tlockhart1976@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: docbook-xml-5.0 | ------------------------------+----------------------------- Changes (by mojca@…): * owner: lockhart@… => tlockhart1976@… * version: 2.1.99 => -- Ticket URL: <https://trac.macports.org/ticket/36526#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts