Bug 2002416

Summary: qt5-qtbase FTBFS against libglvnd-1.3.4
Product: [Fedora] Fedora Reporter: Rex Dieter <rdieter>
Component: qt5-qtbaseAssignee: Rex Dieter <rdieter>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jgrulich, jreznik, kde-sig, rdieter, than
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-09-10 17:49:36 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: 2002414    
Bug Blocks:    

Description Rex Dieter 2021-09-08 18:27:34 UTC
qt5-qtbase FTBFS against libglvnd-1.3.4, one example,
https://koji.fedoraproject.org/koji/buildinfo?buildID=1829202

> In file included from /usr/include/EGL/egl.h:20,
>                  from main.cpp:7:
> main.cpp: In function 'int main(int, char**)':
> main.cpp:13:20: error: invalid conversion from 'EGLNativeDisplayType' {aka 'void*'} to 'Display*' [-fpermissive]
>    13 |     Display *dpy = EGL_DEFAULT_DISPLAY;
>       |                    ^~~~~~~~~~~~~~~~~~~
>       |                    |
>       |                    EGLNativeDisplayType {aka void*}
> main.cpp:15:11: error: invalid conversion from 'EGLNativeDisplayType' {aka 'void*'} to 'Display*' [-fpermissive]
>    15 |     dpy = egldpy;
>       |           ^~~~~~
>       |           |
>       |           EGLNativeDisplayType {aka void*}
> gmake: *** [Makefile:173: main.o] Error 1


Strictly speaking, we could make the build succeed, but it would lack egl/eglfs support (which would be bad too)

Comment 2 Rex Dieter 2021-09-09 12:53:45 UTC
Thanks, but I'm not sure what the concrete fix/way-forward is.  Do you have a concrete suggestion?