我正在尝试使用带有ROS元层(thud-draft(的Poky 2.6(thud(构建自定义Linux映像。该映像是为 x86-64 系统构建的。我的bblayers.conf
文件的内容如下
# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
ROS_DISTRO = "melodic"
BBLAYERS ?= "
/home/kogrob/devel/poky/meta
/home/kogrob/devel/poky/meta-poky
/home/kogrob/devel/poky/meta-yocto-bsp
/home/kogrob/devel/poky/meta-openembedded/meta-oe
/home/kogrob/devel/poky/meta-ros/meta-ros-common
/home/kogrob/devel/poky/meta-ros/meta-ros1-melodic
/home/kogrob/devel/poky/meta-openembedded/meta-python
/home/kogrob/devel/poky/meta-ros/meta-ros-backports-warrior
/home/kogrob/devel/poky/meta-ros/meta-ros1
"
生成失败,出现以下错误
Function failed: do_compile (log file is located at /home/kogrob/poky/build-toaster-2/tmp/work/core2-64-poky-linux/btrfs-tools/4.17.1-r0/temp/log.do_compile.26496)
Function failed: do_compile (log file is located at /home/kogrob/poky/build-toaster-2/tmp/work/core2-64-poky-linux/boost/1.68.0-r0/temp/log.do_compile.27908)
当使用bitbake boost
单独构建时,提升构建,但 btrfs 工具每次都失败。btrfs工具的需求是什么,是否可以删除btrfs工具并在没有它的情况下构建映像。
日志文件可在此处找到: log.do_compile.26496 log.do_compile.27908
在我的Unbuntu主机上(Ubuntu 16.04.6 LTS x86_64(,尝试以下命令:pip install setuptools
但它不起作用,因为 do_compile(( 使用 yocto 生成的 python 二进制文件,而不是 Ubuntu 内置的二进制文件,如下所示:
build/tmp/work/aarch64-sdrv-linux/btrfs-tools/4.17.1-r0/recipe-sysroot-native/usr/bin/python3-native/python3
.