[OE-core] Some problems about nativesdk-perl

Kang Kai Kai.Kang at windriver.com
Sat Sep 29 06:20:26 UTC 2012


On 2012年09月28日 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 +=
>> "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.
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 hopefully
> fix it.
The perl @INC path prefix for toolchain("/opt/poky/1.2+snapshot/...) has 
been added back by your patch.
But there are still one path in @INC include build environment 
directories, it seems that the dirs are compiled into libperl.so.  So 
use sed when do_packages
could not fix this issue.

Regards,
Kai

>
> Cheers,
>
> Richard
>
>





More information about the Openembedded-core mailing list