From owner-freebsd-ports@FreeBSD.ORG Mon Jan 12 17:55:29 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 014BCBE5 for ; Mon, 12 Jan 2015 17:55:28 +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 B3619F23 for ; Mon, 12 Jan 2015 17:55:28 +0000 (UTC) Received: from prod2.absolight.net (localhost [127.0.0.1]) by prod2.absolight.net (Postfix) with ESMTP id 07092BDC56; Mon, 12 Jan 2015 18:55:27 +0100 (CET) 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 E15B0BDC4C; Mon, 12 Jan 2015 18:55:26 +0100 (CET) Received: from ogg.in.absolight.net (ogg.in.absolight.net [79.143.241.239]) by gw.in.absolight.net (Postfix) with ESMTP id 535C860DA; Mon, 12 Jan 2015 18:55:26 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by ogg.in.absolight.net (Postfix) with ESMTP id 90A0E7B0A884; Mon, 12 Jan 2015 18:55:25 +0100 (CET) Date: Mon, 12 Jan 2015 18:55:25 +0100 From: Mathieu Arnold To: Stefan Ehmann , freebsd-ports@freebsd.org Subject: Re: poudriere: reduce the number of rebuilt packages? Message-ID: <23A49BD336E4EC29F493416A@ogg.in.absolight.net> In-Reply-To: <54B40822.9000702@gmx.net> References: <54A67B1A.5060007@gmx.net> <54A97748.9000401@gmx.net> <54B3FD78.5060404@gmx.net> <54B40822.9000702@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 17:55:29 -0000 +--On 12 janvier 2015 18:45:06 +0100 Stefan Ehmann wrote: | On 12.01.2015 18:08, Mathieu Arnold wrote: |> |> |> +--On 12 janvier 2015 17:59:36 +0100 Stefan Ehmann |> wrote: |> | |> | But it would be nice to have a poudriere option to avoid rebuilds of |> | ports without version bumps. If something should go horribly wrong |> | every now and then, you can still fall back to the default rebuild |> | behavior. |> | |> | I think it should be possibly provided that port versions are bumped |> | correctly. But maybe I'm wrong. |> |> Like someone else said, you can use bulk -S, but don't complain if you |> end up with something that's horribly broken :-) | | bulk -S didn't really work well for me (see original post). | | But I think I my original question is answered by now: | There's no supported way of avoiding excessive rebuilds with poudriere. Well, no, there is not, and unless you figure out an algorithm to do it, and I'm saying algorithm in the mathematical sense, not heuristic, that is, one that is always right, feel free to submit a patch for it :-) Now, there's a good chance that it will be slower than rebuilding all the dependencies. | What I'm now doing is: | * Dry run of poudriere bulk with normal list of ports | * make a list of ports that will be rebuilt because of new version | * Run poudriere bulk with new list | | There are still some ports without version bump rebuilt, but it's a much | smaller number. Especially libreoffice/KDE, etc. rebuilds are avoided. | | This procedure probably has some issues. But in case of problems I'll | just do a normal incremental build. -- Mathieu Arnold