From ff180b05a6b2bb1d29e835897661006abd4f0738 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20D=C3=ADaz=20M=C3=A1s?= Date: Sun, 2 May 2021 18:03:28 +0200 Subject: [PATCH] ci-travis: trying to fix valgrind build --- ci/install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ci/install.sh b/ci/install.sh index b939dcbc..2fc7da38 100755 --- a/ci/install.sh +++ b/ci/install.sh @@ -12,7 +12,9 @@ if [[ "$(uname -s)" == 'Linux' ]]; then sudo apt-get install cmake zlib1g-dev libssh-dev python3-pip libxml2-utils if [ -n "$WITH_VALGRIND" ]; then - sudo apt-get install valgrind + # https://travis-ci.community/t/clang-10-was-recently-broken-on-linux-unmet-dependencies-for-clang-10-clang-tidy-10-valgrind/11527 + sudo apt-get install -yq --allow-downgrades libc6=2.31-0ubuntu9.2 libc6-dev=2.31-0ubuntu9.2 + sudo -E apt-get -yq --no-install-suggests --no-install-recommends --allow-downgrades --allow-remove-essential --allow-change-held-packages install valgrind fi sudo pip3 install virtualenv virtualenv conan