Fix builds for cosmic/disco/eoan
authorJanne Mareike Koschinski <janne@kuschku.de>
Thu, 5 Dec 2019 17:18:35 +0000 (18:18 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 5 Dec 2019 23:57:28 +0000 (00:57 +0100)
Issue:
quassel builds for ubuntu cosmic, disco and eoan fail if running in docker on a xenial host

Reason:
cosmic, disco and eoan use Qt 5.11 and 5.12 respectively, which makes use of the new syscall statx (introduced in Qt 5.10, bionic and xenial are still on 5.9 and 5.5 respectively).
xenial supports statx, as does docker, which is up to date on these distros. but sadly libseccomp, which is used to filter syscalls, is too old on these distros.
so code sees that statx is available, tries to run it, and it returns with an error, which is considered file not existing

Solution:
update the host for our build to at least bionic, where this issue doesn’t exist

.travis.yml

index a997607..28e76c3 100644 (file)
@@ -5,6 +5,7 @@ services:
 
 # Define build matrix for Linux
 os: linux
+dist: bionic
 language: generic  # No host compilation
 
 env: