* [PATCH] glib-2.0_2.26.1: remove `DEFAULT_PREFERENCE = "-1"`
@ 2010-12-28 22:29 Paul Menzel
2010-12-28 23:38 ` Michael 'Mickey' Lauer
2010-12-30 18:58 ` [PATCH] glib-2.0_2.26.1: remove `DEFAULT_PREFERENCE = "-1"` Eric Bénard
0 siblings, 2 replies; 15+ messages in thread
From: Paul Menzel @ 2010-12-28 22:29 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 2287 bytes --]
Date: Sat, 25 Dec 2010 20:09:34 +0100
Since commit 07d94e [1] (upstream 2729be [2]) task `configure` of `libfso-glib` fails with the following error, since GLib 2.26 is needed and Minimal and Minimal uClibc just provide GLib 2.24 since `glib-2.0_2.26.1.bb` has `DEFAULT_PREFERENCE = "-1"` set.
checking pkg-config is at least version 0.9.0... yes
checking for VALA_DBUS_BINDING_TOOL... yes
checking for SPECS... yes
checking for DEPS... configure: error: Package requirements (glib-2.0 >= 2.26.0
gobject-2.0 >= 2.26.0
gio-2.0 >= 2.26.0
gthread-2.0 >= 2.26.0) were not met:
Requested 'glib-2.0 >= 2.26.0' but version of GLib is 2.24.1
Requested 'gobject-2.0 >= 2.26.0' but version of GObject is 2.24.1
Requested 'gio-2.0 >= 2.26.0' but version of GIO is 2.24.1
Requested 'gthread-2.0 >= 2.26.0' but version of GThread is 2.24.1
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables DEPS_CFLAGS
and DEPS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
ERROR: Function do_configure failed
Other packages from the freesmartphone.org API reference implementation will also require GLib 2.26 in the future.
[1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?h=org.openembedded.dev&id=07d94ebc8fd3d21fa83fb13fdf511ac008c316e6
[2] http://git.freesmartphone.org/?p=libfso-glib.git;a=commit;h=2729be7c82a676455f93d201b0d0255ad7e139ba
[3] http://git.freesmartphone.org/?p=cornucopia.git;a=commit;h=709ef63eab6eb9736c15e6731a50de4ccbb3613c
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
---
recipes/glib-2.0/glib-2.0_2.26.1.bb | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/recipes/glib-2.0/glib-2.0_2.26.1.bb b/recipes/glib-2.0/glib-2.0_2.26.1.bb
index ded471b..1c855e2 100644
--- a/recipes/glib-2.0/glib-2.0_2.26.1.bb
+++ b/recipes/glib-2.0/glib-2.0_2.26.1.bb
@@ -29,8 +29,6 @@ inherit autotools gettext
S = "${WORKDIR}/glib-${PV}"
-DEFAULT_PREFERENCE = "-1"
-
EXTRA_OECONF = "--disable-debug "
# Add and entry for your favourite arch if your (g)libc has a sane printf
--
1.7.2.3
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply related [flat|nested] 15+ messages in thread* Re: [PATCH] glib-2.0_2.26.1: remove `DEFAULT_PREFERENCE = "-1"`
2010-12-28 22:29 [PATCH] glib-2.0_2.26.1: remove `DEFAULT_PREFERENCE = "-1"` Paul Menzel
@ 2010-12-28 23:38 ` Michael 'Mickey' Lauer
2010-12-29 17:42 ` glib-2.0_2.26.1: task `compile` fails with `gdbus-serialization.c:28:23: fatal error: dbus/dbus.h: No such file or directory` (was: [PATCH] glib-2.0_2.26.1: remove `DEFAULT_PREFERENCE = "-1"`) Paul Menzel
2010-12-30 18:58 ` [PATCH] glib-2.0_2.26.1: remove `DEFAULT_PREFERENCE = "-1"` Eric Bénard
1 sibling, 1 reply; 15+ messages in thread
From: Michael 'Mickey' Lauer @ 2010-12-28 23:38 UTC (permalink / raw)
To: openembedded-devel
Would be fine with me, we have been using 2.26.1 here on armv7 for a
while without any problems.
Cheers,
--
:M:
^ permalink raw reply [flat|nested] 15+ messages in thread
* glib-2.0_2.26.1: task `compile` fails with `gdbus-serialization.c:28:23: fatal error: dbus/dbus.h: No such file or directory` (was: [PATCH] glib-2.0_2.26.1: remove `DEFAULT_PREFERENCE = "-1"`)
2010-12-28 23:38 ` Michael 'Mickey' Lauer
@ 2010-12-29 17:42 ` Paul Menzel
2010-12-29 17:58 ` [PATCH 1/2] glib-2.0, dbus: drop dbus's dependency on glib and add dbus dependency to glib-2.0_2.26.1 Martin Jansa
` (2 more replies)
0 siblings, 3 replies; 15+ messages in thread
From: Paul Menzel @ 2010-12-29 17:42 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 3513 bytes --]
Am Mittwoch, den 29.12.2010, 00:38 +0100 schrieb Michael 'Mickey' Lauer:
> Would be fine with me, we have been using 2.26.1 here on armv7 for a
> while without any problems.
Well actually Minimal and Minimal uClibc fail in task `compile` when
building `glib-2.0_2.26.1.bb` with `gdbus-serialization.c:28:23: fatal
error: dbus/dbus.h: No such file or directory
compilation terminated.`
/bin/sh ../../arm-oe-linux-gnueabi-libtool --tag=CC --mode=compile arm-oe-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -DHAVE_CONFIG_H -I. -I../.. -DG_LOG_DOMAIN=\"GLib-GRegex\" -DSUPPORT_UCP -DSUPPORT_UTF8 -DNEWLINE=-1 -DMATCH_LIMIT=10000000 -DMATCH_LIMIT_RECURSION=8192 -DMAX_NAME_SIZE=32 -DMAX_NAME_COUNT=10000 -DMAX_DUPLENGTH=30000 -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -DPCRE_STATIC -I../.. -I../../glib -I../../glib -I../.. -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -Wno-pointer-sign -isystem/oe/build-minimal-eglibc/minimal-dev/sysroots/armv7a-oe-linux-gnueabi/usr/include -DG_DISABLE_SINGLE_INCLUDES -pthread -isystem/oe/build-minimal-eglibc/minimal-dev/sysroots/armv7a-oe-linux-gnueabi/usr/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -Wall -MT pcre_fullinfo.lo -MD -MP -MF .deps/pcre_fullinfo.Tpo -c -o pcre_fullinfo.lo pcre_fullinfo.c
arm-oe-linux-gnueabi-libtool: compile: arm-oe-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -DHAVE_CONFIG_H -I. -I../.. -DG_LOG_DOMAIN=\"GLib-GRegex\" -DSUPPORT_UCP -DSUPPORT_UTF8 -DNEWLINE=-1 -DMATCH_LIMIT=10000000 -DMATCH_LIMIT_RECURSION=8192 -DMAX_NAME_SIZE=32 -DMAX_NAME_COUNT=10000 -DMAX_DUPLENGTH=30000 -DLINK_SIZE=2 -DPOSIX_MALLO...skipping...
.Tpo -c -o resolver.o resolver.c
mv -f .deps/live-g-file.Tpo .deps/live-g-file.Po
gdbus-serialization.c:28:23: fatal error: dbus/dbus.h: No such file or directory
compilation terminated.
make[4]: *** [gdbus_serialization-gdbus-serialization.o] Error 1
make[4]: *** Waiting for unfinished jobs....
mv -f .deps/gdbus_serialization-gdbus-tests.Tpo .deps/gdbus_serialization-gdbus-tests.Po
mv -f .deps/resolver.Tpo .deps/resolver.Po
make[4]: Leaving directory `/oe/build-minimal-eglibc/minimal-dev/work/armv7a-oe-linux-gnueabi/glib-2.0-2.26.1-r0/glib-2.26.1/gio/tests'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/oe/build-minimal-eglibc/minimal-dev/work/armv7a-oe-linux-gnueabi/glib-2.0-2.26.1-r0/glib-2.26.1/gio'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/oe/build-minimal-eglibc/minimal-dev/work/armv7a-oe-linux-gnueabi/glib-2.0-2.26.1-r0/glib-2.26.1/gio'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/oe/build-minimal-eglibc/minimal-dev/work/armv7a-oe-linux-gnueabi/glib-2.0-2.26.1-r0/glib-2.26.1'
make: *** [all] Error 2
FATAL: oe_runmake failed
ERROR: Function do_compile failed
`dbus.h` is staged though and available as far as I can see.
So `bitbake console-image` fails nevertheless with Minimal{-uClibc}. So
the question is if the freesmartphone should fail or GLib 2.26.1.
The strange thing is, that `bitbake dbus` works and also `bitbake
glib-2.0` afterward although `dbus` depends on `glib-2.0`.
Any ideas?
Thanks,
Paul
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread* [PATCH 1/2] glib-2.0, dbus: drop dbus's dependency on glib and add dbus dependency to glib-2.0_2.26.1
2010-12-29 17:42 ` glib-2.0_2.26.1: task `compile` fails with `gdbus-serialization.c:28:23: fatal error: dbus/dbus.h: No such file or directory` (was: [PATCH] glib-2.0_2.26.1: remove `DEFAULT_PREFERENCE = "-1"`) Paul Menzel
@ 2010-12-29 17:58 ` Martin Jansa
2010-12-29 18:58 ` Khem Raj
2010-12-29 17:58 ` [PATCH 2/2] util-linux-ng: drop udev dependency to break circular dbus dependency glib->dbus->libsm->util-linux-ng->udev->glib Martin Jansa
2010-12-29 19:45 ` [PATCH] glib 2.26.1: fix compilation failure Eric Bénard
2 siblings, 1 reply; 15+ messages in thread
From: Martin Jansa @ 2010-12-29 17:58 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
recipes/dbus/dbus.inc | 2 +-
recipes/glib-2.0/glib-2.0_2.26.1.bb | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/recipes/dbus/dbus.inc b/recipes/dbus/dbus.inc
index 73fc426..c235f74 100644
--- a/recipes/dbus/dbus.inc
+++ b/recipes/dbus/dbus.inc
@@ -2,7 +2,7 @@ DESCRIPTION = "A message bus system for inter-process communication"
HOMEPAGE = "http://dbus.freedesktop.org"
SECTION = "base"
LICENSE = "GPLv2+ AFLv2.1"
-DEPENDS = "expat glib-2.0 virtual/libintl libsm libice virtual/libx11"
+DEPENDS = "expat virtual/libintl libsm libice virtual/libx11"
INC_PR = "r19"
diff --git a/recipes/glib-2.0/glib-2.0_2.26.1.bb b/recipes/glib-2.0/glib-2.0_2.26.1.bb
index d95f894..5f7dbce 100644
--- a/recipes/glib-2.0/glib-2.0_2.26.1.bb
+++ b/recipes/glib-2.0/glib-2.0_2.26.1.bb
@@ -6,9 +6,9 @@ UNIX-like platforms, Windows, OS/2 and BeOS."
LICENSE = "LGPLv2+"
SECTION = "libs"
PRIORITY = "optional"
-DEPENDS = "glib-2.0-native gtk-doc zlib"
+DEPENDS = "glib-2.0-native gtk-doc zlib dbus"
DEPENDS_virtclass-native = "gettext-native gtk-doc-native \
- pkgconfig-native"
+ pkgconfig-native dbus-native"
PR = "r0"
--
1.7.3.4
^ permalink raw reply related [flat|nested] 15+ messages in thread
* Re: [PATCH 1/2] glib-2.0, dbus: drop dbus's dependency on glib and add dbus dependency to glib-2.0_2.26.1
2010-12-29 17:58 ` [PATCH 1/2] glib-2.0, dbus: drop dbus's dependency on glib and add dbus dependency to glib-2.0_2.26.1 Martin Jansa
@ 2010-12-29 18:58 ` Khem Raj
2010-12-29 19:25 ` Michael 'Mickey' Lauer
2010-12-29 19:44 ` Eric Bénard
0 siblings, 2 replies; 15+ messages in thread
From: Khem Raj @ 2010-12-29 18:58 UTC (permalink / raw)
To: openembedded-devel
On Wed, Dec 29, 2010 at 9:58 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
> ---
> recipes/dbus/dbus.inc | 2 +-
> recipes/glib-2.0/glib-2.0_2.26.1.bb | 4 ++--
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/recipes/dbus/dbus.inc b/recipes/dbus/dbus.inc
> index 73fc426..c235f74 100644
> --- a/recipes/dbus/dbus.inc
> +++ b/recipes/dbus/dbus.inc
> @@ -2,7 +2,7 @@ DESCRIPTION = "A message bus system for inter-process communication"
> HOMEPAGE = "http://dbus.freedesktop.org"
> SECTION = "base"
> LICENSE = "GPLv2+ AFLv2.1"
> -DEPENDS = "expat glib-2.0 virtual/libintl libsm libice virtual/libx11"
> +DEPENDS = "expat virtual/libintl libsm libice virtual/libx11"
>
> INC_PR = "r19"
>
> diff --git a/recipes/glib-2.0/glib-2.0_2.26.1.bb b/recipes/glib-2.0/glib-2.0_2.26.1.bb
> index d95f894..5f7dbce 100644
> --- a/recipes/glib-2.0/glib-2.0_2.26.1.bb
> +++ b/recipes/glib-2.0/glib-2.0_2.26.1.bb
> @@ -6,9 +6,9 @@ UNIX-like platforms, Windows, OS/2 and BeOS."
> LICENSE = "LGPLv2+"
> SECTION = "libs"
> PRIORITY = "optional"
> -DEPENDS = "glib-2.0-native gtk-doc zlib"
> +DEPENDS = "glib-2.0-native gtk-doc zlib dbus"
> DEPENDS_virtclass-native = "gettext-native gtk-doc-native \
> - pkgconfig-native"
> + pkgconfig-native dbus-native"
>
> PR = "r0"
>
> --
> 1.7.3.4
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 1/2] glib-2.0, dbus: drop dbus's dependency on glib and add dbus dependency to glib-2.0_2.26.1
2010-12-29 18:58 ` Khem Raj
@ 2010-12-29 19:25 ` Michael 'Mickey' Lauer
2010-12-29 19:44 ` Eric Bénard
1 sibling, 0 replies; 15+ messages in thread
From: Michael 'Mickey' Lauer @ 2010-12-29 19:25 UTC (permalink / raw)
To: openembedded-devel
Thanks for the patch, Martin.
Ack'ed by me as well, although ideally
we would outfactor something like dbus-headers,
since glib only requires the dbus headers, nothing
else.
Cheers,
:M:
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 1/2] glib-2.0, dbus: drop dbus's dependency on glib and add dbus dependency to glib-2.0_2.26.1
2010-12-29 18:58 ` Khem Raj
2010-12-29 19:25 ` Michael 'Mickey' Lauer
@ 2010-12-29 19:44 ` Eric Bénard
2010-12-29 23:09 ` Andreas Oberritter
1 sibling, 1 reply; 15+ messages in thread
From: Eric Bénard @ 2010-12-29 19:44 UTC (permalink / raw)
To: openembedded-devel
On 29/12/2010 19:58, Khem Raj wrote:
> On Wed, Dec 29, 2010 at 9:58 AM, Martin Jansa<martin.jansa@gmail.com> wrote:
>> Signed-off-by: Martin Jansa<Martin.Jansa@gmail.com>
>
> Acked-by: Khem Raj<raj.khem@gmail.com>
>
>> ---
>> recipes/dbus/dbus.inc | 2 +-
>> recipes/glib-2.0/glib-2.0_2.26.1.bb | 4 ++--
>> 2 files changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/recipes/dbus/dbus.inc b/recipes/dbus/dbus.inc
>> index 73fc426..c235f74 100644
>> --- a/recipes/dbus/dbus.inc
>> +++ b/recipes/dbus/dbus.inc
>> @@ -2,7 +2,7 @@ DESCRIPTION = "A message bus system for inter-process communication"
>> HOMEPAGE = "http://dbus.freedesktop.org"
>> SECTION = "base"
>> LICENSE = "GPLv2+ AFLv2.1"
>> -DEPENDS = "expat glib-2.0 virtual/libintl libsm libice virtual/libx11"
>> +DEPENDS = "expat virtual/libintl libsm libice virtual/libx11"
>>
>> INC_PR = "r19"
>>
>> diff --git a/recipes/glib-2.0/glib-2.0_2.26.1.bb b/recipes/glib-2.0/glib-2.0_2.26.1.bb
>> index d95f894..5f7dbce 100644
>> --- a/recipes/glib-2.0/glib-2.0_2.26.1.bb
>> +++ b/recipes/glib-2.0/glib-2.0_2.26.1.bb
>> @@ -6,9 +6,9 @@ UNIX-like platforms, Windows, OS/2 and BeOS."
>> LICENSE = "LGPLv2+"
>> SECTION = "libs"
>> PRIORITY = "optional"
>> -DEPENDS = "glib-2.0-native gtk-doc zlib"
>> +DEPENDS = "glib-2.0-native gtk-doc zlib dbus"
>> DEPENDS_virtclass-native = "gettext-native gtk-doc-native \
>> - pkgconfig-native"
>> + pkgconfig-native dbus-native"
>>
dbus dependency is not needed for glib-2.26.1. Compilation fails only on one
test program (in gio/test) which is enabled because configure calls pkgconfig
to detect dbus and OE's pkgconfig detects dbus-1.pc which was installed by
dbus-native because PKG_CONFIG_PATH contains both native and non native
directories.
A patch to workaround this in glib will come in a few minutes.
Eric
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 1/2] glib-2.0, dbus: drop dbus's dependency on glib and add dbus dependency to glib-2.0_2.26.1
2010-12-29 19:44 ` Eric Bénard
@ 2010-12-29 23:09 ` Andreas Oberritter
2010-12-29 23:23 ` Eric Bénard
0 siblings, 1 reply; 15+ messages in thread
From: Andreas Oberritter @ 2010-12-29 23:09 UTC (permalink / raw)
To: openembedded-devel
On 12/29/2010 08:44 PM, Eric Bénard wrote:
> PKG_CONFIG_PATH contains both native
> and non native directories.
Is this a bug or expected behavior? If expected, why is it needed at all?
Regards,
Andreas
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH 1/2] glib-2.0, dbus: drop dbus's dependency on glib and add dbus dependency to glib-2.0_2.26.1
2010-12-29 23:09 ` Andreas Oberritter
@ 2010-12-29 23:23 ` Eric Bénard
0 siblings, 0 replies; 15+ messages in thread
From: Eric Bénard @ 2010-12-29 23:23 UTC (permalink / raw)
To: openembedded-devel
On 30/12/2010 00:09, Andreas Oberritter wrote:
> On 12/29/2010 08:44 PM, Eric Bénard wrote:
>> PKG_CONFIG_PATH contains both native
>> and non native directories.
>
> Is this a bug or expected behavior? If expected, why is it needed at all?
>
this is an expected behavior as PKG_CONFIG_PATH is set in bitbake.conf
Kergoth told me on IRC it's for compiling sources which needs to compile
something which runs on the host to generate the code for the target.
Eric
^ permalink raw reply [flat|nested] 15+ messages in thread
* [PATCH 2/2] util-linux-ng: drop udev dependency to break circular dbus dependency glib->dbus->libsm->util-linux-ng->udev->glib
2010-12-29 17:42 ` glib-2.0_2.26.1: task `compile` fails with `gdbus-serialization.c:28:23: fatal error: dbus/dbus.h: No such file or directory` (was: [PATCH] glib-2.0_2.26.1: remove `DEFAULT_PREFERENCE = "-1"`) Paul Menzel
2010-12-29 17:58 ` [PATCH 1/2] glib-2.0, dbus: drop dbus's dependency on glib and add dbus dependency to glib-2.0_2.26.1 Martin Jansa
@ 2010-12-29 17:58 ` Martin Jansa
2010-12-29 18:58 ` Khem Raj
2010-12-29 19:45 ` [PATCH] glib 2.26.1: fix compilation failure Eric Bénard
2 siblings, 1 reply; 15+ messages in thread
From: Martin Jansa @ 2010-12-29 17:58 UTC (permalink / raw)
To: openembedded-devel
* see http://comments.gmane.org/gmane.comp.handhelds.openembedded/40368 for details
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
recipes/util-linux-ng/util-linux-ng.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/recipes/util-linux-ng/util-linux-ng.inc b/recipes/util-linux-ng/util-linux-ng.inc
index fa367d9..4ef917f 100644
--- a/recipes/util-linux-ng/util-linux-ng.inc
+++ b/recipes/util-linux-ng/util-linux-ng.inc
@@ -1,7 +1,7 @@
DESCRIPTION = "Util-linux-ng is a suite of essential utilities for any Linux system."
SECTION = "base"
LICENSE = "GPL"
-DEPENDS = "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} udev zlib ncurses virtual/libintl"
+DEPENDS = "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} zlib ncurses virtual/libintl"
DEPENDS_virtclass-native = "zlib-native ncurses-native lzo-native gettext-native"
inherit autotools gettext
--
1.7.3.4
^ permalink raw reply related [flat|nested] 15+ messages in thread* Re: [PATCH 2/2] util-linux-ng: drop udev dependency to break circular dbus dependency glib->dbus->libsm->util-linux-ng->udev->glib
2010-12-29 17:58 ` [PATCH 2/2] util-linux-ng: drop udev dependency to break circular dbus dependency glib->dbus->libsm->util-linux-ng->udev->glib Martin Jansa
@ 2010-12-29 18:58 ` Khem Raj
0 siblings, 0 replies; 15+ messages in thread
From: Khem Raj @ 2010-12-29 18:58 UTC (permalink / raw)
To: openembedded-devel
On Wed, Dec 29, 2010 at 9:58 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> * see http://comments.gmane.org/gmane.comp.handhelds.openembedded/40368 for details
>
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
> ---
> recipes/util-linux-ng/util-linux-ng.inc | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/recipes/util-linux-ng/util-linux-ng.inc b/recipes/util-linux-ng/util-linux-ng.inc
> index fa367d9..4ef917f 100644
> --- a/recipes/util-linux-ng/util-linux-ng.inc
> +++ b/recipes/util-linux-ng/util-linux-ng.inc
> @@ -1,7 +1,7 @@
> DESCRIPTION = "Util-linux-ng is a suite of essential utilities for any Linux system."
> SECTION = "base"
> LICENSE = "GPL"
> -DEPENDS = "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} udev zlib ncurses virtual/libintl"
> +DEPENDS = "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} zlib ncurses virtual/libintl"
> DEPENDS_virtclass-native = "zlib-native ncurses-native lzo-native gettext-native"
>
> inherit autotools gettext
> --
> 1.7.3.4
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 15+ messages in thread
* [PATCH] glib 2.26.1: fix compilation failure
2010-12-29 17:42 ` glib-2.0_2.26.1: task `compile` fails with `gdbus-serialization.c:28:23: fatal error: dbus/dbus.h: No such file or directory` (was: [PATCH] glib-2.0_2.26.1: remove `DEFAULT_PREFERENCE = "-1"`) Paul Menzel
2010-12-29 17:58 ` [PATCH 1/2] glib-2.0, dbus: drop dbus's dependency on glib and add dbus dependency to glib-2.0_2.26.1 Martin Jansa
2010-12-29 17:58 ` [PATCH 2/2] util-linux-ng: drop udev dependency to break circular dbus dependency glib->dbus->libsm->util-linux-ng->udev->glib Martin Jansa
@ 2010-12-29 19:45 ` Eric Bénard
2010-12-29 21:19 ` Khem Raj
2 siblings, 1 reply; 15+ messages in thread
From: Eric Bénard @ 2010-12-29 19:45 UTC (permalink / raw)
To: openembedded-devel
during configure, pkgconfig detects dbus-1.pc which was installed
by dbus-native and thus the compilation fails because it can't
find dbus/dbus.h which is not yet installed for in the target's
sysroot.
This patch workaround this problem by not compiling the test program
which depends on dbus's headers.
Signed-off-by: Eric Bénard <eric@eukrea.com>
---
recipes/glib-2.0/glib-2.0_2.26.1.bb | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/recipes/glib-2.0/glib-2.0_2.26.1.bb b/recipes/glib-2.0/glib-2.0_2.26.1.bb
index d95f894..e19fb9f 100644
--- a/recipes/glib-2.0/glib-2.0_2.26.1.bb
+++ b/recipes/glib-2.0/glib-2.0_2.26.1.bb
@@ -10,7 +10,7 @@ DEPENDS = "glib-2.0-native gtk-doc zlib"
DEPENDS_virtclass-native = "gettext-native gtk-doc-native \
pkgconfig-native"
-PR = "r0"
+PR = "r1"
SRC_URI = "\
http://ftp.gnome.org/pub/GNOME/sources/glib/2.26/glib-${PV}.tar.bz2;name=archive \
@@ -38,6 +38,7 @@ EXTRA_OECONF_append_glibc_arm = " --enable-included-printf=no "
do_configure_prepend () {
install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h .
+ sed -i -e "s:TEST_PROGS += gdbus-serialization::g" ${S}/gio/tests/Makefile.am
}
do_install_append() {
--
1.7.0.4
^ permalink raw reply related [flat|nested] 15+ messages in thread* Re: [PATCH] glib 2.26.1: fix compilation failure
2010-12-29 19:45 ` [PATCH] glib 2.26.1: fix compilation failure Eric Bénard
@ 2010-12-29 21:19 ` Khem Raj
2010-12-30 4:32 ` Martin Jansa
0 siblings, 1 reply; 15+ messages in thread
From: Khem Raj @ 2010-12-29 21:19 UTC (permalink / raw)
To: openembedded-devel
On Wed, Dec 29, 2010 at 11:45 AM, Eric Bénard <eric@eukrea.com> wrote:
> during configure, pkgconfig detects dbus-1.pc which was installed
> by dbus-native and thus the compilation fails because it can't
> find dbus/dbus.h which is not yet installed for in the target's
> sysroot.
>
> This patch workaround this problem by not compiling the test program
> which depends on dbus's headers.
>
> Signed-off-by: Eric Bénard <eric@eukrea.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
> ---
> recipes/glib-2.0/glib-2.0_2.26.1.bb | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/recipes/glib-2.0/glib-2.0_2.26.1.bb b/recipes/glib-2.0/glib-2.0_2.26.1.bb
> index d95f894..e19fb9f 100644
> --- a/recipes/glib-2.0/glib-2.0_2.26.1.bb
> +++ b/recipes/glib-2.0/glib-2.0_2.26.1.bb
> @@ -10,7 +10,7 @@ DEPENDS = "glib-2.0-native gtk-doc zlib"
> DEPENDS_virtclass-native = "gettext-native gtk-doc-native \
> pkgconfig-native"
>
> -PR = "r0"
> +PR = "r1"
>
> SRC_URI = "\
> http://ftp.gnome.org/pub/GNOME/sources/glib/2.26/glib-${PV}.tar.bz2;name=archive \
> @@ -38,6 +38,7 @@ EXTRA_OECONF_append_glibc_arm = " --enable-included-printf=no "
>
> do_configure_prepend () {
> install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h .
> + sed -i -e "s:TEST_PROGS += gdbus-serialization::g" ${S}/gio/tests/Makefile.am
> }
>
> do_install_append() {
> --
> 1.7.0.4
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 15+ messages in thread* Re: [PATCH] glib 2.26.1: fix compilation failure
2010-12-29 21:19 ` Khem Raj
@ 2010-12-30 4:32 ` Martin Jansa
0 siblings, 0 replies; 15+ messages in thread
From: Martin Jansa @ 2010-12-30 4:32 UTC (permalink / raw)
To: openembedded-devel
On Wed, Dec 29, 2010 at 01:19:21PM -0800, Khem Raj wrote:
> On Wed, Dec 29, 2010 at 11:45 AM, Eric Bénard <eric@eukrea.com> wrote:
> > during configure, pkgconfig detects dbus-1.pc which was installed
> > by dbus-native and thus the compilation fails because it can't
> > find dbus/dbus.h which is not yet installed for in the target's
> > sysroot.
> >
> > This patch workaround this problem by not compiling the test program
> > which depends on dbus's headers.
> >
> > Signed-off-by: Eric Bénard <eric@eukrea.com>
>
> Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
>
> > ---
> > recipes/glib-2.0/glib-2.0_2.26.1.bb | 3 ++-
> > 1 files changed, 2 insertions(+), 1 deletions(-)
> >
> > diff --git a/recipes/glib-2.0/glib-2.0_2.26.1.bb b/recipes/glib-2.0/glib-2.0_2.26.1.bb
> > index d95f894..e19fb9f 100644
> > --- a/recipes/glib-2.0/glib-2.0_2.26.1.bb
> > +++ b/recipes/glib-2.0/glib-2.0_2.26.1.bb
> > @@ -10,7 +10,7 @@ DEPENDS = "glib-2.0-native gtk-doc zlib"
> > DEPENDS_virtclass-native = "gettext-native gtk-doc-native \
> > pkgconfig-native"
> >
> > -PR = "r0"
> > +PR = "r1"
> >
> > SRC_URI = "\
> > http://ftp.gnome.org/pub/GNOME/sources/glib/2.26/glib-${PV}.tar.bz2;name=archive \
> > @@ -38,6 +38,7 @@ EXTRA_OECONF_append_glibc_arm = " --enable-included-printf=no "
> >
> > do_configure_prepend () {
> > install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h .
> > + sed -i -e "s:TEST_PROGS += gdbus-serialization::g" ${S}/gio/tests/Makefile.am
> > }
> >
> > do_install_append() {
> > --
> > 1.7.0.4
> >
> >
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> >
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH] glib-2.0_2.26.1: remove `DEFAULT_PREFERENCE = "-1"`
2010-12-28 22:29 [PATCH] glib-2.0_2.26.1: remove `DEFAULT_PREFERENCE = "-1"` Paul Menzel
2010-12-28 23:38 ` Michael 'Mickey' Lauer
@ 2010-12-30 18:58 ` Eric Bénard
1 sibling, 0 replies; 15+ messages in thread
From: Eric Bénard @ 2010-12-30 18:58 UTC (permalink / raw)
To: openembedded-devel
On 28/12/2010 23:29, Paul Menzel wrote:
> Date: Sat, 25 Dec 2010 20:09:34 +0100
>
> Since commit 07d94e [1] (upstream 2729be [2]) task `configure` of `libfso-glib` fails with the following error, since GLib 2.26 is needed and Minimal and Minimal uClibc just provide GLib 2.24 since `glib-2.0_2.26.1.bb` has `DEFAULT_PREFERENCE = "-1"` set.
>
> checking pkg-config is at least version 0.9.0... yes
> checking for VALA_DBUS_BINDING_TOOL... yes
> checking for SPECS... yes
> checking for DEPS... configure: error: Package requirements (glib-2.0>= 2.26.0
> gobject-2.0>= 2.26.0
> gio-2.0>= 2.26.0
> gthread-2.0>= 2.26.0) were not met:
>
> Requested 'glib-2.0>= 2.26.0' but version of GLib is 2.24.1
> Requested 'gobject-2.0>= 2.26.0' but version of GObject is 2.24.1
> Requested 'gio-2.0>= 2.26.0' but version of GIO is 2.24.1
> Requested 'gthread-2.0>= 2.26.0' but version of GThread is 2.24.1
>
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.
>
> Alternatively, you may set the environment variables DEPS_CFLAGS
> and DEPS_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
>
> ERROR: Function do_configure failed
>
> Other packages from the freesmartphone.org API reference implementation will also require GLib 2.26 in the future.
>
> [1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?h=org.openembedded.dev&id=07d94ebc8fd3d21fa83fb13fdf511ac008c316e6
> [2] http://git.freesmartphone.org/?p=libfso-glib.git;a=commit;h=2729be7c82a676455f93d201b0d0255ad7e139ba
> [3] http://git.freesmartphone.org/?p=cornucopia.git;a=commit;h=709ef63eab6eb9736c15e6731a50de4ccbb3613c
>
> Signed-off-by: Paul Menzel<paulepanter@users.sourceforge.net>
Acked-by: Eric Bénard <eric@eukrea.com>
> ---
> recipes/glib-2.0/glib-2.0_2.26.1.bb | 2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/recipes/glib-2.0/glib-2.0_2.26.1.bb b/recipes/glib-2.0/glib-2.0_2.26.1.bb
> index ded471b..1c855e2 100644
> --- a/recipes/glib-2.0/glib-2.0_2.26.1.bb
> +++ b/recipes/glib-2.0/glib-2.0_2.26.1.bb
> @@ -29,8 +29,6 @@ inherit autotools gettext
>
> S = "${WORKDIR}/glib-${PV}"
>
> -DEFAULT_PREFERENCE = "-1"
> -
> EXTRA_OECONF = "--disable-debug "
>
> # Add and entry for your favourite arch if your (g)libc has a sane printf
>
>
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2010-12-30 18:58 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-28 22:29 [PATCH] glib-2.0_2.26.1: remove `DEFAULT_PREFERENCE = "-1"` Paul Menzel
2010-12-28 23:38 ` Michael 'Mickey' Lauer
2010-12-29 17:42 ` glib-2.0_2.26.1: task `compile` fails with `gdbus-serialization.c:28:23: fatal error: dbus/dbus.h: No such file or directory` (was: [PATCH] glib-2.0_2.26.1: remove `DEFAULT_PREFERENCE = "-1"`) Paul Menzel
2010-12-29 17:58 ` [PATCH 1/2] glib-2.0, dbus: drop dbus's dependency on glib and add dbus dependency to glib-2.0_2.26.1 Martin Jansa
2010-12-29 18:58 ` Khem Raj
2010-12-29 19:25 ` Michael 'Mickey' Lauer
2010-12-29 19:44 ` Eric Bénard
2010-12-29 23:09 ` Andreas Oberritter
2010-12-29 23:23 ` Eric Bénard
2010-12-29 17:58 ` [PATCH 2/2] util-linux-ng: drop udev dependency to break circular dbus dependency glib->dbus->libsm->util-linux-ng->udev->glib Martin Jansa
2010-12-29 18:58 ` Khem Raj
2010-12-29 19:45 ` [PATCH] glib 2.26.1: fix compilation failure Eric Bénard
2010-12-29 21:19 ` Khem Raj
2010-12-30 4:32 ` Martin Jansa
2010-12-30 18:58 ` [PATCH] glib-2.0_2.26.1: remove `DEFAULT_PREFERENCE = "-1"` Eric Bénard
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.