I fixed a build problem for OpenColorIO for EPEL 7 a few weeks ago and was
able to do mockbuilds. I just forced a Koschei rebuild to clear the failure
but the build failed[1] for an unusual reason:
In file included from
/builddir/build/BUILD/OpenColorIO-1.0.9/src/apps/ociodisplay/main.cpp:46:0:
/usr/include/GL/glext.h:12066:105: error: conflicting declaration 'typedef
void (* PFNGLFRAGMENTLIGHTFVSGIXPROC)(GLenum, GLenum, const GLfloat*)'
typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light,
GLenum pname, const GLfloat *params);
^
In file included from
/builddir/build/BUILD/OpenColorIO-1.0.9/src/apps/ociodisplay/main.cpp:44:0:
/usr/include/GL/glew.h:14376:28: error: 'PFNGLFRAGMENTLIGHTFVSGIXPROC' has
a previous declaration as 'typedef void (*
PFNGLFRAGMENTLIGHTFVSGIXPROC)(GLenum, GLenum, GLfloat*)'
typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light,
GLenum pname, GLfloat* params);
The mesa-libGL-devel package has changed versions (glext.h) since the last
successful build[2] but the glew-devel package has not (glew.h) and yet it
also is causing an issue somehow.
Any pointers?
Thanks,
Richard
[1]
https://kojipkgs.fedoraproject.org/work/tasks/2802/91612802/build.log
[2]
https://kojipkgs.fedoraproject.org//packages/OpenColorIO/1.0.9/4.el7/data...