From owner-freebsd-ports@FreeBSD.ORG Tue Nov 28 19:15:21 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7501E16A416 for ; Tue, 28 Nov 2006 19:15:21 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtao05.cox.net (eastrmmtao05.cox.net [68.230.240.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id D874C43CA8 for ; Tue, 28 Nov 2006 19:14:59 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from eastrmimpo01.cox.net ([68.1.16.119]) by eastrmmtao05.cox.net (InterMail vM.6.01.06.03 201-2131-130-104-20060516) with ESMTP id <20061128191506.TWAJ27779.eastrmmtao05.cox.net@eastrmimpo01.cox.net>; Tue, 28 Nov 2006 14:15:06 -0500 Received: from mezz.mezzweb.com ([24.255.149.218]) by eastrmimpo01.cox.net with bizsmtp id sKE71V00k4iy4EG0000000; Tue, 28 Nov 2006 14:14:08 -0500 Date: Tue, 28 Nov 2006 13:15:49 -0600 To: "Vivek Khera" From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <5D017181-7215-4CB6-A459-4A40751AB39A@khera.org> <456C7DE1.5060204@FreeBSD.org> <2656DDD4-4241-4762-BA1B-D3CCEF9F573B@khera.org> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <2656DDD4-4241-4762-BA1B-D3CCEF9F573B@khera.org> User-Agent: Opera Mail/9.02 (Linux) Cc: ports@freebsd.org Subject: Re: stale dependencies and portupgrade X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Nov 2006 19:15:21 -0000 On Tue, 28 Nov 2006 12:47:30 -0600, Vivek Khera wrote: > > On Nov 28, 2006, at 1:20 PM, Doug Barton wrote: > >>> I suppose the bug is that I expected portupgrade -Rr to recompute >>> the dependency lists of the upstream ports to take into account >>> any changing dependencies of the updated port. >>> Do other port manager utilities take this type of change into >>> account? At this point, I'm not sure any of my dependencies are >>> accurate on the complex ports like RT. >> >> This type of complexity is one of the reasons why portmaster does >> not use an "extra" database to track dependencies. It instead >> relies on /var/db/pkg and the ports framework to do that, and >> updates the +CONTENTS files themselves when needed. >> > > I think the ports infrastructure also needs to be able to specify > which dependencies are directly linked to a given port and which ones > are inherited. Else the only way to do it is to recompute the full > list from the "top of the tree" for ports like RT. > > I'll have a look at portmaster. Do I have to chase up the tree to > find the top level port or can I just "portmaster p5-Expect" and have > it chase all the way up and fix everything that depends on that port? Just give a head up, if you are going to use 'portmaster -s' then make sure you do not use pkgdb. The pkgdb kill 'portmaster -s' function. I have requested to sem if he can gets pkgdb to not remove an empty of +REQUIRED_BY, but he hasn't answer back yet for months. I don't know if he already has fix it or whatever as I don't need pkgdb anymore in the lastest version of portmaster. Cheers, Mezz -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src) http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org http://wiki.freebsd.org/multimedia - multimedia@FreeBSD.org