From owner-freebsd-ports-bugs@freebsd.org Thu Dec 12 23:01:04 2019 Return-Path: Delivered-To: freebsd-ports-bugs@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 9170A1DC8BE for ; Thu, 12 Dec 2019 23:01:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 47Yq683NWGz4D5t for ; Thu, 12 Dec 2019 23:01:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 741241DC8BC; Thu, 12 Dec 2019 23:01:04 +0000 (UTC) Delivered-To: ports-bugs@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 73DD11DC8BB for ; Thu, 12 Dec 2019 23:01:04 +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 47Yq682XDgz4D5s for ; Thu, 12 Dec 2019 23:01:04 +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 526E22E0A for ; Thu, 12 Dec 2019 23:01:04 +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 xBCN14NM094184 for ; Thu, 12 Dec 2019 23:01:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xBCN14tZ094183 for ports-bugs@FreeBSD.org; Thu, 12 Dec 2019 23:01:04 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: ports-bugs@FreeBSD.org Subject: [Bug 242614] MK/Uses/python.mk: remove ill conceived range deduction routine Date: Thu, 12 Dec 2019 23:01:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch, patch-ready X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: portmaster@bsdforge.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter cc attachments.created Message-ID: 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-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Dec 2019 23:01:04 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242614 Bug ID: 242614 Summary: MK/Uses/python.mk: remove ill conceived range deduction routine Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: patch, patch-ready Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: portmaster@bsdforge.com CC: pkg@FreeBSD.org, x11@FreeBSD.org CC: pkg@FreeBSD.org, x11@FreeBSD.org Created attachment 209903 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D209903&action= =3Dedit MK/Uses/python.mk: remove ill conceived range deduction routine On a fresh build/install of world/kernel on RELENG 11.3 I was unable to complete a build of many meta-ports. The failure was invariably due to python *version* errors. I spent the better part of 2 days attempting to overcome these, before bringing it up on the mailing list. Where I was directed to a couple related pr(1)s (noted in see also). Through these, I was able to deduce the cause of these (build) failures. I made a modification to Mk/Uses/python.mk and everything built as intended/expected. Please find the svn(1) diff(1) attached; that contains the necessary changes. ENV: Relative URL: ^/releng/11.3 Repository Root: svn://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 355580 URL: svn://svn.freebsd.org/ports/head Relative URL: ^/head Repository Root: svn://svn.freebsd.org/ports Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 Revision: 519768 pkg delete -a cd /usr/ports/ports-mgmt/pkg make; make deinstall && make reinstall clean tests on: /usr/ports/x11/xorg or /usr/ports/graphics/mesa-dri will all fail with python version related errors FIX: pkg delete -a cd /usr/ports/ports-mgmt/pkg make; make deinstall && make reinstall clean cd /usr/ports && apply the patch attached to this pr(1) everything builds as expected. PROBLEM: A conditional was added to Mk/Uses/python.mk attempting to deduce a range of acceptable (python) versions for the build targets. But fails to accomplish it's intended goal. Resulting in the inability to build many ports with python dependencies. CURE: Remove the offending subroutine. That's it! Special thanks to the following: Jan Beich for pointing me to related PRs on the mailing list Walter Schwarzenfeld, for the initial insight pr237795#comment 18 Antoine Brodin, for his of the "clue bat" pr233723#Comment 7 Thanks! --Chris --=20 You are receiving this mail because: You are the assignee for the bug.=