From da86e99577f62d9fe130cbce638e4af90ce87e4f Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Mon, 27 Nov 2017 09:37:15 -0800 Subject: [PATCH 1/3] use lowercase boolean to match check in scripts/check_glibcxx.sh --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0e769e93b..38793fdb3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,7 +33,7 @@ matrix: - os: linux sudo: false compiler: ": clang" - env: JOBS=8 CXX="ccache clang++-3.9 -Qunused-arguments" CC="clang-3.9" ENABLE_GLIBC_WORKAROUND=True TRIGGER=true + env: JOBS=8 CXX="ccache clang++-3.9 -Qunused-arguments" CC="clang-3.9" ENABLE_GLIBC_WORKAROUND=true TRIGGER=true addons: apt: sources: [ 'ubuntu-toolchain-r-test'] @@ -95,7 +95,7 @@ before_script: script: - export SCONSFLAGS='--debug=time' - - configure BENCHMARK=${BENCH} ENABLE_GLIBC_WORKAROUND=${ENABLE_GLIBC_WORKAROUND:-False} + - configure BENCHMARK=${BENCH} ENABLE_GLIBC_WORKAROUND=${ENABLE_GLIBC_WORKAROUND:-false} - cat config.log # we limit the `make` to 40 min # to ensure that slow builds still upload their From a559c01d4a79c6dcb9bde8feb9e89727d9dca38a Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Mon, 27 Nov 2017 09:37:55 -0800 Subject: [PATCH 2/3] use latest mason package for boost (which is built against libstdc++-4.8-dev) to avoid GLIBCXX 3.4.21 symbols --- bootstrap.sh | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index 030c0dc0b..9670db671 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -45,6 +45,7 @@ function install() { } ICU_VERSION="57.1" +BOOST_VERSION="1.65.1" function install_mason_deps() { install ccache 3.3.1 @@ -64,15 +65,15 @@ function install_mason_deps() { # here by default helps make mapnik-vector-tile builds easier install webp 0.6.0 libwebp install libgdal 2.1.3 libgdal - install boost 1.63.0 - install boost_libsystem 1.63.0 - install boost_libfilesystem 1.63.0 - install boost_libprogram_options 1.63.0 - install boost_libregex_icu57 1.63.0 + install boost ${BOOST_VERSION} + install boost_libsystem ${BOOST_VERSION} + install boost_libfilesystem ${BOOST_VERSION} + install boost_libprogram_options ${BOOST_VERSION} + install boost_libregex_icu57 ${BOOST_VERSION} # technically boost thread and python are not a core dep, but installing # here by default helps make python-mapnik builds easier - install boost_libthread 1.63.0 - install boost_libpython 1.63.0 + install boost_libthread ${BOOST_VERSION} + install boost_libpython ${BOOST_VERSION} install freetype 2.7.1 libfreetype install harfbuzz 1.4.4-ft libharfbuzz } From 5d44eab80203b7cbb55f8d19982d3cdf9e4f398d Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Mon, 27 Nov 2017 10:14:37 -0800 Subject: [PATCH 3/3] update mason version to make available latest boost 1.65.1 packages --- bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap.sh b/bootstrap.sh index 9670db671..c591b11e2 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -11,7 +11,7 @@ todo - shrink icu data ' -MASON_VERSION="v0.11.1" +MASON_VERSION="v0.17.0" function setup_mason() { if [[ ! -d ./.mason ]]; then