Fail to build ParaView for ARM arch.

Hello,

I just create Flatpak package for ParaView 5.9.0.
https://flathub.org/apps/details/org.paraview.ParaView

But it fail to build for ARM arch.

I don’t have ARM CPU myself, I can only use Github action to build it.

The full log can be download here: Flathub builds

I think the relevant error is this.
It seems VTK have issue building on ARM arch?

Thanks.

/run/build/Paraview/VTK/GUISupport/Qt/QVTKOpenGLWindow.cxx: In member function ‘virtual void QVTKOpenGLWindow::paintGL()’:
/run/build/Paraview/VTK/GUISupport/Qt/QVTKOpenGLWindow.cxx:260:43: error: ‘GL_BACK_LEFT’ was not declared in this scope
260 | this->defaultFramebufferObject(), GL_BACK_LEFT, QRect(QPoint(0, 0), deviceSize));
| ^~~~~~~~~~~~
/run/build/Paraview/VTK/GUISupport/Qt/QVTKOpenGLWindow.cxx:262:43: error: ‘GL_BACK_RIGHT’ was not declared in this scope
262 | this->defaultFramebufferObject(), GL_BACK_RIGHT, QRect(QPoint(0, 0), deviceSize));
| ^~~~~~~~~~~~~
/run/build/Paraview/VTK/GUISupport/Qt/QVTKOpenGLWindow.cxx:267:43: error: ‘GL_BACK_LEFT’ was not declared in this scope
267 | this->defaultFramebufferObject(), GL_BACK_LEFT, QRect(QPoint(0, 0), deviceSize));
| ^~~~~~~~~~~~

ARM is not tested afaik.

In any case this code is for stereo rendering, which of course is not supported on any GPU on a ARM board I suppose.

FYI @ben.boeckel

Seems like an OpenGL/EGL issue maybe? More of a @martink question I think.