[MacPorts] #37014: docbook-xml-4.3 @5.01 command execution failed
#37014: docbook-xml-4.3 @5.01 command execution failed ---------------------------+-------------------------------- Reporter: mzwinderman@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: docbook-xml-4.3 ---------------------------+-------------------------------- Hi all, Trying to install texlive, which has docbook-xml as a dependency. This fails with error "command execution failed", I've tried selfupdate of port, uninstalling and reinstalling docbook-xml, which also fails (Error: org.macports.deactivate for port docbook-xml-4.1.2 returned: command execution failed). I've attached the log-file. I have Xcode 4.5.2. Please let me know how to fix this :) Some background information: I upgraded from SL to ML, removed all ports (some where old and unused and seemed a good idea to start fresh) and am now trying to re-add my favorite ports. Other ports install just fine. -- Ticket URL: <https://trac.macports.org/ticket/37014> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37014: docbook-xml-4.3 @5.01 command execution failed ------------------------------+------------------------ Reporter: mzwinderman@… | Owner: lockhart@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: docbook-xml-4.3 | ------------------------------+------------------------ Changes (by pixilla@…): * cc: pixilla@… (added) * owner: macports-tickets@… => lockhart@… Comment: Did you uninstall your previous SL MacPorts ports or rm them? The Portfile runs these commands in the deactivate phase, you could try them manually and then finish your install: {{{ sudo xmlcatmgr -c /opt/local/etc/xml/catalog remove nextCatalog /opt/local/share/xml/docbook/4.3/catalog.xml sudo xmlcatmgr -s -c /opt/local/etc/sgml/catalog remove CATALOG /opt/local/share/xml/docbook/4.3/docbook.cat sudo port install docbook-xml-4.3 }}} If this works and you are installing other docbook-xml version you may need to run the same commands changing 4.3 to each respective version. -- Ticket URL: <https://trac.macports.org/ticket/37014#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37014: docbook-xml-4.3 @5.01 command execution failed ------------------------------+------------------------ Reporter: mzwinderman@… | Owner: lockhart@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: docbook-xml-4.3 | ------------------------------+------------------------ Comment (by mzwinderman@…): I did an uninstall of the ports, but not of MacPorts itself (I ran {{{port uninstall installed}}}), I then did a {{{selfupdate}}}. The {{{xmlcatmgr}}} commands return "no matching entry". Strangely {{{port install docbook-xml-4.3}}} now does not give errors: {{{ ---> Computing dependencies for docbook-xml-4.3 ---> Cleaning docbook-xml-4.3 ---> Updating database of binaries: 100.0% ---> Scanning binaries for linking errors: 100.0% ---> No broken files found. }}} But on installing texlive I do get the following error: {{{ ---> Staging docbook-xml-4.5 into destroot ---> Installing docbook-xml-4.5 @5.0_1 ---> Activating docbook-xml-4.5 @5.0_1 Error: org.macports.activate for port docbook-xml-4.5 returned: command execution failed Error: Failed to install docbook-xml-4.5 }}} Uninstalling docbook-xml also gives an error, but subsequent reinstallation goes well. Thanks for your quick reply! Replying to [comment:1 pixilla@…]:
Did you uninstall your previous SL MacPorts ports or rm them?
The Portfile runs these commands in the deactivate phase, you could try them manually and then finish your install: {{{ sudo xmlcatmgr -c /opt/local/etc/xml/catalog remove nextCatalog /opt/local/share/xml/docbook/4.3/catalog.xml sudo xmlcatmgr -s -c /opt/local/etc/sgml/catalog remove CATALOG /opt/local/share/xml/docbook/4.3/docbook.cat sudo port install docbook-xml-4.3 }}}
If this works and you are installing other docbook-xml version you may need to run the same commands changing 4.3 to each respective version.
-- Ticket URL: <https://trac.macports.org/ticket/37014#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37014: docbook-xml-4.3 @5.01 command execution failed ------------------------------+------------------------ Reporter: mzwinderman@… | Owner: lockhart@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: docbook-xml-4.3 | ------------------------------+------------------------ Comment (by pixilla@…): Replying to [comment:2 mzwinderman@…]:
I did an uninstall of the ports, but not of MacPorts itself (I ran {{{port uninstall installed}}}), I then did a {{{selfupdate}}}.
The {{{xmlcatmgr}}} commands return "no matching entry". Strangely {{{port install docbook-xml-4.3}}} now does not give errors:
...
But on installing texlive I do get the following error:
...
Uninstalling docbook-xml also gives an error, but subsequent reinstallation goes well.
Permissions on /opt/local/etc/xml/catalog and /opt/local/etc/sgml/catalog? Might be to late to check if the catalogs have been updated/overwritten. -- Ticket URL: <https://trac.macports.org/ticket/37014#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37014: docbook-xml-4.3 @5.01 command execution failed ------------------------------+------------------------ Reporter: mzwinderman@… | Owner: lockhart@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: docbook-xml-4.3 | ------------------------------+------------------------ Comment (by mzwinderman@…): Permissions are as follows: {{{ ls -lah /opt/local/etc/xml/catalog -rw-r--r-- 1 root admin 784B 16 nov 15:53 /opt/local/etc/xml/catalog ls -lah /opt/local/etc/sgml/catalog -rw-r--r-- 1 root admin 155B 16 nov 15:51 /opt/local/etc/sgml/catalog }}} As you can see in the timestamp, the catalogs have recently been updated. Is that what you were asking for? -- Ticket URL: <https://trac.macports.org/ticket/37014#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37014: docbook-xml-4.3 @5.01 command execution failed ------------------------------+------------------------ Reporter: mzwinderman@… | Owner: lockhart@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: docbook-xml-4.3 | ------------------------------+------------------------ Comment (by mzwinderman@…): Are there any other suggestions I could try? -- Ticket URL: <https://trac.macports.org/ticket/37014#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37014: docbook-xml-4.3 @5.01 command execution failed ------------------------------+------------------------ Reporter: mzwinderman@… | Owner: lockhart@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: docbook-xml-4.3 | ------------------------------+------------------------ Comment (by pixilla@…): Replying to [comment:2 mzwinderman@…]:
Uninstalling docbook-xml also gives an error, but subsequent reinstallation goes well.
Replying to mzwinderman@…:
Are there any other suggestions I could try?
What is the problem? Your previous reply suggested to me that the reinstallation worked. Is your problem only with uninstall? -- Ticket URL: <https://trac.macports.org/ticket/37014#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37014: docbook-xml-4.3 @5.01 command execution failed ------------------------------+------------------------ Reporter: mzwinderman@… | Owner: lockhart@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: docbook-xml-4.3 | ------------------------------+------------------------ Comment (by mzwinderman@…): Hi, sorry for the confusing statement. Reinstallation of 'docbook-xml' seemed to go well, but I would still get the same error on reinstalling tex-live, again with 'docbook-xml'. So apparently installation did not go correctly. In short: the problem was with both installing and uninstalling of docbook-xml. In the mean time I have done: {{{ port selfupdate port upgrade outdated port clean --all installed port -f uninstall inactive port clean --all all }}} And now installation of texlive (and thus docbook-xml) is going right. The first two statements I had already tried before, so one of the last three commands did the trick. I can't say which, as I ran them in sequence. My problem is solved, but if you need any logfiles to see if you can find the rootcause for bughunting, I am willing to provide! Thanks very much! -- Ticket URL: <https://trac.macports.org/ticket/37014#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37014: docbook-xml-4.3 @5.01 command execution failed ------------------------------+------------------------ Reporter: mzwinderman@… | Owner: lockhart@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: docbook-xml-4.3 | ------------------------------+------------------------ Changes (by pixilla@…): * status: new => closed * resolution: => fixed Comment: I am happy this is resolved for you. The logs will be gone for the upgraded and cleaned ports unless the "-k" flag was added to the port command. You can reopen this ticket if this same issue happens with future docbook- xml upgrade/installs. -- Ticket URL: <https://trac.macports.org/ticket/37014#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts