[Bug 787964] New: Build error with mesa 17.2.0

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Sep 20 22:27:46 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=787964

            Bug ID: 787964
           Summary: Build error with mesa 17.2.0
    Classification: Platform
           Product: GStreamer
           Version: 1.12.2
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: rezso at rezso.net
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

[75/633] Compiling C object 'gst-libs/gst/gl/gstgl-1.0 at sha/gstglapi.c.o'.
FAILED: gst-libs/gst/gl/gstgl-1.0 at sha/gstglapi.c.o 
ccache cc  -Igst-libs/gst/gl/gstgl-1.0 at sha -Igst-libs/gst/gl
-I../gst-libs/gst/gl -I. -I../ -Igst-libs -I../gst-libs
-I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libdrm -fdiagnostics-color=always
-pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -fPIC -pthread
-DHAVE_CONFIG_H -DGST_USE_UNSTABLE_API -DGST_EXPORTS -MMD -MQ
'gst-libs/gst/gl/gstgl-1.0 at sha/gstglapi.c.o' -MF
'gst-libs/gst/gl/gstgl-1.0 at sha/gstglapi.c.o.d' -o
'gst-libs/gst/gl/gstgl-1.0 at sha/gstglapi.c.o' -c ../gst-libs/gst/gl/gstglapi.c
In file included from /usr/include/GL/gl.h:2055:0,
                 from ../gst-libs/gst/gl/gstglapi.h:65,
                 from ../gst-libs/gst/gl/gstglapi.c:34:
/usr/include/GL/glext.h:466:19: error: conflicting types for ‘GLsizeiptr’
 typedef ptrdiff_t GLsizeiptr;
                   ^~~~~~~~~~
In file included from ../gst-libs/gst/gl/gstglapi.h:40:0,
                 from ../gst-libs/gst/gl/gstglapi.c:34:
/usr/include/GLES3/gl3.h:75:25: note: previous declaration of ‘GLsizeiptr’ was
here
 typedef khronos_ssize_t GLsizeiptr;
                         ^~~~~~~~~~
In file included from /usr/include/GL/gl.h:2055:0,
                 from ../gst-libs/gst/gl/gstglapi.h:65,
                 from ../gst-libs/gst/gl/gstglapi.c:34:
/usr/include/GL/glext.h:467:19: error: conflicting types for ‘GLintptr’
 typedef ptrdiff_t GLintptr;
                   ^~~~~~~~
In file included from ../gst-libs/gst/gl/gstglapi.h:40:0,
                 from ../gst-libs/gst/gl/gstglapi.c:34:
/usr/include/GLES3/gl3.h:76:26: note: previous declaration of ‘GLintptr’ was
here
 typedef khronos_intptr_t GLintptr;
                          ^~~~~~~~
In file included from /usr/include/GL/gl.h:2055:0,
                 from ../gst-libs/gst/gl/gstglapi.h:65,
                 from ../gst-libs/gst/gl/gstglapi.c:34:
/usr/include/GL/glext.h:530:25: error: conflicting types for
‘PFNGLBUFFERDATAPROC’
 typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size,
const void *data, GLenum usage);
                         ^~~~~~~~~~~~~~~~~~~
In file included from ../gst-libs/gst/gl/gstglapi.h:40:0,
                 from ../gst-libs/gst/gl/gstglapi.c:34:
/usr/include/GLES3/gl3.h:395:28: note: previous declaration of
‘PFNGLBUFFERDATAPROC’ was here
 typedef void (GL_APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr
size, const void *data, GLenum usage);
                            ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/GL/gl.h:2055:0,
                 from ../gst-libs/gst/gl/gstglapi.h:65,
                 from ../gst-libs/gst/gl/gstglapi.c:34:
/usr/include/GL/glext.h:531:25: error: conflicting types for
‘PFNGLBUFFERSUBDATAPROC’
 typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr
offset, GLsizeiptr size, const void *data);
                         ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../gst-libs/gst/gl/gstglapi.h:40:0,
                 from ../gst-libs/gst/gl/gstglapi.c:34:
/usr/include/GLES3/gl3.h:396:28: note: previous declaration of
‘PFNGLBUFFERSUBDATAPROC’ was here
 typedef void (GL_APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr
offset, GLsizeiptr size, const void *data);
                            ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/GL/gl.h:2055:0,
                 from ../gst-libs/gst/gl/gstglapi.h:65,
                 from ../gst-libs/gst/gl/gstglapi.c:34:
/usr/include/GL/glext.h:1126:25: error: conflicting types for
‘PFNGLBINDBUFFERRANGEPROC’
 typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint
index, GLuint buffer, GLintptr offset, GLsizeiptr size);
                         ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../gst-libs/gst/gl/gstglapi.h:40:0,
                 from ../gst-libs/gst/gl/gstglapi.c:34:
/usr/include/GLES3/gl3.h:1030:28: note: previous declaration of
‘PFNGLBINDBUFFERRANGEPROC’ was here
 typedef void (GL_APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint
index, GLuint buffer, GLintptr offset, GLsizeiptr size);
                            ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/GL/gl.h:2055:0,
                 from ../gst-libs/gst/gl/gstglapi.h:65,
                 from ../gst-libs/gst/gl/gstglapi.c:34:
/usr/include/GL/glext.h:1196:26: error: conflicting types for
‘PFNGLMAPBUFFERRANGEPROC’
 typedef void *(APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr
offset, GLsizeiptr length, GLbitfield access);
                          ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../gst-libs/gst/gl/gstglapi.h:40:0,
                 from ../gst-libs/gst/gl/gstglapi.c:34:
/usr/include/GLES3/gl3.h:1021:29: note: previous declaration of
‘PFNGLMAPBUFFERRANGEPROC’ was here
 typedef void *(GL_APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr
offset, GLsizeiptr length, GLbitfield access);
                             ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/GL/gl.h:2055:0,
                 from ../gst-libs/gst/gl/gstglapi.h:65,
                 from ../gst-libs/gst/gl/gstglapi.c:34:
/usr/include/GL/glext.h:1197:25: error: conflicting types for
‘PFNGLFLUSHMAPPEDBUFFERRANGEPROC’
 typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target,
GLintptr offset, GLsizeiptr length);
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../gst-libs/gst/gl/gstglapi.h:40:0,
                 from ../gst-libs/gst/gl/gstglapi.c:34:
/usr/include/GLES3/gl3.h:1022:28: note: previous declaration of
‘PFNGLFLUSHMAPPEDBUFFERRANGEPROC’ was here
 typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target,
GLintptr offset, GLsizeiptr length);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/GL/gl.h:2055:0,
                 from ../gst-libs/gst/gl/gstglapi.h:65,
                 from ../gst-libs/gst/gl/gstglapi.c:34:
/usr/include/GL/glext.h:1357:25: error: conflicting types for
‘PFNGLCOPYBUFFERSUBDATAPROC’
 typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLenum
writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../gst-libs/gst/gl/gstglapi.h:40:0,
                 from ../gst-libs/gst/gl/gstglapi.c:34:
/usr/include/GLES3/gl3.h:1056:28: note: previous declaration of
‘PFNGLCOPYBUFFERSUBDATAPROC’ was here
 typedef void (GL_APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget,
GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr
size);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../gst-libs/gst/gl/gstglapi.h:81:0,
                 from ../gst-libs/gst/gl/gstglapi.c:34:
../gst-libs/gst/gl/glprototypes/gstgl_compat.h:40:18: error: conflicting types
for ‘GLsync’
 typedef gpointer GLsync;
                  ^~~~~~
In file included from /usr/include/GL/gl.h:2055:0,
                 from ../gst-libs/gst/gl/gstglapi.h:65,
                 from ../gst-libs/gst/gl/gstglapi.c:34:
/usr/include/GL/glext.h:1383:26: note: previous declaration of ‘GLsync’ was
here
 typedef struct __GLsync *GLsync;
                          ^~~~~~
[76/633] Generating symbol file
'gst-libs/gst/video/gstbadvideo-1.0 at sha/gst-libs/gst/video/libgstbadvideo-1.0.so.0.1203.0.symbols'.
ninja: build stopped: subcommand failed.

How to fix this?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list