[yocto] gstreamer without X11?

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


On 2014-01-14 07:37, Burton, Ross wrote:
> On 14 January 2014 14:30, Gary Thomas <gary at mlbassoc.com> wrote:
>> 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?
>
> I can't see (although I'm no bitbake expert) why -e has to consider
> dependencies.  For example, bitbake -e -b
> ../meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.36.bb with
> x11 removed from DISTRO_FEATURES correctly shows PACKAGECONFIG="".

Yes, that one works.  Testing for virtual/libx11 does not.

>
> Filing a bug seems reasonable to me.
>

Filed as bug #5724

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



More information about the yocto mailing list