diff mbox series

[meta-oe,kirkstone] poco: remove mongodb from ptest RDEPENDS

Message ID 20251110185553.354551-1-skandigraun@gmail.com
State New
Headers show
Series [meta-oe,kirkstone] poco: remove mongodb from ptest RDEPENDS | expand

Commit Message

Gyorgy Sarvari Nov. 10, 2025, 6:55 p.m. UTC
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...).

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
---
 meta-oe/recipes-support/poco/poco_1.11.2.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/poco/poco_1.11.2.bb b/meta-oe/recipes-support/poco/poco_1.11.2.bb
index 53ea13a480..b8a1b571b1 100644
--- a/meta-oe/recipes-support/poco/poco_1.11.2.bb
+++ b/meta-oe/recipes-support/poco/poco_1.11.2.bb
@@ -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"