[yocto] glib-2.0-native build fails on bernard
Andre Haupt
andre at bitwigglers.org
Mon Aug 15 03:20:19 PDT 2011
On Mon, Aug 15, 2011 at 11:05:51AM +0100, Richard Purdie wrote:
> On Mon, 2011-08-15 at 11:47 +0200, Andre Haupt wrote:
> > On Fri, Aug 12, 2011 at 11:45:22AM +0200, Andre Haupt wrote:
> > > On Fri, Aug 12, 2011 at 08:32:17AM +0000, jani.uusi-rantala at nokia.com wrote:
> > > > I had the same issue on 64-bit fedora R15. This patch fixed it for me:
> > > >
> > > > http://patchwork.openembedded.org/patch/8233/
> > >
> > > for bernard (with MACHINE ??= qemux86 and DISTRO ?= poky) glib-2.0_2.26.1.bb is pulled in, so the above
> > > patch does not apply. I tried something similar:
> > >
> > > diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.26.1.bb
> > > b/meta/recipes-core/glib-2.0/glib-2.0_2.26.1.bb
> > > index eace71a..e8964d9 100644
> > > --- a/meta/recipes-core/glib-2.0/glib-2.0_2.26.1.bb
> > > +++ b/meta/recipes-core/glib-2.0/glib-2.0_2.26.1.bb
> > > @@ -1,7 +1,7 @@
> > > require glib.inc
> > >
> > > PE = "1"
> > > -PR = "r0"
> > > +PR = "r1"
> > >
> > > SRC_URI =
> > > "http://ftp.gnome.org/pub/GNOME/sources/glib/2.26/glib-${PV}.tar.bz2 \
> > > file://configure-libtool.patch \
> > > @@ -14,3 +14,5 @@ SRC_URI[sha256sum] =
> > > "7a74ff12b6b9dee1f2d0e520b56b68b621920c4f4250bdf23468e51562
> > >
> > > SRC_URI_append_virtclass-native = " file://glib-gettextize-dir.patch"
> > > BBCLASSEXTEND = "native"
> > > +
> > > +EXTRA_OECONF_append = " --enable-dtrace=no"
> > >
> > > Unfortunately that does not help.
> >
> > I had a look at the configure log. Dtrace and SystemTap are both still
> > pulled in. I also tried with --disable-dtrace and --disable-systemtap
> > but that does not help either.
>
> In glib.inc there is the line:
>
> EXTRA_OECONF_virtclass-native = ""
>
> and you could try changing that to be:
>
> EXTRA_OECONF_virtclass-native = "--disable-dtrace --disable-systemtap"
>
> I think master may also need some fixes in this regard.
That worked, thanks a lot Richard.
For reference, i include the patch here
diff --git a/meta/recipes-core/glib-2.0/glib.inc
b/meta/recipes-core/glib-2.0/glib.inc
index 0319b9d..51ccd4d 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -28,7 +28,7 @@ inherit autotools pkgconfig gettext
S = "${WORKDIR}/glib-${PV}"
EXTRA_OECONF = "--disable-debug --enable-included-printf=no"
-EXTRA_OECONF_virtclass-native = ""
+EXTRA_OECONF_virtclass-native = "--disable-dtrace --disable-systemtap"
EXTRA_OECONF_poky-lsb = "--enable-included-printf=no"
FILES_${PN} = "${libdir}/lib*${SOLIBS}"
More information about the yocto
mailing list