On Sat, 2019-02-16 at 12:22 +0000, Alex Kiernan wrote:
> On Sat, Feb 16, 2019 at 11:32 AM Richard Purdie
> <[email protected]> wrote:
> > We appear to have walked into spools of razor wire :/
> > 
> > This is an open bug:
> > 
> > https://bugzilla.yoctoproject.org/show_bug.cgi?id=10113
> > 
> > which I'm struggling to know how to fix.
> > 
> > What does appear to work locally is adding something like:
> > 
> > # We need the native dependency on python3-six at runtime
> > # See bug 10113
> > EXTRASYSROOTDEPTASK = ""
> > EXTRASYSROOTDEPTASK_class-native = "do_populate_sysroot"
> > do_populate_sysroot[rdeptask] = "${EXTRASYSROOTDEPTASK}"
> > 
> > Whether this is the right thing to do I'm less sure about.
> > 
> > It may be an idea to start introducing these dependencies where we
> > need
> > them to fix bugs, until we can sort the problem properly in
> > native.bbclass.
> > 
> 
> Thanks, that seems to work... I'd have been here forever trying to
> find that.
> 
> I'll send a v3 with that change in it.

Thanks! I poked a bit more at that underlying RDEPENDS problem as it
bothers me. Once I fixed the dependency loop detection code in bitbake,
the real errors became clear and once two of them were fixed, things
started working more as they should.

I've put together a patchset and thrown it at the autobuilder, see what
it makes of it.

I'll either merge your patch with or without the hack depending on how
that goes...

Cheers,

Richard


-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to