Skip to contentSkip to conversation

poco: remove mongodb from ptest RDEPENDS

PATCH New Gyorgy Sarvari 1 participant 1 message Nov 10, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 poco: remove mongodb from ptest RDEPENDS

mongodb is in the dynamic-layers section of meta-oe, and not available by default - which makes the layer not YP compatible.

To avoid this breakage, remove mongodb from RDEPENDS.

To run ptests fully, this is still required to be present however (bbappend, or local.conf...).

---
 meta-oe/recipes-support/poco/poco_1.11.2.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta-oe/recipes-support/poco/poco_1.11.2.bb +4 -1
index 53ea13a480..b8a1b571b1 100644
@@ -101,6 +101,9 @@ FILES:${PN}-cppunit += "${libdir}/libCppUnit.so*"
 ALLOW_EMPTY:${PN}-cppunit = "1"
 FILES:${PN}-ptest += "${bindir}/TestApp ${libdir}/TestLibrary.so"
 
-RDEPENDS:${PN}-ptest += "${PN}-cppunit redis mongodb"
+# When running the full ptests suite, mongodb should be added to RDEPENDS, however it
+# is in dynamic-layers folder, only available when meta-python is
+# available - thus breaking signature generation and failing YP compatibility.
+RDEPENDS:${PN}-ptest += "${PN}-cppunit redis"
 
 BBCLASSEXTEND = "native"