<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 16, 2013 at 11:34 AM, Paul D. DeRocco <span dir="ltr"><<a href="mailto:pderocco@ix.netcom.com" target="_blank">pderocco@ix.netcom.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">> > On Mon, Sep 16, 2013 at 10:02 AM, Paul D. DeRocco<br>
> > <<a href="mailto:pderocco@ix.netcom.com">pderocco@ix.netcom.com</a>> wrote:<br>
> ><br>
> > This image recipe has some Python that complains<br>
> > because "x11" is in<br>
> > DISTRO_FEATURES. How do I find out where that "x11" is<br>
> > coming from? This<br>
> > is a Gumstix build, so I suspect it's indirectly<br>
> > related to my selecting<br>
> > "overo" as the MACHINE, because otherwise building this<br>
> > image would never<br>
> > have worked with the plain Yocto meta-data. So how do I<br>
> > track this down?<br>
<br>
</div>> From: Chris Larson<br>
<div class="im">><br>
> Assuming you're using recent metadata, bitbake -e somerecipe<br>
> will show you this.<br>
<br>
</div>This isn't working for me. The image I'm trying to build is<br>
core-image-gtk-directfb. The recipe is in meta/recipes-graphics/images. If<br>
I just type "bitbake -k core-image-gtk-directfb", I get two errors:<br>
<br>
ERROR: Nothing PROVIDES 'core-image-gtk-directfb'<br>
ERROR: core-image-gtk-directfb was skipped: FEATURE "x11" is in<br>
DISTRO_FEATURES, Please remove "x11" from DISTRO_FEATURES, use<br>
"gtk-directfb" instead of it<br>
<br>
I don't understand the "Nothing PROVIDES" error. Doesn't a recipe called<br>
<a href="http://x.bb" target="_blank">x.bb</a> PROVIDE x by default? The second error comes from the bit of Python<br>
in that recipe, which at least proves that it's reading that recipe.<br></blockquote><div><br></div><div style>It does, but in this case it 'skips' itself, telling bitbake it's not available to be built given the current context, hence isn't provided by that recipe.</div>

<div style><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If I type "bitbake -e core-image-gtk-directfb", I just get the first<br>
error. This happens almost instantly, before it's done any real work, so<br>
I'm not getting any further output.</blockquote><div><br></div><div style>It's raising that error to bitbake in the parsing process, unfortunately, which means it can't be used as a target even for informational purposes like -e.</div>

</div><br>To look at a global variable like DISTRO_FEATURES, use bitbake -e without any arguments.<br>-- <br>Christopher Larson<br>clarson at kergoth dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>

Senior Software Engineer, Mentor Graphics
</div></div>