From nobody Fri Apr 07 13:07:59 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 4PtJZp6fTMz44cj7 for ; Fri, 7 Apr 2023 13:08:18 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from gromit.dlib.vt.edu (gromit.dlib.vt.edu [128.173.126.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PtJZp33x7z3nD9 for ; Fri, 7 Apr 2023 13:08:18 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (unknown [IPv6:2001:470:e15b:23::23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gromit.dlib.vt.edu (Postfix) with ESMTPSA id DFE23556F3; Fri, 7 Apr 2023 09:08:09 -0400 (EDT) Content-Type: text/plain; charset=us-ascii 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 (Mac OS X Mail 16.0 \(3731.500.231\)) Subject: Re: Poudriere and Python FLAVORS From: Paul Mather In-Reply-To: <6amrdwe3seijb2qz7xjtbxkrldhkftrrfmsdqh3lopl7e4yx3k@u6bahg4f3s4l> Date: Fri, 7 Apr 2023 09:07:59 -0400 Cc: questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <6amrdwe3seijb2qz7xjtbxkrldhkftrrfmsdqh3lopl7e4yx3k@u6bahg4f3s4l> To: Julien Cigar X-Mailer: Apple Mail (2.3731.500.231) X-Rspamd-Queue-Id: 4PtJZp33x7z3nD9 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:1312, ipnet:128.173.0.0/16, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Apr 7, 2023, at 7:52 AM, Julien Cigar wrote: > 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 = is the > default? > - Why py39 flavor is unknown althoug the default Python version for > 2023Q2 is 3.9? >=20 > Any idea ? :) I don't know whether this is the issue in your case, but I found when = setting the default Python flavour to 3.10 myself I would get the same = problems: ports would not build due to an "unknown" flavour. 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/py-salt via Poudriere with a default Python flavour of 3.10. = It failed. Looking in the Makefile, I saw "USES=3D cpe python:3.6-3.9". = Most other ports 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. I knew that version of py-salt would build under 3.10, so ultimately = (after carrying my own local change to the Makefile for a while) = submitted a Bugzilla asking for it to be changed to "USES=3D cpe = python:3.6-3.10", which solved the building problem. So, you may have some similar Python ports or dependent ports that = specify they aren't compatible with Python 3.11, and that is causing the = warnings and errors. Cheers, Paul.