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(-)
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#237188): https://lists.openembedded.org/g/openembedded-core/message/237188 Mute This Topic: https://lists.openembedded.org/mt/119357398/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
