From owner-freebsd-ports Fri Jan 31 1:26:44 2003 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 EF4C137B401 for ; Fri, 31 Jan 2003 01:26:42 -0800 (PST) Received: from mailout02.sul.t-online.com (mailout02.sul.t-online.com [194.25.134.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id E7EA543F3F for ; Fri, 31 Jan 2003 01:26:41 -0800 (PST) (envelope-from anselmg@t-online.de) Received: from fwd10.sul.t-online.de by mailout02.sul.t-online.com with smtp id 18eXRZ-0004XO-08; Fri, 31 Jan 2003 10:26:41 +0100 Received: from wotan.garbe (320068295437-0001@[217.230.0.148]) by fwd10.sul.t-online.com with esmtp id 18eXRH-1mVSZkC; Fri, 31 Jan 2003 10:26:23 +0100 Received: from wotan.garbe (localhost [127.0.0.1]) by wotan.garbe (8.12.6/8.12.6) with ESMTP id h0V9QPnS025441 for ; Fri, 31 Jan 2003 10:26:25 +0100 (CET) (envelope-from garbeam@localhost.garbe) Received: (from garbeam@localhost) by wotan.garbe (8.12.6/8.12.6/Submit) id h0V9QP8q025440 for ports@freebsd.org; Fri, 31 Jan 2003 10:26:25 +0100 (CET) Date: Fri, 31 Jan 2003 10:26:25 +0100 From: anselmg@t-online.de (Anselm Garbe) To: ports@freebsd.org Subject: Re: make index - bad prefix Message-ID: <20030131092625.GA25394@wotan.garbe> References: <20030130194857.GA6421@wotan.garbe> <20030131051012.GB8035@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030131051012.GB8035@rot13.obsecurity.org> User-Agent: Mutt/1.5.1i X-Sender: 320068295437-0001@t-dialin.net Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Jan 30, 2003 at 09:10:12PM -0800, Kris Kennaway wrote: > On Thu, Jan 30, 2003 at 08:48:57PM +0100, Anselm Garbe wrote: > > Hi there, > > > > after advancing portsman I noticed following strange behavior: > > > > If I generate the INDEX file under /usr/ports using 'make index' > > all installation prefixes of all ports are set to "/nonexistentlocal" > > as you see in the following example of the first entry: > > > > 9e-1.0|/usr/ports/archivers/9e|/nonexistentlocal|Explode Plan9 > > archives|/usr/ports/archivers/9e/pkg-descr|ports@FreeBSD.Org| > > archivers|||http://www.eecs.harvard.edu/~wkj/Software/9e/ > > > > What's the problem? > > Do you have an up-to-date ports collection? Yes, of course, that's the reason why I'm going to generate the INDEX again each day (I provide rsyncing the cutting edge INDEX of the day for portsman users). I tried to generate the INDEX on different systems (FreeBSD 4.6, FreeBSD 4.7-STABLE, FreeBSD-5.0-RELEASE) - on all I got this behavior. I think that the following sed command in /usr/ports/Makefile does not work properly: # $FreeBSD: ports/Makefile,v 1.71 2002/12/04 18:03:35 kris Exp $ ... ${.CURDIR}/${INDEXFILE}: @echo -n "Generating ${INDEXFILE} - please wait.."; \ export LOCALBASE=/nonexistentlocal; \ export X11BASE=/nonexistentx; \ cd ${.CURDIR} && make describe ECHO_MSG="echo > /dev/null" | \ perl ${.CURDIR}/Tools/make_index | \ sed -e 's/ */ /g' -e 's/| */|/g' -e 's/ *|/|/g' -e "s,${LOCALBASE},/usr/local," -e "s,${X11BASE},/usr/X11R6," > ${INDEXFILE} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ It still uses the exportet LOCALBASE /nonexistentlocal, btw. X11BASE... Thanks for any hint, Anselm -- Anselm R. Garbe () ascii ribbon campaign - against html mail www.ebrag.de /\ - against microsoft attachments To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message