0

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

ありがとう

4

1 に答える 1

0

この議論を検索して見つけた情報が不足しているため、私は自分の質問に答えます。不適切でないことを願っています。そう..

まず、パッケージの依存関係を計算するために、オプションbitbakeなしで呼び出す必要があります-b

bitbake package

次に、必要uclibcに応じて bitbake が自動的にビルドするため、直接ビルドする必要はありません (オプションbitbakeなしで使用する必要があり-bます)。私のバージョンの Angstrom ディストリビューション (2010.x) では、uclibc は bitbake によってビルドされるデフォルトのライブラリではなく、eglibc がビルドされるため、この時点ではまだ完了していません。stuff/build/conf/local.confしたがって、この行に追加する必要があります: 、このよくある質問ANGSTROMLIBC = "uclibc"で見つかりました

最後に、.ipk のすべてのパッケージとソースを見つけることができますstuff/tmp/deploy/uclibc

于 2012-05-21T20:58:36.410 に答える