From owner-freebsd-ports@FreeBSD.ORG Fri Sep 8 19:55:58 2006 Return-Path: X-Original-To: ports@freebsd.org 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 E519616A403 for ; Fri, 8 Sep 2006 19:55:58 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx24.fluidhosting.com [204.14.89.7]) by mx1.FreeBSD.org (Postfix) with SMTP id 3738B43D45 for ; Fri, 8 Sep 2006 19:55:58 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 29476 invoked by uid 399); 8 Sep 2006 19:55:57 -0000 Received: from localhost (HELO ?192.168.0.3?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 8 Sep 2006 19:55:57 -0000 Message-ID: <4501CAC9.3060607@FreeBSD.org> Date: Fri, 08 Sep 2006 12:55:53 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5.0.5 (X11/20060729) MIME-Version: 1.0 To: Craig Boston , Freddie Cash , ports@freebsd.org References: <44FC4303.4050600@gmail.com> <200609042118.09134.list-freebsd-2004@morbius.sent.com> <44FC9527.6000802@gmail.com> <200609050048.57718.list-freebsd-2004@morbius.sent.com> <20060905104831.GF89080@leia.lambermont.dyndns.org> <44FDAF66.7090701@FreeBSD.org> <60494.24.71.118.34.1157599049.squirrel@webmail.sd73.bc.ca> <20060907042838.GA61492@nowhere> In-Reply-To: <20060907042838.GA61492@nowhere> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: portmaster deletes failed ports 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: Fri, 08 Sep 2006 19:55:59 -0000 Craig Boston wrote: > On Wed, Sep 06, 2006 at 08:17:29PM -0700, Freddie Cash wrote: >> This is why blindly running -a is not recommended. A good habit to >> get into is to develop an upgrade procedure that does not include -a. > > -a isn't so bad when combined with -i so it prompts you about each > port. Of course that's not very automated, but recent versions of > portmaster seem to cache the yes/no responses from the config stage now > and batch all the actual builds together, which is very nice. Yes, that's accurate. > I'm in the habit of always using -i anyway, since portmaster has an > unforuntate habit of trying to install ports that it thinks are > dependencies but in reality aren't required (bison 1.x comes to mind, I > also recall having trouble with it trying to install win32-codecs > when it was already present). That problem should be greatly alleviated with the new version I just posted for testing, which does not use all-depends-list as its source of dependencies for a port. I should also note that it's not portmaster that's trying to install anything, it's the ports themselves that specify these dependencies. However, using the more limited list should reduce the number of spurious things that get built and installed. > Actually pkgdb -F can help clean up incorrect / inconsistent dependency > information in the /var/db/pkg/*/+REQUIRED_BY and +CONTENTS files, not > just portupgrade's internal database. portmaster doesn't use the +REQUIRED_BY file for anything meaningful until after it's relatively sure that it's up to date. There are slightly more dependencies on the +CONTENTS files, but the ways that those go stale shouldn't usually affect portmaster. > That and pkg_cutleaves was the only reason I kept ruby installed for so > long, but portmaster -l is good enough to not bother installing it on > new boxes. The new -e and -s options should help make that maintenance task as well. > Though I still think "leaf ports" and "root ports" should be > listed together. I have gone back and forth on that a few times myself. Does anyone else have an opinion? > PS, in case I haven't said it before, many thanks to Doug for writing > portmaster! Thanks for the kind words! Doug -- This .signature sanitized for your protection