1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix(ci): fix travis' window build in debian docker by upgrading libseccomp2

seccomp is used by the docker host, and the default version shipped with
Ubuntu 16.04 does not support syscalls used by Qt5's configure inside the
docker container. Upgrading libseccomp2 resolves this issue.

Fix #5874
This commit is contained in:
Anthony Bilinski 2019-10-12 15:39:39 -07:00
parent 16de5f8549
commit 93c9eef51f
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C

View File

@ -108,6 +108,11 @@ ls -lbh "$CACHE_DIR"
# Purely for debugging # Purely for debugging
ls -lbh "$PWD" ls -lbh "$PWD"
sudo apt-get update -qq
# even though we're building in docker, libseccomp2 is used by docker, and needs to be up to date
# to support functionality used by Qt's configure
sudo apt-get install libseccomp2 -y --force-yes
# Build # Build
sudo docker run --rm \ sudo docker run --rm \
-v "$PWD/workspace":/workspace \ -v "$PWD/workspace":/workspace \