Re: [OE-core] RSS difficulties

2017-02-06 Thread Khem Raj
On Mon, Feb 6, 2017 at 8:55 AM, Phil Blundell wrote: > On Mon, 2017-02-06 at 14:44 +, Phil Blundell wrote: > > But sadly the contents of libecj-bootstrap-native doesn't actually show up > in gnujaf-native's recipe-sysroot-native. > > > A bit of further sleuthing reveals that although this prob

Re: [OE-core] RSS difficulties

2017-02-06 Thread Burton, Ross
On 6 February 2017 at 16:55, Phil Blundell wrote: > And, since recipe-sysroot-native is inside ${WORKDIR}, this blows away > everything that rss carefully placed there. Doh. > Ha, nice. I'm sure that was well intended but blasting all of ${WORKDIR} seems overkeen. I bet that was fun to chase!

Re: [OE-core] RSS difficulties

2017-02-06 Thread Phil Blundell
On Mon, 2017-02-06 at 14:44 +, Phil Blundell wrote: > But sadly the contents of libecj-bootstrap-native doesn't actually > show up in gnujaf-native's recipe-sysroot-native. A bit of further sleuthing reveals that although this problem only started with rss the blame lies somewhere else. It tr

Re: [OE-core] RSS difficulties

2017-02-06 Thread Phil Blundell
By the way, this message:    msgbuf.append("Skipping setscene dependency %s for installation into the sysroot")   is not as illuminating as it could be. I suppose it wants "% setscenedeps[datadep][0])" on the end. :-} p. -- ___ Openemb

Re: [OE-core] RSS difficulties

2017-02-06 Thread Phil Blundell
On Mon, 2017-02-06 at 14:27 +, Richard Purdie wrote: > What happens if you set DEPENDS? With DEPENDS I do at least get some entries for ecj-bootstrap-native in task-depends.dot. The relevant ones seem to be: "gnujaf-native.do_prepare_recipe_sysroot" -> "ecj-bootstrap- native.do_populate_sysr

Re: [OE-core] RSS difficulties

2017-02-06 Thread Richard Purdie
On Mon, 2017-02-06 at 13:42 +, Phil Blundell wrote: > On Fri, 2017-02-03 at 12:29 +, 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" i

Re: [OE-core] RSS difficulties

2017-02-06 Thread Phil Blundell
On Fri, 2017-02-03 at 12:29 +, 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 thin

Re: [OE-core] RSS difficulties

2017-02-03 Thread Phil Blundell
On Fri, 2017-02-03 at 11:20 +, Richard Purdie wrote: > > It comes down to what setscene_depvalid() in sstate.bbclass returns. > If > that returns False a given dependency is installed, it if returns > True, > it is skipped and not installed. > > Reading that function should give some clues as

Re: [OE-core] RSS difficulties

2017-02-03 Thread Richard Purdie
On Fri, 2017-02-03 at 11:10 +, Phil Blundell wrote: > I'm having a few problems adapting our build setup to work with > recipe specific sysroots.  More specifically, I am finding it > difficult to get the correct set of components installed into the > recipe-sysroot in all cases.  In some cases

[OE-core] RSS difficulties

2017-02-03 Thread Phil Blundell
I'm having a few problems adapting our build setup to work with recipe specific sysroots. More specifically, I am finding it difficult to get the correct set of components installed into the recipe-sysroot in all cases. In some cases I am getting too much (which causes build failures if oe attemp