meson building nativesdk recipes with python dependencies
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | python3targetconfig: export native python pathsmeta/ | +10 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/1] meson building nativesdk recipes with python dependencies
When building nativesdk-at-spi2-core recipe:
bitbake nativesdk-at-spi2-core
I got the following issue related to meson not finding the correct python modules:
| Program g-ir-scanner skipped: feature introspection disabled | | ../sources/at-spi2-core-2.60.0/meson.build:200:17: ERROR: <PythonExternalProgram 'python3' -> ['/build/tmp-glibc-beamtools/work/x86_64-nativesdk-pokysdk-linux/nativesdk-at-spi2-core/2.60.0/recipe-sysroot-native/ usr/bin/python3-native/python3']> is not a valid python or it is missing distutils | | A full log can be found at /build/tmp-glibc-beamtools/work/x86_64-nativesdk-pokysdk-linux/nativesdk-at-spi2-core/2.60.0/build/meson-logs/meson-log.txt | | Last 10 lines of meson-log.txt: | File "/build/tmp-glibc-beamtools/work/x86_64-nativesdk-pokysdk-linux/nativesdk-at-spi2-core/2.60.0/recipe-sysroot-native/usr/lib/python3.14/importlib/__init__.py", line 88, in import_module | return _bootstrap._gcd_import(name[level:], package, level) | ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "<frozen importlib._bootstrap>", line 1406, in _gcd_import | File "<frozen importlib._bootstrap>", line 1371, in _find_and_load | File "<frozen importlib._bootstrap>", line 1335, in _find_and_load_unlocked | ModuleNotFoundError: No module named '_sysconfigdata' | | | ../sources/at-spi2-core-2.60.0/meson.build:200:17: ERROR: <PythonExternalProgram 'python3' -> ['/build/tmp-glibc-beamtools/work/x86_64-nativesdk-pokysdk-linux/nativesdk-at-spi2-core/2.60.0/recipe-sysroot-native/ usr/bin/python3-native/python3']> is not a valid python or it is missing distutils | | ERROR: meson setup failed | WARNING: exit code 1 from a shell command.
So, I think when nativesdk python/meson should look into native paths.
The same issue is also true for wrynose release.
João Henrique Ferreira de Freitas (1):
python3targetconfig: export native python paths
meta/classes-recipe/python3targetconfig.bbclass | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-)