* Failure expanding variable OE_FEATURES - Poky-1.2_M2.final
@ 2012-03-16 18:57 Shih, Chiu-Pi
2012-04-03 15:22 ` Saul Wold
0 siblings, 1 reply; 3+ messages in thread
From: Shih, Chiu-Pi @ 2012-03-16 18:57 UTC (permalink / raw)
To: Yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 1662 bytes --]
Hi,
I am getting the following error using poky-1.2_M2.final.
[tmelab@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)
ERROR: Failure expanding variable OE_FEATURES[:=], expression was ${@features_to_uclibc_conf(d)} which triggered exception AttributeError: 'NoneType' object has no attribute 'split'
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@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@fc16tmelab poky-1.2_M2.final]$
[-- Attachment #2: Type: text/html, Size: 5264 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Failure expanding variable OE_FEATURES - Poky-1.2_M2.final
2012-03-16 18:57 Failure expanding variable OE_FEATURES - Poky-1.2_M2.final Shih, Chiu-Pi
@ 2012-04-03 15:22 ` Saul Wold
2012-04-03 16:23 ` Paul Eggleton
0 siblings, 1 reply; 3+ messages in thread
From: Saul Wold @ 2012-04-03 15:22 UTC (permalink / raw)
To: Shih, Chiu-Pi; +Cc: Yocto@yoctoproject.org
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@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@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@fc16tmelab poky-1.2_M2.final]$
>
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Failure expanding variable OE_FEATURES - Poky-1.2_M2.final
2012-04-03 15:22 ` Saul Wold
@ 2012-04-03 16:23 ` Paul Eggleton
0 siblings, 0 replies; 3+ messages in thread
From: Paul Eggleton @ 2012-04-03 16:23 UTC (permalink / raw)
To: yocto; +Cc: Shih, Chiu-Pi
On Tuesday 03 April 2012 08:22:58 Saul Wold wrote:
> On 03/16/2012 11:57 AM, Shih, Chiu-Pi wrote:
> > 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
It's more similar to fakeroot than sudo.
pseudo and fakeroot don't actually perform operations as root, they just make
programs running under them think that they are (for purposes of e.g. getting
file ownership correct within packages and images.)
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-04-03 16:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-16 18:57 Failure expanding variable OE_FEATURES - Poky-1.2_M2.final Shih, Chiu-Pi
2012-04-03 15:22 ` Saul Wold
2012-04-03 16:23 ` Paul Eggleton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.