Bitbake/OE bitbake.conf Bug

Hi,

I just upgraded to git head, and I encountered some problems. I fixed most of these by updating/porting my local overlay versions of local.conf and bitbake.conf to match the ones distributed with OE. When I tried to build again I got the following error

bitbake console-image

ERROR: Openembedded’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:

Error, Your PACKAGE_ARCHS field contains duplicates. Perhaps you set EXTRA_PACKAGE_ARCHS twice accidently through some tune file?

The culprit (in conf/bitbake.conf) is

PACKAGE_ARCHS = “all any noarch ${TARGET_ARCH} ${PACKAGE_EXTRA_ARCHS} ${MACHINE}”

Removing ${PACKAGE_EXTRA_ARCHS} fixes the error

Does this mean that there is a bug in the bb.conf file distributed with OE, or have I missed something

John

Hi,

I just upgraded to git head, and I encountered some problems. I fixed most
of these by updating/porting my local overlay versions of local.conf and
bitbake.conf to match the ones distributed with OE. When I tried to build
again I got the following error

bitbake console-image

ERROR: Openembedded'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:

Error, Your PACKAGE\_ARCHS field contains duplicates\. Perhaps you set

EXTRA_PACKAGE_ARCHS twice accidently through some tune file?

The culprit (in conf/bitbake.conf) is

PACKAGE_ARCHS = "all any noarch ${TARGET_ARCH} ${PACKAGE_EXTRA_ARCHS}
${MACHINE}"

That's not the culprit. It sounds like you have a copy of
beagleboard.conf in your overlay that still has PACKAGE_EXTRA_ARCH
set:

http://gitweb.openembedded.net/?p=openembedded.git;a=commitdiff;h=a1825f04c3b8b98a66ae402e99fd40ff2be59c82

regards,

Koen

Hi,

I just upgraded to git head, and I encountered some problems. I fixed most
of these by updating/porting my local overlay versions of local.conf and
bitbake.conf to match the ones distributed with OE. When I tried to build
again I got the following error

bitbake console-image

ERROR: Openembedded’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:

Error, Your PACKAGE_ARCHS field contains duplicates. Perhaps you set
EXTRA_PACKAGE_ARCHS twice accidently through some tune file?

The culprit (in conf/bitbake.conf) is

PACKAGE_ARCHS = “all any noarch ${TARGET_ARCH} ${PACKAGE_EXTRA_ARCHS}
${MACHINE}”

That’s not the culprit. It sounds like you have a copy of
beagleboard.conf in your overlay that still has PACKAGE_EXTRA_ARCH
set:

http://gitweb.openembedded.net/?p=openembedded.git;a=commitdiff;h=a1825f04c3b8b98a66ae402e99fd40ff2be59c82

Yip, that was the problem. Thanks a lot

John