Bug 193778

Summary: SDL fails to build in mock
Product: [Fedora] Fedora Reporter: Paul Howarth <paul>
Component: SDLAssignee: Thomas Woerner <twoerner>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dcantrell
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-06-06 09:06:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 191529    
Attachments:
Description Flags
Build log with minimal build environment none

Description Paul Howarth 2006-06-01 15:32:30 UTC
This package fails to build in mock.  build.log is attached.

The reason for the failure is that, when compiling ./src/events/SDL_events.c,
this happens:
In file included from ./src/events/../video/SDL_sysvideo.h:37,
                 from ./src/events/SDL_sysevents.h:24,
                 from ./src/events/SDL_events.c:28:
./include/SDL_opengl.h:45:58: error: GL/glu.h: No such file or directory

Adding a buildreq of mesa-libGLU-devel supplies this file and allows the build
to complete.

Since the header file SDL_opengl.h is shipped in the SDL-devel package, I
believe that mesa-libGLU-devel should also be added as a dependency of the
SDL-devel package,

Comment 1 Paul Howarth 2006-06-01 15:32:30 UTC
Created attachment 130351 [details]
Build log with minimal build environment

Comment 2 Thomas Woerner 2006-06-06 09:06:09 UTC
Fixed in rawhide in rpm SDL-1.2.10-2 or newer.

Comment 3 Wart 2006-06-14 22:09:48 UTC
(In reply to comment #0)

> Since the header file SDL_opengl.h is shipped in the SDL-devel package, I
> believe that mesa-libGLU-devel should also be added as a dependency of the
> SDL-devel package,

Shouldn't this require the more generic libGL-devel and libGLU-devel (both of
which are provided by mesa-libGL(U)-devel) instead of requiring a specific GL
implementation?

Comment 4 Paul Howarth 2006-06-16 14:32:02 UTC
(In reply to comment #3)
> (In reply to comment #0)
> 
> > Since the header file SDL_opengl.h is shipped in the SDL-devel package, I
> > believe that mesa-libGLU-devel should also be added as a dependency of the
> > SDL-devel package,
> 
> Shouldn't this require the more generic libGL-devel and libGLU-devel (both of
> which are provided by mesa-libGL(U)-devel) instead of requiring a specific GL
> implementation?

Sounds reasonable to me, as long as all GL(U) implementations can be relied upon
to provide GL/glu.h.