[Bug 294948] graphics/mesa-dri: Upgrade to 25.2.8
| Newsgroups | gmane.os.freebsd.devel.x11 |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294948 --- Comment #2 from Olivier Cochard <[email protected]> --- (In reply to Gunther Nikl from comment #1) mesa-libs builds libEGL_mesa.so / libGLX_mesa.so / libgbm.so. With the megalib refactor those binaries have unresolved references into libgallium_dri.so (loader_dri3_*, dri_* entrypoints, etc.). To declare that mesa-libs needs LIB_DEPENDS=libgallium_dri.so:graphics/mesa-dri. Now about this LIB_DEPENDS mesa-dri: the per-hardware shims (iris_dri.so, radeonsi_dri.so, etc.) are tiny stubs that link against libgallium_dri.so (which they themselves install) and against libgbm.so from mesa-libs. So mesa-dri needs a "LIB_DEPENDS=libgbm.so:graphics/mesa-libs" That's the cycle: mesa-dri <=> mesa-libs at the LIB_DEPENDS level, not at the "who installs libgallium_dri.so" level. The fix is, the solution choosen here (this is why it is a proposal, open to people with more experience in this field), is to extract libgallium_dri.so into its own leaf port mesa-libgallium that depends on neither mesa-libs nor mesa-dri. Now the graph is : mesa-libgallium (no mesa-* deps) --- LIB_DEPS (libgallium_dri.so) --> mesa-libs --> LIB_DEPS (libgbm.so ) -- mesa-dri -- You are receiving this mail because: You are the assignee for the bug.