From owner-freebsd-ports@freebsd.org Sun Feb 16 15:51:02 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C9F8323926A for ; Sun, 16 Feb 2020 15:51:02 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from msa1.earth.yoonka.com (yoonka.com [88.98.225.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "msa1.earth.yoonka.com", Issuer "msa1.earth.yoonka.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48LBRS6wNYz4FtK for ; Sun, 16 Feb 2020 15:51:00 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from [10.70.7.24] ([10.70.7.24]) (authenticated bits=0) by msa1.earth.yoonka.com (8.15.2/8.15.2) with ESMTPSA id 01GForLM053435 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sun, 16 Feb 2020 15:50:53 GMT (envelope-from list1@gjunka.com) Subject: Re: Starting with poudriere To: freebsd-ports@freebsd.org References: <3743CEAE-BCC9-479E-8367-F3DA0E30496E@kreme.com> From: Grzegorz Junka Message-ID: <8f730541-97c5-0e9a-14d6-a92bc795db62@gjunka.com> Date: Sun, 16 Feb 2020 15:50:46 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB X-Rspamd-Queue-Id: 48LBRS6wNYz4FtK X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of list1@gjunka.com designates 88.98.225.149 as permitted sender) smtp.mailfrom=list1@gjunka.com X-Spamd-Result: default: False [-5.85 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:88.98.225.149]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; DMARC_NA(0.00)[gjunka.com]; IP_SCORE(-3.55)[ip: (-9.30), ipnet: 88.98.192.0/18(-4.65), asn: 56478(-3.72), country: GB(-0.07)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:56478, ipnet:88.98.192.0/18, country:GB]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Feb 2020 15:51:02 -0000 On 16/02/2020 00:14, Dan McGrath wrote: > Hi, > > Just a bit of a heads up that poudriere will require you to be on the new > version of FreeBSD before you can build for it on the current system. For > example, if you are running 12.1, and you upgrade poudriere's jail to 13.0, > it will complain that you have to be running that version on the host you > are using it on. Ideally, poudriere should be running on it's own dedicated > system, not the one you intend to deploy to. Just a note that this is not a strict requirement. I have been upgrading from FreeBSD 9 to 12 currently and was always building on the same system that I am deploying to. Yes, poudriere will complain that the jail is newer than the base system, but that did not create any major practical problem for me yet. I think only on one occasion I got a build error due to missing symbols. Then the solution for me was to upgrade the base system. This of course broke the applications that were installed for the older base, but thanks to the FreeBSD's separation of base from ports, it's still possible to start FreeBSD with just the command line. Then I finished building the ports and reinstalled them. Not that I encourage this approach, it might create additional issues to solve, but it is possible/manageable and shouldn't be held against using poudriere. GrzegorzJ