[OE-core] [PATCH 2/2] nativesdk-packagegroup-sdk-host: add perl modules

Richard Purdie richard.purdie at linuxfoundation.org
Wed Oct 17 16:22:36 UTC 2012


On Tue, 2012-10-16 at 09:59 +0800, Kang Kai wrote:
> 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 at 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.

Let me rephrase the question. Why doesn't nativesdk-automake depend on
the correct set of perl modules for example?

We need to figure out which pieces have perl dependencies and then add
the correct module dependencies to those places.

Cheers,

Richard








More information about the Openembedded-core mailing list