Bug 1224738

Summary: mesa-libGL-10.6.0-0.devel.6.5a55f68.fc23 ABI break: glWindowPos4dMESA symbol removed from libGL.so.1
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: mesaAssignee: Adam Jackson <ajax>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: ajax, fschwarz, ignatenko, jamiller106
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libglvnd-0.2.999-9.gitdc16f8c.fc25 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-26 09:56:29 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: 1224294    

Description Petr Pisar 2015-05-25 13:39:32 UTC
perl-OpenGL fails to build since upgrading mesa-libGL from 10.6.0-0.devel.5.51e3453 to 10.6.0-0.devel.6.5a55f68 because it cannot resolve glWindowPos4dMESA (and some other) symbol (see bug #1224294).

Old libGL.so.1 version exported the symbol:

# nm -D /usr/lib64/libGL.so.1 |grep glWindowPos4dMESA
00000000000778e0 T glWindowPos4dMESA
# grep -Hnr glWindowPos4dMESA /usr/include/GL/
/usr/include/GL/gl_mangle.h:2799:#define glWindowPos4dMESA              MANGLE(WindowPos4dMESA)
/usr/include/GL/glext.h:8780:GLAPI void APIENTRY glWindowPos4dMESA (GLdouble x, GLdouble y, GLdouble z, GLdouble w);

New version still declares it in <GL/glext.h> but the shared library does not provide it anymore.

The perl library is missing these symbols:

undefined symbol: glWindowPos4dMESA     (blib/arch/auto/OpenGL/OpenGL.so)
undefined symbol: glWindowPos4iMESA     (blib/arch/auto/OpenGL/OpenGL.so)
undefined symbol: glWindowPos3iMESA     (blib/arch/auto/OpenGL/OpenGL.so)
undefined symbol: glWindowPos2dMESA     (blib/arch/auto/OpenGL/OpenGL.so)
undefined symbol: glWindowPos2iMESA     (blib/arch/auto/OpenGL/OpenGL.so)
undefined symbol: glWindowPos3dMESA     (blib/arch/auto/OpenGL/OpenGL.so)
undefined symbol: glResizeBuffersMESA   (blib/arch/auto/OpenGL/OpenGL.so)

Please note the libGL's SONAME has not change so I believe this is a bug in the Mesa library.

Comment 1 Jeffrey Miller 2015-07-10 13:47:50 UTC
glut and f90gl also fail to build with the opengl provided under /usr/lib64

work around was downloading and building the MESA library 10.5.4

NOTE: the gl.h & glext.h files are identical between the Fedora 22 and mesa-10.5.4

Comment 2 Jan Kurik 2015-07-15 14:06:50 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23

Comment 3 Igor Gnatenko 2016-03-20 14:02:27 UTC
I thnk last version should work.

Comment 4 Petr Pisar 2016-03-21 12:26:06 UTC
How exactly was is fixed? mesa-libGL-devel-11.2.0-0.devel.11.24ea81a.fc24.x86_64 still declares the symbols in the /usr/include/GL/glext.h, but does not provide them in the /usr/lib64/libGL.so.1.

Comment 5 Fedora End Of Life 2016-11-24 11:49:22 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 6 Petr Pisar 2016-11-24 13:09:02 UTC
Still issue in F24 (mesa-12.0.3-2.fc24).

Comment 7 Fedora End Of Life 2017-07-25 18:55:47 UTC
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '24'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 8 Petr Pisar 2017-07-26 09:56:29 UTC
I confirm the sybols are back in Fedora 25.