* gstreamer without X11?
@ 2014-01-14 13:07 Gary Thomas
2014-01-14 13:12 ` Nicolas Dechesne
0 siblings, 1 reply; 15+ messages in thread
From: Gary Thomas @ 2014-01-14 13:07 UTC (permalink / raw)
To: Yocto Project
I'm trying to build QTE with a distribution that does not include x11.
However, I'm getting this error:
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)
NOTE: Runtime target 'qwt-e' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['qwt-e', 'qt4-embedded', 'gst-plugins-base', 'virtual/libx11']
ERROR: Required build target 'my-qte-image' has no buildable providers.
Missing or unbuildable dependency chain was: ['my-qte-image', 'packagegroup-core-qt4e', 'qwt-e', 'qt4-embedded', 'gst-plugins-base', 'virtual/libx11']
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"
How can the depencency on virtual/libx11 still be there if DISTRO_FEATURES does not contain x11?
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: gstreamer without X11?
2014-01-14 13:07 gstreamer without X11? Gary Thomas
@ 2014-01-14 13:12 ` Nicolas Dechesne
2014-01-14 13:18 ` Gary Thomas
0 siblings, 1 reply; 15+ messages in thread
From: Nicolas Dechesne @ 2014-01-14 13:12 UTC (permalink / raw)
To: Gary Thomas; +Cc: Yocto Project
[-- Attachment #1: Type: text/plain, Size: 1980 bytes --]
On Tue, Jan 14, 2014 at 2:07 PM, Gary Thomas <gary@mlbassoc.com> wrote:
> I'm trying to build QTE with a distribution that does not include x11.
> However, I'm getting this error:
>
> 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)
> NOTE: Runtime target 'qwt-e' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['qwt-e', 'qt4-embedded',
> 'gst-plugins-base', 'virtual/libx11']
> ERROR: Required build target 'my-qte-image' has no buildable providers.
> Missing or unbuildable dependency chain was: ['my-qte-image',
> 'packagegroup-core-qt4e', 'qwt-e', 'qt4-embedded', 'gst-plugins-base',
> 'virtual/libx11']
>
> 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"
>
> How can the depencency on virtual/libx11 still be there if DISTRO_FEATURES
> does not contain x11?
>
obvious question... are you sure DISTRO_FEATURES does not contain x11? did
you define you own distro config? it is there by default, so unless you did
something to remove it, it will be there.
you can display the value of the variable with
bitbake -e gst-plugins-base | grep ^DISTRO_FEATURES
you can check the value of PACKAGECONFIG as well to get more information.
[-- Attachment #2: Type: text/html, Size: 2904 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: gstreamer without X11?
2014-01-14 13:12 ` Nicolas Dechesne
@ 2014-01-14 13:18 ` Gary Thomas
2014-01-14 13:32 ` Burton, Ross
0 siblings, 1 reply; 15+ messages in thread
From: Gary Thomas @ 2014-01-14 13:18 UTC (permalink / raw)
To: Nicolas Dechesne; +Cc: Yocto Project
On 2014-01-14 06:12, Nicolas Dechesne wrote:
>
> On Tue, Jan 14, 2014 at 2:07 PM, Gary Thomas <gary@mlbassoc.com <mailto:gary@mlbassoc.com>> wrote:
>
> I'm trying to build QTE with a distribution that does not include x11.
> However, I'm getting this error:
>
> 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)
> NOTE: Runtime target 'qwt-e' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['qwt-e', 'qt4-embedded', 'gst-plugins-base', 'virtual/libx11']
> ERROR: Required build target 'my-qte-image' has no buildable providers.
> Missing or unbuildable dependency chain was: ['my-qte-image', 'packagegroup-core-qt4e', 'qwt-e', 'qt4-embedded', 'gst-plugins-base', 'virtual/libx11']
>
> 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"
>
> How can the depencency on virtual/libx11 still be there if DISTRO_FEATURES does not contain x11?
>
>
> obvious question... are you sure DISTRO_FEATURES does not contain x11? did you define you own distro config? it is there by default, so unless you did something to remove it, it
> will be there.
>
> you can display the value of the variable with
>
> bitbake -e gst-plugins-base | grep ^DISTRO_FEATURES
>
> you can check the value of PACKAGECONFIG as well to get more information.
Yes, I explicitly removed this in local.conf:
[gthomas@titan imx6_test]$ tail -n5 conf/local.conf
# Enable local PR server - edit this to use a shared server
PRSERV_HOST = "localhost:0"
DISTRO_FEATURES_remove = "x11 wayland"
[gthomas@titan imx6_test]$ bitbake -e gst-plugins-base | grep ^DISTRO_FEATURES
... nothing
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: gstreamer without X11?
2014-01-14 13:18 ` Gary Thomas
@ 2014-01-14 13:32 ` Burton, Ross
2014-01-14 13:34 ` Gary Thomas
0 siblings, 1 reply; 15+ messages in thread
From: Burton, Ross @ 2014-01-14 13:32 UTC (permalink / raw)
To: Gary Thomas; +Cc: Yocto Project
On 14 January 2014 13:18, Gary Thomas <gary@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).
Ross
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: gstreamer without X11?
2014-01-14 13:32 ` Burton, Ross
@ 2014-01-14 13:34 ` Gary Thomas
2014-01-14 13:38 ` Nicolas Dechesne
2014-01-14 13:47 ` Martin Jansa
0 siblings, 2 replies; 15+ messages in thread
From: Gary Thomas @ 2014-01-14 13:34 UTC (permalink / raw)
To: Burton, Ross; +Cc: Yocto Project
On 2014-01-14 06:32, Burton, Ross wrote:
> On 14 January 2014 13:18, Gary Thomas <gary@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
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: gstreamer without X11?
2014-01-14 13:34 ` Gary Thomas
@ 2014-01-14 13:38 ` Nicolas Dechesne
2014-01-14 13:47 ` Martin Jansa
1 sibling, 0 replies; 15+ messages in thread
From: Nicolas Dechesne @ 2014-01-14 13:38 UTC (permalink / raw)
To: Gary Thomas; +Cc: Yocto Project
[-- Attachment #1: Type: text/plain, Size: 660 bytes --]
On Tue, Jan 14, 2014 at 2:34 PM, Gary Thomas <gary@mlbassoc.com> wrote:
> Not sure exactly what you mean, but this showed nothing as well:
> $ bitbake -e gst-plugins-base | grep PACKAGECONFIG
>
what do you mean, 'it shows nothing'? it show show 'something'. if x11 is
enabled:
$ bitbake -e gst-plugins-base | grep PACKAGECONFIG
# $PACKAGECONFIG_pn-qemu-native
PACKAGECONFIG_pn-qemu-native="sdl"
# $PACKAGECONFIG [6 operations]
PACKAGECONFIG="x11"
and if it's not:
$ bitbake -e gst-plugins-base | grep PACKAGECONFIG
# $PACKAGECONFIG_pn-qemu-native
PACKAGECONFIG_pn-qemu-native="sdl"
# $PACKAGECONFIG [6 operations]
PACKAGECONFIG=""
[-- Attachment #2: Type: text/html, Size: 1510 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: gstreamer without X11?
2014-01-14 13:34 ` Gary Thomas
2014-01-14 13:38 ` Nicolas Dechesne
@ 2014-01-14 13:47 ` Martin Jansa
2014-01-14 13:55 ` Gary Thomas
1 sibling, 1 reply; 15+ messages in thread
From: Martin Jansa @ 2014-01-14 13:47 UTC (permalink / raw)
To: Gary Thomas; +Cc: Yocto Project
[-- Attachment #1: Type: text/plain, Size: 985 bytes --]
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@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.
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: gstreamer without X11?
2014-01-14 13:47 ` Martin Jansa
@ 2014-01-14 13:55 ` Gary Thomas
2014-01-14 14:01 ` Nicolas Dechesne
0 siblings, 1 reply; 15+ messages in thread
From: Gary Thomas @ 2014-01-14 13:55 UTC (permalink / raw)
To: yocto
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@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@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@titan imx6_test]$ bitbake -e gst-plugins-base | grep PACKAGECONFIG
# $PACKAGECONFIG [7 operations]
PACKAGECONFIG=" pango x11"
[gthomas@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
------------------------------------------------------------
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: gstreamer without X11?
2014-01-14 13:55 ` Gary Thomas
@ 2014-01-14 14:01 ` Nicolas Dechesne
2014-01-14 14:20 ` Burton, Ross
2014-01-14 14:20 ` Gary Thomas
0 siblings, 2 replies; 15+ messages in thread
From: Nicolas Dechesne @ 2014-01-14 14:01 UTC (permalink / raw)
To: Gary Thomas; +Cc: Yocto list discussion
[-- Attachment #1: Type: text/plain, Size: 1869 bytes --]
On Tue, Jan 14, 2014 at 2:55 PM, Gary Thomas <gary@mlbassoc.com> wrote:
> Sorry, no, when x11 is missing, I only get this error:
>
>
> [gthomas@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@titan imx6_test]$ bitbake -e gst-plugins-base | grep
> PACKAGECONFIG
> # $PACKAGECONFIG [7 operations]
> PACKAGECONFIG=" pango x11"
> [gthomas@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...
> Note this is using Poky master that's about a week old, but I doubt that
> anything has changed in this realm.
>
[-- Attachment #2: Type: text/html, Size: 2797 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: gstreamer without X11?
2014-01-14 14:01 ` Nicolas Dechesne
@ 2014-01-14 14:20 ` Burton, Ross
2014-01-14 14:20 ` Gary Thomas
1 sibling, 0 replies; 15+ messages in thread
From: Burton, Ross @ 2014-01-14 14:20 UTC (permalink / raw)
To: Nicolas Dechesne; +Cc: Yocto list discussion, Gary Thomas
On 14 January 2014 14:01, Nicolas Dechesne <nicolas.dechesne@linaro.org> wrote:
>> [gthomas@titan imx6_test]$ bitbake -e gst-plugins-base | grep
>> PACKAGECONFIG
>> # $PACKAGECONFIG [7 operations]
>> PACKAGECONFIG=" pango x11"
>> [gthomas@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...
Agreed. Don't use grep and you'll see all the assignments and where
they are from.
Ross
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: gstreamer without X11?
2014-01-14 14:01 ` Nicolas Dechesne
2014-01-14 14:20 ` Burton, Ross
@ 2014-01-14 14:20 ` Gary Thomas
2014-01-14 14:24 ` Burton, Ross
1 sibling, 1 reply; 15+ messages in thread
From: Gary Thomas @ 2014-01-14 14:20 UTC (permalink / raw)
To: Nicolas Dechesne; +Cc: Yocto list discussion
On 2014-01-14 07:01, Nicolas Dechesne wrote:
>
> On Tue, Jan 14, 2014 at 2:55 PM, Gary Thomas <gary@mlbassoc.com <mailto:gary@mlbassoc.com>> wrote:
>
> Sorry, no, when x11 is missing, I only get this error:
>
>
>
> [gthomas@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@titan imx6_test]$ bitbake -e gst-plugins-base | grep PACKAGECONFIG
> # $PACKAGECONFIG [7 operations]
> PACKAGECONFIG=" pango x11"
> [gthomas@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
------------------------------------------------------------
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: gstreamer without X11?
2014-01-14 14:20 ` Gary Thomas
@ 2014-01-14 14:24 ` Burton, Ross
2014-01-14 14:30 ` Gary Thomas
0 siblings, 1 reply; 15+ messages in thread
From: Burton, Ross @ 2014-01-14 14:24 UTC (permalink / raw)
To: Gary Thomas; +Cc: Yocto list discussion
On 14 January 2014 14:20, Gary Thomas <gary@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.
> 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.
Ross
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: gstreamer without X11?
2014-01-14 14:24 ` Burton, Ross
@ 2014-01-14 14:30 ` Gary Thomas
2014-01-14 14:37 ` Burton, Ross
0 siblings, 1 reply; 15+ messages in thread
From: Gary Thomas @ 2014-01-14 14:30 UTC (permalink / raw)
To: Burton, Ross; +Cc: Yocto list discussion
On 2014-01-14 07:24, Burton, Ross wrote:
> On 14 January 2014 14:20, Gary Thomas <gary@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@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
------------------------------------------------------------
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: gstreamer without X11?
2014-01-14 14:30 ` Gary Thomas
@ 2014-01-14 14:37 ` Burton, Ross
2014-01-14 14:49 ` Gary Thomas
0 siblings, 1 reply; 15+ messages in thread
From: Burton, Ross @ 2014-01-14 14:37 UTC (permalink / raw)
To: Gary Thomas; +Cc: Yocto list discussion
On 14 January 2014 14:30, Gary Thomas <gary@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@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="".
Filing a bug seems reasonable to me.
Ross
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: gstreamer without X11?
2014-01-14 14:37 ` Burton, Ross
@ 2014-01-14 14:49 ` Gary Thomas
0 siblings, 0 replies; 15+ messages in thread
From: Gary Thomas @ 2014-01-14 14:49 UTC (permalink / raw)
To: Burton, Ross; +Cc: Yocto list discussion
On 2014-01-14 07:37, Burton, Ross wrote:
> On 14 January 2014 14:30, Gary Thomas <gary@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@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
------------------------------------------------------------
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2014-01-14 14:49 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-14 13:07 gstreamer without X11? Gary Thomas
2014-01-14 13:12 ` Nicolas Dechesne
2014-01-14 13:18 ` Gary Thomas
2014-01-14 13:32 ` Burton, Ross
2014-01-14 13:34 ` Gary Thomas
2014-01-14 13:38 ` Nicolas Dechesne
2014-01-14 13:47 ` Martin Jansa
2014-01-14 13:55 ` Gary Thomas
2014-01-14 14:01 ` Nicolas Dechesne
2014-01-14 14:20 ` Burton, Ross
2014-01-14 14:20 ` Gary Thomas
2014-01-14 14:24 ` Burton, Ross
2014-01-14 14:30 ` Gary Thomas
2014-01-14 14:37 ` Burton, Ross
2014-01-14 14:49 ` Gary Thomas
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.