From owner-freebsd-python@freebsd.org Tue Jul 31 01:31:45 2018 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 26DCB10690A1 for ; Tue, 31 Jul 2018 01:31:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B797372982 for ; Tue, 31 Jul 2018 01:31:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 7BFA810690A0; Tue, 31 Jul 2018 01:31:44 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6ACC4106909F for ; Tue, 31 Jul 2018 01:31:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0CB857297B for ; Tue, 31 Jul 2018 01:31:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 428FD8DA5 for ; Tue, 31 Jul 2018 01:31:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6V1Vhd5000359 for ; Tue, 31 Jul 2018 01:31:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6V1Vhnm000358 for python@FreeBSD.org; Tue, 31 Jul 2018 01:31:43 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 230096] sysutils/py-google-compute-engine: Installed script(s) reference python not pythonX.Y Date: Tue, 31 Jul 2018 01:31:42 +0000 X-Bugzilla-Reason: CC 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: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: miwi@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? 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.27 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jul 2018 01:31:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230096 --- Comment #5 from Kubilay Kocak --- Note: This issue is only a bug *if* this port installs command line scripts without rewriting the shebangs to match and use ${PYTHON_CMD}. That needs t= o be investigated and verified (else closed "Not a bug"). What GCE images contain or don't contain by default does not (by itself) ha= ve a bearing on whether or not the port is or isn't not in compliance with port/packaging shebang requirements. Speaking with Gustavo on IRC, it appears only (correct me if I understood incorrectly) that an externally sourced script [1] they use, uses " #!/usr/bin/env python2 ", which gave rise to this bug report. If this is indeed the case, the appropriate solution is for the user themse= lves to install the lang/python and/or lang/python2 ports to provide those symli= nks for their convenience, or potentially, for the GCE images to install the lang/python2 and lang/python packages so those symlinks are available to us= ers by default, if that's possible, and if it can be argued that that is what u= ser expectations are.=20 [1] https://github.com/GoogleCloudPlatform/compute-image-tools/blob/master/dais= y_workflows/linux_common/bootstrap.py#L1 --=20 You are receiving this mail because: You are on the CC list for the bug.=