Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.10
-
None
Description
1. setup poky env
bitbake-layer add-layers ../meta-qt6 bitbake-layer add-layers ../meta-clang
2. update local.conf with build examples
MACHINE ??= "qemux86-64" PACKAGECONFIG:append:pn-qtdeclarative = " examples" IMAGE_INSTALL:append = " qtdeclarative-examples" DISTRO_FEATURES:append = " x11" DISTRO ?= "poky"
3. build by command bitbake
bitbake qtdeclarative
4. do_compile failure
temp/log.do_compile.3917529 420:/buildarea6/pzha1-cn/poky-prj/master/build-qt-dev-1/tmp/work/core2-64-poky-linux/qtdeclarative/6.10.0/build/examples/quick/views/shared/views_shared_sharedPlugin.cpp:14:1: error: Parse error at "IID" 449:/buildarea6/pzha1-cn/poky-prj/master/build-qt-dev-1/tmp/work/core2-64-poky-linux/qtdeclarative/6.10.0/build/examples/quick/text/shared/text_shared_sharedPlugin.cpp:14:1: error: Parse error at "IID" 500:/buildarea6/pzha1-cn/poky-prj/master/build-qt-dev-1/tmp/work/core2-64-poky-linux/qtdeclarative/6.10.0/build/examples/quick/animation/shared/animation_shared_sharedPlugin.cpp:14:1: error: Parse error at "IID" 529:/buildarea6/pzha1-cn/poky-prj/master/build-qt-dev-1/tmp/work/core2-64-poky-linux/qtdeclarative/6.10.0/build/examples/quick/draganddrop/shared/draganddrop_shared_sharedPlugin.cpp:14:1: error: Parse error at "IID" 558:/buildarea6/pzha1-cn/poky-prj/master/build-qt-dev-1/tmp/work/core2-64-poky-linux/qtdeclarative/6.10.0/build/examples/quick/window/shared/window_shared_sharedPlugin.cpp:14:1: error: Parse error at "IID" ......
However, when the build is run with a lower level of parallelism, it succeeds. My server with 128 CPUs and 512G memory.
PARALLEL_MAKE="-j 32" bitbake qtdeclarative
The issue was identified on my side starting from the following commit: https://code.qt.io/cgit/yocto/meta-qt6.git/commit/?id=261403fd46b4bdaed29b2bad4126c5e97cac87c0
Attachments
Issue Links
- relates to
-
QTBUG-133725 qml_tool_autogen target loses almost all dependencies on other autogen and sync_headers targets
-
- Closed
-
-
QTBUG-134274 QML LocationPermission is not a type
-
- Closed
-
Gerrit Reviews
For Gerrit Dashboard: QTBUG-137587 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
656823,1 | CMake: Move qt_internal_work_around_autogen_discarded_dependencies | dev | qt/qtbase | Status: NEW | +2 | 0 |
656824,1 | CMake: Work around AUTOGEN discarded dependencies for in-tree examples | dev | qt/qtbase | Status: NEW | +2 | +1 |