Skip to contentSkip to conversation

poco: remove mongodb from ptest RDEPENDS

PATCH Gyorgy Sarvari 1 participant 1 message Nov 10, 2025 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

TBH this is far from being my favorite patch. If anyone got a better solution, I'm all ears.

Quoted 37 lines · Gyorgy Sarvari via lists.openembedded.org

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 -2
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"
 
-=-=-=-=-=-=-=-=-=-=-=-

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