Test steps: 1. Build qemux86 with python3 installed vim local.conf ... MACHINE = "qemux86" IMAGE_INSTALL_append = " python3 python python-modules" ...
$ bitbake core-image-minimal 2. Run qemu runqemu core-image-minimal slirp nographic 3. Invoke python/python3 statements root@qemux86:~# python2 Python 2.7.13 (default, Aug 4 2017, 07:39:04) [GCC 7.1.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import multiprocessing >>> pool_sema = multiprocessing.BoundedSemaphore(value=1) >>> pool_sema.acquire() True >>> pool_sema.release() >>> root@qemux86:~# python3 Python 3.5.3 (default, Aug 4 2017, 07:38:14) [GCC 7.1.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import multiprocessing >>> pool_sema = multiprocessing.BoundedSemaphore(value=1) >>> pool_sema.acquire() True >>> pool_sema.release() >>> //Hongxu The following changes since commit 15901164ee71dec0906dadaff08f3365a66feb05: dev-manual, ref-manual: Eliminated pre-built section (2017-07-22 09:19:25 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib hongxu/fix-python http://cgit.openembedded.org/openembedded-core-contrib/log/?h=hongxu/fix-python Hongxu Jia (1): python2/python3: fix multiprocessing.BoundedSemaphore not work on qemux86/qemuarm ...ss-missing-libraries-to-Extension-for-mul.patch | 82 ++++++++++++++++++++++ ...ss-missing-libraries-to-Extension-for-mul.patch | 82 ++++++++++++++++++++++ meta/recipes-devtools/python/python3_3.5.3.bb | 1 + meta/recipes-devtools/python/python_2.7.13.bb | 1 + 4 files changed, 166 insertions(+) create mode 100644 meta/recipes-devtools/python/python/pass-missing-libraries-to-Extension-for-mul.patch create mode 100644 meta/recipes-devtools/python/python3/pass-missing-libraries-to-Extension-for-mul.patch -- 2.8.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core