ERROR: demo-experience-smart-kitchen-1.0-r0 do_patch: ExecutionError('/home/rlk/myir/MYD-LMX9X-yocto/build-lmx9x/tmp/work/armv8a-poky-linux/demo-experience-smart-kitchen/1.0-r0/temp/run.do_patch.695215', 1, None, None)
ERROR: Logfile of failure stored in: /home/rlk/myir/MYD-LMX9X-yocto/build-lmx9x/tmp/work/armv8a-poky-linux/demo-experience-smart-kitchen/1.0-r0/temp/log.do_patch.695215
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/home/rlk/myir/MYD-LMX9X-yocto/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', 'virtual:native:/home/rlk/myir/MYD-LMX9X-yocto/sources/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['quilt-native', 'patch-native', 'attr-native', 'libtool-native', 'gettext-minimal-native', 'texinfo-dummy-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_patch
| mv: cannot stat '/home/rlk/myir/MYD-LMX9X-yocto/build-lmx9x/tmp/work/armv8a-poky-linux/demo-experience-smart-kitchen/1.0-r0/0001-Added-custom_tick_get-function.patch': No such file or directory
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/rlk/myir/MYD-LMX9X-yocto/sources/meta-nxp-demo-experience/recipes-nxp-demo-experience/demos/demo-experience-smart-kitchen.bb:do_patch) failed with exit code '1'
在编译yocto时,未配置git config --global user.email/user.name,编译报错,然后再次编译的时候报该错误
解决办法:
1.配置git config --global user.email/user.name
2.搜索0001-Added-custom_tick_get-function.patch文件,并复制到MYD-LMX9X-yocto/build-lmx9x/tmp/work/armv8a-poky-linux/demo-experience-smart-kitchen/1.0-r0/目录下
3.再次编译,问题解决

被折叠的 条评论
为什么被折叠?



