gtk+-native-2.20.0-r8.0 fails in do_configure.
Hi,
when building gtk+-native-2.20.0-r8.0 (actually bitbaking fso-console-image DISTRO=minimal MACHINE=a780) I get this message:
Requested 'glib-2.0 >= 2.23.6' but version of GLib is 2.22.1
See also http://tinderbox.openembedded.org/packages/540390/
I can workaround that locally but I would like to learn what the best way to solve such issues would be. I don't see any preferred-minimal-versions.inc
Thanks,
Antonio
Signature · 10 lines
Antonio Ospite http://ao2.it PGP public key ID: 0x4553B001 A: Because it messes up the order in which people normally read text. See http://en.wikipedia.org/wiki/Posting_style Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Dnia sobota, 3 kwietnia 2010 o 17:17:24 Antonio Ospite napisał(a):
Quoted 10 lines
when building gtk+-native-2.20.0-r8.0 (actually bitbaking fso-console-image DISTRO=minimal MACHINE=a780) I get this message:
Requested 'glib-2.0 >= 2.23.6' but version of GLib is 2.22.1
See also http://tinderbox.openembedded.org/packages/540390/
I can workaround that locally but I would like to learn what the best way to solve such issues would be. I don't see any preferred-minimal-versions.inc
Recent glib-2.0 recipes has BBCLASSEXTEND = "native" set but we also have glib-2.0-native recipes... I think that native ones should be dropped.
Regards,
Signature · 3 lines
JID: [email protected] Website: http://marcin.juszkiewicz.com.pl/ LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz
Quoted 6 lines · On Sat, 3 Apr 2010 20:17:09 +0200 Marcin Juszkiewicz…
Dnia sobota, 3 kwietnia 2010 o 17:17:24 Antonio Ospite napisał(a):
Quoted 5 lines
when building gtk+-native-2.20.0-r8.0 (actually bitbaking fso-console-image DISTRO=minimal MACHINE=a780) I get this message:
Requested 'glib-2.0 >= 2.23.6' but version of GLib is 2.22.1
Quoted 9 lines
Quoted 5 lines
See also http://tinderbox.openembedded.org/packages/540390/
I can workaround that locally but I would like to learn what the best way to solve such issues would be. I don't see any preferred-minimal-versions.inc
Recent glib-2.0 recipes has BBCLASSEXTEND = "native" set but we also have glib-2.0-native recipes... I think that native ones should be dropped.
So what is happening to me now it that glib-2.0-native_2.22.1.bb gets selected and the more recent ones with BBCLASSEXTEND = "native" are discarded, right?
If the -native recipes are going to be dropped should the BBCLASSEXTEND mechanism moved to some .inc file?
Thanks,
Antonio
Signature · 10 lines
Antonio Ospite http://ao2.it PGP public key ID: 0x4553B001 A: Because it messes up the order in which people normally read text. See http://en.wikipedia.org/wiki/Posting_style Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Quoted 15 lines · On Tue, 6 Apr 2010 11:58:37 +0200 Antonio Ospite <[email protected]>…
Quoted 12 lines · On Sat, 3 Apr 2010 20:17:09 +0200 Marcin Juszkiewicz…
Dnia sobota, 3 kwietnia 2010 o 17:17:24 Antonio Ospite napisał(a):
Quoted 10 lines
when building gtk+-native-2.20.0-r8.0 (actually bitbaking fso-console-image DISTRO=minimal MACHINE=a780) I get this message:
Requested 'glib-2.0 >= 2.23.6' but version of GLib is 2.22.1
See also http://tinderbox.openembedded.org/packages/540390/
I can workaround that locally but I would like to learn what the best way to solve such issues would be. I don't see any preferred-minimal-versions.inc
Quoted 8 lines
Quoted 3 lines
Recent glib-2.0 recipes has BBCLASSEXTEND = "native" set but we also have glib-2.0-native recipes... I think that native ones should be dropped.
So what is happening to me now it that glib-2.0-native_2.22.1.bb gets selected and the more recent ones with BBCLASSEXTEND = "native" are discarded, right?
Ok, I confirm this was actually the case, the old way to do native recipes seems to have precedence on the new one, this is with bitbake 1.8.18, don't know if that is dependent on bitbake version tho.
Removing all glib-2.0-native packages makes gtk+-native-2.20.0-r8.0 build ok.
Quoted 3 lines
If the -native recipes are going to be dropped should the BBCLASSEXTEND mechanism moved to some glib*.inc file?
Should I just send a patch which blindly removes native recipes for older versions, or try to port the BBCLASSEXTEND mechanism to them? I don't know if I am fully comfortable with such changes in OE, but I can always send a tentative patch.
Regards,
Antonio
Signature · 10 lines
Antonio Ospite http://ao2.it PGP public key ID: 0x4553B001 A: Because it messes up the order in which people normally read text. See http://en.wikipedia.org/wiki/Posting_style Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 34 lines · Antonio Ospite
Quoted 15 lines · On Tue, 6 Apr 2010 11:58:37 +0200 Antonio Ospite <[email protected]>…
Quoted 12 lines · On Sat, 3 Apr 2010 20:17:09 +0200 Marcin Juszkiewicz…
Dnia sobota, 3 kwietnia 2010 o 17:17:24 Antonio Ospite napisał(a):
Quoted 10 lines
when building gtk+-native-2.20.0-r8.0 (actually bitbaking fso-console-image DISTRO=minimal MACHINE=a780) I get this message:
Requested 'glib-2.0 >= 2.23.6' but version of GLib is 2.22.1
See also http://tinderbox.openembedded.org/packages/540390/
I can workaround that locally but I would like to learn what the best way to solve such issues would be. I don't see any preferred-minimal-versions.inc
Quoted 8 lines
Quoted 3 lines
Recent glib-2.0 recipes has BBCLASSEXTEND = "native" set but we also have glib-2.0-native recipes... I think that native ones should be dropped.
So what is happening to me now it that glib-2.0-native_2.22.1.bb gets selected and the more recent ones with BBCLASSEXTEND = "native" are discarded, right?
Ok, I confirm this was actually the case, the old way to do native recipes seems to have precedence on the new one, this is with bitbake 1.8.18, don't know if that is dependent on bitbake version tho.
Removing all glib-2.0-native packages makes gtk+-native-2.20.0-r8.0 build ok.
Quoted 8 lines
Quoted 3 lines
If the -native recipes are going to be dropped should the BBCLASSEXTEND mechanism moved to some glib*.inc file?
Should I just send a patch which blindly removes native recipes for older versions, or try to port the BBCLASSEXTEND mechanism to them? I don't know if I am fully comfortable with such changes in OE, but I can always send a tentative patch.
Porting them has a slight preference over deleting them. The -native recipes shouldn't be needed for things like maemo-compat, hence the 'slight' :)
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFLvafcMkyGM64RGpERAroAAKCW7+h5AKr8VHhjoowsODwbKdX/+wCglfaW vf+ofTWZVrCCpZzw6mNyL/8=
=BaGg
-----END PGP SIGNATURE-----
Quoted 4 lines · On Thu, 08 Apr 2010 11:54:37 +0200 Koen Kooi <[email protected]> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1On 08-04-10 11:22, Antonio Ospite wrote:
[...]
Quoted 5 lines
Quoted 4 lines
Should I just send a patch which blindly removes native recipes for older versions, or try to port the BBCLASSEXTEND mechanism to them? I don't know if I am fully comfortable with such changes in OE, but I can always send a tentative patch.
Quoted 7 lines
Porting them has a slight preference over deleting them. The -native recipes shouldn't be needed for things like maemo-compat, hence the 'slight' :)
regards,
Koen
Ok, so if porting is only slightly preferred I dare sending an easy-way patch which drops them all together :P
On its way.
Thanks,
Antonio
Signature · 10 lines
Antonio Ospite http://ao2.it PGP public key ID: 0x4553B001 A: Because it messes up the order in which people normally read text. See http://en.wikipedia.org/wiki/Posting_style Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
PATCH 1/1 glib-2.0: remove old glib-2.0-native recipes
Having these around can cause some conflict in recipes depending on recent glib-2.0-native, see [1].
What can happen is that, when no preferred versions are set (like in DISTRO=minimal), bitbake picks up an older -native recipe even if a more recent one using the BBCLASSEXTEND = "native" mechanism exists.
[1] http://tinderbox.openembedded.org/packages/540390/
---
Please check if the commit message is clear enough, I think I've figured out what's happening behind the scenes, but I have not that deep knowledge of bitbake.
Thanks,
Antonio Ospite
http://ao2.it
.../glib-gettextize-dir.patch | 11 -- recipes/glib-2.0/glib-2.0-native_2.12.4.bb | 49 ---------- recipes/glib-2.0/glib-2.0-native_2.16.1.bb | 40 -------- recipes/glib-2.0/glib-2.0-native_2.18.0.bb | 40 -------- recipes/glib-2.0/glib-2.0-native_2.2.3.bb | 100 -------------------- recipes/glib-2.0/glib-2.0-native_2.22.1.bb | 39 -------- recipes/glib-2.0/glib-2.0-native_2.4.6.bb | 49 ---------- recipes/glib-2.0/glib-2.0-native_2.6.5.bb | 51 ---------- recipes/glib-2.0/glib-2.0-native_2.6.6.bb | 51 ---------- 9 files changed, 0 insertions(+), 430 deletions(-) delete mode 100644 recipes/glib-2.0/glib-2.0-native-2.12.4/glib-gettextize-dir.patch delete mode 100644 recipes/glib-2.0/glib-2.0-native_2.12.4.bb delete mode 100644 recipes/glib-2.0/glib-2.0-native_2.16.1.bb delete mode 100644 recipes/glib-2.0/glib-2.0-native_2.18.0.bb delete mode 100644 recipes/glib-2.0/glib-2.0-native_2.2.3.bb delete mode 100644 recipes/glib-2.0/glib-2.0-native_2.22.1.bb delete mode 100644 recipes/glib-2.0/glib-2.0-native_2.4.6.bb delete mode 100644 recipes/glib-2.0/glib-2.0-native_2.6.5.bb delete mode 100644 recipes/glib-2.0/glib-2.0-native_2.6.6.bb
recipes/glib-2.0/glib-2.0-native-2.12.4/glib-gettextize-dir.patch deleted +0 -11
@@ -1,11 +0,0 @@ ---- glib-2.10.3/glib-gettextize.in.old 2006-06-21 12:46:45.000000000 +0100 -+++ glib-2.10.3/glib-gettextize.in 2006-06-21 12:48:14.000000000 +0100 -@@ -49,7 +49,7 @@ - ;; - esac - --gettext_dir=$prefix/share/glib-2.0/gettext -+gettext_dir=@datadir@/glib-2.0/gettext - - while test $# -gt 0; do - case "$1" in
recipes/glib-2.0/glib-2.0-native_2.12.4.bb deleted +0 -49
49 lines not on this page · raw message
recipes/glib-2.0/glib-2.0-native_2.16.1.bb deleted +0 -40
@@ -1,40 +0,0 @@ -require glib-2.0_${PV}.bb - -DEPENDS = "gtk-doc-native" -EXTRA_OECONF = "" -PR = "r3" - -inherit native - -do_configure_prepend() { - if [ -e ${S}/${TARGET_SYS}-libtool ] ; then - echo "${TARGET_SYS}-libtool already present" - else - cp ${STAGING_BINDIR}/${TARGET_SYS}-libtool ${S} - fi - -} - -do_stage () { - install -m 0755 gobject/glib-mkenums ${STAGING_BINDIR}/ - install -m 0755 gobject/.libs/glib-genmarshal ${STAGING_BINDIR}/ - install -m 0755 glib-gettextize ${STAGING_BINDIR}/ - oe_libinstall -so -C glib libglib-2.0 ${STAGING_LIBDIR} - oe_libinstall -so -C gmodule libgmodule-2.0 ${STAGING_LIBDIR} - oe_libinstall -so -C gthread libgthread-2.0 ${STAGING_LIBDIR} - oe_libinstall -so -C gobject libgobject-2.0 ${STAGING_LIBDIR} - oe_libinstall -so -C gio libgio-2.0 ${STAGING_LIBDIR} - autotools_stage_includes - install -d ${STAGING_INCDIR}/glib-2.0/glib - install -m 0755 ${S}/glibconfig.h ${STAGING_INCDIR}/glib-2.0/glibconfig.h - install -d ${STAGING_DATADIR}/aclocal - install -m 0644 ${S}/m4macros/glib-2.0.m4 ${STAGING_DATADIR}/aclocal/glib-2.0.m4 - install -m 0644 ${S}/m4macros/glib-gettext.m4 ${STAGING_DATADIR}/aclocal/glib-gettext.m4 - install -d ${STAGING_DATADIR}/glib-2.0/gettext/po - install -m 0755 mkinstalldirs ${STAGING_DATADIR}/glib-2.0/gettext/ - install -m 0644 po/Makefile.in.in ${STAGING_DATADIR}/glib-2.0/gettext/po/ -} - -do_install () { - : -}
recipes/glib-2.0/glib-2.0-native_2.18.0.bb deleted +0 -40
@@ -1,40 +0,0 @@ -require glib-2.0_${PV}.bb - -DEPENDS = "gettext-native gtk-doc-native" -EXTRA_OECONF = "" -PR = "r4" - -inherit native - -do_configure_prepend() { - if [ -e ${S}/${TARGET_SYS}-libtool ] ; then - echo "${TARGET_SYS}-libtool already present" - else - cp ${STAGING_BINDIR}/${TARGET_SYS}-libtool ${S} - fi - -} - -do_stage () { - install -m 0755 gobject/glib-mkenums ${STAGING_BINDIR}/ - install -m 0755 gobject/.libs/glib-genmarshal ${STAGING_BINDIR}/ - install -m 0755 glib-gettextize ${STAGING_BINDIR}/ - oe_libinstall -so -C glib libglib-2.0 ${STAGING_LIBDIR} - oe_libinstall -so -C gmodule libgmodule-2.0 ${STAGING_LIBDIR} - oe_libinstall -so -C gthread libgthread-2.0 ${STAGING_LIBDIR} - oe_libinstall -so -C gobject libgobject-2.0 ${STAGING_LIBDIR} - oe_libinstall -so -C gio libgio-2.0 ${STAGING_LIBDIR} - autotools_stage_includes - install -d ${STAGING_INCDIR}/glib-2.0/glib - install -m 0755 ${S}/glibconfig.h ${STAGING_INCDIR}/glib-2.0/glibconfig.h - install -d ${STAGING_DATADIR}/aclocal - install -m 0644 ${S}/m4macros/glib-2.0.m4 ${STAGING_DATADIR}/aclocal/glib-2.0.m4 - install -m 0644 ${S}/m4macros/glib-gettext.m4 ${STAGING_DATADIR}/aclocal/glib-gettext.m4 - install -d ${STAGING_DATADIR}/glib-2.0/gettext/po - install -m 0755 mkinstalldirs ${STAGING_DATADIR}/glib-2.0/gettext/ - install -m 0644 po/Makefile.in.in ${STAGING_DATADIR}/glib-2.0/gettext/po/ -} - -do_install () { - : -}
recipes/glib-2.0/glib-2.0-native_2.2.3.bb deleted +0 -100
100 lines not on this page · raw message
recipes/glib-2.0/glib-2.0-native_2.22.1.bb deleted +0 -39
@@ -1,39 +0,0 @@ -require glib-2.0_${PV}.bb - -DEPENDS = "gettext-native gtk-doc-native" -EXTRA_OECONF = "" - -inherit native - -do_configure_prepend() { - if [ -e ${S}/${TARGET_SYS}-libtool ] ; then - echo "${TARGET_SYS}-libtool already present" - else - cp ${STAGING_BINDIR}/${TARGET_SYS}-libtool ${S} - fi - -} - -do_stage () { - install -m 0755 gobject/glib-mkenums ${STAGING_BINDIR}/ - install -m 0755 gobject/.libs/glib-genmarshal ${STAGING_BINDIR}/ - install -m 0755 glib-gettextize ${STAGING_BINDIR}/ - oe_libinstall -so -C glib libglib-2.0 ${STAGING_LIBDIR} - oe_libinstall -so -C gmodule libgmodule-2.0 ${STAGING_LIBDIR} - oe_libinstall -so -C gthread libgthread-2.0 ${STAGING_LIBDIR} - oe_libinstall -so -C gobject libgobject-2.0 ${STAGING_LIBDIR} - oe_libinstall -so -C gio libgio-2.0 ${STAGING_LIBDIR} - autotools_stage_includes - install -d ${STAGING_INCDIR}/glib-2.0/glib - install -m 0755 ${S}/glibconfig.h ${STAGING_INCDIR}/glib-2.0/glibconfig.h - install -d ${STAGING_DATADIR}/aclocal - install -m 0644 ${S}/m4macros/glib-2.0.m4 ${STAGING_DATADIR}/aclocal/glib-2.0.m4 - install -m 0644 ${S}/m4macros/glib-gettext.m4 ${STAGING_DATADIR}/aclocal/glib-gettext.m4 - install -d ${STAGING_DATADIR}/glib-2.0/gettext/po - install -m 0755 mkinstalldirs ${STAGING_DATADIR}/glib-2.0/gettext/ - install -m 0644 po/Makefile.in.in ${STAGING_DATADIR}/glib-2.0/gettext/po/ -} - -do_install () { - : -}
recipes/glib-2.0/glib-2.0-native_2.4.6.bb deleted +0 -49
49 lines not on this page · raw message
recipes/glib-2.0/glib-2.0-native_2.6.5.bb deleted +0 -51
51 lines not on this page · raw message
recipes/glib-2.0/glib-2.0-native_2.6.6.bb deleted +0 -51
51 lines not on this page · raw message
Signature · 1 line
1.7.0.4
Re: [PATCH] glib-2.0: remove old glib-2.0-native recipes
Quoted 20 lines · Antonio Ospite
Having these around can cause some conflict in recipes depending on recent glib-2.0-native, see [1].
What can happen is that, when no preferred versions are set (like in DISTRO=minimal), bitbake picks up an older -native recipe even if a more recent one using the BBCLASSEXTEND = "native" mechanism exists.
[1] http://tinderbox.openembedded.org/packages/540390/
Signed-off-by Antonio Ospite <[email protected]>---
Please check if the commit message is clear enough, I think I've figured out what's happening behind the scenes, but I have not that deep knowledge of bitbake.Thanks,
Antonio Ospite
http://ao2.it
Quoted 16 lines
.../glib-gettextize-dir.patch | 11 -- recipes/glib-2.0/glib-2.0-native_2.12.4.bb | 49 ---------- recipes/glib-2.0/glib-2.0-native_2.16.1.bb | 40 -------- recipes/glib-2.0/glib-2.0-native_2.18.0.bb | 40 -------- recipes/glib-2.0/glib-2.0-native_2.2.3.bb | 100 -------------------- recipes/glib-2.0/glib-2.0-native_2.22.1.bb | 39 -------- recipes/glib-2.0/glib-2.0-native_2.4.6.bb | 49 ---------- recipes/glib-2.0/glib-2.0-native_2.6.5.bb | 51 ---------- recipes/glib-2.0/glib-2.0-native_2.6.6.bb | 51 ---------- 9 files changed, 0 insertions(+), 430 deletions(-) delete mode 100644 recipes/glib-2.0/glib-2.0-native-2.12.4/glib-gettextize-dir.patch delete mode 100644 recipes/glib-2.0/glib-2.0-native_2.12.4.bb delete mode 100644 recipes/glib-2.0/glib-2.0-native_2.16.1.bb delete mode 100644 recipes/glib-2.0/glib-2.0-native_2.18.0.bb delete mode 100644 recipes/glib-2.0/glib-2.0-native_2.2.3.bb delete mode 100644 recipes/glib-2.0/glib-2.0-native_2.22.1.bb
NACK. This glib version is still in use; don't delete it:
/u/slug/slugos/tmp/work/x86_64-linux/glib-2.0-native-2.22.1-r6.2
(Surely there must a better way to fix this than removal of active recipes?)
-Mike (mwester)
Re: [PATCH] glib-2.0: remove old glib-2.0-native recipes
Quoted 38 lines · Mike Westerhof
Quoted 20 lines · Antonio Ospite
Having these around can cause some conflict in recipes depending on recent glib-2.0-native, see [1].
What can happen is that, when no preferred versions are set (like in DISTRO=minimal), bitbake picks up an older -native recipe even if a more recent one using the BBCLASSEXTEND = "native" mechanism exists.
[1] http://tinderbox.openembedded.org/packages/540390/
Signed-off-by Antonio Ospite <[email protected]>---
Please check if the commit message is clear enough, I think I've figured out what's happening behind the scenes, but I have not that deep knowledge of bitbake.Thanks,
Antonio Ospite
http://ao2.itQuoted 16 lines
.../glib-gettextize-dir.patch | 11 -- recipes/glib-2.0/glib-2.0-native_2.12.4.bb | 49 ---------- recipes/glib-2.0/glib-2.0-native_2.16.1.bb | 40 -------- recipes/glib-2.0/glib-2.0-native_2.18.0.bb | 40 -------- recipes/glib-2.0/glib-2.0-native_2.2.3.bb | 100 -------------------- recipes/glib-2.0/glib-2.0-native_2.22.1.bb | 39 -------- recipes/glib-2.0/glib-2.0-native_2.4.6.bb | 49 ---------- recipes/glib-2.0/glib-2.0-native_2.6.5.bb | 51 ---------- recipes/glib-2.0/glib-2.0-native_2.6.6.bb | 51 ---------- 9 files changed, 0 insertions(+), 430 deletions(-) delete mode 100644 recipes/glib-2.0/glib-2.0-native-2.12.4/glib-gettextize-dir.patch delete mode 100644 recipes/glib-2.0/glib-2.0-native_2.12.4.bb delete mode 100644 recipes/glib-2.0/glib-2.0-native_2.16.1.bb delete mode 100644 recipes/glib-2.0/glib-2.0-native_2.18.0.bb delete mode 100644 recipes/glib-2.0/glib-2.0-native_2.2.3.bb delete mode 100644 recipes/glib-2.0/glib-2.0-native_2.22.1.bb
Quoted 4 lines
NACK. This glib version is still in use; don't delete it:
/u/slug/slugos/tmp/work/x86_64-linux/glib-2.0-native-2.22.1-r6.2(Surely there must a better way to fix this than removal of active recipes?)
If 2.22.1 was converted to BBCLASSEXTEND, the rest of the mechanisms would work right again.
Signature · 2 lines
Tom Rini <[email protected]> Mentor Graphics Corporation
Re: [PATCH] glib-2.0: remove old glib-2.0-native recipes
In reply to Antonio Ospite-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 6 lines · Antonio Ospite
Having these around can cause some conflict in recipes depending on recent glib-2.0-native, see [1].
What can happen is that, when no preferred versions are set (like in DISTRO=minimal), bitbake picks up an older -native recipe even if a more recent one using the BBCLASSEXTEND = "native" mechanism exists.
If that's the actual problem, leave the recipes alone and set a PREFERRED_VERSION in your distro.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFLvtyCMkyGM64RGpERAlB6AKCzEAsBCP7w2pvTjaSYwYtVSgiphwCdFL85 5bgqOlpaZNMnGEaagMpH/9g=
=iWC6
-----END PGP SIGNATURE-----
Re: [PATCH] glib-2.0: remove old glib-2.0-native recipes
Am Freitag, den 09.04.2010, 09:51 +0200 schrieb Koen Kooi:
Quoted 10 lines · Antonio Ospite
Quoted 6 lines
Having these around can cause some conflict in recipes depending on recent glib-2.0-native, see [1].
What can happen is that, when no preferred versions are set (like in DISTRO=minimal), bitbake picks up an older -native recipe even if a more recent one using the BBCLASSEXTEND = "native" mechanism exists.
If that's the actual problem, leave the recipes alone and set a
PREFERRED_VERSIONin your distro.
Here we come back to an old disagreement, namely whether the preferences in OE should have a consistent set of defaults or not.
"Set it in the distro" is a nice catch-all, but I wonder whether hiding such obvious bugs in the metadata is the right approach with regards to OE being versatile for new distros.
CHeers,
Signature · 1 line
:M:
Re: [PATCH] glib-2.0: remove old glib-2.0-native recipes
In reply to Koen KooiQuoted 7 lines · On Fri, 09 Apr 2010 09:51:31 +0200 Koen Kooi <[email protected]> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Quoted 3 lines · Antonio Ospite
Having these around can cause some conflict in recipes depending on recent glib-2.0-native, see [1].
Quoted 6 lines
Quoted 3 lines
What can happen is that, when no preferred versions are set (like in DISTRO=minimal), bitbake picks up an older -native recipe even if a more recent one using the BBCLASSEXTEND = "native" mechanism exists.
If that's the actual problem, leave the recipes alone and set a
PREFERRED_VERSIONin your distro.
Well, could someone who knows bitbake better than me confirm that it is actually giving preference to the older -native mechanism?
Plus, as mickeyl alludes, 'minimal' is not supposed to set preferences explicitly, maybe also to expose such kind of bugs?
BTW, I was quite sure that my easy-way patch wouldn't fit everyone; I can try converting glib-2.0-native_2.22.1.bb which someone is actually using and drop the older ones, would that do?
Or maybe some more experienced OE dev could take the ball here. :)
A question: is there any autobuilder for DISTRO="minimal" around which builds some images from a fresh setup periodically to catch such issues?
Thanks,
Antonio
Signature · 10 lines
Antonio Ospite http://ao2.it PGP public key ID: 0x4553B001 A: Because it messes up the order in which people normally read text. See http://en.wikipedia.org/wiki/Posting_style Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Quoted 6 lines · On Sat, 3 Apr 2010 20:17:09 +0200 Marcin Juszkiewicz…
Dnia sobota, 3 kwietnia 2010 o 17:17:24 Antonio Ospite napisał(a):
Quoted 5 lines
when building gtk+-native-2.20.0-r8.0 (actually bitbaking fso-console-image DISTRO=minimal MACHINE=a780) I get this message:
Requested 'glib-2.0 >= 2.23.6' but version of GLib is 2.22.1
Quoted 9 lines
Quoted 5 lines
See also http://tinderbox.openembedded.org/packages/540390/
I can workaround that locally but I would like to learn what the best way to solve such issues would be. I don't see any preferred-minimal-versions.inc
Recent glib-2.0 recipes has BBCLASSEXTEND = "native" set but we also have glib-2.0-native recipes... I think that native ones should be dropped.
On a second thought, the original issue could be handled also in another
way: by telling gtk+-2.20.0 explicitly to pick up a glib-2.0 >= 2.23.6; versioned dependencies are possible in .bb files but the gtk+ recipe puts the dependency on glib-2.0 in gtk+.inc I am not sure about how to handle this.
Gtk+ and glib releases are somehow matching AFAIK so it could have sense to use versioned deps in this case.
Thanks,
Antonio
Signature · 10 lines
Antonio Ospite http://ao2.it PGP public key ID: 0x4553B001 A: Because it messes up the order in which people normally read text. See http://en.wikipedia.org/wiki/Posting_style Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 1 line · Antonio Ospite
versioned dependencies are possible in .bb files
Actually, they aren't. DISTROs should take care of stuff like this in the current OE design.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFLveUdMkyGM64RGpERAnGSAJ9vINnRUvZJwYuQfFV9BWIUc/PLAACfXOIy A12ZV+BEBMhgLsXEs0uWcBM=
=+zp0
-----END PGP SIGNATURE-----
Quoted 9 lines · On Thu, 08 Apr 2010 16:15:57 +0200 Koen Kooi <[email protected]> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Quoted 1 line · Antonio Ospite
versioned dependencies are possible in .bb files
Actually, they aren't. DISTROs should take care of stuff like this in the current OE design.
In what sense they are not possible? I can see some with
git grep DEPENDS | grep '>=' but that could be misleading me.
Regards,
Antonio
Signature · 10 lines
Antonio Ospite http://ao2.it PGP public key ID: 0x4553B001 A: Because it messes up the order in which people normally read text. See http://en.wikipedia.org/wiki/Posting_style Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 6 lines · Antonio Ospite
Quoted 3 lines · On Thu, 08 Apr 2010 16:15:57 +0200 Koen Kooi <[email protected]> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 8 lines
Quoted 6 lines · Antonio Ospite
Quoted 2 lines
versioned dependencies are possible in .bb files
Actually, they aren't. DISTROs should take care of stuff like this in the current OE design.
In what sense they are not possible?
You can add them, but the version will get ignored
Quoted 3 lines
I can see some with
git grep DEPENDS | grep '>='
but that could be misleading me.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFLvfxVMkyGM64RGpERAj+/AJwPJm/oYtGh35gpUBAeit29Z4gJKQCcDCRE duxFuFKdJp8aYVQzjT6SROw=
=G/m/
-----END PGP SIGNATURE-----