Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.8
-
None
-
2e65c7f10 (lts-6.8)
Description
when enable multilibs, try to build python3-pysider6, need extra oecmake parameter to avoid follwing QA errors:
diff --git a/recipes-python/pyside6/python3-pyside6.inc b/recipes-python/pyside6/python3-pyside6.inc index 770a2e7..8a1d352 100644 --- a/recipes-python/pyside6/python3-pyside6.inc +++ b/recipes-python/pyside6/python3-pyside6.inc @@ -27,7 +27,7 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/pyside6:" S = "${WORKDIR}/git" -EXTRA_OECMAKE += "-DBUILD_TESTS=FALSE" +EXTRA_OECMAKE += "-DBUILD_TESTS=FALSE -DQFP_PYTHON_SITE_PACKAGES=${PYTHON_SITEPACKAGES_DIR}" EXTRA_OECMAKE:append:class-target = " -DQFP_SHIBOKEN_HOST_PATH=${STAGING_EXECPREFIXDIR} -DQFP_PYTHON_HOST_PATH=${PYTHON}" INSANE_SKIP:${PN} += "already-stripped"
without this env the QA errors shows:
ERROR: python3-shiboken6-6.8.4-r0 do_package: QA Issue: python3-shiboken6: Files/directories were installed but not shipped in any pac kage: /usr/lib /usr/lib/python3.13 /usr/lib/python3.13/site-packages /usr/lib/python3.13/site-packages/shiboken6 /usr/lib/python3.13/site-packages/shiboken6/Shiboken.pyi /usr/lib/python3.13/site-packages/shiboken6/_config.py /usr/lib/python3.13/site-packages/shiboken6/_git_shiboken_module_version.py /usr/lib/python3.13/site-packages/shiboken6/py.typed /usr/lib/python3.13/site-packages/shiboken6/__init__.py /usr/lib/python3.13/site-packages/shiboken6/Shiboken.abi3.so Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within d o_install. python3-shiboken6: 10 installed and not shipped files. [installed-vs-shipped] ERROR: python3-pyside6-6.8.4-r0 do_package: QA Issue: python3-pyside6: Files/directories were installed but not shipped in any package: /usr/lib/python3.13/site-packages/PySide6/QtRemoteObjects.abi3.so /usr/lib/python3.13/site-packages/PySide6/QtSerialPort.abi3.so /usr/lib/python3.13/site-packages/PySide6/QtWidgets.abi3.so /usr/lib/python3.13/site-packages/PySide6/QtExampleIcons.abi3.so /usr/lib/python3.13/site-packages/PySide6/QtWebChannel.abi3.so /usr/lib/python3.13/site-packages/PySide6/QtPositioning.abi3.so /usr/lib/python3.13/site-packages/PySide6/QtQuickWidgets.abi3.so /usr/lib/python3.13/site-packages/PySide6/QtQuickTest.abi3.so /usr/lib/python3.13/site-packages/PySide6/QtStateMachine.abi3.so /usr/lib/python3.13/site-packages/PySide6/QtQuick.abi3.so /usr/lib/python3.13/site-packages/PySide6/QtMultimediaWidgets.abi3.so ... /usr/lib/python3.13/site-packages/PySide6/QtAsyncio/__init__.py /usr/lib/python3.13/site-packages/PySide6/QtAsyncio/events.py Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.