Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] glib 2.26.1: fix compilation failure
Date: Thu, 30 Dec 2010 05:32:00 +0100	[thread overview]
Message-ID: <20101230043200.GA10141@jama> (raw)
In-Reply-To: <AANLkTimdAyrfzSq1zvFf1Nyg2xfrXZO2N-3a04=EKYpD@mail.gmail.com>

On Wed, Dec 29, 2010 at 01:19:21PM -0800, Khem Raj wrote:
> On Wed, Dec 29, 2010 at 11:45 AM, Eric Bénard <eric@eukrea.com> wrote:
> > during configure, pkgconfig detects dbus-1.pc which was installed
> > by dbus-native and thus the compilation fails because it can't
> > find dbus/dbus.h which is not yet installed for in the target's
> > sysroot.
> >
> > This patch workaround this problem by not compiling the test program
> > which depends on dbus's headers.
> >
> > Signed-off-by: Eric Bénard <eric@eukrea.com>
> 
> Acked-by: Khem Raj <raj.khem@gmail.com>

Acked-by: Martin Jansa <Martin.Jansa@gmail.com>

> 
> > ---
> >  recipes/glib-2.0/glib-2.0_2.26.1.bb |    3 ++-
> >  1 files changed, 2 insertions(+), 1 deletions(-)
> >
> > diff --git a/recipes/glib-2.0/glib-2.0_2.26.1.bb b/recipes/glib-2.0/glib-2.0_2.26.1.bb
> > index d95f894..e19fb9f 100644
> > --- a/recipes/glib-2.0/glib-2.0_2.26.1.bb
> > +++ b/recipes/glib-2.0/glib-2.0_2.26.1.bb
> > @@ -10,7 +10,7 @@ DEPENDS = "glib-2.0-native gtk-doc zlib"
> >  DEPENDS_virtclass-native = "gettext-native gtk-doc-native \
> >                             pkgconfig-native"
> >
> > -PR = "r0"
> > +PR = "r1"
> >
> >  SRC_URI = "\
> >   http://ftp.gnome.org/pub/GNOME/sources/glib/2.26/glib-${PV}.tar.bz2;name=archive \
> > @@ -38,6 +38,7 @@ EXTRA_OECONF_append_glibc_arm = "  --enable-included-printf=no "
> >
> >  do_configure_prepend () {
> >        install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h .
> > +       sed -i -e "s:TEST_PROGS += gdbus-serialization::g"  ${S}/gio/tests/Makefile.am
> >  }
> >
> >  do_install_append() {
> > --
> > 1.7.0.4
> >
> >
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> >
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com



  reply	other threads:[~2010-12-30  4:32 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-28 22:29 [PATCH] glib-2.0_2.26.1: remove `DEFAULT_PREFERENCE = "-1"` Paul Menzel
2010-12-28 23:38 ` Michael 'Mickey' Lauer
2010-12-29 17:42   ` glib-2.0_2.26.1: task `compile` fails with `gdbus-serialization.c:28:23: fatal error: dbus/dbus.h: No such file or directory` (was: [PATCH] glib-2.0_2.26.1: remove `DEFAULT_PREFERENCE = "-1"`) Paul Menzel
2010-12-29 17:58     ` [PATCH 1/2] glib-2.0, dbus: drop dbus's dependency on glib and add dbus dependency to glib-2.0_2.26.1 Martin Jansa
2010-12-29 18:58       ` Khem Raj
2010-12-29 19:25         ` Michael 'Mickey' Lauer
2010-12-29 19:44         ` Eric Bénard
2010-12-29 23:09           ` Andreas Oberritter
2010-12-29 23:23             ` Eric Bénard
2010-12-29 17:58     ` [PATCH 2/2] util-linux-ng: drop udev dependency to break circular dbus dependency glib->dbus->libsm->util-linux-ng->udev->glib Martin Jansa
2010-12-29 18:58       ` Khem Raj
2010-12-29 19:45     ` [PATCH] glib 2.26.1: fix compilation failure Eric Bénard
2010-12-29 21:19       ` Khem Raj
2010-12-30  4:32         ` Martin Jansa [this message]
2010-12-30 18:58 ` [PATCH] glib-2.0_2.26.1: remove `DEFAULT_PREFERENCE = "-1"` Eric Bénard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101230043200.GA10141@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox