maintainer-feedback requested: [Bug 296405] graphics/mesa-libs: build fails on armv7 (Feature gallium-va cannot be enabled)

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
Bugzilla Automation <[email protected]> has asked freebsd-x11 (Nobody)
<[email protected]> for maintainer-feedback:
Bug 296405: graphics/mesa-libs: build fails on armv7 (Feature gallium-va cannot
be enabled)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296405



--- Description ---
The graphics/mesa-libs build fails on armv7 with the following configuration
error:

=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for mesa-libs-26.0.6
The Meson build system
Version: 1.10.2
Source dir: /wrkdirs/usr/ports/graphics/mesa-libs/work/mesa-26.0.6
Build dir: /wrkdirs/usr/ports/graphics/mesa-libs/work/mesa-26.0.6/_build
Build type: native build
Project name: mesa
Project version: 26.0.6
C compiler for the host machine: cc (clang 19.1.7 "FreeBSD clang version 19.1.7
(https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2)")
C linker for the host machine: cc ld.lld 19.1.7
C++ compiler for the host machine: c++ (clang 19.1.7 "FreeBSD clang version
19.1.7 (https://github.com/llvm/llvm-project.git
llvmorg-19.1.7-0-gcd708029e0b2)")
C++ linker for the host machine: c++ ld.lld 19.1.7
Host machine cpu family: arm
Host machine cpu: armv7
Checking for size of "void*" : 4 
meson.build:577: WARNING: cannot use -mtls-dialect for FreeBSD, using compiler
default
Found pkg-config: YES (/usr/local/bin/pkgconf) 2.4.3
Run-time dependency libglvnd found: YES 1.7.0
Program glslangValidator found: NO

meson.build:716:3: ERROR: Feature gallium-va cannot be enabled: VA state
tracker requires at least one of the following gallium drivers: r600, radeonsi,
nouveau, d3d12 (with option gallium-d3d12-video), virgl.

A full log can be found at
/wrkdirs/usr/ports/graphics/mesa-libs/work/mesa-26.0.6/_build/meson-logs/meson-
log.txt

---

This is because we only provide llvmpipe as a gallium driver, which is
insufficient.  The proximate cause is probably ports
a5ad594928348358d169ce8703788a0976d40f5d (arrowd, flo) which removed the logic
that checks whether gallium-va needs to be enabled or not.  Please rework the
patch.	I can offer build testing on armv7 if needed.

Please make sure the fix for this goes into 2026Q3.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.