glib meson error: ERROR:
I have been trying to compile an image in Yocto with a custom machine to load my own device tree, but when trying to compile I always get the same error, here is a log:
Log data follows:
| DEBUG: Executing shell function do_configure
| gtkdocize: neither configure.ac nor configure.in exist
| NOTE: Executing meson -Dgtk_doc=false -Ddtrace=false -Dfam=false -Dsystemtap=false -Dselinux=disabled -Dlibmount=true -Dman=false -Dinternal_pcre=false -Dinstalled_tests=false --cross-file=/home/fpinilla/STM32MP15-Ecosystem-v3.0.0/Distribution-Package/layers/poky/meta/recipes-core/glib-2.0/glib-2.0/meson.cross.d/common-linux --cross-file=/home/fpinilla/STM32MP15-Ecosystem-v3.0.0/Distribution-Package/layers/poky/meta/recipes-core/glib-2.0/glib-2.0/meson.cross.d/common-glibc --cross-file=/home/fpinilla/STM32MP15-Ecosystem-v3.0.0/Distribution-Package/layers/poky/meta/recipes-core/glib-2.0/glib-2.0/meson.cross.d/common...
| The Meson build system
| Version: 0.53.2
| Source dir: /home/fpinilla/STM32MP15-Ecosystem-v3.0.0/Distribution-Package/build-openstlinuxweston-stm32mp1-mx-sidacam/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/glib-2.0/1_2.62.6-r0/glib-2.62.6
| Build dir: /home/fpinilla/STM32MP15-Ecosystem-v3.0.0/Distribution-Package/build-openstlinuxweston-stm32mp1-mx-sidacam/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/glib-2.0/1_2.62.6-r0/build
| Build type: cross build
| Project name: glib
| Project version: 2.62.6
| C compiler for the build machine: gcc (gcc 9.3.0 "gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0")
| C linker for the build machine: gcc ld.bfd 2.34
| C++ compiler for the build machine: g++ (gcc 9.3.0 "g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0")
| C++ linker for the build machine: g++ ld.bfd 2.34
| C compiler for the host machine: arm-ostl-linux-gnueabi-gcc -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/fpinilla/STM32MP15-Ecosystem-v3.0.0/Distribution-Package/build-openstlinuxweston-stm32mp1-mx-sidacam/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/glib-2.0/1_2.62.6-r0/recipe-sysroot (gcc 9.3.0 "arm-ostl-linux-gnueabi-gcc (GCC) 9.3.0")
| C linker for the host machine: arm-ostl-linux-gnueabi-gcc -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/fpinilla/STM32MP15-Ecosystem-v3.0.0/Distribution-Package/build-openstlinuxweston-stm32mp1-mx-sidacam/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/glib-2.0/1_2.62.6-r0/recipe-sysroot ld.bfd 2.34.0.20200220
| C++ compiler for the host machine: arm-ostl-linux-gnueabi-g++ -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/fpinilla/STM32MP15-Ecosystem-v3.0.0/Distribution-Package/build-openstlinuxweston-stm32mp1-mx-sidacam/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/glib-2.0/1_2.62.6-r0/recipe-sysroot (gcc 9.3.0 "arm-ostl-linux-gnueabi-g++ (GCC) 9.3.0")
| C++ linker for the host machine: arm-ostl-linux-gnueabi-g++ -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/fpinilla/STM32MP15-Ecosystem-v3.0.0/Distribution-Package/build-openstlinuxweston-stm32mp1-mx-sidacam/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/glib-2.0/1_2.62.6-r0/recipe-sysroot ld.bfd 2.34.0.20200220
| Found pkg-config: /home/fpinilla/STM32MP15-Ecosystem-v3.0.0/Distribution-Package/build-openstlinuxweston-stm32mp1-mx-sidacam/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/glib-2.0/1_2.62.6-r0/recipe-sysroot-native/usr/bin/pkg-config (0.29.2)
| Run-time dependency libpcre found: YES 8.44
| Library m found: YES
| Run-time dependency libffi found: YES 3.3
| Run-time dependency zlib found: YES 1.2.11
| Checking for function "ngettext" : YES
| Checking for function "bind_textdomain_codeset" : YES
| Run-time dependency mount found: YES 2.35.1
| Dependency libselinux skipped: feature selinux disabled
| Checking for function "getxattr" : YES
| Has header "sys/xattr.h" : YES
| Checking if "XATTR_NOFOLLOW" compiles: NO
| Checking for function "strlcpy" : NO
| Program python3 found: YES (/home/fpinilla/STM32MP15-Ecosystem-v3.0.0/Distribution-Package/build-openstlinuxweston-stm32mp1-mx-sidacam/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/glib-2.0/1_2.62.6-r0/recipe-sysroot-native/usr/bin/python3-native/python3)
|
| meson.build:1999:0: ERROR: <ExternalProgram 'python3' -> ['/home/fpinilla/STM32MP15-Ecosystem-v3.0.0/Distribution-Package/build-openstlinuxweston-stm32mp1-mx-sidacam/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/glib-2.0/1_2.62.6-r0/recipe-sysroot-native/usr/bin/python3-native/python3']> is not a valid python or it is missing setuptools
|
| A full log can be found at /home/fpinilla/STM32MP15-Ecosystem-v3.0.0/Distribution-Package/build-openstlinuxweston-stm32mp1-mx-sidacam/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/glib-2.0/1_2.62.6-r0/build/meson-logs/meson-log.txt
| ERROR: meson failed
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/home/fpinilla/STM32MP15-Ecosystem-v3.0.0/Distribution-Package/build-openstlinuxweston-stm32mp1-mx-sidacam/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/glib-2.0/1_2.62.6-r0/temp/run.do_configure.294510' failed with exit code 1:
thanks for your help.
