From nobody Wed Feb 22 16:46:08 2023 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PMMVX6RTMz3tB6c for ; Wed, 22 Feb 2023 16:46:12 +0000 (UTC) (envelope-from SRS0=ZcGF=6S=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (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 4PMMVX45qBz440r for ; Wed, 22 Feb 2023 16:46:12 +0000 (UTC) (envelope-from SRS0=ZcGF=6S=quip.cz=000.fbsd@elsa.codelab.cz) Authentication-Results: mx1.freebsd.org; none Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 3EF96D788C; Wed, 22 Feb 2023 17:46:10 +0100 (CET) Received: from [192.168.145.50] (ip-89-177-27-225.bb.vodafone.cz [89.177.27.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 411E6D7886; Wed, 22 Feb 2023 17:46:09 +0100 (CET) Message-ID: <0eac03cd-35d2-153e-b597-83c9bac41d06@quip.cz> Date: Wed, 22 Feb 2023 17:46:08 +0100 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: keeping old php74 in poudriere To: freebsd-hackers@freebsd.org References: Content-Language: cs-Cestina From: Miroslav Lachman <000.fbsd@quip.cz> Cc: void@f-m.fm In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4PMMVX45qBz440r X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:42000, ipnet:94.124.104.0/21, country:CZ] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On 22/02/2023 14:52, void wrote: > On the default tree, MOVED had to be zeroed (or otherwise edited for > php74). > If this isn't done, the build will complain loudly then stop. Yes, I forgot about MOVED! > The overlay tree has been set up as you've said. A simple script updating > the ports tree (for default) automatically zeroes MOVED >> Then you can bulk build everything you have listed in "php74" (you can >> name the file different). >> Use you correct names for -j, -z and -p. > > The line running the build here is > poudriere bulk -j 123R-php74 -O sccache -O php74 -f ~/123R-php74-ports.txt > > I've never understood -z (then again, haven't (yet) needed it). If you use poudriere for one package set (resulting repository), then you don't need to use -z, but we are building about 7 different lists of ports for 2 ports branches and in the time of major OS upgrade for 2 different FreeBSD versions (11.x and 12.x for example) -z is used for pulling the right configuration for the right package set. You need different make.conf and options if you want to build one package set with default MariaDB version 10.5 and the second with 10.6. You can see more in "man poudriere" section CUSTOMIZATION for example: /usr/local/etc/poudriere.d/--options /usr/local/etc/poudriere.d/-options /usr/local/etc/poudriere.d/make.conf /usr/local/etc/poudriere.d/-make.conf /usr/local/etc/poudriere.d/--make.conf Kind regards Miroslav Lachman