2026-05-14 7:42 AM
Hi, I'm having trouble building the core-image-weston image. I'm using Ubuntu 22 and VMware Workstation.
config in local.conf:
MACHINE = "stm32mp1"
DISTRO ?= "poky"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
USER_CLASSES ?= "buildstats"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS ??= "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
HALT,${TMPDIR},100M,1K \
HALT,${DL_DIR},100M,1K \
HALT,${SSTATE_DIR},100M,1K \
HALT,/tmp,10M,1K"
PACKAGECONFIG:append:pn-qemu-system-native = " sdl"
CONF_VERSION = "2"
Error :
ERROR: libglu-2_9.0.3-r0 do_configure: meson failed
ERROR: libglu-2_9.0.3-r0 do_configure: ExecutionError('/home/dawid/Projects/yocto/build-mp1/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/libglu/9.0.3/temp/run.do_configure.2642423', 1, None, None)
ERROR: Logfile of failure stored in: /home/dawid/Projects/yocto/build-mp1/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/libglu/9.0.3/temp/log.do_configure.2642423
and hint in console:
| C compiler for the build machine: gcc (gcc 11.4.0 "gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0")
| C linker for the build machine: gcc ld.bfd 2.38
| C++ compiler for the build machine: g++ (gcc 11.4.0 "g++ (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0")
| C++ linker for the build machine: g++ ld.bfd 2.38
| Build machine cpu family: x86_64
| Build machine cpu: x86_64
| Host machine cpu family: arm
| Host machine cpu: arm
| Target machine cpu family: arm
| Target machine cpu: arm
| Found pkg-config: YES (/home/dawid/Projects/yocto/build-mp1/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/libglu/9.0.3/recipe-sysroot-native/usr/bin/pkg-config) 0.29.2
| Run-time dependency gl found: NO (tried pkgconfig and system)
|
| ../glu-9.0.3/meson.build:21:9: ERROR: Dependency "gl" not found, tried pkgconfig and system
|
| A full log can be found at /home/dawid/Projects/yocto/build-mp1/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/libglu/9.0.3/build/meson-logs/meson-log.txt
| ERROR: meson failed
| WARNING: exit code 1 from a shell command.
2026-05-14 7:46 AM
# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
BBLAYERS ?= " \
/home/dawid/Projects/yocto/poky/meta \
/home/dawid/Projects/yocto/poky/meta-poky \
/home/dawid/Projects/yocto/poky/meta-yocto-bsp \
/home/dawid/Projects/yocto/meta-openembedded/meta-oe \
/home/dawid/Projects/yocto/meta-openembedded/meta-python \
/home/dawid/Projects/yocto/meta-st-stm32mp \
"