Source: fraqtive
Version: 0.4.8-7
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/package.php?p=fraqtive&suite=sid

...
In file included from /usr/include/GL/gl.h:2055,
                 from /usr/include/GL/glu.h:38,
                 from meshview.cpp:27:
/usr/include/GL/glext.h:468:19: error: conflicting declaration 'typedef 
ptrdiff_t GLsizeiptr'
 typedef ptrdiff_t GLsizeiptr;
                   ^~~~~~~~~~
In file included from /usr/include/arm-linux-gnueabihf/qt5/QtGui/qopengl.h:105,
                 from /usr/include/arm-linux-gnueabihf/qt5/QtOpenGL/qgl.h:45,
                 from /usr/include/arm-linux-gnueabihf/qt5/QtOpenGL/QGLWidget:1,
                 from meshview.h:22,
                 from meshview.cpp:19:
/usr/include/GLES3/gl32.h:77:25: note: previous declaration as 'typedef 
khronos_ssize_t GLsizeiptr'
 typedef khronos_ssize_t GLsizeiptr;
                         ^~~~~~~~~~
In file included from /usr/include/GL/gl.h:2055,
                 from /usr/include/GL/glu.h:38,
                 from meshview.cpp:27:
/usr/include/GL/glext.h:469:19: error: conflicting declaration 'typedef 
ptrdiff_t GLintptr'
 typedef ptrdiff_t GLintptr;
                   ^~~~~~~~
In file included from /usr/include/arm-linux-gnueabihf/qt5/QtGui/qopengl.h:105,
                 from /usr/include/arm-linux-gnueabihf/qt5/QtOpenGL/qgl.h:45,
                 from /usr/include/arm-linux-gnueabihf/qt5/QtOpenGL/QGLWidget:1,
                 from meshview.h:22,
                 from meshview.cpp:19:
/usr/include/GLES3/gl32.h:78:26: note: previous declaration as 'typedef 
khronos_intptr_t GLintptr'
 typedef khronos_intptr_t GLintptr;
                          ^~~~~~~~
make[2]: *** [Makefile:1381: ../tmp/debug/meshview.o] Error 1


The root cause is that on armel/armhf (and arm64 in Ubuntu)
Qt5 is compiled with OpenGL ES instead of OpenGL.

Ideally it should be fixed to build and work with OpenGL ES,
but if this is not easily possible please
- change the build dependency from libqt5opengl5-dev
  to libqt5opengl5-desktop-dev (which will stop trying
  to build it on armel/armhf), and
- file a removal bug for the old armel+armhf binaries
  against ftp.debian.org

Reply via email to