- 收藏
- 点赞
- 分享
- 举报
根据社区编译指南 openeuler 嵌入式编译 rockchip recipes-kernel parse linux-rockchip_x.xx.bb failed
1.情况:根据openeuler 社区的编译指南:
#生成ok3568配置文件,
oebuild generate -p ok3568 -d ok3568
#进入构建交互终端
oebuild bitbake
#构建镜像
bitbake openeuler-image
开始编译后,parse 解析 linux-rockchip_4.19.bb failed
2.错误信息如下
Parsing recipes…
2023-11-21 17:57:49,502 - INFO - ERROR: /usr1/openeuler/src/yocto-poky/../yocto-meta-rockchip/recipes-kernel/linux/linux-rockchip_4.19.bb: Error during parse shell code, the last 5 lines are:
bbnote “Final scc/cfg list: $sccs_defconfig $bsp_definition $sccs $KERNEL_FEATURES_FINAL”
fi
set -e
2023-11-21 17:57:49,502 - INFO - WARNING: /usr1/openeuler/src/yocto-poky/../yocto-meta-rockchip/recipes-kernel/linux/linux-rockchip_4.19.bb: Exception during build_dependencies for do_kernel_metadata
2023-11-21 17:57:49,503 - INFO - WARNING: /usr1/openeuler/src/yocto-poky/../yocto-meta-rockchip/recipes-kernel/linux/linux-rockchip_4.19.bb: Error during finalise of /usr1/openeuler/src/yocto-poky/../yocto-meta-rockchip/recipes-kernel/linux/linux-rockchip_4.19.bb
2023-11-21 17:57:49,741 - INFO - ERROR: Unable to parse /usr1/openeuler/src/yocto-poky/../yocto-meta-rockchip/recipes-kernel/linux/linux-rockchip_4.19.bb
Traceback (most recent call last):
File “/usr1/openeuler/src/yocto-poky/bitbake/lib/bb/pysh/pyshyacc.py”, line 650, in p_error(p=LexToken(OR_IF,’||’,0,0)):
w(‘Unexpected EOF’)
> raise sherrors.ShellSyntaxError(''.join(msg))
bb.pysh.sherrors.ShellSyntaxError: LexToken(OR_IF,’||’,0,0)
followed by:
LexToken(TOKEN,’true’,0,0)
LexToken(NEWLINE,’\n’,0,0)
LexToken(Fi,’fi’,0,0)
LexToken(NEWLINE,’\n’,0,0)
LexToken(TOKEN,’cd’,0,0)
ERROR: Parsing halted due to errors, see error messages above
2023-11-21 17:57:50,129 - INFO - Summary: There were 2 WARNING messages.
Summary: There were 3 ERROR messages, returning a non-zero exit code.
3.查看这个报错的位置,发现与这个 linux-rockchip_4.19.bb 的书写没有异常,即使查到 do_kernel_metadata 这个位置,也无书写问题,不清楚是什么问题。请帮忙看看需要如何解决?
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片
-
2012-12-24 14:27:48
-
2018-07-06 16:02:29
-
2025-05-15 16:24:16
-
2020-10-14 11:01:04
-
342019-07-19 19:18:52
-
222019-08-20 16:57:22
-
2017-06-05 15:20:33
-
2015-01-13 22:56:29
-
2015-01-26 22:36:17
-
02016-06-22 23:45:46
-
2012-12-24 14:27:15
-
2013-11-18 14:09:30
-
2015-03-24 11:26:06
-
2008-08-07 19:02:21
-
2009-06-26 08:48:33
-
2013-11-19 19:13:45
-
2017-06-12 15:29:09
-
2022-01-05 19:56:09
-
02013-11-18 15:31:11
-
5hisi3516cv610 + gc4336p 夜晚很模糊
-
5AIISP(功能演示,SC4336P为BGGR,强制转RGGB,会导致颜色异常)
-
5rv1106使用luckfox的SDK,设备树和驱动都写好了,结果设备文件没有生成
-
5海思3516cv610中如何进行SD卡升级,根据官方文档操作,烧录进板子时,走的默认uboot,没有执行uboot升级。
-
5G610Q-IPC-38E 夜晚很暗 有什么办法解决吗 已经补光了
-
10转换模型时,SoC版本里没显示hi3516cv610芯片
-
5hisi3516cv610 使用 yolov8n 模型训练 要如何提高 这里识别的是人
-
10有人在海思平台接过SC035HGS吗
-
5关于hi3519dv500,以SD卡虚拟 U 盘操作
-
5ss928 sample_venc代码移植到openEuler24.03上执行报错 [sample_comm_vi_start_dev]-1068: vi set dev attr failed wi
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明

微信扫码分享
QQ好友
该回答已被题主采纳为最佳答案