Fixes for python3 and dbus-ptest
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | dbus-test: correct paths in service and conf filesmeta/ | +3 | 0 replies | |
| 2/3 | dbus: update build options when enable ptestmeta/ | +3 | 0 replies | |
| 3/3 | python3: fix library search pathmeta/ meta/ meta/ | +55 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Fixes for python3 and dbus-ptest
From: Kai Kang <[email protected]>
1
when multilib is enabled, python3 fails to start:
root@qemux86-64:~# python3 Could not find platform independent libraries <prefix> Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] Fatal Python error: Py_Initialize: Unable to get the locale encoding ImportError: No module named 'encodings'
Current thread 0x00007f4d9b268700 (most recent call first):
Aborted
It is library path issue, and fix it. Then check sys.path are right:
root@qemux86-64:~# python3 Python 3.5.2 (default, Nov 1 2016, 15:32:42) [GCC 6.2.0] on linux Type "help", "copyright", "credits" or "license" for more information.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
import sys
sys.path
['', '/usr/lib64/python35.zip', '/usr/lib64/python3.5', '/usr/lib64/python3.5/plat-linux', '/usr/lib64/python3.5/lib-dynload']
Quoted 1 line
Quoted 1 line
Quoted 1 line
2
Only 4 cases PASS of dbus-ptest. With the fixes, all ptests cases PASS on qemux86-64. And for qemuarm, only one case fails:
./run-ptest: line 10: 283 Aborted ./$i ./test/data DBUS_TEST_HOMEDIR=./test > /dev/null
FAIL: test/test-refs
It is a multi-threads issue, and need more work to fix it.
---
The following changes since commit 003b053498aea91fdb8c5418d0d8bbda7b23dbc0:
boost: fix the SRC_URI to point to an actual release, and not a master snapshot (2016-10-31 14:23:12 +0000)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib kangkai/python3_and_dbus
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/python3_and_dbus
Kai Kang (3):
dbus-test: correct paths in service and conf files
dbus: update build options when enable ptest
python3: fix library search path
meta/recipes-core/dbus/dbus-test_1.10.10.bb | 3 ++ meta/recipes-core/dbus/dbus_1.10.10.bb | 4 +- ...t-python3-lib-pathes-for-multilib-support.patch | 49 ++++++++++++++++++++++ .../python/python3/python-3.3-multilib.patch | 13 +++--- meta/recipes-devtools/python/python3_3.5.2.bb | 1 + 5 files changed, 61 insertions(+), 9 deletions(-) create mode 100644 meta/recipes-devtools/python/python3/correct-python3-lib-pathes-for-multilib-support.patch
Signature · 1 line
2.10.1