To reproduce: make raspberrypi4_defconfig make menuconfig - Select mesa3d and "Gallium v3d driver" make clean make breaks with Program decode.py found: YES (/home/m/buildroot-2023.05/output/build/mesa3d-23.1.0/src/compiler/isaspec/decode.py) Program encode.py found: YES (/home/m/buildroot-2023.05/output/build/mesa3d-23.1.0/src/compiler/isaspec/encode.py) Run-time dependency v3dv3 found: NO (tried pkgconfig and cmake) Run-time dependency simpenrose found: NO (tried pkgconfig and cmake) output/build/mesa3d-23.1.0/src/gallium/drivers/vc4/meson.build:87:16: ERROR: Trying to compare values of different types (UserFeatureOption, str) using !=. This was deprecated and undefined behavior previously and is as of 0.60.0 a hard error. A full log can be found at /home/m/buildroot-2023.05/output/build/mesa3d-23.1.0/build/meson-logs/meson-log.txt make[1]: *** [package/pkg-generic.mk:283: /home/m/buildroot-2023.05/output/build/mesa3d-23.1.0/.stamp_configured] Error 1 make: *** [Makefile:82: _all] Error 2 Same config is working fine of 2023.02 buildroot release
The reason for this error is a local buildroot patch: https://git.busybox.net/buildroot/tree/package/mesa3d/0002-vc4-add-meson-option-to-disable-optional-neon-suppor.patch#n47 Adding the patch author to this bug report...
The bug was fixed by this commit: https://git.busybox.net/buildroot/commit/?id=da19c18af2d531b63b6d54f02dc2f16785756e66