Opened 8 years ago

Last modified 5 years ago

#37165 new defect

sgml-common: xmlcatmgr: failed to create `/opt/local/etc/xml/catalog': Permission denied

Reported by: ryandesign (Ryan Schmidt) Owned by: lockhart (Thomas Lockhart)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: sgml-common

Description

Building sgml-common fails with the above error.

/opt/local/etc/xml exists and is an empty directory.

Attachments (1)

main.log (10.6 KB) - added by ryandesign (Ryan Schmidt) 8 years ago.

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by ryandesign (Ryan Schmidt)

Attachment: main.log added

comment:1 Changed 6 years ago by mojca (Mojca Miklavec)

Owner: changed from lockhart@… to tlockhart1976@…
Version: 2.1.2

comment:2 Changed 5 years ago by lockhart (Thomas Lockhart)

The following sequence of commands succeeds:

sudo port uninstall docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 iso8879 docbook-xml-4.2 openjade docbook-sgml-4.2 docbook-utils p5.22-sgmlspm docbook-dsssl docbook-xml-5.0 docbook-xsl docbook-xsl-ns
sudo rm -rf /opt/local/etc/sgml /opt/local/etc/xml
sudo port install -s sgml-common

The problem illustrated in main.log is due to orphaned entries in /opt/local/etc/sgml/catalog or /opt/local/etc/xml/catalog from previous versions of some of the ports mentioned above.

I recommend that this ticket be closed.

Note: See TracTickets for help on using tickets.