i wanted to use mesa-provided libglut in my system but not only Gentoo mesa and glut ebuilds does not feature building libglut from mesa code but also many(all?) packages depend directly on media-libs/freeglut instead of virtual/glut making it impossible of doing something simple like adding "|| ( media-libs/mesa[glut] media-libs/freeglut )" in virtual/glut. Reproducible: Always Steps to Reproduce: equery d media-libs/freeglut Actual Results: * These packages depend on media-libs/freeglut: app-emulation/virtualbox-ose-3.2.8 (opengl ? media-libs/freeglut) dev-games/cegui-0.6.2b (opengl ? media-libs/freeglut) games-action/chromium-0.9.14.1 (!sdl ? media-libs/freeglut) media-libs/ftgl-2.1.3_rc5 (media-libs/freeglut) media-libs/jasper-1.900.1-r3 (opengl ? media-libs/freeglut) media-libs/libcaca-0.99_beta17 (opengl ? media-libs/freeglut) media-video/gpac-0.4.5-r2 (opengl ? media-libs/freeglut) virtual/glut-1.0 (media-libs/freeglut) Expected Results: * These packages depend on media-libs/freeglut: i actually removed freeglut from my system, emerged mesa with one(from my ebuilds at 'v-fox' overlay) and tested it on games-action/chromium, emerged without 'sdl' flag, so glut would be engaged. it works. hovewer, there are appear to be some packages which explicitly check for freeglut(like libcaca) but it does not excuse total ignore of mesa.
!!! The following installed packages are masked: - virtual/glut-1.0::gentoo (masked by: package.mask) /usr/portage/profiles/package.mask: # Samuli Suominen <ssuominen@gentoo.org> (18 Oct 2010) # Fix your package to depend on media-libs/freeglut # or emerge -C virtual/glut # This mask entry will go away in about 30 days what ? removal of virtual/glut ? how about "fixing" dependencies only for packages which are actually work only with freeglut and not both ? this report about packages depending on media-libs/freeglut instead of virtual/glut and you are removing virtual/glut and make everything dependent on freeglut ? really ?
Mesa glut was never supported and planned to be supported by gentoo.
*** Bug 358677 has been marked as a duplicate of this bug. ***
As the in-mesa glut is the code with heavily restrictive license: http://www.opengl.org/resources/faq/technical/glut.htm We wont be shipping it and we just stick with freeglut.