Your message dated Sun, 25 Mar 2018 10:20:12 +0000
with message-id <e1f02l2-000cqz...@fasolo.debian.org>
and subject line Bug#893735: fixed in paraview 5.4.1+dfsg4-2
has caused the Debian Bug report #893735,
regarding paraview FTBFS on armel/armhf: QVTKOpenGLWidget.cxx:458:3: error: 
'QOpenGLFunctions_3_2_Core' was not declared in this scope
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
893735: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=893735
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: paraview
Version: 5.4.1+dfsg4-1
Severity: serious

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

...
/<<BUILDDIR>>/paraview-5.4.1+dfsg4/VTK/GUISupport/Qt/QVTKOpenGLWidget.cxx: In 
member function 'virtual void QVTKOpenGLWidget::paintGL()':
/<<BUILDDIR>>/paraview-5.4.1+dfsg4/VTK/GUISupport/Qt/QVTKOpenGLWidget.cxx:458:3:
 error: 'QOpenGLFunctions_3_2_Core' was not declared in this scope
   QOpenGLFunctions_3_2_Core* f =
   ^~~~~~~~~~~~~~~~~~~~~~~~~
/<<BUILDDIR>>/paraview-5.4.1+dfsg4/VTK/GUISupport/Qt/QVTKOpenGLWidget.cxx:458:3:
 note: suggested alternative: 'QOpenGLFunctionsPrivate'
   QOpenGLFunctions_3_2_Core* f =
   ^~~~~~~~~~~~~~~~~~~~~~~~~
   QOpenGLFunctionsPrivate
/<<BUILDDIR>>/paraview-5.4.1+dfsg4/VTK/GUISupport/Qt/QVTKOpenGLWidget.cxx:458:30:
 error: 'f' was not declared in this scope
   QOpenGLFunctions_3_2_Core* f =
                              ^
/<<BUILDDIR>>/paraview-5.4.1+dfsg4/VTK/GUISupport/Qt/QVTKOpenGLWidget.cxx:459:83:
 error: no matching function for call to 
'QOpenGLContext::versionFunctions<QOpenGLFunctions_3_2_Core>()'
     
QOpenGLContext::currentContext()->versionFunctions<QOpenGLFunctions_3_2_Core>();
                                                                                
   ^
In file included from 
/usr/include/arm-linux-gnueabihf/qt5/QtGui/QOpenGLContext:1:0,
                 from 
/<<BUILDDIR>>/paraview-5.4.1+dfsg4/VTK/GUISupport/Qt/QVTKOpenGLWidget.cxx:18:
/usr/include/arm-linux-gnueabihf/qt5/QtGui/qopenglcontext.h:193:11: note: 
candidate: template<class TYPE> TYPE* QOpenGLContext::versionFunctions() const
     TYPE *versionFunctions() const
           ^~~~~~~~~~~~~~~~
/usr/include/arm-linux-gnueabihf/qt5/QtGui/qopenglcontext.h:193:11: note:   
template argument deduction/substitution failed:
VTK/GUISupport/Qt/CMakeFiles/vtkGUISupportQt.dir/build.make:453: recipe for 
target 
'VTK/GUISupport/Qt/CMakeFiles/vtkGUISupportQt.dir/QVTKOpenGLWidget.cxx.o' failed
make[3]: *** 
[VTK/GUISupport/Qt/CMakeFiles/vtkGUISupportQt.dir/QVTKOpenGLWidget.cxx.o] Error 
1


On armel/armhf (and on arm64 in Ubuntu) Qt is compiled for OpenGL ES
instead of full OpenGL.

This is caused by:
https://gitlab.kitware.com/vtk/vtk/commit/53c566782950cd94ccd877cb906607e4cc33e1f7

The following fixes the build:

--- paraview-5.4.1+dfsg4.orig/VTK/GUISupport/Qt/QVTKOpenGLWidget.cxx
+++ paraview-5.4.1+dfsg4/VTK/GUISupport/Qt/QVTKOpenGLWidget.cxx
@@ -19,7 +19,7 @@
 #include <QOpenGLDebugLogger>
 #include <QOpenGLFramebufferObject>
 #include <QOpenGLFunctions>
-#include <QOpenGLFunctions_3_2_Core>
+//#include <QOpenGLFunctions_3_2_Core>
 #include <QOpenGLTexture>
 #include <QPointer>
 #include <QScopedValueRollback>
@@ -453,6 +453,7 @@ void QVTKOpenGLWidget::paintGL()
   // before proceeding with blit-ing.
   this->makeCurrent();
 
+#if 0
   // blit from this->FBO to QOpenGLWidget's FBO.
   vtkQVTKOpenGLWidgetDebugMacro("paintGL::blit-to-defaultFBO");
   QOpenGLFunctions_3_2_Core* f =
@@ -485,6 +486,7 @@ void QVTKOpenGLWidget::paintGL()
     f->glColorMask(colorMask[0], colorMask[1], colorMask[2], colorMask[3]);
     f->glClearColor(clearColor[0], clearColor[1], clearColor[2], 
clearColor[3]);
   }
+#endif  /* 0 */
 }
 
 //-----------------------------------------------------------------------------


This is obviously not a patch that should be applied,
it serves only to show that it is really just a small piece
of recently added code that prevents compilation here.

If possible, this should be fixed.


In case fixing is not possible or desirable, please:
- change the build dependency from libqt5opengl5-dev
  to libqt5opengl5-desktop-dev, and
- file a removal bug for the old armel+armhf binaries
  against ftp.debian.org

--- End Message ---
--- Begin Message ---
Source: paraview
Source-Version: 5.4.1+dfsg4-2

We believe that the bug you reported is fixed in the latest version of
paraview, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 893...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gert Wollny <g...@debian.org> (supplier of updated paraview package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 23 Mar 2018 22:47:21 +0000
Source: paraview
Binary: paraview paraview-dev paraview-doc paraview-python
Architecture: source
Version: 5.4.1+dfsg4-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Team 
<debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Gert Wollny <g...@debian.org>
Description:
 paraview   - Parallel Visualization Application
 paraview-dev - Parallel Visualization Application. Development header files
 paraview-doc - Parallel Visualization Application. Comprehensive documentation
 paraview-python - Parallel Visualization Application. python-support
Closes: 893735
Changes:
 paraview (5.4.1+dfsg4-2) unstable; urgency=medium
 .
   * Team upload.
   * [bd12fc4] d/p/fix_opengl_arm: use Extra OpenGL functions
     Closes: #893735
Checksums-Sha1:
 e84895ea9ed4760940a1dc7e94dbc8941fbafce6 2643 paraview_5.4.1+dfsg4-2.dsc
 301a5380136e3f6a6024726e028ce832e7c4a4dc 34928 
paraview_5.4.1+dfsg4-2.debian.tar.xz
 eba147d2014986dd1cb5f621b445c6de36066a6d 24585 
paraview_5.4.1+dfsg4-2_source.buildinfo
Checksums-Sha256:
 438ad5b41223aea0db18931e1d0c0b3a876dfa380153c7e5f57c57d10f059da1 2643 
paraview_5.4.1+dfsg4-2.dsc
 1d0f84fb67796f43bcd043983efdb108f4ee1e824c2f197c44af1e65b02f1264 34928 
paraview_5.4.1+dfsg4-2.debian.tar.xz
 b364188f442f06338c464853d985ef14758bd22d32bc857591a7ab8349ba4729 24585 
paraview_5.4.1+dfsg4-2_source.buildinfo
Files:
 e19a746a186aa9fdd0cbae01471fb1f1 2643 science optional 
paraview_5.4.1+dfsg4-2.dsc
 1935d325f22c9e1d4a581561a2467ac6 34928 science optional 
paraview_5.4.1+dfsg4-2.debian.tar.xz
 85a8165b33228bfc491d64030a24c224 24585 science optional 
paraview_5.4.1+dfsg4-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEENGr+2YOvnEff6Rr7+B42i5smq5gFAlq3cUoACgkQ+B42i5sm
q5gqtwf7BdIMhKGluUO9HTteBApdQFK3VCK/aUQUfL8m1BAaTmrFytfdeikzNgnl
Ce5Vj9DK7vs+uSXMMnYNia6PkvT7vm8iqAHqHHVBvHeofAqamqzvwy6Glqlt5f7v
VrU5O5PfDuEr1TO02b5WHqgtw6kgyOje3mT2KmSaY3a5sDtj34x92UHsWLtGmizq
vN+yFz0l2wpF2aGn9VCAP2sLxYbKT8HT+XC1faAEgOT/dVRqXxgptIA/qu2nKy1D
izJI0XT2HU84qiRZPjpshe0WE45py8jCOHazQsMvizVWt9ckZT+hllEzAGy8MMos
8H8LNV4NeMQwiqFDLJEOKVVXagX6qA==
=Itjg
-----END PGP SIGNATURE-----

--- End Message ---
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to