From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Darren Hart <dvhart@linux.intel.com>
Cc: Josh Lock <joshua.lock@intel.com>,
Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 1/1] shared-mime-info: add libxml-parser-perl to DEPENDS
Date: Thu, 22 Sep 2011 21:52:06 +0100 [thread overview]
Message-ID: <1316724732.28323.8.camel@ted> (raw)
In-Reply-To: <4E7B9A47.1080402@linux.intel.com>
On Thu, 2011-09-22 at 13:27 -0700, Darren Hart wrote:
>
> On 09/22/2011 12:58 PM, Richard Purdie wrote:
> > On Thu, 2011-09-22 at 11:49 -0700, Darren Hart wrote:
> >> Fixes [YOCTO #1514]
> >>
> >> Building core-image-minimal on qemuppc (and likely others) can fail in
> >> the shared-mime-info configure step with the following error:
> >>
> >> checking for XML::Parser... configure: error: XML::Parser perl module is
> >> required for intltool
> >>
> >> Adding libxml-parser-perl to DEPENDS allows share-mime-info-native to build
> >> successfully.
> >>
> >> Testing: build tested the native version on qemuppc. I run into tool chain
> >> build failures before I can get to building the target version.
> >>
> >> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
> >> CC: Joshua Lock <josh@linux.intel.com>
> >> ---
> >> .../shared-mime-info/shared-mime-info.inc | 4 ++--
> >> 1 files changed, 2 insertions(+), 2 deletions(-)
> >>
> >> diff --git a/meta/recipes-support/shared-mime-info/shared-mime-info.inc b/meta/recipes-support/shared-mime-info/shared-mime-info.inc
> >> index 64eef9d..e206305 100644
> >> --- a/meta/recipes-support/shared-mime-info/shared-mime-info.inc
> >> +++ b/meta/recipes-support/shared-mime-info/shared-mime-info.inc
> >> @@ -5,8 +5,8 @@ SECTION = "base"
> >> LICENSE = "GPLv2+"
> >> LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
> >>
> >> -DEPENDS = "libxml2 intltool-native glib-2.0 shared-mime-info-native"
> >> -DEPENDS_virtclass-native = "libxml2-native intltool-native glib-2.0-native"
> >> +DEPENDS = "libxml2 intltool-native glib-2.0 shared-mime-info-native libxml-parser-perl"
> >> +DEPENDS_virtclass-native = "libxml2-native intltool-native glib-2.0-native libxml-parser-perl-native"
> >>
> >> SRC_URI = "http://freedesktop.org/~hadess/shared-mime-info-${PV}.tar.bz2"
> >
> >
> > There must be some underlying problem here. intltool-native should
> > depend on libxml-parser-perl-native so it should already be built. We
> > need to fix the underlying issue, not the symptom :/
>
> So intltool.inc:
>
> DEPENDS = "libxml-parser-perl-native"
> #RDEPENDS_${PN} = "libxml-parser-perl"
> RRECOMMENDS_${PN} = "perl-modules"
> RRECOMMENDS_${PN}_virtclass-native = ""
>
> Shouldn't this instead look like:
>
> DEPENDS = "libxml-parser-perl"
> DEPENDS_virtclass-native = "libxml-parser-perl-native"
>
> Dropping my change above and using this fix instead allows the build to
> complete. Does look like the right fix to you? Shall I send this as a
> patch?
That certainly sounds like the more correct solution, yes.
Cheers,
Richard
prev parent reply other threads:[~2011-09-22 20:57 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-22 18:49 [PATCH 0/1] shared-mime-info: add libxml-parser-perl to DEPENDS Darren Hart
2011-09-22 18:49 ` [PATCH 1/1] " Darren Hart
2011-09-22 19:58 ` Richard Purdie
2011-09-22 20:03 ` Saul Wold
2011-09-22 20:19 ` Darren Hart
2011-09-22 20:53 ` Richard Purdie
2011-09-22 20:32 ` Darren Hart
2011-09-22 20:27 ` Darren Hart
2011-09-22 20:34 ` Koen Kooi
2011-09-22 20:52 ` Richard Purdie [this message]
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=1316724732.28323.8.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=dvhart@linux.intel.com \
--cc=joshua.lock@intel.com \
--cc=openembedded-core@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