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

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 30 Jun 2026 15:03:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296405

            Bug ID: 296405
           Summary: graphics/mesa-libs: build fails on armv7 (Feature
                    gallium-va cannot be enabled)
           Product: Ports & Packages
           Version: Latest
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11@FreeBSD.org
          Reporter: fuz@FreeBSD.org
                CC: arrowd@FreeBSD.org, flo@FreeBSD.org
          Assignee: x11@FreeBSD.org
             Flags: maintainer-feedback?(x11@FreeBSD.org)
             Flags: merge-quarterly?

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.