[yocto] gstreamer without X11?

Gary Thomas gary at mlbassoc.com
Tue Jan 14 06:20:57 PST 2014


On 2014-01-14 07:01, Nicolas Dechesne wrote:
>
> On Tue, Jan 14, 2014 at 2:55 PM, Gary Thomas <gary at mlbassoc.com <mailto:gary at mlbassoc.com>> wrote:
>
>     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/g__st-plugins-base_0.10.36.bb <http://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]$
>
>
> 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.

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...

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



More information about the yocto mailing list