[bitbake-devel] Bitbake raises MultipleMatches exception while trying to build uclibc

francesco.brundu at gmail.com francesco.brundu at gmail.com
Mon May 21 18:15:07 UTC 2012


Ok thanks. Bitbake now gives me "No provider Error" for uclibc

user at ubuntu:~/stuff$ bitbake uclibc
Loading cache: 100%
|##############################################################################################################################################################################################|
Time: 00:00:02
Loaded 7102 entries from dependency cache.
Parsing recipes: 100%
|############################################################################################################################################################################################|
Time: 00:00:04
Parsing of 7217 .bb files complete (6456 cached, 761 parsed). 7886
targets, 310 skipped, 0 masked, 0 errors.

Build Configuration:
BB_VERSION        = "1.12.0"
METADATA_BRANCH   = "master"
METADATA_REVISION = "1ff63aa"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "beagleboard"
DISTRO            = "angstrom"
DISTRO_VERSION    = "v2012.05"
TARGET_FPU        = "hard"

ERROR: Nothing PROVIDES 'uclibc'
ERROR: Command execution failed: Traceback (most recent call last):
  File "/home/user/stuff/bitbake/lib/bb/command.py", line 102, in
runAsyncCommand
    commandmethod(self.cmds_async, self, options)
  File "/home/user/stuff/bitbake/lib/bb/command.py", line 200, in buildTargets
    command.cooker.buildTargets(pkgs_to_build, task)
  File "/home/user/stuff/bitbake/lib/bb/cooker.py", line 730, in buildTargets
    taskdata.add_provider(localdata, self.status, k)
  File "/home/user/stuff/bitbake/lib/bb/taskdata.py", line 353, in add_provider
    self.add_provider_internal(cfgData, dataCache, item)
  File "/home/user/stuff/bitbake/lib/bb/taskdata.py", line 373, in
add_provider_internal
    raise bb.providers.NoProvider(item)
NoProvider: uclibc

but there are recipes for uclibc if provider means recipe; there is a
directory uclibc under openembedded/recipes with following files:

-rw-rw-r--  1 user user  1103 May 11 15:39 bfin-uclibc_svn.bb
-rw-rw-r--  1 user user   475 May 11 15:39 elf2flt_svn.bb
drwxrwxr-x  2 user user  4096 May 11 15:39 files
drwxrwxr-x 15 user user  4096 May 11 15:39 uclibc-0.9.28
-rw-rw-r--  1 user user  3205 May 11 15:39 uclibc_0.9.28.bb
drwxrwxr-x 43 user user 12288 May 11 15:39 uclibc-0.9.29
-rw-rw-r--  1 user user  1774 May 11 15:39 uclibc_0.9.29.bb
drwxrwxr-x 45 user user 12288 May 11 15:39 uclibc-0.9.30
drwxrwxr-x 48 user user 12288 May 11 15:39 uclibc-0.9.30.1
-rw-rw-r--  1 user user  1519 May 11 15:39 uclibc_0.9.30.1.bb
drwxrwxr-x 48 user user 12288 May 11 15:39 uclibc-0.9.30.2
-rw-rw-r--  1 user user  1293 May 11 15:39 uclibc_0.9.30.2.bb
drwxrwxr-x 48 user user 12288 May 11 15:39 uclibc-0.9.30.3
-rw-rw-r--  1 user user  1137 May 11 15:39 uclibc_0.9.30.3.bb
-rw-rw-r--  1 user user  1401 May 11 15:39 uclibc_0.9.30.bb
drwxrwxr-x 48 user user 12288 May 11 15:39 uclibc-0.9.31
-rw-rw-r--  1 user user  1131 May 11 15:39 uclibc_0.9.31.bb
-rw-rw-r--  1 user user  3663 May 11 15:39 uclibc-config.inc
drwxrwxr-x 21 user user  4096 May 11 15:39 uclibc-git
-rw-rw-r--  1 user user  1822 May 11 15:39 uclibc_git.bb
-rw-rw-r--  1 user user  8090 May 11 15:39 uclibc.inc
-rw-rw-r--  1 user user  1002 May 11 15:39 uclibc-initial_0.9.28.bb
-rw-rw-r--  1 user user   833 May 11 15:39 uclibc-initial_0.9.29.bb
-rw-rw-r--  1 user user   818 May 11 15:39 uclibc-initial_0.9.30.1.bb
-rw-rw-r--  1 user user   589 May 11 15:39 uclibc-initial_0.9.30.2.bb
-rw-rw-r--  1 user user   818 May 11 15:39 uclibc-initial_0.9.30.3.bb
-rw-rw-r--  1 user user   662 May 11 15:39 uclibc-initial_0.9.30.bb
-rw-rw-r--  1 user user   818 May 11 15:39 uclibc-initial_0.9.31.bb
-rw-rw-r--  1 user user   582 May 11 15:39 uclibc-initial_git.bb
-rw-rw-r--  1 user user  7216 May 11 15:39 uclibc-old.inc

I tried with uclibc, uclibc-initial and uclibc-0.9.30.
Thanks

On 21 May 2012 18:26, Chris Larson <clarson at kergoth.com> wrote:
> On Mon, May 21, 2012 at 9:12 AM, francesco.brundu at gmail.com
> <francesco.brundu at gmail.com> wrote:
>> I have a problem, hope this is the right place to post. Anyway I am
>> trying to build uclibc for arm7a architecture, via bitbake, but I get
>> the following output:
>>
>> user at ubuntu:~/stuff$ bitbake -b uclibc
>> ERROR: Unable to match uclibc (19 matches found):
>> ERROR:     /home/user/stuff/openembedded/recipes/uclibc/uclibc-initial_git.bb
>> ERROR:     /home/user/stuff/openembedded/recipes/uclibc/uclibc_0.9.30.bb
>> ERROR:     /home/user/stuff/openembedded/recipes/uclibc/uclibc_0.9.30.2.bb
>> ERROR:     /home/user/stuff/openembedded/recipes/uclibc/bfin-uclibc_svn.bb
>> ERROR:     /home/user/stuff/openembedded/recipes/uclibc/uclibc_0.9.31.bb
>> ERROR:     /home/user/stuff/openembedded/recipes/uclibc/uclibc-initial_0.9.30.bb
>> ERROR:     /home/user/stuff/openembedded/recipes/uclibc/uclibc_0.9.29.bb
>> ERROR:     /home/user/stuff/openembedded/recipes/uclibc/uclibc-initial_0.9.30.2.bb
>> ERROR:     /home/user/stuff/openembedded/recipes/uclibc/uclibc-initial_0.9.31.bb
>> ERROR:     /home/user/stuff/openembedded/recipes/uclibc/uclibc-initial_0.9.29.bb
>> ERROR:     /home/user/stuff/openembedded/recipes/uclibc/uclibc_git.bb
>> ERROR:     /home/user/stuff/openembedded/recipes/uclibc/uclibc_0.9.28.bb
>> ERROR:     /home/user/stuff/openembedded/recipes/uclibc/uclibc_0.9.30.1.bb
>> ERROR:     /home/user/stuff/openembedded/recipes/uclibc/uclibc-initial_0.9.30.3.bb
>> ERROR:     /home/user/stuff/openembedded/recipes/uclibc/uclibc-initial_0.9.28.bb
>> ERROR:     /home/user/stuff/openembedded/recipes/uclibc++/uclibc++_git.bb
>> ERROR:     /home/user/stuff/openembedded/recipes/uclibc/elf2flt_svn.bb
>> ERROR:     /home/user/stuff/openembedded/recipes/uclibc/uclibc-initial_0.9.30.1.bb
>> ERROR:     /home/user/stuff/openembedded/recipes/uclibc/uclibc_0.9.30.3.bb
>> ERROR: Command execution failed: Traceback (most recent call last):
>>  File "/home/user/stuff/bitbake/lib/bb/command.py", line 102, in
>> runAsyncCommand
>>    commandmethod(self.cmds_async, self, options)
>>  File "/home/user/stuff/bitbake/lib/bb/command.py", line 190, in buildFile
>>    command.cooker.buildFile(bfile, task)
>>  File "/home/user/stuff/bitbake/lib/bb/cooker.py", line 608, in buildFile
>>    buildfile = self.matchFile(fn)
>>  File "/home/user/stuff/bitbake/lib/bb/cooker.py", line 591, in matchFile
>>    raise MultipleMatches
>> MultipleMatches
>>
>> I am trying also to build a specific recipe (Am I doing it wrong?) but I get
>>
>> user at ubuntu:~/stuff$ bitbake -b
>> /home/user/stuff/openembedded/recipes/uclibc/uclibc_0.9.31.bb
>> ERROR: Command execution failed: Traceback (most recent call last):
>>  File "/home/user/stuff/bitbake/lib/bb/command.py", line 102, in
>> runAsyncCommand
>>    commandmethod(self.cmds_async, self, options)
>>  File "/home/user/stuff/bitbake/lib/bb/command.py", line 190, in buildFile
>>    command.cooker.buildFile(bfile, task)
>>  File "/home/user/stuff/bitbake/lib/bb/cooker.py", line 618, in buildFile
>>    self.status.add_from_recipeinfo(vfn, info)
>>  File "/home/user/stuff/bitbake/lib/bb/cache.py", line 583, in
>> add_from_recipeinfo
>>    for provide in info.provides:
>> TypeError: 'NoneType' object is not iterable
>>
>> I have searched a lot but I did not find anything. Thanks
>
> Don't use bitbake -b. -b accepts a filename, not a recipe, and
> bypasses all dependencies. Only experts should use this argument, and
> even then it's questionable. If you want to build a recipe, run
> 'bitbake recipename'.
> --
> Christopher Larson



-- 
Francesco Brundu




More information about the bitbake-devel mailing list