[oe] libshr-glib: task configure fails with `/bin/sh: gdbus-codegen: command not found`
Martin Jansa
martin.jansa at gmail.com
Thu May 12 08:54:20 UTC 2011
On Thu, May 12, 2011 at 10:47:30AM +0200, Paul Menzel wrote:
> Dear OE folks,
>
>
> as a result of I think commit 82f8341d [1]
>
> commit 82f8341d6282d6ae29e80eb3cdf312b6deda9b4c
> Author: Martin Jansa <Martin.Jansa at gmail.com>
> Date: Sun May 8 07:08:16 2011 +0200
>
> glib-2.0_git: include gdbus-codegen files in -dev
>
> Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
>
> I am seeing the following error message in task configure of
> `libshr-glib` using `minimal` for `MACHINE = "beagleboard"`.
>
> […]
> for f in /oe/build-minimal-eglibc/minimal-dev/sysroots/armv7a-oe-linux-gnueabi//usr/share/shr-specs/xml/*.xml; do OUT=`echo $f | sed 's/.*\///g; s/^org\.shr\./shr-/g; s/.xml//g; s/\.//g;' | awk '{ printf tolower($1)}'`; gdbus-codegen --interface-prefix org.shr --generate-c-code $OUT $f; echo "#include <$OUT.h>" >> shr-bindings.h; done
> /bin/sh: gdbus-codegen: command not found
> /bin/sh: gdbus-codegen: command not found
> /bin/sh: gdbus-codegen: command not found
> /bin/sh: gdbus-codegen: command not found
> /bin/sh: gdbus-codegen: command not found
> /bin/sh: gdbus-codegen: command not found
> /bin/sh: gdbus-codegen: command not found
> /bin/sh: gdbus-codegen: command not found
> /bin/sh: gdbus-codegen: command not found
> touch shr-bindings.h
> […]
>
> Is that related?
Not really, gdbus-codegen was provided by gdbus-binding-tool, but this
recipe is no longer supported by libshr-glib which now uses newer
gdbus-codegen version which was merged to glib sources (2.29.3 and
newer)
http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=22b4f7926170ec14253a6d60f6d98f5eb3ec7f27
That's why this _git recipe has
DEFAULT_PREFERENCE_shr = "1"
and libshr-glib no longer depends on gdbus-binding-tool, but expects
glib-2.0-native to be new enough
http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=f6c2ad4e651383ab09be1f5b394aa7014233cfc5
and also few more libs/daemons were changed to support newer glib
glib-2.0_git: add RREPLACES for gdbus-binding-tool Martin Jansa
libphone-ui: bump SRCREV for glib-2.29 Martin Jansa
libshr-glib: bump SRCREV for glib-2.29 support and use gdbus-codegen from gli... Martin Jansa
phoneuid: bump SRCREV for glib-2.29 Martin Jansa
phonefsod: bump SRCREV for glib-2.29
So if you need any of those, you have to manually clean
gdbus-binding-tool-native/gdbus-binding-tool on your buildhost (to clean
sysroot and shlibs) and then prefer glib-2.0-2.29.3.
Regards,
--
Martin 'JaMa' Jansa jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20110512/212e3706/attachment-0002.sig>
More information about the Openembedded-devel
mailing list