Patchwork [01/10] default-provider: also define a default provider for gconf-native

login
register
mail settings
Submitter lumag
Date Sept. 23, 2011, 7:46 p.m.
Message ID <1316807201-22623-1-git-send-email-dbaryshkov@gmail.com>
Download mbox | patch
Permalink /patch/12049/
State New, archived
Headers show

Comments

lumag - Sept. 23, 2011, 7:46 p.m.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
---
 meta/conf/distro/include/default-providers.inc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
lumag - Sept. 26, 2011, 12:11 p.m.
Please delay this patch for a while. Now I get the following warning in 
my build logs (If someone can tell me where the problem lies, that would 
help).

ERROR: Trying to resolve runtime dependency gconf resulted in 
conflicting PREFERRED_PROVIDER entries being found.
The providers found were: 
['/home/users/mitya/OE/setup-scripts/sources/openembedded-core/meta/recipes-gnome/gnome/gconf-dbus_705.bb', 
'virtual:native:/home/users/mitya/OE/setup-scripts/sources/openembedded-core/meta/recipes-gnome/gnome/gconf-dbus_705.bb']
The PREFERRED_PROVIDER entries resulting in this conflict were: 
['PREFERRED_PROVIDER_gconf = gconf-dbus', 
'PREFERRED_PROVIDER_gconf-native = gconf-dbus-native']
NOTE: multiple providers are available for runtime gconf 
(gconf-dbus-native, gconf-dbus, gconf)
NOTE: consider defining a PREFERRED_PROVIDER entry to match gconf


On 09/23/2011 11:46 PM, Dmitry Eremin-Solenikov wrote:
> Signed-off-by: Dmitry Eremin-Solenikov<dbaryshkov@gmail.com>
> ---
>   meta/conf/distro/include/default-providers.inc |    1 +
>   1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/meta/conf/distro/include/default-providers.inc b/meta/conf/distro/include/default-providers.inc
> index d51ac64..6e281cc 100644
> --- a/meta/conf/distro/include/default-providers.inc
> +++ b/meta/conf/distro/include/default-providers.inc
> @@ -22,6 +22,7 @@ VIRTUAL-RUNTIME_update-alternatives ?= "update-alternatives-cworth"
>   PREFERRED_PROVIDER_dbus-glib ?= "dbus-glib"
>   PREFERRED_PROVIDER_dbus-glib-native ?= "dbus-glib-native"
>   PREFERRED_PROVIDER_gconf ?= "gconf-dbus"
> +PREFERRED_PROVIDER_gconf-native ?= "gconf-dbus-native"
>   PREFERRED_PROVIDER_gdk-pixbuf ?= "gdk-pixbuf"
>   PREFERRED_PROVIDER_libgcc ?= "libgcc"
>   PREFERRED_PROVIDER_libgcc-nativesdk ?= "libgcc-nativesdk"
Richard Purdie - Sept. 26, 2011, 12:41 p.m.
On Mon, 2011-09-26 at 16:11 +0400, Dmitry Eremin-Solenikov wrote:
> Please delay this patch for a while.

Too late :(.

>  Now I get the following warning in 
> my build logs (If someone can tell me where the problem lies, that would 
> help).
> 
> ERROR: Trying to resolve runtime dependency gconf resulted in 
> conflicting PREFERRED_PROVIDER entries being found.
> The providers found were: 
> ['/home/users/mitya/OE/setup-scripts/sources/openembedded-core/meta/recipes-gnome/gnome/gconf-dbus_705.bb', 
> 'virtual:native:/home/users/mitya/OE/setup-scripts/sources/openembedded-core/meta/recipes-gnome/gnome/gconf-dbus_705.bb']
> The PREFERRED_PROVIDER entries resulting in this conflict were: 
> ['PREFERRED_PROVIDER_gconf = gconf-dbus', 
> 'PREFERRED_PROVIDER_gconf-native = gconf-dbus-native']
> NOTE: multiple providers are available for runtime gconf 
> (gconf-dbus-native, gconf-dbus, gconf)
> NOTE: consider defining a PREFERRED_PROVIDER entry to match gconf

This asks the question why is gconf-dbus-native providing "gconf" and
not "gconf-native"?

Cheers,

Richard

Patch

diff --git a/meta/conf/distro/include/default-providers.inc b/meta/conf/distro/include/default-providers.inc
index d51ac64..6e281cc 100644
--- a/meta/conf/distro/include/default-providers.inc
+++ b/meta/conf/distro/include/default-providers.inc
@@ -22,6 +22,7 @@  VIRTUAL-RUNTIME_update-alternatives ?= "update-alternatives-cworth"
 PREFERRED_PROVIDER_dbus-glib ?= "dbus-glib"
 PREFERRED_PROVIDER_dbus-glib-native ?= "dbus-glib-native"
 PREFERRED_PROVIDER_gconf ?= "gconf-dbus"
+PREFERRED_PROVIDER_gconf-native ?= "gconf-dbus-native"
 PREFERRED_PROVIDER_gdk-pixbuf ?= "gdk-pixbuf"
 PREFERRED_PROVIDER_libgcc ?= "libgcc"
 PREFERRED_PROVIDER_libgcc-nativesdk ?= "libgcc-nativesdk"