| Summary: | python3.8 is causing No module named '_sysconfigdata' | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Khem Raj <raj.khem> |
| Component: | devtools / tool chain | Assignee: | Khem Raj <raj.khem> |
| Status: | RESOLVED NOTABUG | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | alex.kanavin, meta.mr.watcher, meta.watcher, randy.macleod, richard.purdie |
| Version: | 3.1 | ||
| Target Milestone: | 3.1 M3 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Khem Raj
2020-01-22 19:57:07 UTC
_sysconfigdata is provided by the target python3, so you need to add a DEPENDS on that. (In reply to comment #1) > _sysconfigdata is provided by the target python3, so you need to add a > DEPENDS on that. That will fix the problem. But I am also seeing it work when host python is 3.8 so do we have a leak into host here ? It's possible, but I cannot help you here, as I don't have such a setup. (In reply to comment #3) > It's possible, but I cannot help you here, as I don't have such a setup. ntop already has python3 in DEPENDS [1] and still fails. [1] https://git.openembedded.org/meta-openembedded/tree/meta-networking/recipes-support/ntop/ntop_5.0.1.bb#n30 the failures are on systems which dont have py3.8 e.g. ubuntu 18.04, I am sure you have one of those Right, but looking at the error log again, it says nothing about _sysconfigdata, so the issue is probably something else? Have you tried python3-native or inheriting the py3native class? This is a problem in python detection logic of ntop which has been fixed by another patch to package itself https://patchwork.openembedded.org/patch/169380/ the problem in libipmi was due to it asking for python instead of python3 in depends. both issues are addressed. So I am marking this fixed. |