[oe-commits] Enrico Scholz : dbus: disable usage of dbus-glib explicitly

git at git.openembedded.org git at git.openembedded.org
Fri Jun 13 17:10:59 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: 0eeeb40d2af99448c3b94047f26d33a9983a221b
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=0eeeb40d2af99448c3b94047f26d33a9983a221b

Author: Enrico Scholz <enrico.scholz at sigma-chemnitz.de>
Date:   Thu Jun 12 15:32:00 2014 +0200

dbus: disable usage of dbus-glib explicitly

on rebuilds, dbus-native can detect an already existing dbus-glib and
tries to link some tests against it.  As files were unstaged and due
to libtool insanities this fails with:

| /usr/bin/grep: .../sysroots/x86_64-oe-linux/usr/lib/libdbus-1.la: No such file or directory
| sed: can't read .../sysroots/x86_64-oe-linux/usr/lib/libdbus-1.la: No such file or directory
| x86_64-oe-linux-libtool: link: `.../sysroots/x86_64-oe-linux/usr/lib/libdbus-1.la' is not a valid libtool archive
| make[3]: *** [libdbus-testutils.la] Error 1
| make[3]: Leaving directory `.../work/x86_64-oe-linux/dbus-native/1.8.2-r0/build/test'

Make builds predicatable (and working) by disabling usage of dbus-glib
explicitly.

Signed-off-by: Enrico Scholz <enrico.scholz at sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-core/dbus/dbus.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc
index b3d3834..be0131c 100644
--- a/meta/recipes-core/dbus/dbus.inc
+++ b/meta/recipes-core/dbus/dbus.inc
@@ -83,7 +83,8 @@ EXTRA_OECONF = "--disable-tests \
                 --disable-xml-docs \
                 --disable-doxygen-docs \
                 --disable-libaudit \
-                --disable-systemd"
+                --disable-systemd \
+                --without-dbus-glib"
 
 PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \
                    ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"



More information about the Openembedded-commits mailing list