From owner-freebsd-questions@freebsd.org Sat Apr 15 21:56:19 2017 Return-Path: Delivered-To: freebsd-questions@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 4C2E4D3F281 for ; Sat, 15 Apr 2017 21:56:19 +0000 (UTC) (envelope-from misantrop@bahnhof.se) Received: from ste-ftg-msa2.bahnhof.se (ste-pvt-msa2.bahnhof.se [213.80.101.71]) (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 05205A47 for ; Sat, 15 Apr 2017 21:56:17 +0000 (UTC) (envelope-from misantrop@bahnhof.se) Received: from localhost (localhost [127.0.0.1]) by ste-ftg-msa2.bahnhof.se (Postfix) with ESMTP id 907F13F573 for ; Sat, 15 Apr 2017 23:49:12 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at bahnhof.se Received: from ste-ftg-msa2.bahnhof.se ([127.0.0.1]) by localhost (ste-ftg-msa2.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Cm5jHTAiIjhH for ; Sat, 15 Apr 2017 23:49:12 +0200 (CEST) Received: from kingofthevoid.ddns.net (unknown [185.147.237.147]) (Authenticated sender: mb378728) by ste-ftg-msa2.bahnhof.se (Postfix) with ESMTPA id 117243F46B for ; Sat, 15 Apr 2017 23:49:11 +0200 (CEST) To: freebsd-questions@freebsd.org From: Misanthropist Subject: Can I convince poudriere to build packages for both python 2.7 and python 3.5 versions of the same port to the same repository? Message-ID: <8b3ffa42-8ab4-d198-2533-b33991bc6fd5@bahnhof.se> Date: Sat, 15 Apr 2017 23:49:11 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Apr 2017 21:56:19 -0000 I know that nowdays, the recommended way is to simply use binary packages. However, I change the build options for a lot of what I install, e.g. to pull in optional dependencies or disable GUIs for stuff I only use through a terminal. I still accept the default options for a lot, but still, I've found that it's less of a hassle to build everything myself than to single out those that I do want to change. I have some python ports that I need to have for both python 2.7 and python 3.5, and I've been doing updates manually, by excluding the py35-* ones on a first run, and doing only those, with PYTHON_VERSION=3.5, on a second run. Now, at long last, I decided to give poudriere a go. One problem I'm facing with this, is that if I create two sets for the same jail and ports tree, the built packages end up in different repositories. The problem with this, is that when I do the py35 set, it doesn't see the packages that have already been built for the set containing everything else, and it has to rebuild ports, for which there are already packages available. I don't mind having to use two sets, and doing two runs, but ideally I'd prefer doing it all in one go. However, I definitely want both runs to drop the built packages in the same place, and, most importantly, not having to build the same ports twice. And I would like to avoid having to rename and/or edit config files between the two runs. Can I convince poudriere to do this? Is there even a way to get it done in one go? Cheers