Bug 111023 - build regression: ERROR: <ExternalProgram 'python3' -> ['/usr/bin/python3']> is not a valid python
Summary: build regression: ERROR: <ExternalProgram 'python3' -> ['/usr/bin/python3']> ...
Status: RESOLVED NOTOURBUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: All Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
: 111175 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-06-29 13:13 UTC by Fabio Pedretti
Modified: 2019-07-19 23:29 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Fabio Pedretti 2019-06-29 13:13:50 UTC
After b120a02b21791ef9898dd342af8102ec9f4d36d9 - meson: Improve detection of Python when using Meson >=0.50. I get this error:


WARNING: Project targetting '>= 0.45' but tried to use feature introduced in '0.46.0': Python Module
Program python3 found: YES (/usr/bin/python3)

meson.build:750:2: ERROR: <ExternalProgram 'python3' -> ['/usr/bin/python3']> is not a valid python

Full build log here: https://launchpadlibrarian.net/431045846/buildlog_ubuntu-eoan-amd64.mesa_19.2~git1906290730.02c6cd~oibaf~e_BUILDING.txt.gz
Comment 1 Sergii Romantsov 2019-07-01 12:34:36 UTC
Hello, Fabia.
Seems its meson-issue: https://github.com/mesonbuild/meson/issues/5422
Please, try to install package python3-distutils (at least on Ubuntu)
Comment 2 Fabio Pedretti 2019-07-01 13:03:03 UTC
Indeed, with it it compiles, thanks.
Comment 3 Eric Engestrom 2019-07-19 23:29:38 UTC
*** Bug 111175 has been marked as a duplicate of this bug. ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.