From owner-freebsd-ports@FreeBSD.ORG Sun Feb 8 11:04:10 2004 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 BDE2D16A4CE; Sun, 8 Feb 2004 11:04:10 -0800 (PST) Received: from mta9.adelphia.net (mta9.adelphia.net [68.168.78.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C43C43D31; Sun, 8 Feb 2004 11:04:10 -0800 (PST) (envelope-from parv_fm@mailsent.net) Received: from moo.holy.cow ([69.160.71.102]) by mta9.adelphia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040208190409.OYZI22188.mta9.adelphia.net@moo.holy.cow>; Sun, 8 Feb 2004 14:04:09 -0500 Received: by moo.holy.cow (Postfix, from userid 1001) id 21940CFA2; Sun, 8 Feb 2004 14:04:14 -0500 (EST) Date: Sun, 8 Feb 2004 14:04:13 -0500 From: parv To: Kris Kennaway Message-ID: <20040208190413.GA421@moo.holy.cow> Mail-Followup-To: Kris Kennaway , ports@FreeBSD.org, knu@FreeBSD.org References: <20040207082502.GA67113@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040207082502.GA67113@xor.obsecurity.org> cc: ports@FreeBSD.org cc: knu@FreeBSD.org Subject: Re: Differences between 'make index' and 'portsdb -U' 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: Sun, 08 Feb 2004 19:04:10 -0000 in message <20040207082502.GA67113@xor.obsecurity.org>, wrote Kris Kennaway thusly... > > I've been looking at index builds a fair bit recently, and I've > noticed a number of problems with both 'make index' and 'portsdb -U' > (part of portupgrade). ... > 3) portsdb -U doesn't record PATCH_DEPENDS entries, 'make index' does. > > 4) portsdb -U doesn't accept (valid) dependency lines like the > following (from p5-XML-Xerces): > > BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/textproc/xerces-c2:"configure TRANSCODER=native" > > This gives a spurious error during the build: > > p5-XML-Xerces-2.3.0.4_2:"" non-existent -- dependency list incomplete ... > Modulo the cosmetic bug #1 above, this all counts in favour of using > 'make index' to build your indexes, and against using 'portsdb -U' Kris you forgot to mention that portupgrade will create a usable INDEX on FreeBSD 4.8 and more importantly when ports tree is incomplete, unlike 'make index'. - Parv --