[poky] Unable to build

Richard Purdie richard.purdie at linuxfoundation.org
Wed Mar 7 12:12:09 PST 2012


On Tue, 2012-03-06 at 07:33 -0700, Gary Thomas wrote:
> On 2012-03-06 07:26, Richard Purdie wrote:
> > On Tue, 2012-03-06 at 06:52 -0700, Gary Thomas wrote:
> >> After a recent update, I'm now getting this error in a previously
> >> working setup.
> >>
> >> ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
> >>       Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
> >>       Following is the list of potential problems / advisories:
> >>
> >>       Your configuration is using stamp files including the sstate hash but your build directory was built with stamp files that do not include this.
> >> To continue, either rebuild or switch back to the OEBasic signature handler with BB_SIGNATURE_HANDLER = 'OEBasic'.
> >>
> >> I'm using my own distro.conf (not poky.conf), and I'm not setting
> >> BB_SIGNATURE_HANDLER anywhere, so I think it should already be
> >> set to OEBasic.  I even tried to put that line (cut&  pasted
> >> from the error message) in local.conf - no change.
> >>
> >> How can I get past this, short of a complete rebuild?
> >
> > You've somehow merged a change like:
> >
> > http://git.yoctoproject.org/cgit.cgi/poky/commit/meta-yocto?id=ea2c8defd570bc2c4d29c6b0bd9fd84865d4e144
> >
> > which sets OELAYOUT_ABI = "8" and triggers the transition message about
> > OEBasicHash. Set it to "7" and it won't show that message.
> 
> OK, that's a workaround for now, but isn't the message incorrect?
> Changing BB_SIGNATURE_HANDLER doesn't seem to let me move on even
> though the error message implies it should.

You had an invalid configuration which is not supported. The whole idea
of that setting is so that build directories which were built with
layout "7", which is OEBasic layout get a message if they update to
after the OEBasicHash change so that they either rebuild the tmp
directory, or they revert to a commit which doesn't have the change.

Cheers,

Richard




More information about the poky mailing list