<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi,<div>I have a recipe, where It need protobuf-c-compiler (natvily) to auto generate files before it can be compiled. i have added protobuf-c-native in the DEPENDS list. but the compilation is failling at do_autogen, compiling the proto-c is not installed in staging_bindir_native.</div><div>But if  bitbake protobuf-c-native manually and then bitbake the recipe it is working fine. </div><div><br></div><div>how to enforce protobuf-c-native is installed in the this recipe ? </div><div><font size="2"><br></font></div><div><div><font face="Segoe UI, Segoe UI Web Regular, Segoe UI Symbol, Helvetica Neue, BBAlpha Sans, S60 Sans, Arial, sans-serif" size="2"><span style="line-height: 17.1945px; background-color: rgb(255, 255, 255);">SECTION = "SWOS"</span></font></div><div><font face="Segoe UI, Segoe UI Web Regular, Segoe UI Symbol, Helvetica Neue, BBAlpha Sans, S60 Sans, Arial, sans-serif" size="2"><span style="line-height: 17.1945px; background-color: rgb(255, 255, 255);">PRIORITY = "optional"</span></font></div><div><font face="Segoe UI, Segoe UI Web Regular, Segoe UI Symbol, Helvetica Neue, BBAlpha Sans, S60 Sans, Arial, sans-serif" size="2"><span style="line-height: 17.1945px; background-color: rgb(255, 255, 255);">LICENSE = "CLOSED"</span></font></div><div><font face="Segoe UI, Segoe UI Web Regular, Segoe UI Symbol, Helvetica Neue, BBAlpha Sans, S60 Sans, Arial, sans-serif" size="2"><span style="line-height: 17.1945px; background-color: rgb(255, 255, 255);"><br></span></font></div><div><font face="Segoe UI, Segoe UI Web Regular, Segoe UI Symbol, Helvetica Neue, BBAlpha Sans, S60 Sans, Arial, sans-serif" size="2"><span style="line-height: 17.1945px; background-color: rgb(255, 255, 255);">PROVIDES = "swos-app"</span></font></div><div><font face="Segoe UI, Segoe UI Web Regular, Segoe UI Symbol, Helvetica Neue, BBAlpha Sans, S60 Sans, Arial, sans-serif" size="2"><span style="line-height: 17.1945px; background-color: rgb(255, 255, 255);"><br></span></font></div><div><font face="Segoe UI, Segoe UI Web Regular, Segoe UI Symbol, Helvetica Neue, BBAlpha Sans, S60 Sans, Arial, sans-serif" size="2"><span style="line-height: 17.1945px; background-color: rgb(255, 255, 255);">PR = "r0"</span></font></div><div><font face="Segoe UI, Segoe UI Web Regular, Segoe UI Symbol, Helvetica Neue, BBAlpha Sans, S60 Sans, Arial, sans-serif" size="2"><span style="line-height: 17.1945px; background-color: rgb(255, 255, 255);">DEPENDS = " protobuf-c-native libev protobuf-c protobuf zeromq "</span></font></div><div><font face="Segoe UI, Segoe UI Web Regular, Segoe UI Symbol, Helvetica Neue, BBAlpha Sans, S60 Sans, Arial, sans-serif" size="2"><span style="line-height: 17.1945px; background-color: rgb(255, 255, 255);"><br></span></font></div><div><font face="Segoe UI, Segoe UI Web Regular, Segoe UI Symbol, Helvetica Neue, BBAlpha Sans, S60 Sans, Arial, sans-serif" size="2"><span style="line-height: 17.1945px; background-color: rgb(255, 255, 255);">FILESEXTRAPATHS_prepend = "${THISDIR}:"</span></font></div><div><font face="Segoe UI, Segoe UI Web Regular, Segoe UI Symbol, Helvetica Neue, BBAlpha Sans, S60 Sans, Arial, sans-serif" size="2"><span style="line-height: 17.1945px; background-color: rgb(255, 255, 255);">SRC_URI = "file://${PV}/swos.tar.gz"</span></font></div><div><font face="Segoe UI, Segoe UI Web Regular, Segoe UI Symbol, Helvetica Neue, BBAlpha Sans, S60 Sans, Arial, sans-serif" size="2"><span style="line-height: 17.1945px; background-color: rgb(255, 255, 255);"><br></span></font></div><div><font face="Segoe UI, Segoe UI Web Regular, Segoe UI Symbol, Helvetica Neue, BBAlpha Sans, S60 Sans, Arial, sans-serif" size="2"><span style="line-height: 17.1945px; background-color: rgb(255, 255, 255);">inherit cmake pkgconfig</span></font></div><div><font face="Segoe UI, Segoe UI Web Regular, Segoe UI Symbol, Helvetica Neue, BBAlpha Sans, S60 Sans, Arial, sans-serif" size="2"><span style="line-height: 17.1945px; background-color: rgb(255, 255, 255);">S = "${WORKDIR}/swos"</span></font></div><div><font face="Segoe UI, Segoe UI Web Regular, Segoe UI Symbol, Helvetica Neue, BBAlpha Sans, S60 Sans, Arial, sans-serif" size="2"><span style="line-height: 17.1945px; background-color: rgb(255, 255, 255);"><br></span></font></div><div><font face="Segoe UI, Segoe UI Web Regular, Segoe UI Symbol, Helvetica Neue, BBAlpha Sans, S60 Sans, Arial, sans-serif" size="2"><span style="line-height: 17.1945px; background-color: rgb(255, 255, 255);">FILES_${PN} = "${libdir}/*.so"</span></font></div><div><font face="Segoe UI, Segoe UI Web Regular, Segoe UI Symbol, Helvetica Neue, BBAlpha Sans, S60 Sans, Arial, sans-serif" size="2"><span style="line-height: 17.1945px; background-color: rgb(255, 255, 255);">FILES_${PN} += "${bindir}/*"</span></font></div><div><font face="Segoe UI, Segoe UI Web Regular, Segoe UI Symbol, Helvetica Neue, BBAlpha Sans, S60 Sans, Arial, sans-serif" size="2"><span style="line-height: 17.1945px; background-color: rgb(255, 255, 255);"><br></span></font></div><div><font face="Segoe UI, Segoe UI Web Regular, Segoe UI Symbol, Helvetica Neue, BBAlpha Sans, S60 Sans, Arial, sans-serif" size="2"><span style="line-height: 17.1945px; background-color: rgb(255, 255, 255);">do_autogen () {</span></font></div><div><font face="Segoe UI, Segoe UI Web Regular, Segoe UI Symbol, Helvetica Neue, BBAlpha Sans, S60 Sans, Arial, sans-serif" size="2"><span style="line-height: 17.1945px; background-color: rgb(255, 255, 255);">    ${STAGING_BINDIR_NATIVE}/protoc-c --proto_path=${S}/common/pbuf --c_out=${S}/common/pbuf/autogen-c ${S}/common/pbuf/*.proto</span></font></div><div><font face="Segoe UI, Segoe UI Web Regular, Segoe UI Symbol, Helvetica Neue, BBAlpha Sans, S60 Sans, Arial, sans-serif" size="2"><span style="line-height: 17.1945px; background-color: rgb(255, 255, 255);">}</span></font></div><div><font face="Segoe UI, Segoe UI Web Regular, Segoe UI Symbol, Helvetica Neue, BBAlpha Sans, S60 Sans, Arial, sans-serif" size="2"><span style="line-height: 17.1945px; background-color: rgb(255, 255, 255);"><br></span></font></div><div><font face="Segoe UI, Segoe UI Web Regular, Segoe UI Symbol, Helvetica Neue, BBAlpha Sans, S60 Sans, Arial, sans-serif" size="2"><span style="line-height: 17.1945px; background-color: rgb(255, 255, 255);">addtask do_autogen after do_configure before do_compile</span></font></div></div><div><font face="Segoe UI, Segoe UI Web Regular, Segoe UI Symbol, Helvetica Neue, BBAlpha Sans, S60 Sans, Arial, sans-serif"><span style="font-size: 12.1088px; line-height: 17.1945px; background-color: rgb(255, 255, 255);"><br></span></font></div><div><font face="Segoe UI, Segoe UI Web Regular, Segoe UI Symbol, Helvetica Neue, BBAlpha Sans, S60 Sans, Arial, sans-serif"><span style="font-size: 12.1088px; line-height: 17.1945px; background-color: rgb(255, 255, 255);"><br></span></font></div><div><font face="Segoe UI, Segoe UI Web Regular, Segoe UI Symbol, Helvetica Neue, BBAlpha Sans, S60 Sans, Arial, sans-serif"><span style="font-size: 12.1088px; line-height: 17.1945px; background-color: rgb(255, 255, 255);">thanks,</span></font></div><div><font face="Segoe UI, Segoe UI Web Regular, Segoe UI Symbol, Helvetica Neue, BBAlpha Sans, S60 Sans, Arial, sans-serif"><span style="font-size: 12.1088px; line-height: 17.1945px; background-color: rgb(255, 255, 255);">Sridhar Pitchai</span></font></div>                                           </div></body>
</html>