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

Bug 507600

Summary: games-emulation/mupen64plus-core should depend on media-libs/libsdl[opengl]
Product: Gentoo Linux Reporter: Ben Torkington <bent>
Component: Current packagesAssignee: Michał Górny <mgorny>
Status: RESOLVED FIXED    
Severity: normal CC: games, joker
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ben Torkington 2014-04-13 22:29:44 UTC
emerging mupen64plus before glu is emerged results in failure due to "GL/glu.h: no such file or directory". After manually merging virtual/glu, mupen64plus compiles properly.

Reproducible: Always

Steps to Reproduce:
1. emerge games-emulation/mupen64plus on a system without GL/glu.h

Actual Results:  
/usr/include/SDL/SDL_opengl.h:47:58: fatal error: GL/glu.h: No such file or directory
compilation terminated.
make: *** [opengl/OGLFT.o] Error 1
emake failed

Expected Results:  
not that
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-04-14 15:01:25 UTC
(In reply to Ben Torkington from comment #0)
> /usr/include/SDL/SDL_opengl.h:47:58: fatal error: GL/glu.h: No such file or
> directory

Isn't that a missing dep in SDL itself?
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2014-04-14 15:12:36 UTC
no,

libsdl-1.2.15-r4.ebuild:	opengl? ( virtual/opengl virtual/glu )
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-04-14 15:38:37 UTC
+  14 Apr 2014; Michał Górny <mgorny@gentoo.org> mupen64plus-core-2.0.ebuild:
+  Add dep on libsdl[opengl] for screenshot code, bug #507600.
Comment 4 Julian Ospald 2014-04-14 17:25:03 UTC
you sure it works with -X