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] rpm: avoid dependency on perl and python for -native build
Date: Thu, 02 Jun 2011 23:26:36 +0100	[thread overview]
Message-ID: <1307053596.27470.597.camel@rex> (raw)
In-Reply-To: <1307050662.4028.3.camel@lenovo.internal.reciva.com>

On Thu, 2011-06-02 at 22:37 +0100, Phil Blundell wrote:
> On Thu, 2011-06-02 at 22:25 +0100, Richard Purdie wrote:
> > | checking pcre.h usability... no
> > | checking pcre.h presence... no
> > | checking for pcre.h... no
> > | checking for pcre_compile in -lpcre... no
> > | checking whether to build with PCRE library... no
> > | ++ executing failure action
> > | configure: error: PCRE is mandatory. If you don't have  libpcre then --with-pcre=internal could be used
> 
> Oh dear, that's not too good.  Can you send me a copy of the config.log
> corresponding to that failure?  Is pcre actually in your sysroot, or has
> it just not been built and staged at all?

Its not been built or staged at all. I think I'm being a little hasty in
blaming your patch directly, its interacting very badly with one that
was working happily in my tree todo with cleaning up native.bbclass.

What you're doing is setting:

DEPENDS = "X"
DEPENDS_virtclass-native = "X"

and assuming that the DEPENDS_virtclass-native will get post processed
by native.bbclass to add the -native bits where needed. With my cleanup
one side effect is that no longer happens.

My understanding is that if you are going to explicitly override DEPENDS
like that you get what you say you want. We therefore likely need to do
something like:

DEPENDS = "X Y Z ${EXTRAPERLDEPS}"
EXTRAPERLDEPS = "perl python"
EXTRAPERLDEPS_virtclass-native = ""

Cheers,

Richard










  reply	other threads:[~2011-06-02 22:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-02  9:48 [PATCH] rpm: avoid dependency on perl and python for -native build Phil Blundell
2011-06-02 13:29 ` Mark Hatle
2011-06-02 13:52 ` Richard Purdie
2011-06-02 21:25 ` Richard Purdie
2011-06-02 21:37   ` Phil Blundell
2011-06-02 22:26     ` Richard Purdie [this message]
2011-06-03 10:32       ` Phil Blundell

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=1307053596.27470.597.camel@rex \
    --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