| Summary: |
strange errors on SDK |
| Product: |
[Build System, Metadata & Runtime] OE-Core
|
Reporter: |
Robert Yang <liezhi.yang> |
| Component: |
core | Assignee: |
jia,fang <fang.jia> |
| Status: |
VERIFIED
FIXED
|
QA Contact: |
Yi Zhao <yi.zhao> |
| Severity: |
enhancement
|
|
|
| Priority: |
Medium
|
CC: |
alexandru.c.georgescu, meta.mr.watcher, meta.watcher, yi.zhao
|
| Version: |
2.1 | |
|
| Target Milestone: |
2.1 M1 | |
|
| Hardware: |
x86 | |
|
| OS: |
Multiple | |
|
| Whiteboard: |
|
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
---
|
|
Verified:
|
|
Documentation change:
|
No (bug/feature does not impact docs)
|
On Ubuntu, after source SDK's environment-setup file: $ foo (command doesn't exist) Traceback (most recent call last): File "/buildarea/lyang1/sdk/sysroots/x86_64-pokysdk-linux/usr/lib/python2.7/site.py", line 553, in <module> main() File "/buildarea/lyang1/sdk/sysroots/x86_64-pokysdk-linux/usr/lib/python2.7/site.py", line 535, in main known_paths = addusersitepackages(known_paths) File "/buildarea/lyang1/sdk/sysroots/x86_64-pokysdk-linux/usr/lib/python2.7/site.py", line 266, in addusersitepackages user_site = getusersitepackages() File "/buildarea/lyang1/sdk/sysroots/x86_64-pokysdk-linux/usr/lib/python2.7/site.py", line 241, in getusersitepackages user_base = getuserbase() # this will also set USER_BASE File "/buildarea/lyang1/sdk/sysroots/x86_64-pokysdk-linux/usr/lib/python2.7/site.py", line 230, in getuserbase from sysconfig import get_config_var File "/buildarea/lyang1/sdk/sysroots/x86_64-pokysdk-linux/usr/lib/python2.7/sysconfig.py", line 10, in <module> 'stdlib': '{base}/'+sys.lib+'/python{py_version_short}', AttributeError: 'module' object has no attribute 'lib' These strange erors would confuse the use which is caused by command not found helper. We can disable it.