On Mon, 2017-02-06 at 14:44 +0000, 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 transpires that meta-java's java-library.bbclass contains the somewhat epically unhelpful (in this context) fragment:

# Java "source" distributions often contain precompiled things
# we want to delete first.
do_removebinaries() {
  find ${WORKDIR} -name "*.jar" -exec rm {} \;
  find ${WORKDIR} -name "*.class" -exec rm {} \;
}

addtask removebinaries after do_unpack before do_patch

And, since recipe-sysroot-native is inside ${WORKDIR}, this blows away everything that rss carefully placed there. Doh.

p.