ports/62768: textproc/sdocbook-xml fails to install
Lee Harr
missive at hotmail.com
Fri Feb 13 03:40:17 UTC 2004
>Number: 62768
>Category: ports
>Synopsis: textproc/sdocbook-xml fails to install
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Feb 12 19:40:16 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Lee Harr
>Release: 4.9-STABLE
>Organization:
>Environment:
FreeBSD homer 4.9-STABLE FreeBSD 4.9-STABLE #1: Sat Dec 27 11:23:38 EST 2003 lee at homer:/mnt/obj/mnt/src/sys/HOMER i386
>Description:
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
>How-To-Repeat:
cd /usr/ports/textproc/sdocbook-xml
make install
>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 ...
--- 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}
-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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list