[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC PATCH 2/6] travis.yml: Fix 'GCC9 with sanitizers' job on Ubuntu Bio
From: |
Wainer dos Santos Moschetta |
Subject: |
[RFC PATCH 2/6] travis.yml: Fix 'GCC9 with sanitizers' job on Ubuntu Bionic |
Date: |
Mon, 17 Feb 2020 15:16:05 -0500 |
This changes the 'GCC9 with sanitizers' job to run correctly
on Ubuntu Bionic. It was needed to solved the problems:
1) The new environment changed how APT sources are handled,
resulting on the error:
```
Disallowing sources: ubuntu-toolchain-r-test
To add unlisted APT sources, follow instructions in
https://docs.travis-ci.com/user/installing-dependencies#Installing-Packages-with-the-APT-Addon
```
Thus, the reference to 'ubuntu-toolchain-r-test' is passed via
'sourceline' now.
2) Adjusted the name of some packages
3) Libssh-dev is not installed due known issue on Bionic
Signed-off-by: Wainer dos Santos Moschetta <address@hidden>
---
.travis.yml | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index e46c44bbee..232f84d196 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -336,7 +336,7 @@ matrix:
update: true
sources:
# PPAs for newer toolchains
- - ubuntu-toolchain-r-test
+ - sourceline: 'ppa:ubuntu-toolchain-r/test'
packages:
# Extra toolchains
- gcc-9
@@ -346,7 +346,7 @@ matrix:
- libattr1-dev
- libbrlapi-dev
- libcap-ng-dev
- - libgnutls-dev
+ - libgnutls28-dev
- libgtk-3-dev
- libiscsi-dev
- liblttng-ust-dev
@@ -354,14 +354,15 @@ matrix:
- libncurses5-dev
- libnss3-dev
- libpixman-1-dev
- - libpng12-dev
+ - libpng-dev
- librados-dev
- libsdl2-dev
- libsdl2-image-dev
- libseccomp-dev
- libspice-protocol-dev
- libspice-server-dev
- - libssh-dev
+# https://bugs.launchpad.net/qemu/+bug/1838763
+# - libssh-dev
- liburcu-dev
- libusb-1.0-0-dev
- libvte-2.91-dev
--
2.24.1
- [RFC PATCH 0/6] Travis: Change default environment to Ubuntu Bionic, Wainer dos Santos Moschetta, 2020/02/17
- [RFC PATCH 3/6] travis.yml: Fix 'GCC check-acceptance' job on Ubuntu Bionic, Wainer dos Santos Moschetta, 2020/02/17
- [RFC PATCH 4/6] travis.yml: Fix 'Clang (main-softmmu)' job on Ubuntu Bionic, Wainer dos Santos Moschetta, 2020/02/17
- [RFC PATCH 5/6] travis.yml: Run '[ppc64] GCC check-tcg' job on Ubuntu Bionic, Wainer dos Santos Moschetta, 2020/02/17
- [RFC PATCH 6/6] travis.yml: Run '[aarch64] GCC check-tcg' job on Ubuntu Bionic, Wainer dos Santos Moschetta, 2020/02/17
- [RFC PATCH 2/6] travis.yml: Fix 'GCC9 with sanitizers' job on Ubuntu Bionic,
Wainer dos Santos Moschetta <=
- [RFC PATCH 1/6] travis.yml: Bump default environment to Ubuntu Bionic, Wainer dos Santos Moschetta, 2020/02/17