HomeDefectsLIN1023-1254
Not to be fixed

LIN1023-1254 : The shebang of script which installed by bcc/examples/ lua and tracing is still python2 on LTS23

Created: Jul 11, 2023    Updated: Aug 3, 2023
Resolved Date: Jul 31, 2023
Found In Version: 10.23.30.1
Severity: Standard
Applicable for: Wind River Linux LTS 23
Component/s: Userspace

Description

setup project with steps:
1) setup.sh
--machine intel-x86-64 --dl-layers=1 --distro wrlinux --templates feature/LAMP feature/aws feature/azure feature/bcc feature/bpf feature/docker feature/gcc-sanitizers feature/gperftools feature/grpc feature/ipv6 feature/krb5 feature/kubernetes feature/lttng feature/mariadb feature/nerdctl feature/network-bond-libteam feature/nfsd feature/ntp feature/opencv feature/package-management feature/pam-faillock feature/python-tkinter feature/sftp-server feature/software-entropy feature/stig feature/sysklogd feature/system-stats feature/target-toolchain feature/tcpslice feature/xfce --layers meta-filesystems meta-iot-cloud meta-security-compliance meta-virtualization --dl-layers=1
 
2). ./environment-setup-x86_64-wrlinuxsdk-linux
 
3) . ./oe-init-build-env build_test
 
4)  bitbake wrlinux-image-small
 
5) boot on target and harddisk startup

Result:
/usr/share/bcc/examples/tracing/nflatency.py Not found the interpreter python33
/usr/share/bcc/examples/lua/uprobe-readline.lua Not found the interpreter bcc-lua
/usr/share/bcc/examples/lua/sock-protolen.lua Not found the interpreter bcc-lua
/usr/share/bcc/examples/lua/sock-parse-http.lua Not found the interpreter bcc-lua
/usr/share/bcc/examples/lua/kprobe-latency.lua Not found the interpreter bcc-lua
/usr/share/bcc/examples/lua/uprobe-tailkt.lua Not found the interpreter bcc-lua
/usr/share/bcc/examples/lua/uprobe-readline-perf.lua Not found the interpreter bcc-lua
/usr/share/bcc/examples/lua/bashreadline.lua Not found the interpreter bcc-lua
/usr/share/bcc/examples/lua/sock-parse-dns.lua Not found the interpreter bcc-lua
/usr/share/bcc/examples/lua/kprobe-write.lua Not found the interpreter bcc-lua
/usr/share/bcc/examples/lua/sock-proto.lua Not found the interpreter bcc-lua
/usr/share/bcc/examples/lua/tracepoint-offcputime.lua Not found the interpreter bcc-lua

Steps to Reproduce

1) git clone --depth 1 --branch WRLINUX_10_23_LTS git://pek-git.wrs.com/wrlinux-x
2) setup.sh
--machine intel-x86-64 --dl-layers=1 --distro nodistro --templates feature/LAMP feature/aws feature/azure feature/bcc feature/bpf feature/docker feature/gcc-sanitizers feature/gperftools feature/grpc feature/ipv6 feature/krb5 feature/kubernetes feature/lttng feature/mariadb feature/nerdctl feature/network-bond-libteam feature/nfsd feature/ntp feature/opencv feature/package-management feature/pam-faillock feature/python-tkinter feature/sftp-server feature/software-entropy feature/stig feature/sysklogd feature/system-stats feature/target-toolchain feature/tcpslice feature/xfce --layers meta-filesystems meta-iot-cloud meta-security-compliance meta-virtualization --dl-layers=1
 
3). ./environment-setup-x86_64-wrlinuxsdk-linux
 
4) . ./oe-init-build-env build_test
 
5) vim conf/local.conf
 
6)  bitbake core-image-base
 
7) boot on target and harddisk startup
 
8) run command as problem descriptio

9) check the shebang of python script as described