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
Responsible Changed From-To: freebsd-ports-bugs->des Over to maintainer.
State Changed From-To: open->closed Fixed, thanks!