Source: connectome-workbench
Version: 1.3.1-1
Severity: serious

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

...
In file included from 
/usr/include/arm-linux-gnueabihf/qt5/QtGui/qopengl.h:105:0,
                 from /usr/include/arm-linux-gnueabihf/qt5/QtOpenGL/qgl.h:45,
                 from /usr/include/arm-linux-gnueabihf/qt5/QtOpenGL/QGLWidget:1,
                 from 
/<<PKGBUILDDIR>>/obj-arm-linux-gnueabihf/GuiQt/../../src/GuiQt/BrainOpenGLWidget.h:38,
                 from 
/<<PKGBUILDDIR>>/obj-arm-linux-gnueabihf/GuiQt/moc_BrainOpenGLWidget.cpp:9:
/usr/include/GLES3/gl32.h:77: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/Graphics/CaretOpenGLInclude.h:63,
                 from 
/<<PKGBUILDDIR>>/obj-arm-linux-gnueabihf/GuiQt/../../src/GuiQt/BrainOpenGLWidget.h:33,
                 from 
/<<PKGBUILDDIR>>/obj-arm-linux-gnueabihf/GuiQt/moc_BrainOpenGLWidget.cpp:9:
/usr/include/GL/glext.h:468:19: note: previous declaration as 'typedef 
ptrdiff_t GLsizeiptr'
 typedef ptrdiff_t GLsizeiptr;
                   ^~~~~~~~~~
In file included from 
/usr/include/arm-linux-gnueabihf/qt5/QtGui/qopengl.h:105:0,
                 from /usr/include/arm-linux-gnueabihf/qt5/QtOpenGL/qgl.h:45,
                 from /usr/include/arm-linux-gnueabihf/qt5/QtOpenGL/QGLWidget:1,
                 from 
/<<PKGBUILDDIR>>/obj-arm-linux-gnueabihf/GuiQt/../../src/GuiQt/BrainOpenGLWidget.h:38,
                 from 
/<<PKGBUILDDIR>>/obj-arm-linux-gnueabihf/GuiQt/moc_BrainOpenGLWidget.cpp:9:
/usr/include/GLES3/gl32.h:78:26: error: conflicting declaration 'typedef 
khronos_intptr_t GLintptr'
 typedef khronos_intptr_t GLintptr;
                          ^~~~~~~~
In file included from /usr/include/GL/gl.h:2055:0,
                 from /<<PKGBUILDDIR>>/src/Graphics/CaretOpenGLInclude.h:63,
                 from 
/<<PKGBUILDDIR>>/obj-arm-linux-gnueabihf/GuiQt/../../src/GuiQt/BrainOpenGLWidget.h:33,
                 from 
/<<PKGBUILDDIR>>/obj-arm-linux-gnueabihf/GuiQt/moc_BrainOpenGLWidget.cpp:9:
/usr/include/GL/glext.h:469:19: note: previous declaration as 'typedef 
ptrdiff_t GLintptr'
 typedef ptrdiff_t GLintptr;
                   ^~~~~~~~
GuiQt/CMakeFiles/GuiQt.dir/build.make:1423: recipe for target 
'GuiQt/CMakeFiles/GuiQt.dir/moc_BrainOpenGLWidget.cpp.o' failed
make[3]: *** [GuiQt/CMakeFiles/GuiQt.dir/moc_BrainOpenGLWidget.cpp.o] Error 1


The problem is that on armel and armhf Qt in Debian uses
OpenGL ES instead of full OpenGL.

Ideally, connectome-workbench 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 via email to