Jumping in to note that the python3native patch mentioned above worked for
us (removing the env var). We did not test any target packages.
-Glenn
On Fri, Nov 13, 2020 at 5:45 AM Alexander Kanavin
wrote:
> I think I have to go back to my original patch. Using a wrapper for native
> python is pr
I think I have to go back to my original patch. Using a wrapper for native
python is problematic for two reasons:
- thwarts target python build as target python needs native python, but
*without* the environment variable set
- adds an unconditional dependency on target python to a few items, even i
Right, I think this is better too. The only problematic bit is that
situations where target _sysconfigdata is needed can produce really
unhelpful errors (e.g. meson hides this behind a generic 'python is not
working' message), and it is not obvious that these errors can be resolved
by adding a targ
Do you remember kergoth's take on this? From "[RFC PATCH] devtool: remove
_PYTHON_SYSCONFIGDATA_NAME to fix do_unpack" thread and
https://lists.yoctoproject.org/g/yocto/topic/74637733#49571
https://github.com/openembedded/openembedded-core/compare/master...kergoth:python-sysconfig
I think wrapper
Thanks - I have a preliminary fix here (needs thorough testing):
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=akanavin/package-version-updates&id=d6b6a6f67cc967c0ead6dbab3c95435b7ca85246
Alex
On Thu, 12 Nov 2020 at 19:46, Glenn Stroz wrote:
> Hi Alex,
>
> We have a custom fe
Hi Alex,
We have a custom fetcher implemented as a bbclass that calls out to a
python script. That is why we see these issues with native. Here's a
sample bbclass and recipe that reproduces the issue:
impfail.bbclass
```
inherit python3native
do_unpack[noexec] = "1"
do_patch[noexec] = "1"
do_in
A quick fix may be to add a target python3 dependency to your recipe, yes
ugly, but I can't figure out how to provide target python configuration to
native python used in the context of building target recipes otherwise.
Alex
On Thu, 12 Nov 2020 at 10:49, Alexander Kanavin
wrote:
> On Thu, 12
On Thu, 12 Nov 2020 at 02:23, Glenn Stroz via lists.openembedded.org
wrote:
> We've been upgrading our work to Dunfell and have encountered an issue
> with python3-native.
>
> One of our python3-native scripts uses pydoc and that in turn eventually
> pulls in python's sysconfig. However, this is
Hi all,
We've been upgrading our work to Dunfell and have encountered an issue with
python3-native.
One of our python3-native scripts uses pydoc and that in turn eventually
pulls in python's sysconfig. However, this is failing to import with the
following stack trace:
```
import pydoc
File