From nobody Thu Jul 27 00:34:33 2023 X-Original-To: ports-bugs@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 4RBBbt2nQcz4nn0c for ; Thu, 27 Jul 2023 00:34:34 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RBBbs3G9Tz3MDC for ; Thu, 27 Jul 2023 00:34:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690418073; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gykJr2apE05qwfGzCr+l5kgxk9XbNRm5YMmnmAu47dc=; b=ji2fdvuVOXYPgj8lLmbqSUUxsWh4yqu1FX+e34tm21xmFizLM5uKgAd69lGel5/RDffnG8 bmpHCx7oF9j04bxXO+MNZHETFURMJ5VCN1uVKdBMPTyws8hJ/nRCe62wQ74/TJtTFBR5lV CBesvSeC1Bjyj3nf3k6Nsnoj5hDA4iC4OVdIsHkCoV/Outu0dBNm9oIAmL/5kbfnbu0JKL A/zGN7V5Py+6sN9Ds+z5ucURQz/t99Sa8Rw3IS9awJJXAM22XvfxAKFdC5SyOhESCG1id+ qqnkW63VXOCtpdwMmUUiHrYFsSOFokfP6Y7jUcvWV/b6W8I/dQZ2cyDWCcjxaA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690418073; a=rsa-sha256; cv=none; b=jSsufXxpxnjSyYJwd5uYNPucpQPq8mqFqWSxJQ5AISliTGREOzKc8wjXWo2ucXZPb5ovd0 zOIwY2ZpsKueAYfblk2IRzYSD+6c2iABPKuAvlYn4gD6HtUWw9FPopN/xFoy1K24Tz+OpA XADY5qIwr/vyRfE2TCbnqtHxALiQoRPUQmf/9cRPBKAb5AOr2pP8eoEg/cuFnjY+QW6fvK /nioiqWtwgMTh/34K+z9y4BmXe0yoJuPWLE65jS/6V29nKBf3bAK36SmDEeRSKz892vfnY KX0/43qhvMXFrv9wg5HWo0W42BPVKOypeWjb8CGUCoQk72Cn4qJDK29Qu/DkZw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RBBbs29kqz13nr for ; Thu, 27 Jul 2023 00:34:33 +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 36R0YXoV049926 for ; Thu, 27 Jul 2023 00:34:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 36R0YXdP049925 for ports-bugs@FreeBSD.org; Thu, 27 Jul 2023 00:34:33 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 272745] www/qt6-webengine cmake find python routines no longer respect python.mk, highest python version install always found Date: Thu, 27 Jul 2023 00:34:33 +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: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: alt2600@icloud.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kde@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name 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 List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272745 Bug ID: 272745 Summary: www/qt6-webengine cmake find python routines no longer respect python.mk, highest python version install always found Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: kde@FreeBSD.org Reporter: alt2600@icloud.com Assignee: kde@FreeBSD.org Flags: maintainer-feedback?(kde@FreeBSD.org) Created attachment 243635 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D243635&action= =3Dedit qt6-webengine_pythondef.diff ran into this recently with graphics/qgis , and now with qt6-webengine. The cmake routines for FindPython, and its variants seemingly for finding pytho= n3 or python2 do not care to check what python.mk has defined for the python version to build for. They would return the greatest version installed by default. After installing blender this started happening as it requires pyt= hon 3.10, so now python 3.9 used for everything else is causing issues finding = the python executable. In this port some items like py-boost were properly dete= cted for python 3.9, but the general Python3_EXECUTABLE is returned as python3.1= 0, and this caused py39-html5lib from not being found. Had to explicitly pass a hint to CMake to override the default behavior of the ports installed cmake-core system. Those find python routines in /usr/local/share/cmake/Modules/ do not look at PYTHON_VER defined in python= .mk any longer, nor force the hint for Python_EXECUTABLE, Python3_EXECUTABLE in this case, nor Python2_EXECUTABLE to use default or as overridden in make.c= onf to use other system version. As such they default to returning the highest version of python installed, unless an alternate selection strategy is set = by the port using python in their call to FindPython. see PR 168159 patch forces the version returned by python.mk to be used, in my case the p= orts default version. AMD64; 13.2-p1 release, live system building --=20 You are receiving this mail because: You are the assignee for the bug.=