[Bug 296856] graphics/mesa-libs: fails to build with BE_AMDGPU=off in devel/llvm21

[email protected] Fri, 17 Jul 2026 13:49:42 +0000
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296856

            Bug ID: 296856
           Summary: graphics/mesa-libs: fails to build with BE_AMDGPU=off
                    in devel/llvm21
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
                CC: [email protected], [email protected]

Message: libdrm 2.4.121 needed because amdgpu has the highest requirement
Run-time dependency libdrm found: YES 2.4.133
Run-time dependency libdrm_intel found: YES 2.4.133
Run-time dependency libdrm_amdgpu found: YES 2.4.133
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency libudev found: NO (tried pkgconfig and cmake)
llvm-config found: YES (/usr/local/bin/llvm-config21) 21.1.8
Run-time dependency LLVM (modules: amdgpu(missing), bitreader, bitwriter, core,
coverage, engine, executionengine, instcombine, ipo, irreader, libdriver,
linker, lto, mcdisassembler, mcjit, native, option, scalaropts, target,
transformutils, all-targets, coroutines, frontenddriver, frontendhlsl, lto,
windowsdriver) found: NO (tried config-tool)
Looking for a fallback subproject for the dependency llvm (modules: bitwriter,
engine, mcdisassembler, mcjit, core, executionengine, scalaropts,
transformutils, instcombine, amdgpu, bitreader, ipo, coverage, target, linker,
irreader, option, libdriver, lto, native)
Building fallback subproject with default_library=shared
ERROR: Subproject llvm is buildable: NO

meson.build:1913:11: ERROR: Neither a subproject directory nor a llvm.wrap file
was found.

A full log can be found at
/wrkdirs/usr/ports/graphics/mesa-libs/work/mesa-26.1.4/_build/meson-logs/meson-log.txt
===>  Script "configure" failed unexpectedly.
Please report the problem to [email protected] [maintainer] and attach the
"/wrkdirs/usr/ports/graphics/mesa-libs/work/mesa-26.1.4/_build/meson-logs/meson-log.txt"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make: stopped making "configure" in /usr/ports/graphics/mesa-libs
=>> Cleaning up wrkdir
===>  Cleaning for mesa-libs-26.1.4
build of graphics/mesa-libs | mesa-libs-26.1.4 ended at Fri Jul 17 15:38:53
EEST 2026
build time: 00:02:52
!!! build failure encountered !!!

-- 
You are receiving this mail because:
You are on the CC list for the bug.