[yocto] Failure expanding variable OE_FEATURES - Poky-1.2_M2.final

Saul Wold sgw at linux.intel.com
Tue Apr 3 08:22:58 PDT 2012


On 03/16/2012 11:57 AM, Shih, Chiu-Pi wrote:
> Hi,
>
> I am getting the following error using poky-1.2_M2.final.
>
Hi Chiu-Pi,

The M2 release is a Milestone release, which should be suitable for testing.

> [tmelab at fc16tmelab build]$ bitbake core-image-minimal
>
> Pseudo is not present but is required, building this first before the
> main build (guess this does not really matter? I did add user in
> /etc/sudoers though)
>
Pseudo is a tool that we use that does similar workas sudo, but keeps 
better track of the state of files (permission and ownership), it needs 
to be built first, which is what's happening there.

> ERROR: Failure expanding variable OE_FEATURES[:=], expression was
> ${@features_to_uclibc_conf(d)} which triggered exception AttributeError:
> 'NoneType' object has no attribute 'split'
>
Do you have some other settings someplace?  Are you building generic 
1.2_M2 or do you have additional layers?

Sau!

> ERROR: Command execution failed: Exited with 1
>
> Summary: There were 1 WARNING messages shown.
>
> Summary: There were 1 ERROR messages shown, returning a non-zero exit code.
>
> I did a search on the OE_FEATURES and found some instances, how do I fix
> this?
>
> Thanks,
>
> Chiu-Pi
>
> [tmelab at fc16tmelab poky-1.2_M2.final]$ find . -exec grep OE_FEATURES {}
> \; -print
>
> OE_FEATURES := "${@features_to_uclibc_conf(d)}"
>
> if "${OE_FEATURES}":
>
> ("\\n <file:///\\n>".join((bb.data.expand("${OE_FEATURES}",
> d).split("\n")))))
>
> *./meta/recipes-core/uclibc/uclibc.inc*
>
> OE_FEATURES := "${@features_to_busybox_conf(d)}"
>
> if "${OE_FEATURES}":
>
> ("\\n <file:///\\n>".join((bb.data.expand("${OE_FEATURES}",
> d).split("\n")))))
>
> *./meta/recipes-core/busybox/busybox.inc*
>
> OE_FEATURES = "${@features_to_eglibc_settings(d)}"
>
> echo '${OE_FEATURES}' > ${B}/option-groups.config
>
> *./meta/recipes-core/eglibc/eglibc.inc*
>
> ERROR: Failure expanding variable OE_FEATURES[:=], expression was
> ${@features_to_uclibc_conf(d)} which triggered exception AttributeError:
> 'NoneType' object has no attribute 'split'
>
> ./build/tmp/cooker.log.20120315204404
>
> [tmelab at fc16tmelab poky-1.2_M2.final]$
>
>
>
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



More information about the yocto mailing list