building org.openembedded.dev angstrom

hi

i am trying to build the dev branch of angstrom for my beagleboard,
but keep hitting hurdles. i am roughly following
http://www.angstrom-distribution.org/building-angstrom . The dev
branch does not include bit bake, so i have installed it from the
ubuntu lucid package (i am on ubuntu karmic, bit i could not get past
"NameError: global name 'os'" errors with the karmic version, or the
old one in stable/2009).

next i hit permission errors
OSError: [Errno 13] Permission denied: '/OE'
which i fixed by adding ${EOTREE} into the paths in build/conf/
local.conf

now i am getting:
NOTE: Parsing finished. 0 cached, 0 parsed, 0 skipped, 0 masked.
NOTE: Cache is clean, not saving.
ERROR: Nothing PROVIDES 'console-image'

i have added
BBFILES="${OETREE}/openembedded/recipes/*/*.bb"
to source-me.txt

but that does not help.

any ideas how to precede.

thanks, sam

Dear Sam,

[…]

any ideas how to precede.

can you build the branch »stable/2009«? If not I suggest to first try to
run this successfully.

If you still have problems afterward please contact
angstrom-distro-users [1] with the reference to the posted message.

Thanks,

Paul

[1] http://www.angstrom-distribution.org/contact

Don't EVER install bitbake from distro packages, they are either broken or outdated. Just download the bitbake tarball from berlios.de and run it from where you untarred it.

regards,

Koen

your local.conf file contains references to /OE instead of ${OETREE}.
If I recall there are three of them. You need to fix those.
(and I agree with koen, don't use bitbake from distro's, they are
generally outdated).

FMN

Thanks for the suggestions.

Ubuntu Lucid has BitBake Build Tool Core version 1.8.18, bitbake
version 1.8.18, which seems to be the latest. using the 1.8.18 from
http://developer.berlios.de/projects/bitbake gives the same error.

stable/2009 builds ok

i have changed all 3 of the /OE to ${OETREE}

still get the ERROR: Nothing PROVIDES 'console-image'

Sam

Have you re-source-d your source-me.txt file?
Is OETREE set before you set BBFILES
Does
ls ${OETREE}/openembedded/recipes/*/*.bb
yield anything (after replacing OETREE with the proper value).

it is probably a very simple config issue, but without your files and
dir structure, it is impossible to tell...

FM

i have been sourcing the source-me.txt, doing things like
ls $PKGDIR
shows me the folders

here are me source-me.txt, and local.conf
http://pastebin.com/f1412de4a

ls ${OETREE}/openembedded/recipes/*/*.bb lists 8065 files.

sam@oberon:/data/beagleboard/angstrom/openembedded$ ls ${OETREE}/
openembedded/recipes/*/*.bb | grep console
/data/beagleboard/angstrom/openembedded/recipes/console-tools/console-
tools_0.3.2.bb
/data/beagleboard/angstrom/openembedded/recipes/exmap-console/exmap-
console_0.4.1.bb
/data/beagleboard/angstrom/openembedded/recipes/exmap-console/exmap-
console_svn.bb
/data/beagleboard/angstrom/openembedded/recipes/hal/
consolekit_0.3.0.bb
/data/beagleboard/angstrom/openembedded/recipes/images/altboot-console-
image.bb
/data/beagleboard/angstrom/openembedded/recipes/images/console-base-
image.bb
/data/beagleboard/angstrom/openembedded/recipes/images/console-
image.bb
/data/beagleboard/angstrom/openembedded/recipes/images/console-mipv6-
image.bb
/data/beagleboard/angstrom/openembedded/recipes/images/fso-console-
image.bb
/data/beagleboard/angstrom/openembedded/recipes/images/fso2-console-
image.bb
/data/beagleboard/angstrom/openembedded/recipes/opie-console/opie-
console_1.2.2.bb
/data/beagleboard/angstrom/openembedded/recipes/opie-console/opie-
console_1.2.3.bb
/data/beagleboard/angstrom/openembedded/recipes/opie-console/opie-
console_1.2.4.bb
/data/beagleboard/angstrom/openembedded/recipes/opie-console/opie-
console_cvs.bb
/data/beagleboard/angstrom/openembedded/recipes/xorg-app/
xconsole_1.0.2.bb
/data/beagleboard/angstrom/openembedded/recipes/xorg-app/
xconsole_1.0.3.bb

thanks

sam

>> > hi

>> > i am trying to build the dev branch of angstrom for my beagleboard,
>> > but keep hitting hurdles. i am roughly following
>> >http://www.angstrom-distribution.org/building-angstrom. The dev
>> > branch does not include bit bake, so i have installed it from the
>> > ubuntu lucid package (i am on ubuntu karmic, bit i could not get past
>> > "NameError: global name 'os'" errors with the karmic version, or the
>> > old one in stable/2009).

>> > next i hit permission errors
>> > OSError: [Errno 13] Permission denied: '/OE'
>> > which i fixed by adding ${EOTREE} into the paths in build/conf/
>> > local.conf

>> > now i am getting:
>> > NOTE: Parsing finished. 0 cached, 0 parsed, 0 skipped, 0 masked.
>> > NOTE: Cache is clean, not saving.
>> > ERROR: Nothing PROVIDES 'console-image'

>> > i have added
>> > BBFILES="${OETREE}/openembedded/recipes/*/*.bb"
>> > to source-me.txt

>> > but that does not help.

>> > any ideas how to precede.

>> your local.conf file contains references to /OE instead of ${OETREE}.
>> If I recall there are three of them. You need to fix those.
>> (and I agree with koen, don't use bitbake from distro's, they are
>> generally outdated).

>> FMN

> Thanks for the suggestions.

> Ubuntu Lucid has BitBake Build Tool Core version 1.8.18, bitbake
> version 1.8.18, which seems to be the latest. using the 1.8.18 from
>http://developer.berlios.de/projects/bitbakegives the same error.

> stable/2009 builds ok

> i have changed all 3 of the /OE to ${OETREE}

> still get the ERROR: Nothing PROVIDES 'console-image'

> Sam

Have you re-source-d your source-me.txt file?
Is OETREE set before you set BBFILES
Does
ls ${OETREE}/openembedded/recipes/*/*.bb
yield anything (after replacing OETREE with the proper value).

it is probably a very simple config issue, but without your files and
dir structure, it is impossible to tell...

FM

i have been sourcing the source-me.txt, doing things like
ls $PKGDIR
shows me the folders

here are me source-me.txt, and local.conf
http://pastebin.com/f1412de4a

ls ${OETREE}/openembedded/recipes/*/*.bb lists 8065 files.

sam@oberon:/data/beagleboard/angstrom/openembedded$ ls ${OETREE}/
openembedded/recipes/*/*.bb | grep console
/data/beagleboard/angstrom/openembedded/recipes/console-tools/console-
tools_0.3.2.bb
/data/beagleboard/angstrom/openembedded/recipes/exmap-console/exmap-
console_0.4.1.bb
/data/beagleboard/angstrom/openembedded/recipes/exmap-console/exmap-
console_svn.bb
/data/beagleboard/angstrom/openembedded/recipes/hal/
consolekit_0.3.0.bb
/data/beagleboard/angstrom/openembedded/recipes/images/altboot-console-
image.bb
/data/beagleboard/angstrom/openembedded/recipes/images/console-base-
image.bb
/data/beagleboard/angstrom/openembedded/recipes/images/console-
image.bb

Your local.conf says:
BBFILES := "${OETREE}/org.openembedded.dev/recipes/*/*.bb"

but your recipes are in openembedded

so the above line should read:
BBFILES := "${OETREE}/openembedded/recipes/*/*.bb"

Have fun, Frans

thanks, that seems to have done the trick. well spotted.

sam