From owner-freebsd-ports@FreeBSD.ORG Mon Dec 29 09:44:50 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0177B16A4CE for ; Mon, 29 Dec 2003 09:44:50 -0800 (PST) Received: from outpost.globcon.net (outpost.globcon.net [62.141.88.161]) by mx1.FreeBSD.org (Postfix) with SMTP id CF86D43D68 for ; Mon, 29 Dec 2003 09:44:11 -0800 (PST) (envelope-from sergei@FreeBSD.org) Received: (qmail 11943 invoked from network); 29 Dec 2003 17:43:12 -0000 Received: from dom.kolobov.com (HELO kolobov.com) (213.247.180.114) by outpost.globcon.net (62.141.88.161) with SMTP; 29 Dec 2003 17:43:12 -0000 Received: (qmail 2879 invoked by uid 911); 29 Dec 2003 17:42:52 -0000 Date: Mon, 29 Dec 2003 20:42:52 +0300 From: Sergei Kolobov To: Hiroki Sato Message-ID: <20031229174252.GC719@chetwood.ru> Mail-Followup-To: Hiroki Sato , kwc@TheWorld.com, kuriyama@FreeBSD.org, freebsd-ports@FreeBSD.org References: <200312291610.LAA13349885@shell.TheWorld.com> <20031230.013349.35008002.hrs@eos.ocn.ne.jp> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pAwQNkOnpTn9IO2O" Content-Disposition: inline In-Reply-To: <20031230.013349.35008002.hrs@eos.ocn.ne.jp> User-Agent: Mutt/1.5.3i X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on outpost.globcon.net X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.60 cc: kwc@TheWorld.com cc: kuriyama@FreeBSD.org cc: freebsd-ports@FreeBSD.org Subject: Re: xmlcatmgr & docproj broken? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Dec 2003 17:44:50 -0000 --pAwQNkOnpTn9IO2O Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2003-12-30 at 01:33 +0900, Hiroki Sato wrote: > Kenneth W Cochran wrote > in <200312291610.LAA13349885@shell.TheWorld.com>: >=20 > kwc> =3D=3D=3D> Checking if textproc/dsssl-docbook-modular already insta= lled > kwc> /usr/local/bin/xmlcatmgr -sc /usr/local/share/sgml/catalog.ports add= CATALOG docbook/dsssl/modular/catalog > kwc> xmlcatmgr: entry already exists > kwc> *** Error code 1 > kwc>=20 > kwc> Stop in /usr/ports/textproc/dsssl-docbook-modular. > kwc> ---------------------------------------- > kwc>=20 > kwc> Currently I'm unable to install this port, therefore also unable > kwc> to install textproc/docproj. > kwc> Any idea(s) what's wrong here? How to fix/workaround? > kwc> Should I file a pr? I cannot reproduce the problem here: I just upgraded xmlcatmgr to version 1.2 on a box that had 1.1 installed previously. I have seen similar problems in the past (i.e. before my recent commit to upgrade xmlcatmgr to 1.2) where ${PREFIX}/share/xml/catalog existed, but it wasn't a true XML catalog (i.e. created in pre-xmlcatmgr era). In those cases, running portupgrade -fR docbook-* to force rebuilding/reinstalling docbook ports and all dependencies helped.=20 YMMV, though. > I think the cause is that while "add CATALOG" in the post-install > target uses ${RELDIR}/catalog, in pkg-plist > ${PREFIX}/share/sgml/${RELDIR}(%%DTDDIR%%) is used. It is probably > a bug in the port skeleton, but removing a line > CATALOG "docbook/dsssl/modular/catalog" in > /usr/local/share/sgml/catalog.ports manually, you can avoid such a probl= em. I cannot see any problem in the port's skeleton. > Kuriyama-san, could you please fix %%DTDDIR%%? The pathnames=20 > should be consistent. Please explain. Sergei --pAwQNkOnpTn9IO2O Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/8GecFOxuaTulNAERAvgBAJ4uceLwoxGfWD2+9M1tKWOjviLMRgCeNPRs /1EIv2ZI173GUz3ohcRwmZ0= =T5JM -----END PGP SIGNATURE----- --pAwQNkOnpTn9IO2O--