ports/123003: [PATCH] textproc/docbook: ignore an error by xmlcatmgr

NAKAJI Hiroyuki nakaji at jp.freebsd.org
Wed Apr 23 03:10:01 UTC 2008


>Number:         123003
>Category:       ports
>Synopsis:       [PATCH] textproc/docbook: ignore an error by xmlcatmgr
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 23 03:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     NAKAJI Hiroyuki
>Release:        FreeBSD 8.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD roddy.4407.kankyo-u.ac.jp 8.0-CURRENT FreeBSD 8.0-CURRENT #118: Tue Jan 29 12:37:41 JST 2008
>Description:
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 at freebsd.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- docbook-4.1_3.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/textproc/docbook-410/Makefile,v
retrieving revision 1.13
diff -u -u -r1.13 Makefile
--- Makefile	22 Nov 2007 22:37:36 -0000	1.13
+++ 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>
--- docbook-4.1_3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list