Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302157 - virtual/glu-7.0 RDEPEND needs renaming of media-libs/apple-opengl to media-libs/opengl-apple
Summary: virtual/glu-7.0 RDEPEND needs renaming of media-libs/apple-opengl to media-li...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: High major (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-25 12:01 UTC by Heiko
Modified: 2010-01-25 13:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko 2010-01-25 12:01:22 UTC
Emerging virtual/glu (or deep updating OpenGL packages) fails on MacOS, since the virtual's dependency on media-libs/apple-opengl wasn't renamed when importing the newly named media-libs/opengl-apple. The result is mesa being drawn in:

!!! All ebuilds that could satisfy "media-libs/mesa" have been masked.
[...]
(dependency required by "virtual/glu-7.0" [installed])

That's highly annoying on MacOS.

Reproducible: Always

Steps to Reproduce:
1. Emerge/deep update anything using OpenGL on MacOS
2.
3.

Actual Results:  
Example:

!!! All ebuilds that could satisfy "media-libs/mesa" have been masked.
!!! One of the following masked packages is required to complete your request:
- media-libs/mesa-7.7-r1 (masked by: missing keyword)
- media-libs/mesa-7.5.2 (masked by: missing keyword)
- media-libs/mesa-7.5.1 (masked by: missing keyword)

(dependency required by "virtual/glu-7.0" [installed])
(dependency required by "x11-libs/qt-opengl-4.6.1" [installed])
(dependency required by "media-sound/phonon-4.3.80-r1" [installed])
(dependency required by "x11-libs/qt-webkit-4.6.1" [installed])
(dependency required by "kde-base/kdelibs-4.3.4" [ebuild])
(dependency required by "kdelibs" [argument])


Expected Results:  
Pulling in of media-libs/opengl-apple and NOT mesa.

Fix it by renaming the dependency in usr/portage/virtual/glu/glu-7.0.ebuild:

-RDEPEND="|| ( media-libs/mesa media-libs/apple-opengl )"
+RDEPEND="|| ( media-libs/mesa media-libs/opengl-apple )"
Comment 1 Fabian Groffen gentoo-dev 2010-01-25 13:36:34 UTC
fix0rzed by scarabeus already it seems, thanks Tomáš!