From owner-freebsd-ports@FreeBSD.ORG Thu Apr 3 15:36:34 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A6281705; Thu, 3 Apr 2014 15:36:34 +0000 (UTC) Received: from prod2.absolight.net (mx3.absolight.net [IPv6:2a01:678:2:100::25]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "plouf.absolight.net", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 629E3BBC; Thu, 3 Apr 2014 15:36:34 +0000 (UTC) Received: from prod2.absolight.net (localhost [127.0.0.1]) by prod2.absolight.net (Postfix) with ESMTP id A07A0BDC82; Thu, 3 Apr 2014 17:36:32 +0200 (CEST) Received: from gw.in.absolight.net (gw-ecl.in.absolight.net [79.143.241.69]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "gw.in.absolight.net", Issuer "CA Cert Signing Authority" (not verified)) by prod2.absolight.net (Postfix) with ESMTPSA id 77B80BDC1D; Thu, 3 Apr 2014 17:36:32 +0200 (CEST) Received: from ogg.in.absolight.net (ogg.in.absolight.net [79.143.241.239]) by gw.in.absolight.net (Postfix) with ESMTP id C4D586124; Thu, 3 Apr 2014 17:36:31 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by ogg.in.absolight.net (Postfix) with ESMTP id 2D35D6AE1D89; Thu, 3 Apr 2014 17:36:31 +0200 (CEST) Date: Thu, 03 Apr 2014 17:36:30 +0200 From: Mathieu Arnold To: J David Subject: Re: Updating less-than-everything with poudriere & pkgng Message-ID: <891ACB1137F7FAFFFFAF9A3A@ogg.in.absolight.net> In-Reply-To: References: <91FF893BBE05EEFA2894EED9@atuin.in.mat.cc> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Apr 2014 15:36:34 -0000 +--On 3 avril 2014 11:05:49 -0400 J David wrote: | On Wed, Apr 2, 2014 at 6:41 AM, Mathieu Arnold wrote: |> +--On 1 avril 2014 11:18:05 -0400 J David |> wrote: |> | from perl-5.12.3.4_5a to 5.12.3.4_5a1. |> |> Perl 5.12 has been removed about a month and half ago, so, if you were |> still using it, it's going to be a pain, you should upgrade to 5.16. | | Sorry, the version numbers 1.2.3 and 12.3.4_5 were chosen as examples, | not meant to be taken literally. Well, yes, just making sure :-) |> Sure, instead of using bulk -a or bulk -f portlist, just use bulk |> category/foobar, it'll rebuild only the package you asked for, and its |> dependencies. | | This will cause disaster. If you do this to rebuild foobar, poudriere | will also update perl. Then, when you install the fixed foobar, pkg | will intall the updated perl. Then the unrelated package bazqux you | didn't rebuild but which also depends on perl and isn't compatible | with the new version silently breaks. And the first you will hear | about it is when all the bazqux users from the third floor show up at | the door to your office with torches and pitchforks. | | What we are looking to do is rebuild only foobar and the things that | depend on foobar, NOT the things that foobar depends on. Poudriere only rebuilds things to be on the safe side. Something built for perl 5.14.0 will work with perl 5.14.5.a6_7. If a port that needs Perl has changes introduced from the Perl update, it will get a portrevision bump. If pkg detects that a shared library was updated, it will also force the upgrade of the depending ports. -- Mathieu Arnold