Skip to contentSkip to conversation

Some problems about nativesdk-perl

DISCUSSION Kang Kai 2 participants 3 messages Sep 28, 2012 – Sep 29, 2012

lore
Share & tools
lore

Kang Kai

author
#0 lore raw

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

#1 lore raw
Quoted 11 lines · Kang Kai

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"

Quoted 3 lines

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.

Quoted 7 lines

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

author
#2 lore raw
Quoted 12 lines · Richard Purdie
Quoted 11 lines · Kang Kai

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"

Quoted 5 lines
Quoted 3 lines

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.

Quoted 9 lines
Quoted 7 lines

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

Quoted 6 lines

Cheers,

Richard