[Debichem-devel] Bug#906666: openms FTBFS on armel/armhf: error: expected class-name before '{' token

Adrian Bunk bunk at debian.org
Sun Aug 19 14:19:00 BST 2018

Source: openms
Version: 2.4.0-1
Severity: serious
Tags: ftbfs
Forwarded: https://github.com/OpenMS/OpenMS/issues/3687


In file included from /<<PKGBUILDDIR>>/src/openms_gui/source/VISUAL/APPLICATIONS/TOPPViewBase.cpp:89:
/<<PKGBUILDDIR>>/src/openms_gui/include/OpenMS/VISUAL/Spectrum3DOpenGLCanvas.h:61:3: error: expected class-name before '{' token
make[4]: *** [src/openms_gui/CMakeFiles/OpenMS_GUI.dir/build.make:108: src/openms_gui/CMakeFiles/OpenMS_GUI.dir/source/VISUAL/APPLICATIONS/TOPPViewBase.cpp.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 mldemos on armel/armhf), and
- file a removal bug for the old armel+armhf binaries
  against ftp.debian.org

More information about the Debichem-devel mailing list