From owner-freebsd-python@freebsd.org Thu Dec 12 00:01:12 2019 Return-Path: Delivered-To: freebsd-python@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 95BA51E3E87 for ; Thu, 12 Dec 2019 00:01:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47YDV01bGdz3K01 for ; Thu, 12 Dec 2019 00:01:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 3660C1E3E86; Thu, 12 Dec 2019 00:01:12 +0000 (UTC) Delivered-To: python@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 3520A1E3E85 for ; Thu, 12 Dec 2019 00:01:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47YDV00gFZz3Jyy for ; Thu, 12 Dec 2019 00:01:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 087201B32B for ; Thu, 12 Dec 2019 00:01:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id xBC01BWY016191 for ; Thu, 12 Dec 2019 00:01:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xBC01BFM016189 for python@FreeBSD.org; Thu, 12 Dec 2019 00:01:11 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 233723] PYTHON_VERSION poisoning during chained build of dependencies Date: Thu, 12 Dec 2019 00:01:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: portmaster@bsdforge.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Dec 2019 00:01:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233723 --- Comment #19 from Chris Hutchinson --- (In reply to Antoine Brodin from comment #18) Funny you should ask. I was just going to ask if anyone knew of a python.mk version that worked. It appears the last (most recent) change, was to add version 3.8. BTW *which* DEPENDS_ARGS line? Walter Schwarzenfeld alludes to lines 457-465 being the problem: 457 # Pass PYTHON_VERSION down the dependency chain. This ensures that 458 # port A -> B -> C all will use the same python version and do not 459 # try to find a different one, if the passed version fits into 460 # the supported version range. 461 PYTHON_VERSION?=3D python${_PYTHON_VERSION} 462 .if !defined(PYTHON_NO_DEPENDS) && \ 463 ${PYTHON_VERSION} !=3D python${PYTHON_DEFAULT} 464 DEPENDS_ARGS+=3D PYTHON_VERSION=3D${PYTHON_VERSION} 465 .endif in 237795. Which *also* contains DEPENDS_ARGS. But given this is part of a larger conditional. It will require nuking the rest of it. As to "just complaining"; I'm attempting to eliminate possibilities in an effort to narrow things down to a direct cause/solution. Thanks for the input! :) --Chris --=20 You are receiving this mail because: You are the assignee for the bug.=