bitbake ERROR Nothing PROVIDES pseudo-native
来源:互联网 发布:java使用aes加密 编辑:程序博客网 时间:2024/06/07 17:56
Pseudo is not present but is required, building this first before the main build
Loading cache: 100% |#################################################################################################################################################| ETA: 00:00:00
Loaded 3 entries from dependency cache.
ERROR: Nothing PROVIDES 'pseudo-native'
ERROR: Command execution failed: Traceback (most recent call last):
File "/home/dragon/Work/poky-edison-6.0/bitbake/lib/bb/command.py", line 102, in runAsyncCommand
commandmethod(self.cmds_async, self, options)
File "/home/dragon/Work/poky-edison-6.0/bitbake/lib/bb/command.py", line 207, in buildTargets
command.cooker.buildTargets(pkgs_to_build, task)
File "/home/dragon/Work/poky-edison-6.0/bitbake/lib/bb/cooker.py", line 1105, in buildTargets
taskdata.add_provider(localdata, self.status, k)
File "/home/dragon/Work/poky-edison-6.0/bitbake/lib/bb/taskdata.py", line 371, in add_provider
self.add_provider_internal(cfgData, dataCache, item)
File "/home/dragon/Work/poky-edison-6.0/bitbake/lib/bb/taskdata.py", line 391, in add_provider_internal
raise bb.providers.NoProvider(item)
NoProvider: pseudo-native
原因:
项目中的base.bbclass和bitbake.conf不是从安装的bitbake工具目录(/opt/bitbake-1.17.0)中拷贝过来的,因为编译过yocto系统,bitbake被指定到了编译的yocto中的bitbake工具的位置了,故报错。
dragon@dragon-Long:~/Work/bitbake_test/bbTutorial/build$ which bitbake
/home/dragon/Work/poky-edison-6.0/scripts/bitbake
/home/dragon/Work/poky-edison-6.0/scripts/bitbake
解决办法2种:
1、重新拷贝poky-edison-6.0目录中bitbake的base.bbclass和bitbake.conf到项目中
2、改变poky-edison-6.0目录的名字,并且重新指定bitbake工具的地址
export PATH=/opt/bitbake-1.17.0/bin:$PATH
export PYTHONPATH=/opt/bitbake-1.17.0/lib:$PYTHONPATH
然后执行就OK了。
dragon@dragon-Long:~/Work/bitbake_test/bbTutorial/build$ bitbake -s
Loading cache: 100% |#################################################################################################################################################| ETA: 00:00:00
Loaded 3 entries from dependency cache.
Recipe Name Latest Version Preferred Version
=========== ============== =================
first :0.1-r1
second :1.0-r1
dragon@dragon-Long:~/Work/bitbake_test/bbTutorial/build$ bitbake first
Loading cache: 100% |#################################################################################################################################################| ETA: 00:00:00
Loaded 3 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and all succeeded.
dragon@dragon-Long:~/Work/bitbake_test/bbTutorial/build$ bitbake second
Loading cache: 100% |#################################################################################################################################################| ETA: 00:00:00
Loaded 3 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 2 tasks of which 0 didn't need to be rerun and all succeeded.
Loading cache: 100% |#################################################################################################################################################| ETA: 00:00:00
Loaded 3 entries from dependency cache.
Recipe Name Latest Version Preferred Version
=========== ============== =================
first :0.1-r1
second :1.0-r1
dragon@dragon-Long:~/Work/bitbake_test/bbTutorial/build$ bitbake first
Loading cache: 100% |#################################################################################################################################################| ETA: 00:00:00
Loaded 3 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and all succeeded.
dragon@dragon-Long:~/Work/bitbake_test/bbTutorial/build$ bitbake second
Loading cache: 100% |#################################################################################################################################################| ETA: 00:00:00
Loaded 3 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 2 tasks of which 0 didn't need to be rerun and all succeeded.
阅读全文
0 0
- bitbake ERROR Nothing PROVIDES pseudo-native
- bitbake ERROR: Unable to open conf/bitbake.conf
- Bitbake
- bitbake
- Empty、Error、Nothing 及 Null
- CentOS:Error: Nothing to do
- Nothing
- nothing
- NOTHING
- nothing
- nothing
- nothing
- nothing
- nothing
- Nothing
- nothing
- nothing
- Nothing
- ionic访问界面自动刷新
- ROS入门_1.10 理解ROS服务和参数
- 码农的人生开始
- Zabbix JSON-RPC
- Andriod 第三方 ROM
- bitbake ERROR Nothing PROVIDES pseudo-native
- 使用 rqt_console 和 roslaunch
- Android 中获取签名md5 和sha1
- Fragment学习笔记待完善
- <br>为什么会换行
- drawable源码分析
- Java入门最佳学习路径,
- 【十八掌●内功篇】第六掌:YARN之ResourceManager
- 为什么交换机价格差别如此大?