Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 443684 - x11-libs/wxGTK USE="X opengl" should depend on virtual/glu
Summary: x11-libs/wxGTK USE="X opengl" should depend on virtual/glu
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 432516
  Show dependency tree
 
Reported: 2012-11-17 19:41 UTC by Dustin C. Hatch
Modified: 2012-11-23 04:55 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 Dustin C. Hatch 2012-11-17 19:41:49 UTC
When both the X and opengl USE flags are enable dof x11-libs/wxGTK, but media-libs/glu is not installed, emerge fails during the configure stage:

checking for OpenGL headers... found in /usr/include
checking for GL/gl.h... yes
checking GL/glu.h usability... no
checking GL/glu.h presence... no
checking for GL/glu.h... no
configure: error: OpenGL libraries not available

Reproducible: Always

Steps to Reproduce:
1. enable the X and opengl USE flags
2. ensure media-libs/glu is NOT installed
3. emerge x11-libs/wxGTK
Actual Results:  
emerge fails during configure stage because it can't find GL/glu.h

Expected Results:  
emerge should pull in virtual/glu (and thus media-libs/glu) as a build dependency and install it before attempting to build wxGTK.
Comment 1 Rick Farina (Zero_Chaos) gentoo-dev 2012-11-22 04:55:35 UTC
I can confirm this issue, if no one else fixes it I will add to DEPEND.

I ran "lddtree `qlist wxGTK` | grep glu" and got no results so I'm guessing this is a build only dep?

anyone care to comment?
Comment 2 Rick Farina (Zero_Chaos) gentoo-dev 2012-11-23 04:55:24 UTC
+  23 Nov 2012; Rick Farina <zerochaos@gentoo.org> wxGTK-2.8.12.1.ebuild,
+  wxGTK-2.9.3.1.ebuild, wxGTK-2.9.4.1.ebuild:
+  add virtual/glu build time dep per bug #443684 , does not appear to be an rdep

if I'm wrong, feel free to reopen with proof and I'll add the rdep.