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 <[email protected]>
---
 meta-python/recipes-devtools/python/python3-pillow_9.5.0.bb | 1 +
 1 file changed, 1 insertion(+)

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 76b3a82db..7ec43c60d 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 += " \
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#102307): 
https://lists.openembedded.org/g/openembedded-devel/message/102307
Mute This Topic: https://lists.openembedded.org/mt/98680287/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to