while building couple of newly migrated recipes to use py3, it seems that py8 on build host is failing https://errors.yoctoproject.org/Errors/Build/97385/ it seems following reports from python defect tracker is relevant https://bugs.python.org/issue37577 Please note that on hosts where host python is 3.8 then it works. however not on the ones where they may have older python3 ( e.g. ubuntu 18.04 )
_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.