Bug 62768 - textproc/sdocbook-xml fails to install
Summary: textproc/sdocbook-xml fails to install
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dag-Erling Smørgrav
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-13 03:40 UTC by Lee Harr
Modified: 2004-02-13 10:34 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lee Harr 2004-02-13 03:40:16 UTC
Trying to install port textproc/sdocbook-xml I get this error:

install -c -o root -g wheel -m 444 /usr/ports/textproc/sdocbook-xml/work/catalog.xml /usr/local/share/xml/sdocbook
/usr/local/bin/xmlcatmgr -sc /usr/local/share/sgml/catalog.ports add CATALOG /usr/local/share/xml/sdocbook/catalog
xmlcatmgr: entry already exists for `/usr/local/share/xml/sdocbook/catalog' of type `CATALOG'
*** Error code 1

Fix: I was having similar problems with docbook-xml and docbook-xsl.

It was recommended that I remove all xml and xsl ports, then
remove /usr/local/share/xml and xsl and reinstall everything
but the problem was still there.

The docbook-xml maintainer created a patch like this which
seems to also work for sdocbook-xml ...



-SDOCBOOKDIR=   ${PREFIX}/share/xml/sdocbook
+SDOCBOOKDIR=   ${PREFIX}/share/xml/${PORTNAME:S/-xml//}/${PORTVERSION}
 XMLCATMGR=     ${LOCALBASE}/bin/xmlcatmgr
 CATALOG_PORTS_SGML=    ${PREFIX}/share/sgml/catalog.ports
 CATALOG_PORTS_XML=     ${PREFIX}/share/xml/catalog.ports--03OIbhsobzLck693qzwP4JiWF0S6Lt5cldOKGtmX8ha1JFby
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- Makefile.orig       Thu Feb 12 22:07:15 2004
+++ Makefile    Thu Feb 12 22:10:51 2004
@@ -25,7 +25,7 @@
                CATALOG_PORTS_XML=${CATALOG_PORTS_XML}\
                XMLDIR=${SDOCBOOKDIR}
How-To-Repeat: cd /usr/ports/textproc/sdocbook-xml
make install
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2004-02-13 07:27:54 UTC
Responsible Changed
From-To: freebsd-ports-bugs->des

Over to maintainer.
Comment 2 Dag-Erling Smørgrav freebsd_committer freebsd_triage 2004-02-13 10:34:56 UTC
State Changed
From-To: open->closed

Fixed, thanks!