Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.5.8, 6.6.3, 6.7.3
-
None
Description
$ git clone --branch scarthgap git://git.yoctoproject.org/poky $ git clone --branch 6.6.3 git://code.qt.io/yocto/meta-qt6.git $ source poky/oe-init-build-env ./build-qt $ bitbake-layers layerindex-fetch -f .. meta-oe meta-python meta-multimedia $ bitbake-layers add-layer ../meta-qt6
modify conf/local.conf enable multilib
MACHINE ??= "qemux86-64" DISTRO_FEATURE:append = " ptest" require conf/multilib.conf MULTILIBS = "multilib:lib32" DEFAULTTUNE:virtclass-multilib-lib32 = "i586" IMAGE_INSTALL:append = " qtdeclarative-ptest" DISTRO ?= "poky" EXTRA_IMAGE_FEATURES ?= "debug-tweaks" USER_CLASSES ?= "buildstats" PATCHRESOLVE = "noop" BB_DISKMON_DIRS ??= "\ STOPTASKS,${TMPDIR},1G,100K \ STOPTASKS,${DL_DIR},1G,100K \ STOPTASKS,${SSTATE_DIR},1G,100K \ STOPTASKS,/tmp,100M,100K \ HALT,${TMPDIR},100M,1K \ HALT,${DL_DIR},100M,1K \ HALT,${SSTATE_DIR},100M,1K \ HALT,/tmp,10M,1K" PACKAGECONFIG:append:pn-qemu-system-native = " sdl" CONF_VERSION = "2"
build qtdeclarative
bitbake qtdeclarative
getting following error message:
| couldn't allocate absolute path for ''. | Error: /buildarea6/pzha1-cn/poky-prj/scarthgap/build-qt-multi/tmp/work/core2-64-poky-linux/qtdeclarative/6.6.3/git/tests/auto/qml/qmltc/NamespaceTest/Subfolder/Type.qml: Warnings occurred while importing base modules: [impor t] | --- | Error: Failed to find the following builtins: builtins.qmltypes, jsroot.qmltypes (so will use qrc). Import paths used: | :/qt-project.org/imports | :/qt/qml [import] | --- | | Error: /buildarea6/pzha1-cn/poky-prj/scarthgap/build-qt-multi/tmp/work/core2-64-poky-linux/qtdeclarative/6.6.3/git/tests/auto/qml/qmltc/NamespaceTest/Subfolder/Type.qml:1:1: Warnings occurred while importing module "QtQuick" : [import] | import QtQuick | ^^^^^^ | --- | Error: Failed to import QtQuick. Are your import paths set up properly? [import] | --- | | Error: /buildarea6/pzha1-cn/poky-prj/scarthgap/build-qt-multi/tmp/work/core2-64-poky-linux/qtdeclarative/6.6.3/git/tests/auto/qml/qmltc/NamespaceTest/Subfolder/Type.qml:3:1: Item was not found. Did you add all import paths? [import] | Item { | ^^^^ | Error: /buildarea6/pzha1-cn/poky-prj/scarthgap/build-qt-multi/tmp/work/core2-64-poky-linux/qtdeclarative/6.6.3/git/tests/auto/qml/qmltc/NamespaceTest/Subfolder/Type.qml:3:1: 'Item' is used but it is not resolved [unresolved- type] | Item { | ^^^^
this failure only found multilib enabled.