Hi Ross,

if they are redundant then I can simply revert this patch??

commit fcda3fb1a3fbfac075325482074898dfb7138da7
Author: Fabio Berton <[email protected]>
Date:   Wed Nov 13 09:09:44 2019 -0300

    python3-importlib-metadata: RDEPEND python3-misc only for target and
nativesdk

    Python3 recipe rprovides python3-misc only for target and nativesdk,
    but if we have some recipe that rdepends python3-misc and has native
    in BBCLASSEXTEND bitbake raises an error showing that nothing rprovides
    python3-misc-native.

    Signed-off-by: Fabio Berton <[email protected]>
    Signed-off-by: Khem Raj <[email protected]>

diff --git a/meta-python/recipes-devtools/python/
python3-importlib-metadata_0.23.bb b/meta-python/recipes-devtools/python/
python3-importlib-metadata_0.23.bb
index 4c53d5fbb..851d703c9 100644
--- a/meta-python/recipes-devtools/python/python3-importlib-metadata_0.23.bb
+++ b/meta-python/recipes-devtools/python/python3-importlib-metadata_0.23.bb
@@ -1,4 +1,5 @@
 inherit pypi setuptools3
 require python-importlib-metadata.inc

-RDEPENDS_${PN} += "python3-misc"
+RDEPENDS_${PN}_class-target += "python3-misc"
+RDEPENDS_${PN}_class-nativesdk += "python3-misc"




On Tue, 19 Nov 2019 at 12:41, Ross Burton <[email protected]> wrote:

> On 19/11/2019 12:16, Nicola Lunghi wrote:
> > -RDEPENDS_${PN}_class-target += "python3-misc"
> > -RDEPENDS_${PN}_class-nativesdk += "python3-misc"
> > +RDEPENDS_${PN}_append_class-target = " python3-misc"
> > +RDEPENDS_${PN}_append_class-nativesdk = " python3-misc"
>
> I believe all of the overrides are redundant now.  Try just
> RDEPENDS_${PN} += "python3-misc" and check the native build is still
> successful.
>
> Ross
> --
> _______________________________________________
> Openembedded-devel mailing list
> [email protected]
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to