Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.3.1
-
None
-
Build system is Debian bullseye x86-x64
-
-
84e22f9e822cc71799bad01423cc407f2ea26fcd 39480e1841bcf6d8ad627ef63e78d1d7f84a27d8 a4b137adce57afd6062ae33b5eea76bc80576527
Description
When building running an Android multi abi builds using cmake (qt-cmake for configuration) the execution of androiddeployqt sometimes fails, e.g.:
cmake --build . --target apk --parallel
...
Failed to copy /<path_to_qt>/Qt/6.3.1/android_armv7/qml/QtQuick/Controls/Universal/qmldir to /<path_to_project_build_dir>/android-build//assets/android_rcc_bundle/qml/QtQuick/Controls/Universal/qmldir.
This issue is easier to reproduce with Ninja than with Unix Makefiles, but it happens with both build systems. My guess would be that Ninja is just better to run things in parallel. It's also more likely to happen when doing an incremental build.
My guess would be that two parallel calls to androiddeployqt are trying to write the same files.
When I create dependencies between the external projects, so that they are being sequenced this never happens.