Wind River Support Network

HomeDefectsLIN1023-573
Acknowledged

LIN1023-573 : /usr/lib64/python3.11/idlelib/idle_test/example_noext: shebang is not correct

Created: May 16, 2023    Updated: Jul 24, 2023
Found In Version: 10.23.30.1
Severity: Standard
Applicable for: Wind River Linux LTS 23
Component/s: Userspace

Description

root@intel-x86-64:~# cat /usr/lib64/python3.11/idlelib/idle_test/example_noext
#!usr/bin/env python

def example_function(some_argument):
    pass

it's expected to be:
#!/usr/bin/env python3

Steps to Reproduce

1) setup.sh
--machine intel-x86-64 --dl-layers  --distro wrlinux --layers meta-filesystems meta-security-compliance meta-virtualization --dl-layers --accept-eula=yes
2). ./environment-setup-x86_64-wrlinuxsdk-linux
3). ./oe-init-build-env
4) vim conf/local.conf
PACKAGE_CLASSES = "package_ipk"
IMAGE_INSTALL:append = " python3-core"
5) bitbake wrlinux-image-std
6) boot the target 
Live chat
Online