Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 635560

Summary: dev-util/meson-0.43.0: /usr/bin/meson incorrectly installed with python2 shebang
Product: Gentoo Linux Reporter: Bernd Feige <Bernd.Feige>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Bernd Feige 2017-10-27 08:28:53 UTC
/usr/bin/meson starts with "#!/usr/bin/env python2" although python2 is not in PYTHON_TARGETS any more for meson. This results in the error message

/usr/lib/python-exec/python2.7/meson: this Python implementation (python2.7) is not supported by the script.

e.g. compiling systemd now fails. Replacing python2 by python3 on the shebang line fixes it.
Comment 1 Bernd Feige 2017-10-27 09:28:50 UTC
Sorry, my mistake - dev-lang/python-exec apparently was not properly installed.