[bitbake-devel] Bitbake raises MultipleMatches exception while trying to build uclibc
Chris Larson
clarson at kergoth.com
Mon May 21 16:26:42 UTC 2012
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
More information about the bitbake-devel
mailing list