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
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