Skip to content

Commit a871e90

Browse files
committedMay 29, 2019
install newer libseccomp on Travis host for building with Qt 5.10+ in Docker container
1 parent bc65d25 commit a871e90

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
 

‎.ci/travis/docker_image/before_install.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,11 @@
1414
# #
1515
###########################################################################
1616

17+
if [[ ${INSTALL_LIBSECCOMP} =~ ^TRUE$ ]]; then
18+
# When building QGIS with Qt 5.10+ in a Docker container, statx calls are required on the host
19+
# see https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/1755250
20+
# this is required on Xenial (currently most recent distribution on Travis), but sould not on Bionic+
21+
wget https://launchpad.net/ubuntu/+archive/primary/+files/libseccomp2_2.4.1-0ubuntu0.16.04.2_amd64.deb
22+
sudo dpkg -i libseccomp2_2.4.1-0ubuntu0.16.04.2_amd64.deb
23+
sudo apt-get install -f
24+
fi

‎.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ matrix:
125125
- TRIGGER_PYQGIS_DOC=TRUE
126126
- DOCKER_TAG="$( echo $TRAVIS_BRANCH | sed 's/master/latest/' )_disco"
127127
- DOCKER_BUILD_DEPS_FILE=qgis3-build-deps-disco.dockerfile
128+
- INSTALL_LIBSECCOMP=TRUE
128129

129130

130131

0 commit comments

Comments
 (0)
Please sign in to comment.