Date: Thu, 12 Feb 2004 19:35:15 -0800 (PST) From: Lee Harr <missive@hotmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/62768: textproc/sdocbook-xml fails to install Message-ID: <200402130335.i1D3ZFhG090441@www.freebsd.org> Resent-Message-ID: <200402130340.i1D3eGlK084631@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402130335.i1D3ZFhG090441>