Wind River Support Network

HomeDefectsLIN10-3693
Fixed

LIN10-3693 : perl modules missing for nativesdk

Created: Apr 8, 2018    Updated: Dec 3, 2018
Resolved Date: Apr 24, 2018
Found In Version: 10.17.41.6
Fix Version: 10.17.41.7
Severity: Standard
Applicable for: Wind River Linux LTS 17
Component/s: Userspace

Description

Run a simple perl script in SDK
... ...
Can't locate File/Copy.pm in @INC (you may need to install the File::Copy module) (@INC contains: /home/wrlbuild/builds/builds-7ed62b03-f139-435e-9840-be1b629a2a23/GIT_2018040714/04071433-test_perl_in_sdk/qemux86-64-standard-glibc-std-OE/build/sdk_test_dir/sysroots/x86_64-wrlinuxsdk-linux//usr/lib/perl/site_perl/5.24.1 /home/wrlbuild/builds/builds-7ed62b03-f139-435e-9840-be1b629a2a23/GIT_2018040714/04071433-test_perl_in_sdk/qemux86-64-standard-glibc-std-OE/build/sdk_test_dir/sysroots/x86_64-wrlinuxsdk-linux//usr/lib/perl/vendor_perl/5.24.1 /home/wrlbuild/builds/builds-7ed62b03-f139-435e-9840-be1b629a2a23/GIT_2018040714/04071433-test_perl_in_sdk/qemux86-64-standard-glibc-std-OE/build/sdk_test_dir/sysroots/x86_64-wrlinuxsdk-linux//usr/lib/perl/5.24.1 /opt/windriver/wrlinux-small/10.17.41/sysroots/x86_64-wrlinuxsdk-linux/usr/lib/perl/site_perl/5.24.1/ /opt/windriver/wrlinux-small/10.17.41/sysroots/x86_64-wrlinuxsdk-linux/usr/lib/perl/site_perl/5.24.1 /opt/windriver/wrlinux-small/10.17.41/sysroots/x86_64-wrlinuxsdk-linux/usr/lib/perl/vendor_perl/5.24.1/ /opt/windriver/wrlinux-small/10.17.41/sysroots/x86_64-wrlinuxsdk-linux/usr/lib/perl/vendor_perl/5.24.1 /opt/windriver/wrlinux-small/10.17.41/sysroots/x86_64-wrlinuxsdk-linux/usr/lib/perl/5.24.1/ /opt/windriver/wrlinux-small/10.17.41/sysroots/x86_64-wrlinuxsdk-linux/usr/lib/perl/5.24.1 /opt/windriver/wrlinux-small/10.17.41/sysroots/x86_64-wrlinuxsdk-linux/usr/lib/perl/5.24.1 .) at dummy.pl line 2.
BEGIN failed--compilation aborted at dummy.pl line 2.

$ls sdk_test_dir/sysroots/x86_64-wrlinuxsdk-linux/usr/lib/perl5/5.24.1
Config_heavy.pl  Config_heavy-target.pl  Config.pm  strict.pm  vars.pm  warnings  warnings.pm

Steps to Reproduce

Build and test in docker
$...wrlinux-x/setup.sh --machines=qemux86-64 --kernel=standard --dl-layers --distro=wrlinux-std
$source environment-setup-x86_64-wrlinuxsdk-linux &&  source oe-init-build-env build
$ bitbake wrlinux-image-glibc-std
$ bitbake wrlinux-image-glibc-std -c populate_sdk
Install sdk and check check perl
$ cat dummy
use File::Copy;
print "Hello\n";
$ perl ./dummy 

Other Downloads


Live chat
Online