[OE-core] RSS difficulties

Phil Blundell pb at pbcl.net
Mon Feb 6 13:42:05 UTC 2017


On Fri, 2017-02-03 at 12:29 +0000, Phil Blundell wrote:
> Ah, right, thanks.  The particular piece of magic I was missing was:
> 
>             # Nothing need depend on libc-initial/gcc-cross-initial
>             if "-initial" in taskdependees[task][0]:
>                 continue
> 
> which I think explains all the difficulties I was having.

Actually, that explains most of my difficulties but not all of them. 
The remaining ones seem to come down to missing dependencies but I am
not quite clear on why the dependencies are missing.

The problematic recipes are Java ones.  The Java toolchain, as you
might expect, has a fairly complicated dependency tree but essentially:

- any Java package has DEPENDS = "virtual/javac-native", which is
PROVIDEd by ecj-bootstrap-native.bb

- ecj-bootstrap-native.bb is basically just a wrapper script which runs
the Java compiler.  The actual compiler implementation is in libecj-
bootstrap-native.bb and ecj-bootstrap-native.bb RDEPENDS on that.

If I run "bitbake -D -D ..." then I see:

DEBUG: Added runtime dependencies ['libecj-bootstrap-native'] for
.../meta-java/recipes-core/ecj/ecj-bootstrap-native.bb

but this dependency edge doesn't show up in task-depends.dot and, sure
enough, libecj-bootstrap-native isn't getting installed into the
recipe-sysroot. 

Is there some other piece of logic that is squashing these
dependencies?  Or is there somewhere else that I ought to be looking
for them?

thanks

p.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170206/ae8cfb98/attachment-0002.html>


More information about the Openembedded-core mailing list