Bug 1733432

Summary: glfw-devel no longer depends on X extension -devel
Product: [Fedora] Fedora Reporter: Elliott Sales de Andrade <quantum.analyst>
Component: glfwAssignee: Till Hofmann <thofmann>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 31CC: airlied, bioinfornatics, mpreisle, negativo17, thofmann
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glfw-3.3.1-3.fc31 glfw-3.3.1-3.fc30 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-14 01:15:42 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:
Bug Depends On:    
Bug Blocks: 1735266    

Description Elliott Sales de Andrade 2019-07-26 05:35:42 UTC
Description of problem:
With glfw-3.2.1-9, the glfw-devel subpackage used to depend on various X11 extension devel packages as well:

pkgconfig(x11)
pkgconfig(xcursor)
pkgconfig(xinerama)
pkgconfig(xrandr)
pkgconfig(xxf86vm)
xorg-x11-proto-devel

With 3.3-1, it only depends on the main library:
pkgconfig(x11)
xorg-x11-proto-devel

This caused glava to fail the mass rebuild [1] due to the missing header:

BUILDSTDERR: In file included from glfw_wcb.c:29:
BUILDSTDERR: /usr/include/GLFW/glfw3native.h:102:11: fatal error: X11/extensions/Xrandr.h: No such file or directory
BUILDSTDERR:   102 |  #include <X11/extensions/Xrandr.h>
BUILDSTDERR:       |           ^~~~~~~~~~~~~~~~~~~~~~~~~

I think this may be related to this change in glfw's release notes:
> X11 extension libraries are loaded dynamically
>
> GLFW now loads all X11 extension libraries at initialization. The only X11 library you need to link against is libX11. The header files for the extension libraries are still required for compilation.
>
> Existing projects and makefiles that link GLFW directly against the extension libraries should still build correctly but will add these libraries as load-time dependencies.


Version-Release number of selected component (if applicable):
glfw-devel-1:3.3-1.fc31


Additional info:
[1] https://koji.fedoraproject.org/koji/taskinfo?taskID=36492438

Comment 1 Ben Cotton 2019-08-13 17:09:42 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to '31'.

Comment 2 Ben Cotton 2019-08-13 18:38:00 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.

Comment 3 Fedora Update System 2020-01-05 11:32:38 UTC
FEDORA-2020-59e794e266 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2020-59e794e266

Comment 4 Fedora Update System 2020-01-06 00:48:32 UTC
glfw-3.3.1-3.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-59e794e266

Comment 5 Fedora Update System 2020-01-06 01:19:24 UTC
glfw-3.3.1-3.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-37f8960cc8

Comment 6 Fedora Update System 2020-01-14 01:15:42 UTC
glfw-3.3.1-3.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2020-01-15 00:14:24 UTC
glfw-3.3.1-3.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.