From nobody Fri Apr 07 13:34:44 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 4PtK9L49rhz44f8B for ; Fri, 7 Apr 2023 13:34:46 +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 4PtK9L3Jhwz4bms for ; Fri, 7 Apr 2023 13:34:46 +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 C53B1385D9; Fri, 7 Apr 2023 15:34:44 +0200 (CEST) Date: Fri, 7 Apr 2023 15:34:44 +0200 From: Julien Cigar To: Paul Mather 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="3doelptfct4gv2iu" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4PtK9L3Jhwz4bms 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 --3doelptfct4gv2iu Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 07, 2023 at 09:07:59AM -0400, Paul Mather wrote: > On Apr 7, 2023, at 7:52 AM, Julien Cigar wrote: >=20 > > Hello,=20 > >=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=20 > > @pyxx)=20 > >=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 > > Any idea ? :) >=20 >=20 > I don't know whether this is the issue in your case, but I found when set= ting the default Python flavour to 3.10 myself I would get the same problem= s: ports would not build due to an "unknown" flavour. Thanks for those hints, but I don't think it's the issue in my case. If I take net/py-pysocks for example it is marked USES=3Dpython:3.6+ .. but it fails with [00:02:18] [04] [00:00:00] Finished net/py-pysocks@py39 | py3= 9-pysocks-1.7.1: Ignored: Unknown flavor 'py39', possible flavors: py311 >=20 > I discovered that in some cases, "USES=3D ... python:" in = a port Makefile would make it impossible to build with the default flavour = I had set in /etc/make.conf. A case in point: I wanted to build sysutils/p= y-salt via Poudriere with a default Python flavour of 3.10. It failed. Lo= oking in the Makefile, I saw "USES=3D cpe python:3.6-3.9". Most other port= s tend to have "... python:3.6+", but this one said it only worked with 3.6= to 3.9. Hence, trying to build it with 3.10 failed. >=20 > I knew that version of py-salt would build under 3.10, so ultimately (aft= er carrying my own local change to the Makefile for a while) submitted a Bu= gzilla asking for it to be changed to "USES=3D cpe python:3.6-3.10", which = solved the building problem. >=20 > So, you may have some similar Python ports or dependent ports that specif= y they aren't compatible with Python 3.11, and that is causing the warnings= and errors. >=20 > Cheers, >=20 > Paul. >=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. --3doelptfct4gv2iu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEnF27CBNtOraRNmgqCLYqJMpBHmkFAmQwG/QACgkQCLYqJMpB HmlOaRAAtuSiE+6pj2kz+dxzCd1ynduHKjRqwtWsof9nvbsVKjk2x+aSBvPiavmV KXzJzBYGku3WTxUKtwjqkg3J6PjTtiLbvk6KMuOlrRRZoaniS9Sp7Ua/phNBPOEE fSU8M1XSMU0AZl7KsBu1mkOxRrRUrCNARmwLhX0A9OpMO6gO4RIuz3rJ6qDrZMh9 BwuNRytDCibFlDjGaEaw1YYL9W/OXGWicdJ3Kl1Na7KSKcymZ3FVWv+tXtbiQWdU U2Kum8VbDgA3LJ/TEx9UPfJP6CPPmTNw1q11Reg7PhVfFFc5lafERJe/1E0dUA+1 azfuM0rcpMgYayG5zRbcTCpIGWB4LdfMz3lAe4zFU4CXwc1dlSD/Dhc2ZAx6pZ9g FdWhNmsKhurXOpJNNSNCLCsn+dDhhVExdH8691aSegDvfuXMgufuDzAcMfBGydZJ Jgj2M32bms9At0GVV7C7naT8HhBdrpq0DuWA58NckHSGP1piSyArrhjh22IvmLyc 4ABC99WLBqgmcxCU+Gs2v09tE7UPkEgQg34D0zgfAso/o7q7cInCjmWkEARKZ+iO VVUrIr9/YUNYkg++2sqlnfXALg87dz7tqDnyX17rmpnFSIUG0xwKyGihlibP2ots Zoen8/X/q9aQBaCIrbUlhRtSDwkt/1qA2GCBpmMJy6uiuqDqwR4= =UrPg -----END PGP SIGNATURE----- --3doelptfct4gv2iu--