Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Kang Kai <Kai.Kang@windriver.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 2/2] nativesdk-packagegroup-sdk-host: add perl modules
Date: Tue, 16 Oct 2012 09:59:07 +0800	[thread overview]
Message-ID: <507CBF6B.6070202@windriver.com> (raw)
In-Reply-To: <1350334543.2185.19.camel@ted>

On 2012年10月16日 04:55, Richard Purdie wrote:
> On Mon, 2012-10-15 at 19:32 +0800, Kang Kai wrote:
>> nativesdk-perl is required to cross compile iptables when use
>> meta-toolchain-gmae, and perl modules are needed too.
>> Package nativesdk-perl-modules depends on nativesdk-perl, so just add
>> nativesdk-perl-modules only.
>>
>> [Yocto 3100]
>>
>> Signed-off-by: Kang Kai<kai.kang@windriver.com>
>> ---
>>   .../nativesdk-packagegroup-sdk-host.bb             |    3 ++-
>>   1 files changed, 2 insertions(+), 1 deletions(-)
>>
>> diff --git a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
>> index 63fea28..383820a 100644
>> --- a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
>> +++ b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
>> @@ -3,7 +3,7 @@
>>   #
>>
>>   SUMMARY = "Host packages for the standalone SDK or external toolchain"
>> -PR = "r11"
>> +PR = "r12"
>>   LICENSE = "MIT"
>>
>>   inherit nativesdk packagegroup
>> @@ -20,6 +20,7 @@ RDEPENDS_${PN} = "\
>>       nativesdk-libtool \
>>       nativesdk-autoconf \
>>       nativesdk-automake \
>> +    nativesdk-perl-modules \
>>       "
> This doesn't feel right. Which tool has the perl dependency and why
> doesn't that tool depend on (xxx-)perl-modules?
perl is RDEPENDed by eglibc-mtrace, and nativesdk-eglibc-mtrace is not 
installed into toolchain.

When use meta-toolchain-gmae to cross iptable, run 'autoreconf' requires 
nativesdk-perl. But only install nativesdk-perl
can't make perl work properly, so install nativesdk-perl-modules as 
well. And package nativesdk-perl-modules requires nativesdk-perl,
so I just write "nativesdk-perl-modules" here.

Regards,
Kai

>
> Cheers,
>
> Richard
>
>




  reply	other threads:[~2012-10-16  2:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-15 11:32 [PATCH 0/2] Fix nativesdk-perl dependency Kang Kai
2012-10-15 11:32 ` [PATCH 1/2] nativesdk-perl: fix dependecy Kang Kai
2012-10-16  8:16   ` Robert Yang
2012-10-17 16:20     ` Richard Purdie
2012-10-15 11:32 ` [PATCH 2/2] nativesdk-packagegroup-sdk-host: add perl modules Kang Kai
2012-10-15 20:55   ` Richard Purdie
2012-10-16  1:59     ` Kang Kai [this message]
2012-10-17 16:22       ` Richard Purdie

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=507CBF6B.6070202@windriver.com \
    --to=kai.kang@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.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