Date: Wed, 17 Dec 2014 09:37:34 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 196056] New: Wrong python interpreter set in Mk/Uses/shebangfix.mk Message-ID: <bug-196056-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196056 Bug ID: 196056 Summary: Wrong python interpreter set in Mk/Uses/shebangfix.mk Product: Ports Tree Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Infrastructure Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: ftigeot@wolfpond.org I have been recently trying to use devel/ansible. This port depends on lang/python2 (its Makefile includes a USE=python:2 line). However, the programs it installs expect /usr/local/bin/python to be present. /usr/local/bin/python is provided by lang/python and could be a symbolic link to a program provided by one of various incompatible Python versions depending on the circumstances. The /usr/local/bin/python string is added by a USES=shebangfix directive. Mk/Uses/shebangfix.mk hardcodes the path of the choosen Python interpreter as ${LOCALBASE}/bin/python I believe this is wrong and shebangfix.mk should use a more specific path such as /usr/local/bin/python2 when the port asks for a specific Python version. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196056-13>