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

On 11/10/25 19:55, Gyorgy Sarvari via lists.openembedded.org wrote:
> 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 <[email protected]>
> ---
>  meta-oe/recipes-support/poco/poco_1.11.2.bb | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
>
> 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"
>
> 
>

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

Reply via email to