Wind River Support Network

HomeDefectsLIN8-6789
Fixed

LIN8-6789 : python in the SDK don't work - python2.7.real missing

Created: May 26, 2017    Updated: Dec 3, 2018
Resolved Date: Jun 6, 2017
Found In Version: 8.0.0.17
Fix Version: 8.0.0.19
Severity: Severe
Applicable for: Wind River Linux 8
Component/s: Userspace

Description

Python in the SDK is missing python2.7.real:

Steps to Reproduce

$ <WRL_PATH>./configure --enable-build=production --enable-rootfs=glibc_small --enable-kernel=preempt-rt --enable-board=axxiaarm --enable-prserver=local  --enable-reconfig --enable-parallel-pkgbuilds=2 --enable-jobs=8 --enable-checkout-all-layers=yes --enable-addons=wr-cgp,wr-common --with-layer=cgp,meta-selinux,wr-security,common-downloads --enable-buildhist=yes --enable-buildstats=yes --with-rcpl-version=auto
....
$ make export-sdk
....

$ ./export/wrlinux-small-8.0.0.17-glibc-x86_64-axxiaarm-wrlinux-image-glibc-small-sdk.sh 
Wind River Linux SDK installer version 8.0-axxiaarm
===================================================
Enter target directory for SDK (default: /opt/windriver/wrlinux-small/8.0-axxiaarm): 
You are about to install the SDK to "/opt/windriver/wrlinux-small/8.0-axxiaarm". Proceed[Y/n]? 
Extracting SDK................................done
Setting it up...done
.....

$ . /opt/windriver/wrlinux-small/8.0-axxiaarm/environment-setup-cortexa15-vfp-neon-wrs-linux-gnueabi

$ which python
/opt/windriver/wrlinux-small/8.0-axxiaarm/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/python

$ python
/opt/windriver/wrlinux-small/8.0-axxiaarm/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/python: line 4: /opt/windriver/wrlinux-small/8.0-axxiaarm/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/python2.7.real: No such file or directory

$ ls -al /opt/windriver/wrlinux-small/8.0-axxiaarm/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/python*
lrwxrwxrwx 1 xxxxxxx xxxxxxx   7 maj 26 10:07 /opt/windriver/wrlinux-small/8.0-axxiaarm/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/python -> python2
lrwxrwxrwx 1 xxxxxxx xxxxxxx   9 maj 26 10:07 /opt/windriver/wrlinux-small/8.0-axxiaarm/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/python2 -> python2.7
-rwxr-xr-x 1 xxxxxxx xxxxxxx 299 maj 26 10:06 /opt/windriver/wrlinux-small/8.0-axxiaarm/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/python2.7

Other Downloads


Live chat
Online