I'm trying to remove x11 packages from my system. media-libs/glm depends on virtual/opengl, which further depends on media-libs/mesa[X]. glm can be used with EGL and GLES. so this depedency is not neccessary. I have temporarily modified the ebuild files and successfully build media-libs/glm with media-libs/mesa[!X]. Reproducible: Always
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca5cd51f2f29cdb7c3760a7d08c996916762e68c commit ca5cd51f2f29cdb7c3760a7d08c996916762e68c Author: Alfredo Tupone <tupone@gentoo.org> AuthorDate: 2020-06-17 19:22:29 +0000 Commit: Alfredo Tupone <tupone@gentoo.org> CommitDate: 2020-06-17 19:23:07 +0000 media-libs/glm: remove dep on virtual/opengl Closes: https://bugs.gentoo.org/728360 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alfredo Tupone <tupone@gentoo.org> media-libs/glm/glm-0.9.9.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Err, I think simply removing "virtual/opengl" from dependency list is not a correct fix. media-libs/glm is incorrectly depending on GLX (opengl for X11). What I guess a more apporiate solution is to add X/egl USE flag to virutal/opengl so that it can have a finer granularity.
(In reply to Fpemud from comment #2) > Err, I think simply removing "virtual/opengl" from dependency list is not a > correct fix. > media-libs/glm is incorrectly depending on GLX (opengl for X11). What I > guess a more apporiate solution is to add X/egl USE flag to virutal/opengl > so that it can have a finer granularity. I got that glm is simply a mathematical library. Should not depend on anything.