From owner-freebsd-ports@FreeBSD.ORG Mon Dec 29 16:02:36 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 B5C6E16A4CE; Mon, 29 Dec 2003 16:02:36 -0800 (PST) Received: from TheWorld.com (pcls3.std.com [192.74.137.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9F6343D39; Mon, 29 Dec 2003 16:02:34 -0800 (PST) (envelope-from kwc@shell.TheWorld.com) Received: from shell.TheWorld.com (pip1-5.std.com [192.74.137.185]) by TheWorld.com (8.12.8p1/8.12.8) with ESMTP id hBU01Boo014759; Mon, 29 Dec 2003 19:01:11 -0500 Received: (from kwc@localhost) by shell.TheWorld.com (8.9.3/8.9.3) id TAA13162282; Mon, 29 Dec 2003 19:01:03 -0500 (EST) Date: Mon, 29 Dec 2003 19:01:03 -0500 (EST) From: Kenneth W Cochran Message-Id: <200312300001.TAA13162282@shell.TheWorld.com> To: Kent Stewart References: <200312291610.LAA13349885@shell.TheWorld.com> <20031230.013349.35008002.hrs@eos.ocn.ne.jp> <200312291756.MAA13556040@shell.TheWorld.com> cc: sergei@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: Tue, 30 Dec 2003 00:02:36 -0000 >From: Kent Stewart >To: Kenneth W Cochran , Sergei Kolobov >Subject: Re: xmlcatmgr & docproj broken? >Date: Mon, 29 Dec 2003 10:50:31 -0800 >Cc: freebsd-ports@freebsd.org > >On Monday 29 December 2003 09:56 am, Kenneth W Cochran wrote: >> >Date: Mon, 29 Dec 2003 20:42:52 +0300 >> >> From: Sergei Kolobov >> >> >To: Hiroki Sato >> >Cc: kwc@TheWorld.com, kuriyama@FreeBSD.org, freebsd-ports@FreeBSD.org >> >Subject: Re: xmlcatmgr & docproj broken? >> > >> >On 2003-12-30 at 01:33 +0900, Hiroki Sato wrote: >> >> Kenneth W Cochran wrote >> >> in <200312291610.LAA13349885@shell.TheWorld.com>: >> >> >> >> kwc>> Checking if textproc/dsssl-docbook-modular already installed >> > >> >> 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> >> >> kwc> Stop in /usr/ports/textproc/dsssl-docbook-modular. >> >> kwc> ---------------------------------------- >> >> kwc> >> >> 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. >> >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 >> >> problem. >> > >> >I cannot see any problem in the port's skeleton. >> > >> >> Kuriyama-san, could you please fix %%DTDDIR%%? The pathnames >> >> should be consistent. >> > >> >Please explain. >> > >> >Sergei >> >> Maybe the problem is really with dsssl-docbook-modular? >> That's the port that is making the specific install error {shrug}. >> > >There is more to it than that. It was updated and never portupgraded after >that. > >/usr/local/bin/xmlcatmgr -sc /usr/local/share/sgml/catalog.ports add CATALOG >docbook/dsssl/modular/catalog >xmlcatmgr: entry already exists >*** Error code 1 > >Stop in /usr/ports/textproc/dsssl-docbook-modular. >*** Error code 1 > >Stop in /usr/ports/textproc/dsssl-docbook-modular. >** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade48345.0 >make DEPENDS_TARGET=package -DFORCE_PKG_REGISTER reinstall >---> Restoring the old version >** Fix the installation problem and try again. >[Updating the pkgdb in /var/db/pkg ... - 186 packages >found (-0 +1) . done] >** The following packages were not installed or upgraded >(*:skipped / !:failed) > ! textproc/dsssl-docbook-modular (dsssl-docbook-modular-1.78_3,1) >(install error) > > >-- >Kent Stewart >Richland, WA > >http://users.owt.com/kstewart/index.html Sooooo... Advice/recommendation(s)? e.g. File a pr? Watch for relevant update(s) in the ports tree? JFTR I was updating xmlcatmgr, but by the "old fashioned way" ;), by pkg_delete'ing its dependencies (target port being textproc/docproj), re-make/installing the various required pieces and getting "stuck" at dsssl-docbook-modular. -kc