[yocto] gstreamer without X11?

Gary Thomas gary at mlbassoc.com
Tue Jan 14 06:30:49 PST 2014


On 2014-01-14 07:24, Burton, Ross wrote:
> On 14 January 2014 14:20, Gary Thomas <gary at mlbassoc.com> wrote:
>>> pango looks suspicious here. it's not there by default. so something seems
>>> to be setting PACKAGECONFIG in your config, and that could be the root cause
>>> of your problem...
>>
>> The error says nothing about pango, is only says that virtual/libx11
>> is missing.
>
> Suspicious because it's not a default value in oe-core, so it must be
> set by another layer.

Yes, that's what I found.

>
>> That said, this was a problem of my own doing :-(  I have this in
>> gst-plugins-base_0.10.36.bbappend:
>>    # Enable extra plugins
>>    PACKAGECONFIG += "pango x11"
>>
>> Sorry for all the noise.  It's still too bad that bitbake didn't really
>> help me find this, only spitting out those errors...
>
> This is exactly what bitbake -e is for - if you don't use grep you'll
> see all the assignments that are processed and where they come from.
> I thought it would be more lenient in the face of errors, but
> obviously not in this case.  I wonder if this can be improved.

You can duplicate this with off-the-shelf Poky/Yocto.  Just disable x11
in local.conf
   DISTRO_FEATURES_remove = "x11"
Then you'll get this error:
   [gthomas at titan q_test]$ bitbake -e virtual/libx11
   Loading cache: 100% |##################################################################################| ETA:  00:00:00
   Loaded 1188 entries from dependency cache.
   ERROR: Nothing PROVIDES 'virtual/libx11'
   ERROR: libx11-diet PROVIDES virtual/libx11 but was skipped: missing required distro feature ['x11'] (not in DISTRO_FEATURES)
   ERROR: libx11 PROVIDES virtual/libx11 but was skipped: missing required distro feature ['x11'] (not in DISTRO_FEATURES)
   ERROR: nativesdk-libx11 PROVIDES virtual/libx11 but was skipped: missing required distro feature ['x11'] (not in DISTRO_FEATURES)

Should I file a bitbake bug?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the yocto mailing list