Skip to contentSkip to conversation

Problem using "bitbake"

DISCUSSION saleh usman 4 participants 7 messages Dec 8, 2009 – Dec 13, 2009

lore
Share & tools
lore
#0 lore raw

Hello

I am trying to build "helloworld_image" given in openembedded recipes/images directory but the following error is occuring. Please help me in diagnosing the pr0blem and moving forward.

[saleh@localhost build]$ bitbake helloworld_image

NOTE: Parsing finished. 0 cached, 0 parsed, 0 skipped, 0 masked.
NOTE: Cache is clean, not saving.
ERROR: Nothing PROVIDES 'helloword_image'

Regards
Saleh Usman

_________________________________________________________________
Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail you.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_3:092010

#1 lore raw
Quoted 11 lines · saleh usman

Hello

I am trying to build "helloworld_image" given in openembedded recipes/images directory but the following error is occuring. Please help me in diagnosing the pr0blem and moving forward.

[saleh@localhost build]$ bitbake helloworld_image

NOTE: Parsing finished. 0 cached, 0 parsed, 0 skipped, 0 masked.
NOTE: Cache is clean, not saving.
ERROR: Nothing PROVIDES 'helloword_image'

Try 'bitbake helloworld-image' (dash, not underscore)

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

Hello

I am trying to build "helloworld_image" given in openembedded
recipes/images directory but the following error is occuring. Please help me in diagnosing the pr0blem and moving forward.

Quoted 10 lines
Quoted 6 lines

[saleh@localhost build]$ bitbake helloworld_image

NOTE: Parsing finished. 0 cached, 0 parsed, 0 skipped, 0 masked.
NOTE: Cache is clean, not saving.
ERROR: Nothing PROVIDES 'helloword_image'

Try 'bitbake helloworld-image' (dash, not underscore)

The 0 cached, 0 parsed, 0 skipped, 0 masked from the parse implies that BBFILES was not set correctly, or at all.

Signature · 7 lines
Chris Larson
clarson at kergoth dot com
clarson at mvista dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Software Engineer
MontaVista Software, Inc.
#3 lore raw

I've set BBFILES in the local.conf file as
BBFILES = "${oe}/openembedded/recipes/images/helloworld-image.bb"
where oe is directory in which openembedded is placed. I've also tried helloworld-image.But it returned same messages.

I am just following the isntructions of Getting Started page and using helloworld-image given in the openembedded/recipes/images directory.

Terminal window was like this

[saleh@localhost build]$ bitbake helloworld-image

NOTE: Parsing finished. 0 cached, 0 parsed, 0 skipped, 0 masked.
NOTE: Cache is clean, not saving.
ERROR: Nothing PROVIDES 'helloworld-image'

From: [email protected]
Date: Tue, 8 Dec 2009 09:21:04 -0700
Subject: Re: [oe] Problem using "bitbake"
To: [email protected]
CC: [email protected]

On Tue, Dec 8, 2009 at 8:54 AM, Gary Thomas <[email protected]> wrote:

On 12/08/2009 08:49 AM, saleh usman wrote:

Hello

I am trying to build "helloworld_image" given in openembedded recipes/images directory but the following error is occuring. Please help me in diagnosing the pr0blem and moving forward.

[saleh@localhost build]$ bitbake helloworld_image

NOTE: Parsing finished. 0 cached, 0 parsed, 0 skipped, 0 masked.

NOTE: Cache is clean, not saving.

ERROR: Nothing PROVIDES 'helloword_image'

Try 'bitbake helloworld-image' (dash, not underscore)

The 0 cached, 0 parsed, 0 skipped, 0 masked from the parse implies that BBFILES was not set correctly, or at all.

Signature · 11 lines
Chris Larson
clarson at kergoth dot com
clarson at mvista dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Software Engineer
MontaVista Software, Inc.
 		 	   		  
_________________________________________________________________
Keep your friends updated—even when you’re not signed in.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_5:092010
#4 lore raw

If that's a copy/pasted line, you're referencing an 'oe' variable, likely set in your environment? Is it exported? Did you add it to the bitbake environment whitelist? Run bitbake -e | grep \^BBFILES, and see what it *really* ends up set to.

Quoted 66 lines · saleh usman

I've set BBFILES in the local.conf file as
*BBFILES = "${oe}/openembedded/recipes/images/helloworld-image.bb"
*where *oe *is directory in which openembedded is placed. I've also tried helloworld-image.But it returned same messages.

I am just following the isntructions of *Getting Started* page and using * helloworld-image* given in the openembedded/recipes/images directory.

Terminal window was like this

[saleh@localhost build]$ bitbake helloworld-image

NOTE: Parsing finished. 0 cached, 0 parsed, 0 skipped, 0 masked.
NOTE: Cache is clean, not saving.
ERROR: Nothing PROVIDES 'helloworld-image'

------------------------------
From: [email protected]
Date: Tue, 8 Dec 2009 09:21:04 -0700
Subject: Re: [oe] Problem using "bitbake"
To: [email protected]
CC: [email protected]

On Tue, Dec 8, 2009 at 8:54 AM, Gary Thomas <[email protected]> wrote:

On 12/08/2009 08:49 AM, saleh usman wrote:

Hello

I am trying to build "helloworld_image" given in openembedded
recipes/images directory but the following error is occuring. Please help me in diagnosing the pr0blem and moving forward.

[saleh@localhost build]$ bitbake helloworld_image

NOTE: Parsing finished. 0 cached, 0 parsed, 0 skipped, 0 masked.
NOTE: Cache is clean, not saving.
ERROR: Nothing PROVIDES 'helloword_image'

Try 'bitbake helloworld-image' (dash, not underscore)

The 0 cached, 0 parsed, 0 skipped, 0 masked from the parse implies that BBFILES was not set correctly, or at all.
--
Chris Larson
clarson at kergoth dot com
clarson at mvista dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Software Engineer
MontaVista Software, Inc.

------------------------------
Keep your friends updated— even when you’re not signed in.<http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_5:092010>

Signature · 7 lines
Chris Larson
clarson at kergoth dot com
clarson at mvista dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Software Engineer
MontaVista Software, Inc.
#5 lore raw

Oh sorry,I've missed to set oe.Thanks a lot for guidance.
Now it is showing a different kind of error in terminal window as below.Where to find these missing dependencies?

[saleh@localhost build]$ bitbake helloworld-image
NOTE: Handling BitBake files: | (0001/0001) [100 %]
NOTE: Parsing finished. 0 cached, 1 parsed, 0 skipped, 0 masked.
NOTE: Resolving any missing task queue dependencies
ERROR: Required build target 'helloworld-image' has no buildable providers. Missing or unbuildable dependency chain was: ['helloworld-image', 'shasum-native']

I am building this image for an embedded platform which has an ARM 9 processor and linux has been ported and running on it.But our board doesn't support gcc.What else I need to run this om my board.

From: [email protected]
Date: Thu, 10 Dec 2009 08:02:27 -0700
Subject: Re: [oe] Problem using "bitbake"
To: [email protected]
CC: [email protected]

If that's a copy/pasted line, you're referencing an 'oe' variable, likely set in your environment? Is it exported? Did you add it to the bitbake environment whitelist? Run bitbake -e | grep \^BBFILES, and see what it *really* ends up set to.

On Thu, Dec 10, 2009 at 8:00 AM, saleh usman <[email protected]> wrote:

I've set BBFILES in the local.conf file as
BBFILES = "${oe}/openembedded/recipes/images/helloworld-image.bb"

where oe is directory in which openembedded is placed. I've also tried helloworld-image.But it returned same messages.

I am just following the isntructions of Getting Started page and using helloworld-image given in the openembedded/recipes/images directory.

Terminal window was like this

[saleh@localhost build]$ bitbake helloworld-image

NOTE: Parsing finished. 0 cached, 0 parsed, 0 skipped, 0 masked.
NOTE: Cache is clean, not saving.

ERROR: Nothing PROVIDES 'helloworld-image'

From: [email protected]
Date: Tue, 8 Dec 2009 09:21:04 -0700

Subject: Re: [oe] Problem using "bitbake"
To: [email protected]
CC: [email protected]

On Tue, Dec 8, 2009 at 8:54 AM, Gary Thomas <[email protected]> wrote:

On 12/08/2009 08:49 AM, saleh usman wrote:

Hello

I am trying to build "helloworld_image" given in openembedded recipes/images directory but the following error is occuring. Please help me in diagnosing the pr0blem and moving forward.

[saleh@localhost build]$ bitbake helloworld_image

NOTE: Parsing finished. 0 cached, 0 parsed, 0 skipped, 0 masked.

NOTE: Cache is clean, not saving.

ERROR: Nothing PROVIDES 'helloword_image'

Try 'bitbake helloworld-image' (dash, not underscore)

The 0 cached, 0 parsed, 0 skipped, 0 masked from the parse implies that BBFILES was not set correctly, or at all.

Signature · 27 lines
Chris Larson
clarson at kergoth dot com
clarson at mvista dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Software Engineer
MontaVista Software, Inc.
 		 	   		  


Keep your friends updated— even when you’re not signed in.




-- 
Chris Larson
clarson at kergoth dot com
clarson at mvista dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Software Engineer
MontaVista Software, Inc.
 		 	   		  
_________________________________________________________________
Windows Live Hotmail: Your friends can get your Facebook updates, right from Hotmail®.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_4:092009
#6 lore raw
Quoted 10 lines · saleh usman

Oh sorry,I've missed to set oe.Thanks a lot for guidance. Now it is showing a different kind of error in terminal window as below.Where to find these missing dependencies?

[saleh@localhost build]$ bitbake helloworld-image
NOTE: Handling BitBake files: | (0001/0001) [100 %]
NOTE: Parsing finished. 0 cached, 1 parsed, 0 skipped, 0 masked.
NOTE: Resolving any missing task queue dependencies
ERROR: Required build target 'helloworld-image' has no buildable providers. Missing or unbuildable dependency chain was: ['helloworld-image', 'shasum-native']

Still wrong BBFILES... Please, read Getting Started carefully. The pattern for BBFILES is clearly written there:

BBFILES = "/stuff/openembedded/recipes/*/*.bb"

You need "stars" to let bitbake load all (a few thousand) .bb files and resolve dependencies.

Przemek