From owner-freebsd-ports@FreeBSD.ORG Sat Jul 31 12:00:28 2010 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 79B551065686 for ; Sat, 31 Jul 2010 12:00:28 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (m209-73.dsl.rawbw.com [198.144.209.73]) by mx1.freebsd.org (Postfix) with ESMTP id 37A258FC18 for ; Sat, 31 Jul 2010 12:00:27 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.4/8.14.4) with ESMTP id o6VC0RP0066502 for ; Sat, 31 Jul 2010 05:00:27 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.4/8.14.4/Submit) id o6VC0Rsh066501 for freebsd-ports@freebsd.org; Sat, 31 Jul 2010 05:00:27 -0700 (PDT) (envelope-from david) Date: Sat, 31 Jul 2010 05:00:27 -0700 From: David Wolfskill To: freebsd-ports@freebsd.org Message-ID: <20100731120027.GN12818@albert.catwhisker.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eGIacTpPLdQFYFVY" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: Efficiency & correctness for port version upgrades 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, 31 Jul 2010 12:00:28 -0000 --eGIacTpPLdQFYFVY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I have been using portmaster for updating the installed ports on may machines -- thanks, Doug! I'm in the habit of updating on a daily basis -- directly after the "smoke-test" boot of a newly-rebuilt stable/7 (before I go on to build stable/8). This morning, I noticed the (20100730) entry in UPDATING on www/neon28 -> www/neon29, so I made sure to complete that before doing the "svn update" on my stable/8 working directory. [This is one place where having the revision control system in ports, vs. base, is a bit of a nuisance -- but that's off-topic for this note.] The instructions given for portmaster were: Portmaster users: portmaster -o www/neon29 www/neon28 portmaster -r neon29- which is fine, in that it works. However: It also causes www/neon29 to be built twice; I cannot help but question the extent to which this is actually desired. Granted, on my build machine, it only took 2-3 extra minutes. But I expect that on my laptop, it will take a bit longer. And I'm really a bit more concerned with the general case: consider, for example, were lang/gcc44 replaced in a similar fashion. Perhaps the second invocation should be adjusted to exclude the port that was just installed? Failing that, perhaps the first invocation should be modified so portmaster would not clean up after itself (so the second invocation would merely re-install, vs. re-build, then re-install)? Or is the re-build and re-installation actually necessary for correctness for some reason I'm overlooking? Peace, david --=20 David H. Wolfskill david@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. aee http://www.catwhisker.org/~david/publickey.gpg for my public key. --eGIacTpPLdQFYFVY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkxUEFoACgkQmprOCmdXAD230ACfZmjhxPfG0GF2wm1Z9ikRbkc9 53MAniAFM1K5/O4HjJi4mAtv5xK5e+oY =yJ5K -----END PGP SIGNATURE----- --eGIacTpPLdQFYFVY--