Yocto:无法继承文件类/autotools-brokensp.bbclass
我是yocto项目的新手。运行bitbake命令时出现以下错误Yocto:无法继承文件类/autotools-brokensp.bbclass,yocto,bitbake,pandaboard,Yocto,Bitbake,Pandaboard,我是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-broken
$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文件是(仅编辑行)
任何熟悉这些类型错误的人??
请随时询问是否需要任何进一步的细节来了解问题
编辑:
这是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"
问题:它无法定位
autotools BrokenSP.bbclass
,在您的persistence-client-library\u git.bb
中提到的autotools BrokenSP.bbclass
解决方案:在文件所在的
bblayers.conf
中提供文件路径,甚至检查文件所在的th layers.conf。请发布此文件:/home/zappy/Desktop/fyocto/meta ivi/meta ivi/recipes extended/persistence client library/persistence-client-library\u git。bb@BitBlitz . 请检查编辑的部分。。谢谢你你正在使用poky(meta和meta yocto)以及meta ivi的哪些版本(修订版)?谢谢@迪利普·库马尔。。在我的poky/metaclass/目录下没有名为autotools-brokensp.bbclass的文件。我手动下载文件并复制到那里。这修正了错误。但这里出现了一个新的错误。。。。没有可用的配方:/home/rajeesh/Desktop/fyocto/meta-ivi/meta-ivi/recipes-connectivity/bluez5/bluez5\%.bbappend………@zappy这是一个新的错误,您需要根据可用的配方和它需要的其他文件进行调试。@zappy您需要确保使用的是正确版本的poky元ivi。您的分支和版本不匹配。@Anders,但我遵循此操作选择版本。如果不匹配,请更正wrong@zappy不,你没有按照链接中的说明去做,至少没有按字母去做。。。5.0分支中的持久性客户端库配方不继承autotools BrokenSP,它继承常规autotools类。这样做是因为它基于Poky的dora版本,该版本没有将构建目录与源目录分开。我猜你可能有Poky的dora分支,但是meta ti的master分支。您不需要为了开始构建而将文件复制到元层。
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"