Details
-
Bug
-
Resolution: Fixed
-
P4: Low
-
6.5
-
None
-
Docker Desktop 4.16.3 (96739) for Windows (WSL 2 mode)
-
-
0a2662deb (dev), 8ed7d8843 (6.5), db705d079 (dev), 20b5654a2 (6.5), a8cf976ce (dev), c131e159b (6.6)
Description
Parallel builds of Qt for x64 starts failing when attempting to upgrade from Qt 6.4 to 6.5.
Dockerfile to reproduce:
# Based on https://github.com/emscripten-core/emsdk/tree/master/docker FROM emscripten/emsdk:3.1.27 AS qtbuilder RUN mkdir -p /development # Install Mesa OpenGL (needed to build Qt for x64) RUN apt-get update && apt-get -y install mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev # Clone Qt sources WORKDIR /development RUN git clone --branch=6.5 https://code.qt.io/qt/qt5.git WORKDIR /development/qt5 RUN git rev-parse HEAD RUN ./init-repository # Build Qt for x64 RUN mkdir -p /development/qt5_build_x64 WORKDIR /development/qt5_build_x64 RUN /development/qt5/configure -nomake examples -nomake tests -prefix /usr/local/Qt-x64 RUN cmake --build . --parallel 4 RUN cmake --install .
Build error encountered:
Step 12/13 : RUN cmake --build . --parallel 4 ---> Running in ed496c7be5c2 gmake[2]: *** No rule to make target 'qtbase/libexec/syncqt', needed by 'qtbase/src/corelib/Core_syncqt_timestamp'. Stop. gmake[1]: *** [CMakeFiles/Makefile2:14348: qtbase/src/corelib/CMakeFiles/Core_sync_headers.dir/all] Error 2
Reproduced on commit f6b1bf3c96c2bbfcbcfa390f927d100620543987 dated 2023-02-14. See attached build_log.txt for more details.
Work-arounds
The problem can be worked around by either downgrading to the 6.4 branch or reducing the number of build executors from 4 to 1.