Patchwork dbus: disable usage of dbus-glib explicitly

login
register
mail settings
Submitter Enrico Scholz
Date June 12, 2014, 1:32 p.m.
Message ID <1402579920-14967-1-git-send-email-enrico.scholz@sigma-chemnitz.de>
Download mbox | patch
Permalink /patch/73659/
State New
Headers show

Comments

Enrico Scholz - June 12, 2014, 1:32 p.m.
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@sigma-chemnitz.de>
---
 meta/recipes-core/dbus/dbus.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Ross Burton - June 12, 2014, 2:01 p.m.
Good catch.

Acked-by: Ross Burton <ross.burton@intel.com>



On 12 June 2014 14:32, Enrico Scholz <enrico.scholz@sigma-chemnitz.de> wrote:
> 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@sigma-chemnitz.de>
> ---
>  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 b5c9159..5b2a056 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)}"
> --
> 1.9.3
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

Patch

diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc
index b5c9159..5b2a056 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)}"