From owner-freebsd-ports@FreeBSD.ORG Sat Feb 23 22:10:42 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C58B516A401; Sat, 23 Feb 2008 22:10:42 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: from syn.atarininja.org (syn.csh.rit.edu [129.21.60.158]) by mx1.freebsd.org (Postfix) with ESMTP id B613513C45A; Sat, 23 Feb 2008 22:10:42 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: by syn.atarininja.org (Postfix, from userid 1001) id A6EBF5C5A; Sat, 23 Feb 2008 17:13:46 -0500 (EST) Date: Sat, 23 Feb 2008 17:13:46 -0500 From: Wesley Shields To: Randy Pratt Message-ID: <20080223221346.GD73222@atarininja.org> References: <20080223155911.84fe423f.bsd-unix@embarqmail.com> <20080223212653.GC73222@atarininja.org> <20080223165016.8a36f06d.bsd-unix@embarqmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080223165016.8a36f06d.bsd-unix@embarqmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: dougb@FreeBSD.org, leeym@FreeBSD.org, freebsd-ports@freebsd.org Subject: Re: Portmaster and added dependencies 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: Sat, 23 Feb 2008 22:10:42 -0000 On Sat, Feb 23, 2008 at 04:50:16PM -0500, Randy Pratt wrote: > On Sat, 23 Feb 2008 16:26:53 -0500 > Wesley Shields wrote: > > > On Sat, Feb 23, 2008 at 03:59:11PM -0500, Randy Pratt wrote: > > > I've been using portmaster for a couple of weeks and like what I've > > > seen. However, I'm a bit confused on how dependencies changes are to > > > be handled. Here's a scenario: > > > > > > Events: > > > > > > 2008.02.17 01:50:08 UTC devel/p5-ExtUtils-CBuilder: update to 0.22 > > > > > > 2008.02.17 11:00:00 UTC update ports and devel/p5-ExtUtils-CBuilder > > > was updated > > > > > > 2008.02.19 05:33:50 UTC devel/p5-ExtUtils-CBuilder: Add missing deps > > > ports/120802 (textproc/p5-Text-ParseWords was > > > added as a build/run dependency) > > > > Snipped the rest because I think this could have all been avoided by > > bumping PORTREVISION when the dependency to p5-Text-ParseWords was > > added. Ideally the dependency information should have been recorded > > with the update to 0.22 (like is in ports/120802). I'm CC'ing leeym@ > > who made the last commit. > > It would have been far easier that way of course but this isn't the > first time a dependency change has been made to some port without > bumping PORTREVISION and probably won't be the last. This situation > only existed for a couple of days and affected only those who updated > during the interim. Right, I was just pointing out that it is not necessarily a problem with portmaster since PORTREVISION should have been bumped. :) Thank you for brining this up, however, since it is a mistake in the port and may be a nice addition to portmaster (if such a thing does not already exist). > What I'm really looking for is the portmaster equivalent of > portupgrade's "pkgdb -L" to look for lost dependencies so I can > check all the installed ports dependency chains. That I will leave up to Doug to answer. -- WXS