To reproduce, simply run:- USE="-* libglvnd" emerge mesa The build system will proceed to raise the following error:- ERROR: Problem encountered: glvnd requires DRI based GLX and/or EGL However, USE="-* X libglvnd" works. Therefore, it seems that the ebuild should assert "libglvnd? ( X )" in REQUIRED_USE.
Thanks, that indeed looks like a corner case I haven't noticed. I'm trying to figure out whether there's a legitimate use case for USE="-X -egl". I guess if you wanted OpenCL support provided by radeonsi or something, but not OpenGL support? I guess that is a possibility.
(In reply to Matt Turner from comment #1) > I'm trying to figure out whether there's a legitimate use case for USE="-X > -egl". I guess if you wanted OpenCL support provided by radeonsi or > something, but not OpenGL support? I guess that is a possibility. That's an interesting consideration. It's not entirely clear to me either. Incidentally, the reason that I discoverd this bug is because I was in the process of minimally satisfying an in-house application that utilitises a python venv. One of the modules insists on dragging in cv2 (opencv) which, unfortunately, is a wheel. It installs a pre-compiled ELF library with frequently changing requirements. Recently, it changed so as to require libGL, libGLdispatch and such. None of the implied functionality is actually being used. Eventually, I hope to eliminate the use of wheels entirely.
*** Bug 739968 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d462cceb526ad5500b58de2ad571ffee4fd505c commit 8d462cceb526ad5500b58de2ad571ffee4fd505c Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2020-12-01 23:00:37 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2020-12-01 23:05:51 +0000 media-libs/mesa: Allow building with USE="-X -egl" Closes: https://bugs.gentoo.org/739598 Signed-off-by: Matt Turner <mattst88@gentoo.org> media-libs/mesa/mesa-20.3.0_rc3.ebuild | 7 ++++++- media-libs/mesa/mesa-9999.ebuild | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19c81d935a3fedfb0d6e23692bfa922979d05e77 commit 19c81d935a3fedfb0d6e23692bfa922979d05e77 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2020-12-04 22:11:49 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2020-12-04 22:17:27 +0000 media-libs/mesa: Version bump to 20.2.4 Bug: https://bugs.gentoo.org/739598 Signed-off-by: Matt Turner <mattst88@gentoo.org> media-libs/mesa/Manifest | 1 + media-libs/mesa/mesa-20.2.4.ebuild | 556 +++++++++++++++++++++++++++++++++++++ 2 files changed, 557 insertions(+)