Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 1/1] intltool: remove XML::Parser check
Date: Sun, 27 Nov 2011 11:37:39 +0000	[thread overview]
Message-ID: <1322393859.4798.13.camel@ted> (raw)
In-Reply-To: <CAMKF1spYAcXRg3of=P-bjoZmb11HhnaDztomSBMCjPFx=zsGRw@mail.gmail.com>

On Sat, 2011-11-26 at 13:36 -0800, Khem Raj wrote:
> Hi Saul
> 
> On Sat, Nov 26, 2011 at 10:49 AM, Saul Wold <sgw@linux.intel.com> wrote:
> > On 11/24/2011 11:37 AM, Khem Raj wrote:
> >>
> >> On Thu, Nov 24, 2011 at 10:29 AM, Saul Wold<sgw@linux.intel.com>  wrote:
> >>>
> >>> Add Patch to disable the XML::Parser check in the target
> >>> intltool.m4, this check will find the host (not native)
> >>> XML::Parser if it's installed possibly causing Host
> >>> contamination, but will also fail configuration if XML::Parser
> >>> is not installed on the host.
> >>>
> >>> Since we know that XML::Parser is installed on the image, we don't
> >>> really need this check, so comment it out.
> >>
> >> if it is installed then why does it fail to detect it ?
> >>
> > Because the recipes that depend on intltool do not inherit perlnative, the
> > recipes in question are gconf and shared-mime-info.  They depend on
> > intltool, but do not need to directly inherit perlnative (at least according
> > to RP).
> 
> why dont they need to inherit perlnative ? If they depend on intltool which
> expects that its dependees inherit perlnative. I am just worried where this
> may cause issues. There might be other recipes which should need XML parser
> and may not get it since we remove the test here.

All of the intltool scripts have the correct paths to perl already
embedded into them and can find perl fine. If the recipe needs perl for
some other reason than intltool, it needs perlnative but it if only
needs perl for intltool, we shouldn't need the dependency. The .m4 macro
checks are well intended but don't fit the way we use perl. I really
don't want to end up in a position where intltool automatically means we
have to add perlnative as a dependency and we've previously seen many
problems related to that.

Cheers,

Richard





  reply	other threads:[~2011-11-27 11:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-24 18:29 [PATCH 0/1] Fix for host conamination Saul Wold
2011-11-24 18:29 ` [PATCH 1/1] intltool: remove XML::Parser check Saul Wold
2011-11-24 19:37   ` Khem Raj
2011-11-26 18:49     ` Saul Wold
2011-11-26 21:36       ` Khem Raj
2011-11-27 11:37         ` Richard Purdie [this message]
2011-11-27 17:03           ` Khem Raj
  -- strict thread matches above, loose matches on Subject: below --
2011-11-28 19:28 [PATCH 0/1] Fix for host conamination (v2) Saul Wold
2011-11-28 19:28 ` [PATCH 1/1] intltool: remove XML::Parser check Saul Wold

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=1322393859.4798.13.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --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