| Submitter | Kang Kai |
|---|---|
| Date | Oct. 15, 2012, 11:32 a.m. |
| Message ID | <decff650be8ca9f3938423a38e869fb1d13baaec.1350300631.git.kai.kang@windriver.com> |
| Download | mbox | patch |
| Permalink | /patch/38155/ |
| State | New |
| Headers | show |
Comments
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? Cheers, Richard
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 > >
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@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
Patch
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 \ " RDEPENDS_${PN}_darwin8 = "\
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(-)