我想在我的设备Imx6上安装mender,因为我成功地添加了图层meta-mender-core,但是当我尝试bitbake vim例如我得到:
rama@RR06:/oe-core/build$ bitbake vim
NOTE: Trying for parse version info from: gcc version 5.2.1 20151005 (Linaro GCC 5.2-2015.11-2)
NOTE: Trying for parse version info from: gcc version 5.2.1 20151005 (Linaro GCC 5.2-2015.11-2)
NOTE: Trying for parse version info from: gcc version 5.2.1 20151005 (Linaro GCC 5.2-2015.11-2)
Loading cache: 100% |#########################################################################################| ETA: 00:00:00
Loaded 983 entries from dependency cache.
NOTE: Error during finalise of /home/rama/repositories/meta-mender/meta-mender-core/recipes-mender/mender-artifact/mender-artifact_2.1.1.bb
NOTE: Error during finalise of /home/rama/repositories/meta-mender/meta-mender-core/recipes-mender/mender-artifact/mender-artifact_2.0.0.bb
NOTE: Error during finalise of /home/rama/repositories/meta-mender/meta-mender-core/recipes-mender/mender-artifact/mender-artifact_2.0.1.bb
NOTE: Error during finalise of /home/rama/repositories/meta-mender/meta-mender-core/recipes-mender/mender-artifact/mender-artifact_git.bb
NOTE: Error during finalise of /home/rama/repositories/meta-mender/meta-mender-core/recipes-mender/mender-artifact/mender-artifact_1.0.0.bb
NOTE: Error during finalise of /home/rama/repositories/meta-mender/meta-mender-core/recipes-mender/mender-artifact/mender-artifact_2.0.2.bb
NOTE: Error during finalise of /home/rama/repositories/meta-mender/meta-mender-core/recipes-mender/mender-artifact/mender-artifact_2.1.0.bb
NOTE: Error during finalise of /home/rama/repositories/meta-mender/meta-mender-core/recipes-mender/mender/mender_1.3.0b1.bb
NOTE: Error during finalise of /home/rama/repositories/meta-mender/meta-mender-core/recipes-mender/mender/mender_1.2.1.bb
NOTE: Error during finalise of /home/rama/repositories/meta-mender/meta-mender-core/recipes-mender/mender/mender_1.1.1.bb
NOTE: Error during finalise of /home/rama/repositories/meta-mender/meta-mender-core/recipes-mender/mender/mender_git.bb
ERROR: ExpansionError during parsing /home/rama/repositories/meta-mender/meta-mender-core/recipes-mender/mender-artifact/mender-artifact_1.0.0.bb: Failure expanding variable GOPTESTBUILDFLAGS: SkipPackage: Unsupported CPU architecture: ${TUNE_ARCH}
NOTE: Error during finalise of /home/rama/repositories/meta-mender/meta-mender-core/recipes-mender/mender/mender_1.1.0.bb
NOTE: Error during finalise of /home/rama/repositories/meta-mender/meta-mender-core/recipes-mender/mender/mender_1.0.0.bb
NOTE: Error during finalise of /home/rama/repositories/meta-mender/meta-mender-core/recipes-mender/mender/mender_1.2.0.bb
NOTE: Error during finalise of /home/rama/repositories/meta-mender/meta-mender-core/recipes-mender/mender/mender_1.0.1.bb
NOTE: Error during finalise of /home/rama/repositories/meta-mender/meta-mender-core/recipes-mender/mender/mender_1.1.2.bb
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
如果我删除meta-mender-core图层,vim会成功烘焙。
我使用Ubuntu 14.04,而mender的分支是pyro
答案 0 :(得分:0)
我无法确定*,但我认为问题基于poky和meta-mender-core之间不兼容的版本。
此错误告诉我们 bitbake 无法找到此变量的定义 GOPTESTBUILDFLAGS 。
我假设您在poky或更老版本上使用pyro分支,并且在下一版本中 go.bbclass 定义 GOPTESTBUILDFLAGS 时它出现{{3} }。我的建议是尝试将poky版本更新到rocko分支。
使用最新版本的poky,meta-mender-core和meta-oe(rocko go.bbclass),我能够使用此配置层“烘焙” vim 。
*在更改为pyro分支(meta-mender-core)之后,我找不到任何其他使用 GOPTESTBUILDFLAGS 变量的文件来重现此问题。