libshr-glib: task configure fails with `/bin/sh: gdbus-codegen: command not found`
Dear OE folks,
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
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?
Thanks,
Paul
Quoted 30 lines · Paul Menzel
Dear OE folks,
as a result of I think commit
82f8341d[1]commit
82f8341d6282d6ae29e80eb3cdf312b6deda9b4c
Author: Martin Jansa <[email protected]>
Date: Sun May 8 07:08:16 2011 +0200glib-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-glibusingminimalforMACHINE = "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
touchshr-bindings.h
[…]
Quoted 1 line
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 hasDEFAULT_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,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Am Donnerstag, den 12.05.2011, 10:54 +0200 schrieb Martin Jansa:
Quoted 51 lines · Paul Menzel
Quoted 28 lines
as a result of I think commit
82f8341d[1]commit
82f8341d6282d6ae29e80eb3cdf312b6deda9b4c
Author: Martin Jansa <[email protected]>
Date: Sun May 8 07:08:16 2011 +0200glib-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-glibusingminimalforMACHINE = "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
touchshr-bindings.h
[…]Quoted 1 line
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=22b4f7926170ec14253a6d60f6d98f5eb3ec7f27That's why this
_gitrecipe hasDEFAULT_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=f6c2ad4e651383ab09be1f5b394aa7014233cfc5and 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
Quoted 3 lines
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
Quoted 7 lines · Paul Menzel
Thank you for the explanation.
DISTRO="shr" bitbake -k libshr-glib
indeed worked after getting
glib-2.0_gitto build on my build host [1].
Quoted 6 lines
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 for testing and fix!
The recipe is from meta-oe where I created it from older version in oe-core.
I didn't plan to backport it to oe.dev first, but because I needed mrmoku (Klaus Kurzmann) to help me with phoneuid/phonefsod changes I've added it to oe.dev too because he is still using oe.dev.
Cheers,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]