Am Donnerstag, den 12.05.2011, 10:54 +0200 schrieb Martin Jansa:
> On Thu, May 12, 2011 at 10:47:30AM +0200, Paul Menzel wrote:

> > as a result of I think commit 82f8341d [1]
> > 
> >     commit 82f8341d6282d6ae29e80eb3cdf312b6deda9b4c
> >     Author: Martin Jansa <[email protected]>
> >     Date:   Sun May 8 07:08:16 2011 +0200
> > 
> >               glib-2.0_git: include gdbus-codegen files in -dev
> >               
> >               Signed-off-by: Martin Jansa <[email protected]>
> > 
> > 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.

Thank you for the explanation.

        DISTRO="shr" bitbake -k libshr-glib

indeed worked after getting `glib-2.0_git` to build on my build host
[1].

I will not get to test newer GLib version with other distributions
before July.

One slightly off topic question. Where did you get the 2.29.3 or git
recipe from or did you write it from scratch? I find the ordering in the
recipe quite confusing.


Thanks,

Paul


[1] 
http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=dcf425c5472fdee74885c4f21a851e39c84e6642

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to