From owner-freebsd-ports@FreeBSD.ORG Wed May 16 17:42:45 2007 Return-Path: X-Original-To: freebsd-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 BB50C16A402 for ; Wed, 16 May 2007 17:42:45 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.freebsd.org (Postfix) with ESMTP id 21CE013C43E for ; Wed, 16 May 2007 17:42:43 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so137931ugh for ; Wed, 16 May 2007 10:42:42 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to; b=MQxIUhYi3f0xDFoPJvHb6sjfUVR/7kwaWrVHfR+jNRbOqxRym67/koODyRfp69C3osPvkagskdfV03ikFx+vH7k7EVlU9lo8QsG/e98h0egpzsFnGV9w0+VsU1X2x8tyk5tfEZDairRLPfKzPtrIYsuhMcrbEJmRJ/gWoAKleh0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to; b=qy8Ngd0vo+QfWjAdHNNEvIw6Zsx8r7ZnDJO7buEF8Geaq6w4yf1DjuPAkCQWYPtuHP1aGNYeREuRyL/KAjifRDY/AnAY18+wAbheHEBBdSZudABcslxsxrAgJlVAWJAhqGmXXem/4iJ0OxzLH5LJ+wxekWnHwd+EybdeCfo10D4= Received: by 10.67.92.1 with SMTP id u1mr6434180ugl.1179337362760; Wed, 16 May 2007 10:42:42 -0700 (PDT) Received: from roadrunner.q.local ( [85.180.129.0]) by mx.google.com with ESMTP id g30sm18094250ugd.2007.05.16.10.42.40; Wed, 16 May 2007 10:42:41 -0700 (PDT) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.14.1/8.14.1) with ESMTP id l4GHgZu8002404; Wed, 16 May 2007 19:42:35 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: (from q@localhost) by roadrunner.q.local (8.14.1/8.14.1/Submit) id l4GHgYd5002403; Wed, 16 May 2007 19:42:34 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Date: Wed, 16 May 2007 19:42:34 +0200 From: Ulrich Spoerlein To: Alexander Leidinger Message-ID: <20070516174234.GB1490@roadrunner.q.local> Mail-Followup-To: Alexander Leidinger , "J. Porter Clark" , freebsd-ports@freebsd.org References: <20070516112532.GA23292@auricle.charter.net> <20070516145645.k8elgn5pw8s8wso8@webmail.leidinger.net> <7ad7ddd90705160928y5c305470oc552cfd70f2ad057@mail.gmail.com> <20070516184543.4b9089e1@deskjail> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070516184543.4b9089e1@deskjail> Cc: "J. Porter Clark" , freebsd-ports@freebsd.org Subject: Re: Time to abandon recursive pulling of 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: Wed, 16 May 2007 17:42:45 -0000 Alexander Leidinger wrote: > Quoting "Ulrich Spoerlein" (Wed, 16 May 2007 18:28:55 +0200): > > > The problem not discussed so far is: some ports may not have all first > > > order dependencies. So anyone wanting to change this should install a > > > tinderbox and start testing fixing those ports. > > > > Hmmm, this is a red herring, no? A first order dependency is > > everything the port specifies in it's _DEPENDS variables. If you > > change the internal representation of the tree, keeping the transitive > > hull intact (!!) then there should be no user visible change in how > > package dependencies are pulled in. > > Yes and no. It is not only about the package dependency, but also about > a "portupgrade -f" or "bumping all ports which depend directly upon lib > X". I see. In theory, we could use the mtime of some file /var/db/pkg/PKNAME/+FOO to work out what needs rebuilding/reinstalling (this is just like make(1) does it). In practice this would lead to way too many false positives, ie., unnecessary port rebuilds. Ulrich Spoerlein -- "The trouble with the dictionary is you have to know how the word is spelled before you can look it up to see how it is spelled." -- Will Cuppy