[yocto] gstreamer without X11?

Gary Thomas gary at mlbassoc.com
Tue Jan 14 05:55:49 PST 2014


On 2014-01-14 06:47, Martin Jansa wrote:
> On Tue, Jan 14, 2014 at 06:34:58AM -0700, Gary Thomas wrote:
>> On 2014-01-14 06:32, Burton, Ross wrote:
>>> On 14 January 2014 13:18, Gary Thomas <gary at mlbassoc.com> wrote:
>>>>>       I don't understand why this happens though as the gst-plugins-base
>>>>>       recipe uses PKGCONFIG to control this:
>>>>>          PACKAGECONFIG ??= "${@base_contains('DISTRO___FEATURES', 'x11',
>>>>> 'x11', '', d)}"
>>>>>          PACKAGECONFIG[x11] = "--enable-x --enable-xvideo,--disable-x
>>>>> --disable-xvideo,virtual/__libx11 libxv libsm libice"
>>>
>>>
>>> Check that gst-plugins-base resolved PACKAGECONFIG hasn't been
>>> explicitly set somewhere (again, use bitbake -e gst-plugins-base).
>>
>> Not sure exactly what you mean, but this showed nothing as well:
>>     $ bitbake -e gst-plugins-base | grep PACKAGECONFIG
>
> nothing? It should show at least assignment of empty value and a lot of
> PACKAGECONFIG usages.

Sorry, no, when x11 is missing, I only get this error:

[gthomas at titan imx6_test]$ bitbake -e gst-plugins-base
NOTE: Started PRServer with DBfile: /home/local/imx6_test/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 45092, PID: 22974
Loading cache: 100% |####################################################################################| ETA:  00:00:00
Loaded 1564 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'virtual/libx11' (but /home/local/poky-multi/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.36.bb DEPENDS on or otherwise requires it)
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)
ERROR: Required build target 'gst-plugins-base' has no buildable providers.
Missing or unbuildable dependency chain was: ['gst-plugins-base', 'virtual/libx11']

If I have x11 in DISTRO_FEATURES, I get a full dump and the grep shows something:

[gthomas at titan imx6_test]$ bitbake -e gst-plugins-base | grep PACKAGECONFIG
# $PACKAGECONFIG [7 operations]
PACKAGECONFIG=" pango x11"
[gthomas at titan imx6_test]$

Note this is using Poky master that's about a week old, but I doubt that
anything has changed in this realm.

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



More information about the yocto mailing list