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

Zhonghua zhonghua at sics.se
Tue Jun 14 08:54:31 UTC 2011


On 06/10/2011 05:33 PM, Paul Eggleton wrote:
> 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
>
Hi Paul and Khem,
Thank you very much. I checked the BBPATH and BBFILES definition, found 
them are defined in 'overo-oe/build/profile' and 
'overo-oe/build/conf/site.conf' respectively. Originally, when I started 
the bitbake process, all of the recipes including my new test-recipe 
would be built once. by stripping away the suffix the test-recipe could 
be built successfully. The former experiment that includes suffix of .bb 
in the bitbake instruction just followed the instance of 'OpenEmbedded 
User Manual'.
Then I added the definition of BBFILES according to the absolute 
directory as BBFILES = 
“/lhome/zhonghua/overo-oe/org.openembedded.dev/recipes/*/*.bb” to the 
'overo-oe/build/conf/local.conf', found that in the bitbake process only 
what I designated recipe has been built but the question of "ERROR: 
Nothing PROVIDES '.....' also occurred. If I change the definition of 
BBFILES in the 'local.conf' to relative directory as 
BBFILES="${OEBRANCH}/recipes/*/*.bb ${USERBRANCH}/recipes/*/*.bb", the 
bitbake can succeed but again all recipes are built once. So could 
someone be so nice to tell me how can I control to just finish what my 
desired recipe?

Br,
Zhonghua




More information about the Openembedded-users mailing list