[oe] [PATCH] libgpsbt: add dbus-glib to DEPENDS

Paul Menzel paulepanter at users.sourceforge.net
Sat Apr 30 19:41:29 UTC 2011


Dear Andreas,


Am Samstag, den 30.04.2011, 14:32 +0200 schrieb Andreas Mueller:
> During performance tests with BB_NUMBER_THREADS > 10
> libgpsbt failed with
> 
> | /home/Superandy/tmp/sysroots/x86_64-linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.5.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: cannot find -ldbus-glib-1
> | collect2: ld returned 1 exit status
> | make[1]: *** [libgpsbt.la] Error 1
> | make[1]: Leaving directory `/home/Superandy/tmp/work/armv7a-angstrom-linux-gnueabi/libgpsbt-0.1-r2/libgpsbt-0.1'
> | make: *** [all] Error 2
> | + die 'oe_runmake failed'
> | + oefatal 'oe_runmake failed'
> | + echo FATAL: 'oe_runmake failed'
> | FATAL: oe_runmake failed
> | + exit 1
> ...
> ERROR: '/home/Superandy/data/OpenEmbedded/gumstix-oe/recipes/maemo4/libgpsbt_0.1.bb' failed

Why is the task compile even executed for your system? Using
`minimal-uclibc` already task configure detects the missing dependency.

        […]
        | checking for GLIB... yes
        | checking for DBUS... configure: error: Package requirements ( dbus-glib-1 >= 0.23 ) were not met:
        |
        | No package 'dbus-glib-1' found
        |
        | Consider adjusting the PKG_CONFIG_PATH environment variable if you
        | installed software in a non-standard prefix.
        |
        | Alternatively, you may set the environment variables DBUS_CFLAGS
        | and DBUS_LIBS to avoid the need to call pkg-config.
        | See the pkg-config man page for more details.
        |
        NOTE: package libgpsbt-0.1-r2: task do_configure: Failed

> Signed-off-by: Andreas Mueller <schnitzeltony at gmx.de>

Acked-by: Paul Menzel <paulepanter at users.sourceforge.net>

> ---
>  recipes/maemo4/libgpsbt_0.1.bb |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/recipes/maemo4/libgpsbt_0.1.bb b/recipes/maemo4/libgpsbt_0.1.bb
> index c6c6ea6..d199379 100644
> --- a/recipes/maemo4/libgpsbt_0.1.bb
> +++ b/recipes/maemo4/libgpsbt_0.1.bb
> @@ -1,8 +1,8 @@
>  LICENSE = "nokia"
>  
> -PR = "r2"
> +PR = "r3"

Is that needed?

> -DEPENDS = "libgpsmgr dbus"
> +DEPENDS = "libgpsmgr dbus dbus-glib"
>  
>  # This is proprietary software in Chinook, so we have to stay with the last released
>  # free version.

Acked-by: Paul Menzel <paulepanter at users.sourceforge.net>


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/20110430/95f171ea/attachment-0002.sig>


More information about the Openembedded-devel mailing list