Date: Tue, 31 Jul 2018 01:31:42 +0000 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 Message-ID: <bug-230096-21822-w1go2OLLUB@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-230096-21822@https.bugs.freebsd.org/bugzilla/> References: <bug-230096-21822@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230096 --- Comment #5 from Kubilay Kocak <koobs@FreeBSD.org> --- 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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230096-21822-w1go2OLLUB>