Bug#883626: kubrick FTBFS on armel/armhf: error: conflicting declaration 'typedef khronos_ssize_t GLsizeiptr'
Source: kubrick
Version: 4:17.08.3-1
Severity: serious
Forwarded: https://bugs.kde.org/show_bug.cgi?id=386367
https://buildd.debian.org/status/package.php?p=kubrick
...
In file included from /usr/include/arm-linux-gnueabi/qt5/QtGui/qopengl.h:107:0,
from /usr/include/arm-linux-gnueabi/qt5/QtOpenGL/qgl.h:45,
from /usr/include/arm-linux-gnueabi/qt5/QtOpenGL/QGLFormat:1,
from /<<PKGBUILDDIR>>/src/kubrick.cpp:24:
/usr/include/GLES3/gl3.h:75:25: error: conflicting declaration 'typedef khronos_ssize_t GLsizeiptr'
typedef khronos_ssize_t GLsizeiptr;
^~~~~~~~~~
In file included from /usr/include/GL/gl.h:2055:0,
from /<<PKGBUILDDIR>>/src/kbkglobal.h:33,
from /<<PKGBUILDDIR>>/src/kubrick.h:26,
from /<<PKGBUILDDIR>>/src/kubrick.cpp:20:
/usr/include/GL/glext.h:466:19: note: previous declaration as 'typedef ptrdiff_t GLsizeiptr'
typedef ptrdiff_t GLsizeiptr;
^~~~~~~~~~
The problem is that on armel and armhf Qt in Debian uses
OpenGL ES instead of full OpenGL.
Ideally, kubrick should be fixed to also work with OpenGL ES.
If this is not easily possible, then:
- change the build dependency from libqt5opengl5-dev
to libqt5opengl5-desktop-dev. and
- submit an RM bug against ftp.debian.org asking for
the removal of the old armel+armhf binaries
Reply to: