Skip to contentSkip to conversation

Unable to build

DISCUSSION Gary Thomas 2 participants 5 messages Mar 6, 2012 – Mar 7, 2012

lore
Share & tools
lore
#0 lore raw

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?

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#1 lore raw
Quoted 10 lines · Gary Thomas

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'.

Quoted 6 lines

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.

Cheers,

Richard

#2 lore raw
Quoted 16 lines · Richard Purdie
Quoted 15 lines · Gary Thomas

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.

Quoted 8 lines
Quoted 1 line

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.

Thanks

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#3 lore raw
Quoted 21 lines · Gary Thomas
Quoted 20 lines · Richard Purdie
Quoted 10 lines · Gary Thomas

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'.

Quoted 6 lines

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:

Quoted 8 lines
Quoted 4 lines

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

#4 lore raw
Quoted 31 lines · Richard Purdie
Quoted 21 lines · Gary Thomas
Quoted 20 lines · Richard Purdie
Quoted 10 lines · Gary Thomas

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'.

Quoted 6 lines

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:

Quoted 8 lines
Quoted 4 lines

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.

Quoted 5 lines

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.

But the message doesn't _really_ say that - it implies that simply setting BB_SIGNATURE_HANDLER = 'OEBasic' will work. I think it should just be reworded to say you have to rebuild...

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------