1

我是 yocto 项目的新手。运行 bitbake 命令时出现以下错误

$bitbake gemini-image

ERROR: ParseError at /home/zappy/Desktop/fyocto/meta-ivi/meta-ivi/recipes-extended/persistence-client-library/persistence-client-library_git.bb:18: Could not inherit file classes/autotools-brokensep.bbclass
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

我的 bblayers.conf 文件是

# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
LCONF_VERSION = "6"

BBPATH = "${TOPDIR}"
BBFILES ?= ""

BBLAYERS ?= " \
  /home/zappy/Desktop/fyocto/poky/meta \
  /home/zappy/Desktop/fyocto/poky/meta-yocto \
  /home/zappy/Desktop/fyocto/poky/meta-yocto-bsp \
  /home/zappy/Desktop/fyocto/meta-ivi/meta-ivi \
  /home/zappy/Desktop/fyocto/meta-ti \
  "
BBLAYERS_NON_REMOVABLE ?= " \
  /home/zappy/Desktop/fyocto/poky/meta \
  /home/zappy/Desktop/fyocto/poky/meta-yocto \

我的 local.conf 文件是(仅限编辑的行)

MACHINE?= ”pandaboard”
DISTRO ?= "poky-ivi-systemd"
INCOMPATIBLE_LICENSE = "GPLv3"

任何人熟悉这些类型的错误?请随时询问是否需要任何进一步的细节来理解问题

编辑:这是 persistence-client-library_git.bb 文件

SUMMARY = "GENIVI Persistence Client Library"
DESCRIPTION = "The Persistence Management is responsible to handle \
persistent data, including all data read and modified often during \
a lifetime of an infotainment system."
HOMEPAGE = "http://projects.genivi.org/persistence-client-library"
BUGTRACKER = "http://bugs.genivi.org/enter_bug.cgi?product=Persistence"
LICENSE = "MPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=6161c6840f21a000e9b52af81d2ca823"

DEPENDS = "dlt-daemon dbus libcheck persistence-common-object"

PV = "7.0+git${SRCPV}"

SRC_URI = "git://git.projects.genivi.org/persistence/persistence-client-library.git"
SRCREV  = "441b3ce710ec6b7f1e6360cdf29e5c4243af9f1e"
S = "${WORKDIR}/git"

inherit pkgconfig autotools-brokensep

PARALLEL_MAKE = ""

FILES_${PN} = " \
   ${libdir}/*.so \
   ${libdir}/*.so.* \
   ${sysconfdir} \
"

do_install_append() {
    install -d ${D}${sysconfdir}/dbus-1/system.d
    install -m 0644 ${S}/config/org.genivi.persistence.admin.conf ${D}${sysconfdir}/dbus-1/system.d
}

RDEPENDS_${PN} = "node-state-manager"
4

1 回答 1

3

问题:它无法找到您的asautotools-brokensep.bbclass中提到的persistence-client-library_git.bbinherit pkgconfig autotools-brokensep

解决方法:提供文件bblayers.conf所在的文件路径,甚至查看文件所在的layers.conf。

于 2015-05-11T06:51:02.087 回答