From owner-freebsd-ports@FreeBSD.ORG Mon Jan 12 00:27:27 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AF614213 for ; Mon, 12 Jan 2015 00:27:27 +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 733B0679 for ; Mon, 12 Jan 2015 00:27:27 +0000 (UTC) Received: from prod2.absolight.net (localhost [127.0.0.1]) by prod2.absolight.net (Postfix) with ESMTP id ABCAABDC30; Mon, 12 Jan 2015 01:27:25 +0100 (CET) Received: from atuin.in.mat.cc (atuin.in.mat.cc [79.143.241.205]) by prod2.absolight.net (Postfix) with ESMTPA id A5BFABDC1F; Mon, 12 Jan 2015 01:27:25 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by atuin.in.mat.cc (Postfix) with ESMTP id 5D7482259639; Mon, 12 Jan 2015 01:27:14 +0100 (CET) Date: Mon, 12 Jan 2015 01:27:14 +0100 From: Mathieu Arnold To: Stefan Ehmann , freebsd-ports@freebsd.org Subject: Re: poudriere: reduce the number of rebuilt packages? Message-ID: In-Reply-To: <54A97748.9000401@gmx.net> References: <54A67B1A.5060007@gmx.net> <54A97748.9000401@gmx.net> 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 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2015 00:27:27 -0000 +--On 4 janvier 2015 18:24:24 +0100 Stefan Ehmann wrote: | On 02.01.2015 12:03, Stefan Ehmann wrote: |> I've recently switched from portmaster to poudriere/'pkg upgrade' to |> manage my port updates. Basically it works fine, but incremental builds |> don't quite work as I expected. |> |> poudriere rebuilds all packages if any dependency has changed. If there |> are only some ports with new versions, possibly hundreds of packages are |> rebuilt. So far it looks like I'll end up rebuilding packages like |> libreoffice/KDE/chromium several times a week. The rebuilt packages |> won't even be installed by 'pkg upgrade' because their version number |> has not changed. | | Here's an actual example from today. | | There are new versions for three ports. poudriere will rebuild 70 ports, | 67 of them will never be installed on the host. You can't know that. Say there is a shlib change in one of the updated packages, its version is bumped, or there is a new dependency, you need to rebuild the 67 ports, and pkg will detect and reinstall them. -- Mathieu Arnold