我正在尝试通过bitbake为uclibc
体系结构构建arm7a
,但是得到以下输出
user@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
我也在尝试建立特定的配方(我做错了吗?),但是我得到了
user@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
谢谢
最佳答案
我回答自己的问题是因为我缺乏寻找该论点的信息。我希望这不是不合适的。所以..
首先,应在不使用bitbake
选项的情况下调用-b
,以便计算软件包的依赖关系
bitbake package
然后,无需直接构建
uclibc
,因为bitbake会在必要时自动构建它(为此,必须使用不带bitbake
选项的-b
)。此时,它尚未完成,因为对于我的Angstrom发行版(2010.x),uclibc不是由bitbake构建的默认库,而是由eglibc构建的。因此,您必须在stuff/build/conf/local.conf
中添加以下行:ANGSTROMLIBC = "uclibc"
,位于this faq最后,您可以在
stuff/tmp/deploy/uclibc
中找到所有ipk软件包和源。