Bug 1645929

Summary: Package glfw-devel from EPEL does not depend on a package that provides required OpenGL headers.
Product: [Fedora] Fedora EPEL Reporter: Sylvain Boilard <boilard>
Component: glfwAssignee: Simone Caronni <negativo17>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: airlied, bioinfornatics, mpreisle, negativo17
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-07-09 02:37:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sylvain Boilard 2018-11-04 23:32:41 UTC
Hi,

Installing package glfw-devel from EPEL without pre-existing OpenGL headers makes the GLFW headers unusable.

It seems that the issue is caused by the package not depending on mesa-libGL-devel which provides the `gl.h` header needed in the `glfw3.h` file.

Steps to reproduce on a fresh CentOS 7 installation:
======
$ sudo yum install -y glfw-devel gcc
[...]
$ echo "#include <GLFW/glfw3.h>" > test.c
$ gcc -c test.c
In file included from test.c:1:0:
/usr/include/GLFW/glfw3.h:171:21: fatal error: GL/gl.h: No such file or directory
   #include <GL/gl.h>
                     ^
compilation terminated.
$ sudo yum install -y mesa-libGL-devel
[...]
$ gcc -c test.c
$ echo $?
0
======

Cheers.

Comment 1 Troy Dawson 2024-07-09 02:37:20 UTC
EPEL 7 entered end-of-life (EOL) status on 2024-06-30.\n\nEPEL 7 is no longer maintained, which means that it\nwill not receive any further security or bug fix updates.\n As a result we are closing this bug.