[OE-core] [PATCH 1/1] stress-ng: Add bash to DEPENDS

Richard Purdie richard.purdie at linuxfoundation.org
Tue Aug 6 14:10:28 UTC 2019


On Tue, 2019-08-06 at 15:22 +0200, Alexander Kanavin wrote:
> On Tue, 6 Aug 2019 at 14:51, Richard Purdie <
> richard.purdie at linuxfoundation.org> wrote:
> > We now filter the pkgdata to the things a recipe can see in its
> > dependencies after:
> > 
> > http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=99206cb7b41be7a124ea8339bc891077f02128a2
> > 
> > Does that help? If not, is it because some code isn't using the
> > filtered copy? Or could we use this technique somewhere else?
> > 
> > I've not looked at the underlying issues enough to tell which code
> > is
> > actually triggering it but that kind of approach should help with
> > this
> > kind of problem and at least make it deterministic...
> 
> I think the issue might be actually in the QA check where it looks
> beyond the recipe's immediate RDEPENDS (and then fails or not
> depending on whether those indirect dependencies have been packaged).
> I need to better understand what happens there so will add some
> printouts first. The problem does happen with latest master.

I had a quick look and package_qa_check_rdepends() has a call to:

oe.packagedata.read_subpkgdata(pkg, d)

which effectively calls:

def get_subpkgedata_fn(pkg, d):
    return d.expand('${PKGDATA_DIR}/runtime/%s' % pkg)

(from packagedata.py)

I think that this should be changed to WORKDIR_PKGDATA, at least for
the purposes of insane.bbclass. The copy in WORKDIR_PKGDATA is limited
to the recipe's dependencies.

Its not quite that simple as we need to ensure that WORKDIR_PKGDATA
when the insane code runs but you hopefully get the idea...

Cheers,

Richard






More information about the Openembedded-core mailing list