| Summary: | Python Exception <class 'ImportError'> No module named 'imp' | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Robert Berger <pokylinux> |
| Component: | devtools / tool chain | Assignee: | Juro Bystricky <juro.bystricky> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | meta.mr.watcher, meta.watcher |
| Version: | 2.2.1 | ||
| Target Milestone: | 2.3 M4 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Don't know | |
|
Description
Robert Berger
2017-03-07 14:19:29 UTC
bitbake core-image-sato-sdk -c populate_sdk did not help This patch: https://github.com/RobertBerger/poky/commit/f4cea23fa7ad730208a379c2d85c9b863d4c1a41 does not fix it In addition to: https://github.com/RobertBerger/poky/commit/f4cea23fa7ad730208a379c2d85c9b863d4c1a41 It needs the patch: diff --git a/meta/recipes-devtools/python/python-3.5-manifest.inc b/meta/recipes-devtools/python/python-3.5-manifest.inc index 3046114..6c690db 100644 --- a/meta/recipes-devtools/python/python-3.5-manifest.inc +++ b/meta/recipes-devtools/python/python-3.5-manifest.inc @@ -115,7 +115,7 @@ FILES_${PN}-image="${libdir}/python3.5/colorsys.* ${libdir}/python3.5/imghdr.* $ SUMMARY_${PN}-importlib="Python import implementation library" RDEPENDS_${PN}-importlib="${PN}-core ${PN}-lang" -FILES_${PN}-importlib="${libdir}/python3.5/importlib " +FILES_${PN}-importlib="${libdir}/python3.5/importlib ${libdir}/python3.5/imp.* " SUMMARY_${PN}-io="Python low-level I/O" RDEPENDS_${PN}-io="${PN}-core ${PN}-math" Patches merged with "Morty" (backported from master): http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=morty&id=8ab3fa375891eba3dc102b6ee7fee3582070654b http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=morty&id=b0f3c0fb99d15b5914ac876b62ff16b3e11d0b80 |