[Mesa-dev] [RFC PATCH 1/5] travis: fix python3.5 dependency for "meson Gallium Drivers"

Rhys Kidd rhyskidd at gmail.com
Wed Dec 12 07:45:14 UTC 2018


Error message:

  $ if test "x$BUILD" = xmeson; then sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.5 10; pip3 install --user meson; pip3 install --user mako; fi
  update-alternatives: error: alternative path /usr/bin/python3.5 doesn't exist
  Downloading/unpacking meson
    Downloading meson-0.49.0.tar.gz (1.3MB): 1.3MB downloaded
    Running setup.py (path:/tmp/pip_build_travis/meson/setup.py) egg_info for package meson
      Tried to install with an unsupported version of Python. Meson requires Python 3.5.0 or greater
      Complete output from command python setup.py egg_info:
      Tried to install with an unsupported version of Python. Meson requires Python 3.5.0 or greater
  ----------------------------------------
  Cleaning up...
  Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_travis/meson
  Storing debug log for failure in /home/travis/.pip/pip.log

Fixes: 05edf75f42e ("wip")
Signed-off-by: Rhys Kidd <rhyskidd at gmail.com>
---
 .travis.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.travis.yml b/.travis.yml
index fb86418b2b0..aec1b001083 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -98,6 +98,7 @@ matrix:
             - libx11-xcb-dev
             - libelf-dev
             - libunwind8-dev
+            - python3.5
             - python3-pip
 
 before_install:
-- 
2.19.1



More information about the mesa-dev mailing list