From 065741c7b2c4b9f54bf3dbb513bf4ae2755359e4 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Mon, 5 Mar 2018 16:28:35 +0100 Subject: travis: install meson 0.44.1 for travis' meson build Latest versions of meson require now Python 3.5+. Not only that meson requires Python3 and thus makes building on some systems cumbersome (RHEL7), it also eagerly bumps Python3.y requirements. Install the last working release which works with Python3.4. This fixes the the travis build failure on Ubuntu 14.04 (trusty): Meson works correctly only with python 3.5+. You have python 3.4.3 (default, Nov 28 2017, 16:41:13) [GCC 4.8.4]. Please update your environment --- .travis.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 53d4f666a0..72969fd847 100644 --- a/.travis.yml +++ b/.travis.yml @@ -61,7 +61,18 @@ before_install: ./configure.py --bootstrap && sudo cp ninja /usr/bin/ && popd - sudo pip3 install meson + + # Recent meson requires python 3.5, which isn't in Ubuntu 14.04. + # Hence we cannot install it via `pip3 install meson`. Install the latest + # working release. + # + # Wouldn't it be nice to have a build system that supports everything + # that NetworkManager would like to support? + wget https://github.com/mesonbuild/meson/releases/download/0.44.1/meson-0.44.1.tar.gz -O /tmp/meson.tar.gz + tar -C /tmp -xvzf /tmp/meson.tar.gz + pushd /tmp/meson-0.44.1 + sudo python3 setup.py install + popd fi - sudo chmod o+x /usr/sbin/pppd -- cgit v1.2.1