Bug 1645929 - Package glfw-devel from EPEL does not depend on a package that provides required OpenGL headers.
Summary: Package glfw-devel from EPEL does not depend on a package that provides requi...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: glfw
Version: epel7
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Simone Caronni
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-04 23:32 UTC by Sylvain Boilard
Modified: 2024-07-09 02:37 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-07-09 02:37:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.