Details
-
Bug
-
Resolution: Incomplete
-
P3: Somewhat important
-
None
-
6.1.0 Beta 1
-
None
-
Qt 6.1.0 beta1, MSVC 2019 (16.9), Windows 10, CMake 3.20.0-rc2, ninja 1.10.2, Intel Core i7-9750H CPU @ 2.60GHz
Description
I've built Qt 6.1 several times over the past couple days (using different configure parameters), using the new CMake system.
It randomly fail at some point or succeed, even when using the exact same parameters.
In one instance where it failed, here was the output:
[2460/3868] Automatic MOC for target QQuickProfilerAdapterFactory FAILED: qtdeclarative/src/plugins/qmltooling/qmldbg_quickprofiler/QQuickProfilerAdapterFactory_autogen/timestamp cmd.exe /C "cd /D C:\Qt\qt-everywhere-src-6.1.0-beta1\qtdeclarative\src\plugins\qmltooling\qmldbg_quickprofiler && "C:\Program Files\CMake\bin\cmake.exe" -E cmake_autogen C:/Qt/qt-everywhere-src-6.1.0-beta1/qtdeclarative/src/plugins/qmltooling/qmldbg_quickprofiler/CMakeFiles/QQuickProfilerAdapterFactory_autogen.dir/AutogenInfo.json Release && "C:\Program Files\CMake\bin\cmake.exe" -E touch C:/Qt/qt-everywhere-src-6.1.0-beta1/qtdeclarative/src/plugins/qmltooling/qmldbg_quickprofiler/QQuickProfilerAdapterFactory_autogen/timestamp && "C:\Program Files\CMake\bin\cmake.exe" -E cmake_transform_depfile Ninja gccdepfile C:/Qt/qt-everywhere-src-6.1.0-beta1 C:/Qt/qt-everywhere-src-6.1.0-beta1/qtdeclarative/src/plugins/qmltooling/qmldbg_quickprofiler C:/Qt/qt-everywhere-src-6.1.0-beta1 C:/Qt/qt-everywhere-src-6.1.0-beta1/qtdeclarative/src/plugins/qmltooling/qmldbg_quickprofiler C:/Qt/qt-everywhere-src-6.1.0-beta1/qtdeclarative/src/plugins/qmltooling/qmldbg_quickprofiler/QQuickProfilerAdapterFactory_autogen/deps C:/Qt/qt-everywhere-src-6.1.0-beta1/CMakeFiles/d/ad3287c09e474dcaf6ead90d1ff136367f06e8a5587a16028d63ac8efc03b541.d" [2473/3868] Building CXX object qtdeclarative\src\qmldevtools\CMakeFiles\QmlDevTools.dir\__\qml\compiler\qv4compiler.cpp.obj ninja: build stopped: subcommand failed.
As far as I remember, it's often due to ninja complaining about something.
In some case, the build also "freeze" during the last steps when trying to link a lib or a dll or an exe ("freeze" because the build process still use some CPU time, but nothing seems to progress anymore). For example right now it's been on this build step for the past 10 minutes, and won't likely move on:
[3851/3868] Linking CXX executable qtbase\bin\designer.exe
To give you an idea, on 3 attempt to build Qt with the exact same configure, 1 will fail as described first, 1 will have to be manually stopped because of the freeze, and the third will succeed (with all 3 builds starting from scratch).
My CPU has 16 logical threads, all used to max capacity when building Qt. See environment for more details.