[OE-core] Problem with RDEPENDS in multimachine builds for allarch packages

Christopher Larson clarson at kergoth.com
Mon Oct 26 16:13:22 UTC 2015


On Mon, Oct 26, 2015 at 8:13 AM, Sergey 'Jin' Bostandzhyan <jin at mediatomb.cc
> wrote:

> I recently ran into a problem that I described here:
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=8578 and while debugging
> this issue an other problem came to light.
>
> I have a multimachine configuration (armv5/imx6) and the same distro for
> both
> of them (poky 2.0 RC based).
>
> I have some allarch packages which have no DEPENDS, however which have an
> RDEPENDS_${PN} setting.
>
> I can see that even though there were no changes to the recipe itself and
> also no changes to the recipes listed in RDEPENDS, my recipe still gets
> rebuilt each time.
>
> What we tried:
>
> <bluelightning> so cleansstate the recipe, change machine, cleansstate
> again,
>                 then build it, then change machine, build it again and note
>                 the first task that executes
>
> The logs for these steps, one with RDEPENDS and one without are at the end
> of
> this mail. I can see that with present RDEPENDS "real" tasks get executed
> even though no changes occured in the recipe; this is not the case when I
> drop RDEPENDS.
>
> Is this a bug or is this just something that needs to be documented?
> What is the "desired" behaviour?
>

Afaik the most likely cause is your rdepends isn't allarch, so is being
rebuilt for the new machine, which causes yours to be rebuilt since it
depends on it.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20151026/9551215c/attachment-0002.html>


More information about the Openembedded-core mailing list