内核编译报错

lg0720010514 2017-04-11 04:50:28
ERROR: Execution of event handler 'check_sanity_eventhandler' failed
Traceback (most recent call last):
File "check_sanity_eventhandler(e)", line 6, in check_sanity_eventhandler(e=<bb.event.SanityCheck object at 0x26baed0>)
File "sanity.bbclass", line 51, in check_sanity(sanity_data=<bb.data_smart.DataSmart object at 0x26669d0>)
File "sanity.bbclass", line 9, in sanity_handle_abichanges(status=<SanityStatus object at 0x2666ed0>, d=<bb.data_smart.DataSmart object at 0x26669d0>)
File "/usr/lib/python2.7/genericpath.py", line 18, in exists(path=None):
try:
> os.stat(path)
except os.error:
TypeError: coercing to Unicode: need string or buffer, NoneType found

ERROR: Command execution failed: Traceback (most recent call last):
File "/home/liuyufeng/m3/poky/bitbake/lib/bb/command.py", line 101, in runAsyncCommand
self.cooker.updateCache()
File "/home/liuyufeng/m3/poky/bitbake/lib/bb/cooker.py", line 1533, in updateCache
bb.event.fire(bb.event.SanityCheck(False), self.data)
File "/home/liuyufeng/m3/poky/bitbake/lib/bb/event.py", line 170, in fire
fire_class_handlers(event, d)
File "/home/liuyufeng/m3/poky/bitbake/lib/bb/event.py", line 109, in fire_class_handlers
execute_handler(name, handler, event, d)
File "/home/liuyufeng/m3/poky/bitbake/lib/bb/event.py", line 81, in execute_handler
ret = handler(event)
File "check_sanity_eventhandler(e)", line 6, in check_sanity_eventhandler
File "sanity.bbclass", line 51, in check_sanity
File "sanity.bbclass", line 9, in sanity_handle_abichanges
File "/usr/lib/python2.7/genericpath.py", line 18, in exists
os.stat(path)
TypeError: coercing to Unicode: need string or buffer, NoneType found


Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
...全文
865 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
  • 打赏
  • 举报
回复
感觉代码应该是成熟可用的吧,那么就只可能是环境的问题了,但是这样也看不出来是哪里出了问提,你可以具体到报错的文件中去看看,想想看看可能是哪里出了问题
常书 2017-05-27
  • 打赏
  • 举报
回复
貌似是os.stat(path),这是城的path为空,是不是少配置了什么路径?
jklinux 2017-05-26
  • 打赏
  • 举报
回复
这是什么内核编译的输出? 怎么用python来编,好高端的样子

4,441

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 内核源代码研究区
社区管理员
  • 内核源代码研究区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧