From owner-freebsd-questions@freebsd.org Sun May 24 16:35:14 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1AEEA2CA5B7 for ; Sun, 24 May 2020 16:35:14 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dreamchaser.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49VQnF09fQz4Hph for ; Sun, 24 May 2020 16:35:12 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id 04OGZ3jO081841 for ; Sun, 24 May 2020 10:35:04 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) To: FreeBSD Mailing List Reply-To: freebsd@dreamchaser.org From: Gary Aitken Subject: python version issue Message-ID: <449558a7-a457-48e5-a282-39e130f09853@dreamchaser.org> Date: Sun, 24 May 2020 10:33:12 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Sun, 24 May 2020 10:35:04 -0600 (MDT) X-Rspamd-Queue-Id: 49VQnF09fQz4Hph X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org X-Spamd-Result: default: False [-0.77 / 15.00]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.65)[-0.654]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.43)[-0.427]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; DMARC_NA(0.00)[dreamchaser.org]; NEURAL_SPAM_SHORT(0.61)[0.614]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 May 2020 16:35:14 -0000 I'm trying to build a development version of a port (FreeCAD). All of my current ports were installed using packages, and the installed versions of python are 2.7 and 3.7. The Makefile for the standard freecad port (cad/freecad) specifies: USES= ... python:3.6 ... BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyside2-tools>0:devel/pyside2-tools@${PY_FLAVOR} It's my understanding that a 3.6 usage should be upward compatible with a 3.7 version, so I changed the USES statement to python:3.7. Unfortunately, the BUILD_DEPENDS causes problems: make DISABLE_VULNERABILITIES=yes build ===> FreeCAD-8.d821.f5.f depends on package: py37-pyside2-tools>0 - not found ===> py37-pyside2-tools-5.12.1 Unknown flavor 'py37', possible flavors: py27 py36.. I see there is a devel/pyside2-tools, so I suspect I somehow need to set some environment variables to get it to generate a py37-pyside2-tools? Why is py37 not an available flavor, with version 3.7 already installed? Gary