From nobody Wed Jun 05 10:36:59 2024 X-Original-To: python@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 4VvP640PKsz5MV1r for ; Wed, 05 Jun 2024 10:37:00 +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 4VvP635LKBz4bNL for ; Wed, 5 Jun 2024 10:36:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717583819; a=rsa-sha256; cv=none; b=XVIUoUHEbc6qCXuoP03QhLu9DKoG4hHnfnKobDHN5N8Wl5dFRPSYMXEE/1AT3+5iV8ntXE cnkCQ7/4C0Cbi7GNWaVE862ycV09R+4ABUH2cAwIMzxF2Zci+sV2Ra2nYN71SzVTPyMPCT QNspwjal5S40KJudsniWYi+cHI++3DEKUXovrDCyzzkBede8hSOAr2BUlkwSb8e8W2UOsc 7LB8+xkwjekMSixLJujQT2/2pxGbmfUPKOVpBeqewgk934i1jMVLMEFIsgPLPsihBX7T0j pZBuUBooghIfxg3VZrW8Y+sWxtkhQq/AvK22uqlqExo/PxZpWusNltJeDDhdPg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717583819; 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: in-reply-to:in-reply-to:references:references; bh=AsVWtp859WSVG5xz1pw2ci4qrLYsNbHSNWegYOZHcsM=; b=b4yocLM38xIIIJJ2TA9qkNTOgAOqi8Fx1JpbeWtbfQfpStU6bpxPVaK4s8jTMoqnP+kJgc SdDw6yI7ZDiftNTkjFWrLt/998i3j8xZ22quCWWOSWP1YnRoUbZxI4hM4DywQNCjUkZADX bpXeniF/T9Y6Ui11cqmon12cWEF8g2D7r7xdO7+bTIzK0t/vKS1pCaxfG9ZWfGZzsQ13f+ GN0iyyPXV4Occdm/udjAmbp3hkX7MPwjb3fMdTbUGvXwss9JvAkXhTbrX6VvdRN3oWg3AD YJKRG5j2++0lA3IVAiUX1bR+FKRxDc8IIJintyVuOUHmXI9uqYlkISDpfFNM6g== 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 4VvP634yZQzySw for ; Wed, 5 Jun 2024 10:36:59 +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 455Aaxr6090323 for ; Wed, 5 Jun 2024 10:36:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 455AaxQN090322 for python@FreeBSD.org; Wed, 5 Jun 2024 10:36:59 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 256510] Mk/Uses/shebang.mk Silently fails on .py files if python env isn't initialized Date: Wed, 05 Jun 2024 10:36:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: FreeBSD@ShaneWare.Biz 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: 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 List-Id: FreeBSD-specific Python issues List-Archive: https://lists.freebsd.org/archives/freebsd-python List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-python@freebsd.org Sender: owner-freebsd-python@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256510 --- Comment #7 from Shane --- (In reply to Gleb Popov from comment #6) I was updating graphics/openshadinglanguage, a shebang line was added to a script in the repo (for 1.13.x), they have `#!/usr/bin/env python` After changing version to 1.13.10.0 `make stage-qa` reported the bad sheban= g. I added USES=3Dshebangfix and SHEBANG_FILES=3D src/build-scripts/serialize-= bc.py Then I got the local/bin/python is invalid. I tried adding PYTHON_NO_DEPENDS=3Dyes as well as USES=3Dpython:env and nei= ther changed the error message. I then edited the script in the work stage dir to have python3.9 and make stage-qa didn't report the shebang error. --=20 You are receiving this mail because: You are on the CC list for the bug.=