From 7cb34209fc97520d684a5a272e15ed136531843a Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Thu, 4 May 2023 11:16:21 +0200 Subject: python3-pillow: add libxcb to RDEPENDS for x11 This fixes: ERROR: python3-pillow-9.5.0-r0 do_package_qa: QA Issue: /usr/lib/python3.11/site-packages/PIL/_imaging.cpython-311-x86_64-linux-gnu.so contained in package python3-pillow requires libxcb.so.1()(64bit), but no providers found in RDEPENDS:python3-pillow? [file-rdeps] ERROR: python3-pillow-9.5.0-r0 do_package_qa: Fatal QA errors were found, failing task. ERROR: Logfile of failure stored in: /home/flk/poky/build-intel-sway/tmp/work/corei7-64-poky-linux/python3-pillow/9.5.0-r0/temp/log.do_package_qa.2328146 ERROR: Task (/home/flk/poky/meta-openembedded/meta-python/recipes-devtools/python/python3-pillow_9.5.0.bb:do_package_qa) failed with exit code '1' Signed-off-by: Markus Volk Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-pillow_9.5.0.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta-python/recipes-devtools') diff --git a/meta-python/recipes-devtools/python/python3-pillow_9.5.0.bb b/meta-python/recipes-devtools/python/python3-pillow_9.5.0.bb index 76b3a82db9..7ec43c60d3 100644 --- a/meta-python/recipes-devtools/python/python3-pillow_9.5.0.bb +++ b/meta-python/recipes-devtools/python/python3-pillow_9.5.0.bb @@ -30,6 +30,7 @@ RDEPENDS:${PN} += " \ ${PYTHON_PN}-misc \ ${PYTHON_PN}-logging \ ${PYTHON_PN}-numbers \ + ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxcb', '', d)} \ " RDEPENDS:${PN}-ptest += " \ -- cgit v1.2.3-54-g00ecf