Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 635560 - dev-util/meson-0.43.0: /usr/bin/meson incorrectly installed with python2 shebang
Summary: dev-util/meson-0.43.0: /usr/bin/meson incorrectly installed with python2 shebang
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-27 08:28 UTC by Bernd Feige
Modified: 2017-10-27 09:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.