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

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

Anton Saietskii <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|Not A Bug                   |---
             Status|Closed                      |Open
                 CC|                            |[email protected]

--- Comment #5 from Anton Saietskii <[email protected]> ---
Dear portmgr team,

I would like to raise a concern regarding the changes introduced to the Mesa
port by arrowd@, which significantly reduced its configurability and
flexibility.

Prior to these changes, the port allowed users to tailor the build to their
hardware, avoiding unnecessary components. For example, on systems equipped
exclusively with Intel graphics, it was possible to build Mesa without
installing AMD-related drivers. This resulted in a leaner installation and
avoided unnecessary dependencies.

Rather than addressing the underlying issues with the port's option handling,
the chosen approach was to remove the options entirely and make several
dependencies unconditional. As stated in the Porter's Handbook [0], "supporting
these options properly will make users happy". In contrast, removing these
options has had the opposite effect, making the port less useful for users who
relied on its previous level of configurability. I am one of those affected
users.

These changes also have practical consequences for port maintenance. As a
maintainer of several ports, I am currently unable to test relevant updates
because Mesa no longer builds in my environment. I do not enable AMDGPU support
in LLVM, as this configuration previously worked correctly. Since Mesa now
fails to build, any ports that depend on it indirectly are skipped as well,
preventing me from testing and maintaining them properly.

I respectfully ask the portmgr team to consider restoring the previous level of
configurability, or otherwise providing a solution that preserves the ability
to build Mesa without unnecessary AMD-related dependencies for systems that do
not require them.

[0]: https://docs.freebsd.org/en/books/porters-handbook/book/#makefile-options

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