From nobody Fri Apr 07 14:09:42 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 4PtKxf67yCz44gkb for ; Fri, 7 Apr 2023 14:09:42 +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 4PtKxf5T5bz4NyD; Fri, 7 Apr 2023 14:09:42 +0000 (UTC) (envelope-from SRS0=9/qU=76=perdition.city=julien@bebif.be) Authentication-Results: mx1.freebsd.org; none Received: from belspo (unknown [10.209.1.137]) by orval.bbpf.belspo.be (Postfix) with ESMTPS id 4E5B2385E5; Fri, 7 Apr 2023 16:09:42 +0200 (CEST) Date: Fri, 7 Apr 2023 16:09:42 +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="m4cnpl5xzzybp6pb" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4PtKxf5T5bz4NyD X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:2611, ipnet:193.191.192.0/19, country:BE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --m4cnpl5xzzybp6pb Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 i= s 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 no, I don't remember having read something about this knob.. is it documented somewhere? >=20 > set in a make.conf file anywhere that poudriere could read? ie. somewhere > 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 some > really commonly used ones like py-setuptools. >=20 > Either of those settings means poudriere will default to building modules > for all python versions from 3.7 to 3.11 that are supported by the module. >=20 > If you only want version 3.11 of some modules, then you can add @3.11 to = an > individual port's path in the list you specify, and only that flavour will > 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 ot= her > port, then it effectively has the @3.11 thing built in, even if the port = has > USE_PYTHON=3Dallflavors set. >=20 > I don't see how you are getting "Unknown flavor 'py39'" though. That mea= ns > some port has somehow ended up with a dependency on eg. net/py-pysocks@py= 39 > which shouldn't happen. Are you using a modified ports tree eg. with > overlaid or locally modified ports? no, it's the pristine clone of the 2023Q2 branch through git >=20 > Cheers, >=20 > Matthew >=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. --m4cnpl5xzzybp6pb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEnF27CBNtOraRNmgqCLYqJMpBHmkFAmQwJCYACgkQCLYqJMpB HmmuMA/9GJOR29I34V5Ap2EHcA61rmDo36Qet9U2X2xrMCQH1alayVotMz9eRURB tP+TZzVVG+QThYtcXpzDuDMRMf0ojoZOdhkoV+R4HD9Zu85nhxc0b/r5HWS9fY+x buAJ0keU8PROhUgkyUeUDJqhnfZ0QJ7emz1m9mViTB+Cv1bpdBzf0qgousqOtT/b RYjtLQesNVqrGvPVkkgd7q2w37nMShd7WsaanchXsb0fgEl0b0g+0cHx1R9Kk0Hq tqanXjFJnBTPdBwb/8Cjk0MYS3r4PgXiJYkCOHOvlobMEFnTSBiUg1faVhvxa3M1 vYe9Om6b125VtBsIBxIOLRzjQPOvhLUsg1xj53wMfpvEtXOWdf9vKnoK5zyle92Q 0jzZPhtO1Sg/QDTX9tLAp4RNyhQlpAAlQ2xi9qE5UJXdzUt8Us0+o6Y23kZ4DWkp OlAhEjzLOS27IiII1ki1V7GKaCaVZXAa0c7cPBVKcuwsjJjpffE9Rql60OMsmWVD P3CASyiC80DmR1eGv5fcaItr+YEIe6mq63s74Gg22oOWiYUfJARo25g7kcGmgZqH UggJ46ZkxwCYBMZGQV2sG0PdPst1PiPThX5owC7/O7sdYnIJ380CBAUobgM86YcV 8SrfUUSPKcC05/pwqUWuqicSaspaj5fkUTnyOXSgLp1ThZ71OfU= =doDt -----END PGP SIGNATURE----- --m4cnpl5xzzybp6pb--