From owner-freebsd-ports@freebsd.org Mon Oct 2 19:55:02 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4FD4AE262F2 for ; Mon, 2 Oct 2017 19:55:02 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 21D5475890; Mon, 2 Oct 2017 19:55:01 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.15.2/8.15.2) with ESMTP id v92Jt15J022157; Mon, 2 Oct 2017 19:55:01 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id v92Jt1ll022156; Mon, 2 Oct 2017 12:55:01 -0700 (PDT) (envelope-from david) Date: Mon, 2 Oct 2017 12:55:01 -0700 From: David Wolfskill To: Don Lewis Cc: freebsd-ports@freebsd.org Subject: Re: Status of portupgrade and portmaster? Message-ID: <20171002195501.GH1222@albert.catwhisker.org> Reply-To: freebsd-ports@freebsd.org References: <201710021851.v92IpXbH034114@gw.catspoiler.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="3gNIKMlg37D5iFb5" Content-Disposition: inline In-Reply-To: <201710021851.v92IpXbH034114@gw.catspoiler.org> User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2017 19:55:02 -0000 --3gNIKMlg37D5iFb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 02, 2017 at 11:51:33AM -0700, Don Lewis wrote: > On 2 Oct, Marco Beishuizen wrote: > ... > > I'm running 11.1-STABLE now, upgrading every few months or when there i= s=20 > > an important security fix. Do I have to build a new system twice in tha= t=20 > > case (once my running system and once the poudriere jail)? >=20 > Yes, but at least the poudriere jail doesn't build the kernel bits. The > real pain point is that when you update the jail, the next bulk package > build will toss all the previously built packages and force a full > rebuild from scratch. That makes sense if you believe that the contents > of the jail affect the contents of the packages build using that jail. > If you don't think that is true, then why bother to update the jail. >=20 > I stick to pretty much the same schedule as you for updating my -STABLE > machines, though I'm doing it for 10.4-STABLE i386, 11.1-STABLE amd64 > and i386, and 12.0-CURRENT amd64. I try to do weekly package update > runs. > .... With respect, that (building the world twice -- once for the host and once for the poudriere jail) has not been my experience. As described in and (particularly the "Postscript: Subsequent Maintenance" section at the bottom of the latter page), the machine that runs poudriere gets its stable/11 environment updated daily; it runs poudriere twice each week (Saturday and Sunday), and the thus-refreshed local repository is used weekly (on Sunday). As a case in point, on Saturday last (2 days ago, as of this writing), the host system was updated from: FreeBSD 11.1-STABLE #469 r324085M/324100:1101505: Fri Sep 29 03:39:21 PDT = 2017 root@freebeast.catwhisker.org:/common/S1/obj/usr/src/sys/GENERIC = amd64 to=20 FreeBSD 11.1-STABLE #470 r324115M/324116:1101505: Sat Sep 30 03:41:57 PDT = 2017 root@freebeast.catwhisker.org:/common/S1/obj/usr/src/sys/GENERIC = amd64 the ports working copy was updated from r450887 to r450972, and the ensuing poudriere run recorded: [11amd64-ports-home] [2017-09-30_10h55m37s] [committing:] Queued: 1091 Buil= t: 1091 Failed: 0 Skipped: 0 Ignored: 0 Tobuild: 0 Time: 04:28= :37 The following day, the host system was updated from: FreeBSD 11.1-STABLE #470 r324115M/324116:1101505: Sat Sep 30 03:41:57 PDT = 2017 root@freebeast.catwhisker.org:/common/S1/obj/usr/src/sys/GENERIC = amd64 to FreeBSD 11.1-STABLE #471 r324138M/324155:1101505: Sun Oct 1 03:42:38 PDT = 2017 root@freebeast.catwhisker.org:/common/S1/obj/usr/src/sys/GENERIC = amd64 the ports working copy was updated from r450972 to r451042, and the ensuing poudriere run recorded: [11amd64-ports-home] [2017-10-01_10h50m40s] [committing:] Queued: 183 Built= : 183 Failed: 0 Skipped: 0 Ignored: 0 Tobuild: 0 Time: 01:42:10 Disclaimer: I do not claim expertise in ports-system wrangling. While I use poudriere to build packages for my systems that are only updated weekly, I use portmaster for those that are updated daily. I make no claims of optimal ... anything, really. What I describe seems to generally work for me, but my approaches are almost certainly not suitable for most folks. Despite that, it may be possible to learn things from what others have done, so I have tried to document what I did; please feel free to use it -- possibly as an example of what NOT to do. :-) Peace, david --=20 David H. Wolfskill david@catwhisker.org http://www.cbc.ca/news/opinion/donald-trump-playbook-1.4265374 See http://www.catwhisker.org/~david/publickey.gpg for my public key. --3gNIKMlg37D5iFb5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJZ0pmVXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDQ0I3Q0VGOTE3QTgwMUY0MzA2NEQ3N0Ix NTM5Q0M0MEEwNDlFRTE3AAoJEBU5zECgSe4X7iIH/2w0aKwQqNQl0BHebPqVFuxW X7E2cOleUViSsmoh7M68eFfV2Xpf9RU0uwPIioBPcseZa/NaMX7QaCB4larO8T8B m1TA7U6lL0qlMQBlwWhnEntASB7ghPbx7m214c5PUwY4Iiaji4rECeL3JebarmA3 JeWTwYyUiOErP29huU2zpkE1yxZok4WhOHeEreqgTGmOA5B97Jg3sCa/nevDJbuZ sdlwSJ1lgdPktS9QF8NT2144EXt7vlSMuSIHMl02ZNIl6e3PVBvtjsRjRE4cpWBw 3E+U1s7w6DNs7o3+6CoSmBIu9N1CSWxLDJgI2aXYNik609EPKoMozuj+aPwhkGQ= =+U8a -----END PGP SIGNATURE----- --3gNIKMlg37D5iFb5--