[Openembedded-users] bitbake process encounters an error of "ERROR: Nothing PROVIDES 'recipes/myhelloworld/myhelloworld_0.1.bb'

Paul Eggleton paul.eggleton at linux.intel.com
Fri Jun 10 15:33:47 UTC 2011


On Friday 10 June 2011 16:11:45 Zhonghua wrote:
> Hi,
> I am trying to use bitbake in OE. I succeeded to use bitbake to get the
> "omap3-console-image" several days ago, but now when I try to bitbake a
> new small program I got the error of "ERROR: Nothing PROVIDES '.....'.
> So I tried the instance of 'myhelloworld' which program and recipe are
> provided by the distributor.
> 
> *$bitbake*  recipes/myhelloworld/myhelloworld_0.1.bb
> 
> But unfortunately, the result is the same, there also has that error as
> in the subject. I thought it may be something wrong with the recipes so
> I tried to bitbake  'omap3-console-image' again to have a test. I got
> the same error of "nothing PROVIDES". oh, what gloomy.
> Can anybody tell me what is wrong? Thanks!

As Khem said, first check BBPATH and BBFILES. Then, assuming myhelloworld 
appears somewhere within the tree specified by those variables (and it looks 
like it would from your example), you should be running this to build it:

bitbake myhelloworld

You should not include the path, version or .bb - just the target package 
name.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre




More information about the Openembedded-users mailing list