Raspberry pi bitbake层添加层元python元raspberrypi失败
我有一个Raspberry 4型号B,并试图从Ubuntu构建Yocoto linux进行安装。我是按照指示做的。步调一致Raspberry pi bitbake层添加层元python元raspberrypi失败,raspberry-pi,yocto,Raspberry Pi,Yocto,我有一个Raspberry 4型号B,并试图从Ubuntu构建Yocoto linux进行安装。我是按照指示做的。步调一致 bitbake-layers add-layer ../layers/meta-openembedded/meta-python bitbake-layers add-layer ../layers/meta-raspberrypi 我遇到了以下错误 pi@raspberrypi:~/Yocto/RaspberryPi/build $ bitbake-layers add
bitbake-layers add-layer ../layers/meta-openembedded/meta-python
bitbake-layers add-layer ../layers/meta-raspberrypi
我遇到了以下错误
pi@raspberrypi:~/Yocto/RaspberryPi/build $ bitbake-layers add-layer ../layers/meta-openembedded/meta-python
NOTE: Starting bitbake server...
Traceback (most recent call last):
File "/home/pi/Yocto/RaspberryPi/layers/poky/bitbake/bin/bitbake-layers", line 93, in <module>
ret = main()
File "/home/pi/Yocto/RaspberryPi/layers/poky/bitbake/bin/bitbake-layers", line 61, in main
tinfoil.prepare(True)
File "/home/pi/Yocto/RaspberryPi/layers/poky/bitbake/lib/bb/tinfoil.py", line 408, in prepare
self.run_command('parseConfiguration')
File "/home/pi/Yocto/RaspberryPi/layers/poky/bitbake/lib/bb/tinfoil.py", line 466, in run_command
raise TinfoilCommandFailed(result[1])
bb.tinfoil.TinfoilCommandFailed: Traceback (most recent call last):
File "/home/pi/Yocto/RaspberryPi/layers/poky/bitbake/lib/bb/command.py", line 74, in runCommand
result = command_method(self, commandline)
File "/home/pi/Yocto/RaspberryPi/layers/poky/bitbake/lib/bb/command.py", line 275, in parseConfiguration
command.cooker.parseConfiguration()
File "/home/pi/Yocto/RaspberryPi/layers/poky/bitbake/lib/bb/cooker.py", line 427, in parseConfiguration
self.handleCollections(self.data.getVar("BBFILE_COLLECTIONS"))
File "/home/pi/Yocto/RaspberryPi/layers/poky/bitbake/lib/bb/cooker.py", line 1225, in handleCollections
raise CollectionError("Errors during parsing layer configuration")
bb.cooker.CollectionError: Errors during parsing layer configuration
pi@raspberrypi:~/Yocto/RaspberryPi/build $ bitbake-layers add-layer ../layers/meta-raspberrypi
NOTE: Starting bitbake server...
Traceback (most recent call last):
File "/home/pi/Yocto/RaspberryPi/layers/poky/bitbake/bin/bitbake-layers", line 93, in <module>
ret = main()
File "/home/pi/Yocto/RaspberryPi/layers/poky/bitbake/bin/bitbake-layers", line 61, in main
tinfoil.prepare(True)
File "/home/pi/Yocto/RaspberryPi/layers/poky/bitbake/lib/bb/tinfoil.py", line 408, in prepare
self.run_command('parseConfiguration')
File "/home/pi/Yocto/RaspberryPi/layers/poky/bitbake/lib/bb/tinfoil.py", line 466, in run_command
raise TinfoilCommandFailed(result[1])
bb.tinfoil.TinfoilCommandFailed: Traceback (most recent call last):
File "/home/pi/Yocto/RaspberryPi/layers/poky/bitbake/lib/bb/command.py", line 74, in runCommand
result = command_method(self, commandline)
File "/home/pi/Yocto/RaspberryPi/layers/poky/bitbake/lib/bb/command.py", line 275, in parseConfiguration
command.cooker.parseConfiguration()
File "/home/pi/Yocto/RaspberryPi/layers/poky/bitbake/lib/bb/cooker.py", line 427, in parseConfiguration
self.handleCollections(self.data.getVar("BBFILE_COLLECTIONS"))
File "/home/pi/Yocto/RaspberryPi/layers/poky/bitbake/lib/bb/cooker.py", line 1225, in handleCollections
raise CollectionError("Errors during parsing layer configuration")
bb.cooker.CollectionError: Errors during parsing layer configuration
我认为warrior发行版中的
bitbake layers
工具存在问题,因此另一种方法是尝试在编辑器中打开conf/bblayers.conf
文件,删除bblayers
变量中的最后一个条目/行(可能包含元网络),然后保存该文件。现在继续执行bitbake layers add layer
bitbake-layers add-layer ../layers/meta-openembedded/meta-networking
bitbake-layers add-layer ../layers/meta-openembedded/meta-python
bitbake-layers add-layer ../layers/meta-raspberrypi
希望这能有所帮助我得到了同样的错误,并用以下方法解决了
您是否按照添加层的顺序添加层位烘焙层添加层../layers/poky/meta位烘焙层添加层../layers/poky/meta-poky位烘焙层添加层../layers/poky/meta-yocto bsp位烘焙层添加层../layers/meta-openembedded/meta-oe位烘焙层添加层../layers/meta-openembedded/meta多媒体位烘焙层添加层../layers/meta-openembedded/meta-networking-bitbake-layers-add-layers../layers/meta-openembedded/meta-python-bitbake-layers-add-layer../layers/meta-raspberrypis这似乎也存在于宙s中。这是一个已知的问题吗?也许是的,我建议向bugzilla.yoctoproject.org提交一个bug
bitbake-layers add-layer ../layers/meta-openembedded/meta-networking
bitbake-layers add-layer ../layers/meta-openembedded/meta-python
bitbake-layers add-layer ../layers/meta-raspberrypi