From nobody Fri Apr 07 14:22:55 2023 X-Original-To: questions@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 4PtLDx6FVlz44hd5 for ; Fri, 7 Apr 2023 14:22:57 +0000 (UTC) (envelope-from SRS0=9/qU=76=perdition.city=julien@bebif.be) Received: from orval.bbpf.belspo.be (orval.bbpf.belspo.be [193.191.208.90]) by mx1.freebsd.org (Postfix) with ESMTP id 4PtLDw5Fwpz3q9N; Fri, 7 Apr 2023 14:22:56 +0000 (UTC) (envelope-from SRS0=9/qU=76=perdition.city=julien@bebif.be) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of "SRS0=9/qU=76=perdition.city=julien@bebif.be" designates 193.191.208.90 as permitted sender) smtp.mailfrom="SRS0=9/qU=76=perdition.city=julien@bebif.be"; dmarc=none Received: from belspo (unknown [10.209.1.137]) by orval.bbpf.belspo.be (Postfix) with ESMTPS id 28C943862B; Fri, 7 Apr 2023 16:22:56 +0200 (CEST) Date: Fri, 7 Apr 2023 16:22:55 +0200 From: Julien Cigar To: Matthew Seaman Cc: questions@freebsd.org Subject: Re: Poudriere and Python FLAVORS Message-ID: References: <6amrdwe3seijb2qz7xjtbxkrldhkftrrfmsdqh3lopl7e4yx3k@u6bahg4f3s4l> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6vpax2y2x2t6akpp" Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-4.33 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.83)[-0.826]; MID_RHS_NOT_FQDN(0.50)[]; FORGED_SENDER(0.30)[julien@perdition.city,SRS0=9/qU=76=perdition.city=julien@bebif.be]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCVD_NO_TLS_LAST(0.10)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:2611, ipnet:193.191.192.0/19, country:BE]; MLMMJ_DEST(0.00)[questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; DMARC_NA(0.00)[perdition.city]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; FROM_NEQ_ENVFROM(0.00)[julien@perdition.city,SRS0=9/qU=76=perdition.city=julien@bebif.be]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4PtLDw5Fwpz3q9N X-Spamd-Bar: ---- X-ThisMailContainsUnwantedMimeParts: N --6vpax2y2x2t6akpp Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 07, 2023 at 04:09:42PM +0200, Julien Cigar wrote: > On Fri, Apr 07, 2023 at 03:04:13PM +0100, Matthew Seaman wrote: > > On 07/04/2023 12:52, Julien Cigar wrote: > > > Hello, > > >=20 > > > I'm building 2023Q2 through Poudriere with: > > > DEFAULT_VERSIONS+=3D python2=3D2.7 python3=3D3.11 python=3D3.11 pgsql= =3D13 php=3D8.1 > > >=20 > > > I'm getting tons of "Ignored: Unknown flavor 'py39', possible flavors: > > > py311" (see (1)) for my Python ports (I didn't specified any flavor > > > @pyxx) > > >=20 > > > I don't understand why: > > > - Why does Poudriere tries to build @py39 flavor by default when 3.11= is the > > > default? > > > - Why py39 flavor is unknown althoug the default Python version for > > > 2023Q2 is 3.9? > >=20 > > Do you have: > >=20 > > BUILD_ALL_PYTHON_FLAVORS=3D yes >=20 > no, I don't remember having read something about this knob.. is it > documented somewhere? with BUILD_ALL_PYTHON_FLAVORS=3D yes Poudriere builds the py39 flavours of the packages (although the default version is 3.11) if no flavour is specified for a port. So it looks like I have to @py311 all my Python ports if I'm having a DEFAULT_VERSIONS+=3D python2=3D2.7 python3=3D3.11 pyt= hon=3D3.11 >=20 > >=20 > > set in a make.conf file anywhere that poudriere could read? ie. somewhe= re > > under /usr/local/etc/poudriere.d ? > >=20 > > Equivalently some ports have a > >=20 > > USE_PYTHON=3D allflavors > >=20 > > setting which produces the same effect for just that port. There's only > > about a dozen ports that do that in the whole tree, but they include so= me > > really commonly used ones like py-setuptools. > >=20 > > Either of those settings means poudriere will default to building modul= es > > for all python versions from 3.7 to 3.11 that are supported by the modu= le. > >=20 > > If you only want version 3.11 of some modules, then you can add @3.11 t= o an > > individual port's path in the list you specify, and only that flavour w= ill > > be built. > >=20 > > Note that if a port is not specified explicitly in your list of ports to > > build, but is automatically bought in to resolve dependencies for some = other > > port, then it effectively has the @3.11 thing built in, even if the por= t has > > USE_PYTHON=3Dallflavors set. > >=20 > > I don't see how you are getting "Unknown flavor 'py39'" though. That m= eans > > some port has somehow ended up with a dependency on eg. net/py-pysocks@= py39 > > which shouldn't happen. Are you using a modified ports tree eg. with > > overlaid or locally modified ports? >=20 > no, it's the pristine clone of the 2023Q2 branch through git >=20 > >=20 > > Cheers, > >=20 > > Matthew > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 >=20 >=20 >=20 >=20 > --=20 > Julien Cigar > Belgian Biodiversity Platform (http://www.biodiversity.be) > PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 > No trees were killed in the creation of this message. > However, many electrons were terribly inconvenienced. --=20 Julien Cigar Belgian Biodiversity Platform (http://www.biodiversity.be) PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --6vpax2y2x2t6akpp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEnF27CBNtOraRNmgqCLYqJMpBHmkFAmQwJz8ACgkQCLYqJMpB HmmXOA//ZZHRuRkHTY+2cQJoLsY9pfwKek4eFWKfti4/qMFCHfM4ax+brywwDXqu 9Ai10COn5QZ7VstD+J8qj6hHBquObNQ7DBtOXHCSbuQ+w3oo6pk7k52D+8ynXFa2 gca26YA2pDuUcGOX6w9VNtujF9dxLGIHtiseuQ1MsVBS5dV1sN9EbGAHWnxUhrUK KY2Y3RiCkDiVX7q/td2PF7LOSXnZG2cOves2/kK3AYuMkA4DUzwxQ+8EXOJJwZZ7 sOCRPoTMgpk8PUPsX6G/KNWyjFZkuI02m3LkYjzRdHKIYiovii2YYvgyllBbGzmS 6gTYDHrS0VlnCeFjjsapXovKMjXgtK4QVRrOaPynpZZWg2DirnmgbDCVUauXzv8q u3MDKOkw5GEZPYTiS3/cZqnAV0DJoiAt04K8CJluSYd1/l/ZxmXWNBKenPDK+iFQ gY0KneWBJ8NAc3HE+eWtYd0Wn/CBKuFzjyvrlPgdlNsm6Qtf+BsoqKTjNPdajB4i UK7zU97H5LDcHwccPg1LXY1fnFOoyA5NuVNDaIecRSDOmovG5HWl7iSj18kcwiLj mYeYpasu2XR8BJ1M7wFANjIByGVIEjM1L30uIXEh096jZvdE3g1hExEj1iXEWXgY Zf1DSN7DQk6GN6V+mikMMy70ndKbcaop+d44ZNNwjh/TATpn6cY= =WAg2 -----END PGP SIGNATURE----- --6vpax2y2x2t6akpp--