Bug#948512: libsdl2: FTBFS on armhf

Timo Aaltonen tjaalton at debian.org
Thu Jan 9 16:18:12 GMT 2020


Source: libsdl2
Severity: normal

Hi,

libsdl2 fails to build on armhf:

  CC     build/SDL_video.lo
In file included from include/SDL_opengles.h:33,
                 from /home/tjaalton/libsdl2-2.0.10+dfsg1/src/video/SDL_video.c:41:
/usr/include/GLES/gl.h:63:25: error: conflicting types for 'GLsizeiptr'
   63 | typedef khronos_ssize_t GLsizeiptr;
      |                         ^~~~~~~~~~
In file included from include/SDL_opengl.h:2105,
                 from /home/tjaalton/libsdl2-2.0.10+dfsg1/src/video/SDL_video.c:37:
include/SDL_opengl_glext.h:472:19: note: previous declaration of 'GLsizeiptr' was here
  472 | typedef ptrdiff_t GLsizeiptr;
      |                   ^~~~~~~~~~
In file included from include/SDL_opengles.h:33,
                 from /home/tjaalton/libsdl2-2.0.10+dfsg1/src/video/SDL_video.c:41:
/usr/include/GLES/gl.h:64:26: error: conflicting types for 'GLintptr'
   64 | typedef khronos_intptr_t GLintptr;
      |                          ^~~~~~~~
In file included from include/SDL_opengl.h:2105,
                 from /home/tjaalton/libsdl2-2.0.10+dfsg1/src/video/SDL_video.c:37:
include/SDL_opengl_glext.h:473:19: note: previous declaration of 'GLintptr' was here
  473 | typedef ptrdiff_t GLintptr;

this is because the mesa/libglvnd header files got updated and libsdl needs to sync it's own copy.



More information about the Pkg-sdl-maintainers mailing list