From f69cd3ef989b77fce08a421190c549c4341f1e02 Mon Sep 17 00:00:00 2001 From: Richard Weickelt Date: Sun, 6 Oct 2019 08:25:32 +0200 Subject: Disable glib event dispatcher in bionic Docker image Disable glib in the bionic Docker image, as the glib event dispatcher leads to deadlocks in TestBlackbox::concurrentExecutor quite often. The problem should hardly occur in practice. This is a work-around until QTBUG-79020 is fixed. Fixes: QBS-1499 Change-Id: I8cecc979b1c13b053c0ee0787cc4bc0a0de8b701 Reviewed-by: Christian Kandeler --- docker-compose.yml | 2 +- docker/bionic/Dockerfile | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 16d9e361a..c29d09462 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,7 +12,7 @@ services: bionic: << : *linux hostname: bionic - image: ${DOCKER_USER:-qbsbuild}/qbsdev:bionic-5.12.5_1.13.1-1 + image: ${DOCKER_USER:-qbsbuild}/qbsdev:bionic-5.12.5_1.13.1-2 build: dockerfile: docker/bionic/Dockerfile context: . diff --git a/docker/bionic/Dockerfile b/docker/bionic/Dockerfile index 7522c47cd..5a4b1921e 100644 --- a/docker/bionic/Dockerfile +++ b/docker/bionic/Dockerfile @@ -178,3 +178,6 @@ RUN qbs-setup-toolchains /usr/bin/g++ gcc && \ # Switch back to root user for the entrypoint script. USER root + +# Work-around for QTBUG-79020 +RUN echo "QT_NO_GLIB=1" >> /etc/profile.d/qt.sh -- cgit v1.2.3