[oe] 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 paulepanter at users.sourceforge.net
Wed Dec 29 17:42:43 UTC 2010


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20101229/50dac52d/attachment-0002.sig>


More information about the Openembedded-devel mailing list