From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.windriver.com ([147.11.1.11]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1THZFb-0007WP-6s for openembedded-core@lists.openembedded.org; Fri, 28 Sep 2012 14:00:59 +0200 Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.14.5/8.14.3) with ESMTP id q8SBm0rS008098 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Fri, 28 Sep 2012 04:48:01 -0700 (PDT) Received: from [128.224.162.159] (128.224.162.159) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server (TLS) id 14.2.309.2; Fri, 28 Sep 2012 04:48:00 -0700 Message-ID: <50658E84.9090206@windriver.com> Date: Fri, 28 Sep 2012 19:48:20 +0800 From: Kang Kai User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: Richard Purdie X-Originating-IP: [128.224.162.159] Cc: openembedded-core@lists.openembedded.org Subject: Some problems about nativesdk-perl X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Sep 2012 12:00:59 -0000 Content-Type: multipart/alternative; boundary="------------020400010409030609000006" --------------020400010409030609000006 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Hi Richard, I meet 2 problems about nativesdk-perl. First one is that nativesdk-perl-modules doesn't depends on the single nativesdk-perl-module-xxx which I asked you yesterday, but I still don't know how to fix it. I tried to add one line to perl_5.14.2.bb: RRECOMMENDS_perl-modules_virtclass-nativesdk += "nativesdk-perl-module-config" and it will cover the original value and make nativesdk-perl-modules only depends on nativesdk-perl-module-config. Doesn't "+=" work for nativesdk ? The second issue is the latest commit for perl(Yocto commit 876ec81c039132d07a5f3d99bae40d6154351d41) . I build meta-toolchain-gmae with it, and the perl @INC path remove the "/opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux" prefix. Is that the right operation? Regards, Kai --------------020400010409030609000006 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Hi Richard,

I meet 2 problems about nativesdk-perl.

First one is that nativesdk-perl-modules doesn't depends on the single nativesdk-perl-module-xxx which I asked you yesterday, but I still don't know how to fix it.
I tried to add one line to perl_5.14.2.bb:
RRECOMMENDS_perl-modules_virtclass-nativesdk += "nativesdk-perl-module-config"

and it will cover the original value and make nativesdk-perl-modules only depends on
nativesdk-perl-module-config.
Doesn't "+=" work for nativesdk ?

The second issue is the latest commit for perl(Yocto commit 876ec81c039132d07a5f3d99bae40d6154351d41) . I build meta-toolchain-gmae with it,
and the perl @INC path remove the "/opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux" prefix.
Is that the right operation?

Regards,
Kai
--------------020400010409030609000006-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 93-97-173-237.zone5.bethere.co.uk ([93.97.173.237] helo=tim.rpsys.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1THagb-0005Wx-U7 for openembedded-core@lists.openembedded.org; Fri, 28 Sep 2012 15:32:58 +0200 Received: from localhost (localhost [127.0.0.1]) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id q8SDK2jc010407; Fri, 28 Sep 2012 14:20:02 +0100 Received: from tim.rpsys.net ([127.0.0.1]) by localhost (tim.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09843-07; Fri, 28 Sep 2012 14:19:57 +0100 (BST) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id q8SDJpXp010394 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Fri, 28 Sep 2012 14:19:52 +0100 Message-ID: <1348838392.15753.50.camel@ted> From: Richard Purdie To: Kang Kai Date: Fri, 28 Sep 2012 14:19:52 +0100 In-Reply-To: <50658E84.9090206@windriver.com> References: <50658E84.9090206@windriver.com> X-Mailer: Evolution 3.2.3-0ubuntu6 Mime-Version: 1.0 X-Virus-Scanned: amavisd-new at rpsys.net Cc: openembedded-core@lists.openembedded.org Subject: Re: Some problems about nativesdk-perl X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Sep 2012 13:32:58 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Fri, 2012-09-28 at 19:48 +0800, Kang Kai wrote: > Hi Richard, > > I meet 2 problems about nativesdk-perl. > > First one is that nativesdk-perl-modules doesn't depends on the single > nativesdk-perl-module-xxx which I asked you yesterday, but I still > don't know how to fix it. > I tried to add one line to perl_5.14.2.bb: > RRECOMMENDS_perl-modules_virtclass-nativesdk += > "nativesdk-perl-module-config" > > and it will cover the original value and make nativesdk-perl-modules > only depends on nativesdk-perl-module-config. > Doesn't "+=" work for nativesdk ? I will need to investigate this issue further to comment and I'm short on time at the moment. > > The second issue is the latest commit for perl(Yocto commit > 876ec81c039132d07a5f3d99bae40d6154351d41) . I build > meta-toolchain-gmae with it, > and the perl @INC path remove the "/opt/poky/1.2 > +snapshot/sysroots/x86_64-pokysdk-linux" prefix. > Is that the right operation? No, please try with the patch I just sent applied as this will hopefully fix it. Cheers, Richard From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1.windriver.com ([147.11.146.13]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1THqbn-0005x7-Up for openembedded-core@lists.openembedded.org; Sat, 29 Sep 2012 08:33:04 +0200 Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail1.windriver.com (8.14.5/8.14.3) with ESMTP id q8T6K7wv011975 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Fri, 28 Sep 2012 23:20:07 -0700 (PDT) Received: from [128.224.162.159] (128.224.162.159) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server (TLS) id 14.2.309.2; Fri, 28 Sep 2012 23:20:06 -0700 Message-ID: <50669329.1040607@windriver.com> Date: Sat, 29 Sep 2012 14:20:26 +0800 From: Kang Kai User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: Richard Purdie References: <50658E84.9090206@windriver.com> <1348838392.15753.50.camel@ted> In-Reply-To: <1348838392.15753.50.camel@ted> X-Originating-IP: [128.224.162.159] X-MIME-Autoconverted: from 8bit to quoted-printable by mail1.windriver.com id q8T6K7wv011975 Cc: openembedded-core@lists.openembedded.org Subject: Re: Some problems about nativesdk-perl X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Sep 2012 06:33:04 -0000 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable On 2012=E5=B9=B409=E6=9C=8828=E6=97=A5 21:19, Richard Purdie wrote: > On Fri, 2012-09-28 at 19:48 +0800, Kang Kai wrote: >> Hi Richard, >> >> I meet 2 problems about nativesdk-perl. >> >> First one is that nativesdk-perl-modules doesn't depends on the single >> nativesdk-perl-module-xxx which I asked you yesterday, but I still >> don't know how to fix it. >> I tried to add one line to perl_5.14.2.bb: >> RRECOMMENDS_perl-modules_virtclass-nativesdk +=3D >> "nativesdk-perl-module-config" >> >> and it will cover the original value and make nativesdk-perl-modules >> only depends on nativesdk-perl-module-config. >> Doesn't "+=3D" work for nativesdk ? > I will need to investigate this issue further to comment and I'm short > on time at the moment. OK. Thanks. > >> The second issue is the latest commit for perl(Yocto commit >> 876ec81c039132d07a5f3d99bae40d6154351d41) . I build >> meta-toolchain-gmae with it, >> and the perl @INC path remove the "/opt/poky/1.2 >> +snapshot/sysroots/x86_64-pokysdk-linux" prefix. >> Is that the right operation? > No, please try with the patch I just sent applied as this will hopefull= y > fix it. The perl @INC path prefix for toolchain("/opt/poky/1.2+snapshot/...) has=20 been added back by your patch. But there are still one path in @INC include build environment=20 directories, it seems that the dirs are compiled into libperl.so. So=20 use sed when do_packages could not fix this issue. Regards, Kai > > Cheers, > > Richard > >