Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 443684

Summary: x11-libs/wxGTK USE="X opengl" should depend on virtual/glu
Product: Gentoo Linux Reporter: Dustin C. Hatch <dustin>
Component: New packagesAssignee: Gentoo wxWidgets project <wxwidgets>
Status: RESOLVED FIXED    
Severity: normal CC: zerochaos
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 432516    

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.