Sometimes I get an error using portupgrade: xmlcatmgr: entry already exists for `docbook/4.1/catalog' of type `CATALOG' *** Error code 1 and it stops portupgrade. Port maintainer (murray@freebsd.org) is cc'd. Generated with FreeBSD Port Tools 0.77
Responsible Changed From-To: freebsd-ports-bugs->alepulver Over to maintainer (via the GNATS Auto Assign Tool)
>>>>> In <200804230310.m3N3A19C014435@freefall.freebsd.org> >>>>> FreeBSD-gnats-submit@FreeBSD.org wrote: > http://www.freebsd.org/cgi/query-pr.cgi?pr=123003 > >Category: ports > >Responsible: freebsd-ports-bugs > >Synopsis: [PATCH] textproc/docbook: ignore an error by xmlcatmgr > >Arrival-Date: Wed Apr 23 03:10:01 UTC 2008 All docbook-[0-9]*/Makefile need smillar change. Here is an updated patch. Index: docbook-241/Makefile =================================================================== RCS file: /home/ncvs/ports/textproc/docbook-241/Makefile,v retrieving revision 1.18 diff -u -r1.18 Makefile --- docbook-241/Makefile 15 Apr 2006 06:46:10 -0000 1.18 +++ docbook-241/Makefile 23 Apr 2008 06:09:29 -0000 @@ -49,6 +49,6 @@ @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR} post-install: - @${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${PORTNAME}/${DTD_VERSION}/catalog + @-${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${PORTNAME}/${DTD_VERSION}/catalog .include <bsd.port.mk> Index: docbook-300/Makefile =================================================================== RCS file: /home/ncvs/ports/textproc/docbook-300/Makefile,v retrieving revision 1.19 diff -u -r1.19 Makefile --- docbook-300/Makefile 15 Apr 2006 06:46:10 -0000 1.19 +++ docbook-300/Makefile 23 Apr 2008 06:09:38 -0000 @@ -48,6 +48,6 @@ @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR} post-install: - @${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${PORTNAME}/${PORTVERSION}/catalog + @-${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${PORTNAME}/${PORTVERSION}/catalog .include <bsd.port.mk> Index: docbook-310/Makefile =================================================================== RCS file: /home/ncvs/ports/textproc/docbook-310/Makefile,v retrieving revision 1.26 diff -u -r1.26 Makefile --- docbook-310/Makefile 29 Apr 2006 18:51:36 -0000 1.26 +++ docbook-310/Makefile 23 Apr 2008 06:09:45 -0000 @@ -49,6 +49,6 @@ @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR} post-install: - @${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${PORTNAME}/${PORTVERSION}/catalog + @-${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${PORTNAME}/${PORTVERSION}/catalog .include <bsd.port.mk> Index: docbook-400/Makefile =================================================================== RCS file: /home/ncvs/ports/textproc/docbook-400/Makefile,v retrieving revision 1.16 diff -u -r1.16 Makefile --- docbook-400/Makefile 27 Apr 2005 23:35:54 -0000 1.16 +++ docbook-400/Makefile 23 Apr 2008 06:09:52 -0000 @@ -49,6 +49,6 @@ @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR} post-install: - @${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${PORTNAME}/${PORTVERSION}/catalog + @-${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${PORTNAME}/${PORTVERSION}/catalog .include <bsd.port.mk> Index: docbook-410/Makefile =================================================================== RCS file: /home/ncvs/ports/textproc/docbook-410/Makefile,v retrieving revision 1.13 diff -u -r1.13 Makefile --- docbook-410/Makefile 22 Nov 2007 22:37:36 -0000 1.13 +++ docbook-410/Makefile 23 Apr 2008 02:32:23 -0000 @@ -49,6 +49,6 @@ @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR} post-install: - @${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${PORTNAME}/${PORTVERSION}/catalog + @-${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${PORTNAME}/${PORTVERSION}/catalog .include <bsd.port.mk> Index: docbook-420/Makefile =================================================================== RCS file: /home/ncvs/ports/textproc/docbook-420/Makefile,v retrieving revision 1.2 diff -u -r1.2 Makefile --- docbook-420/Makefile 19 Apr 2004 09:16:07 -0000 1.2 +++ docbook-420/Makefile 23 Apr 2008 06:10:04 -0000 @@ -48,6 +48,6 @@ @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR} post-install: - @${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${PORTNAME}/${PORTVERSION}/catalog + @-${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${PORTNAME}/${PORTVERSION}/catalog .include <bsd.port.mk> -- NAKAJI Hiroyuki
State Changed From-To: open->feedback Ask maintainers of the corresponding ports.
I've grabbed and cleaned up the unmaintained docbook ports, they are alredy fixed, I think that only docook-[410|420|430] remained from the SGML ports. The XML ports are all ok. Best, Gábor
alepulver 2008-08-10 20:03:41 UTC FreeBSD ports repository Modified files: textproc/docbook-410 Makefile textproc/docbook-420 Makefile Log: - Avoid error when catalog is already present. PR: ports/123003 Submitted by: NAKAJI Hiroyuki <nakaji@jp.freebsd.org> Approved by: maintainer (timeout) Revision Changes Path 1.14 +1 -1 ports/textproc/docbook-410/Makefile 1.3 +1 -1 ports/textproc/docbook-420/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: feedback->closed Committed. Thanks!