Bug#741827: yade: FTBFS: GLViewer.cpp:77:80: error: invalid use of incomplete type 'class qglviewer::ManipulatedFrame'

David Suárez david.sephirot at gmail.com
Sun Mar 16 13:05:30 UTC 2014


Source: yade
Version: 1.07.0-2
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140315 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> make[3]: Entering directory `/«PKGBUILDDIR»/debian/build'
> /usr/bin/cmake -E cmake_progress_report /«PKGBUILDDIR»/debian/build/CMakeFiles 2
> [  2%] Building CXX object gui/CMakeFiles/_GLViewer.dir/qt4/GLViewer.cpp.o
> cd /«PKGBUILDDIR»/debian/build/gui && /usr/bin/c++   -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -D_GLViewer_EXPORTS -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -ftrack-macro-expansion=0 -save-temps -fPIC -DYADE_VTK -DYADE_OPENMP -fopenmp -DYADE_GTS  -DQGLVIEWER_FOUND -DYADE_OPENGL -frounding-math -DYADE_CGAL -DFLOW_ENGINE -frounding-math -DLINSOLV -DFLOW_ENGINE -DYADE_GL2PS -O3 -DNDEBUG -fPIC -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/eigen3 -I/usr/include/vtk-5.8 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -isystem /usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg -I/usr/include/qt4/Qt3Support -isystem /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtCore -I/usr/share/qt4/mkspecs/default -isystem /usr/include/qt4 -I/usr/include/suitesparse -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7 -I/«PKGBUILDDIR»/extra/floating_point_utilities_v3 -I/«PKGBUILDDIR»/debian/build     -DYADE_PTR_CAST=static_pointer_cast -DYADE_CAST=static_cast  -o CMakeFiles/_GLViewer.dir/qt4/GLViewer.cpp.o -c /«PKGBUILDDIR»/gui/qt4/GLViewer.cpp
> /«PKGBUILDDIR»/gui/qt4/GLViewer.cpp: In constructor 'GLViewer::GLViewer(int, const boost::shared_ptr<OpenGLRenderer>&, QGLWidget*)':
> /«PKGBUILDDIR»/gui/qt4/GLViewer.cpp:77:80: error: invalid use of incomplete type 'class qglviewer::ManipulatedFrame'
>   if(manipulatedFrame()==0) setManipulatedFrame(new qglviewer::ManipulatedFrame());
>                                                                                 ^
> In file included from /«PKGBUILDDIR»/gui/qt4/GLViewer.hpp:12:0,
>                  from /«PKGBUILDDIR»/gui/qt4/GLViewer.cpp:11:
> /usr/include/QGLViewer/qglviewer.h:36:7: error: forward declaration of 'class qglviewer::ManipulatedFrame'
>  class ManipulatedFrame;
>        ^
> /«PKGBUILDDIR»/gui/qt4/GLViewer.cpp:82:20: error: invalid use of incomplete type 'class qglviewer::ManipulatedFrame'
>   manipulatedFrame()->setConstraint(NULL);
>                     ^
> In file included from /«PKGBUILDDIR»/gui/qt4/GLViewer.hpp:12:0,
>                  from /«PKGBUILDDIR»/gui/qt4/GLViewer.cpp:11:
> /usr/include/QGLViewer/qglviewer.h:36:7: error: forward declaration of 'class qglviewer::ManipulatedFrame'
>  class ManipulatedFrame;
>        ^
> /«PKGBUILDDIR»/gui/qt4/GLViewer.cpp: In member function 'void GLViewer::startClipPlaneManipulation(int)':
> /«PKGBUILDDIR»/gui/qt4/GLViewer.cpp:147:20: error: invalid use of incomplete type 'class qglviewer::ManipulatedFrame'
>   manipulatedFrame()->setPositionAndOrientation(qglviewer::Vec(se3.position[0],se3.position[1],se3.position[2]),qglviewer::Quaternion(se3.orientation.x(),se3.orientation.y(),se3.orientation.z(),se3.orientation.w()));
>                     ^
> In file included from /«PKGBUILDDIR»/gui/qt4/GLViewer.hpp:12:0,
>                  from /«PKGBUILDDIR»/gui/qt4/GLViewer.cpp:11:
> /usr/include/QGLViewer/qglviewer.h:36:7: error: forward declaration of 'class qglviewer::ManipulatedFrame'
>  class ManipulatedFrame;
>        ^
> /«PKGBUILDDIR»/gui/qt4/GLViewer.cpp: In member function 'virtual void GLViewer::keyPressEvent(QKeyEvent*)':
> /«PKGBUILDDIR»/gui/qt4/GLViewer.cpp:206:22: error: invalid use of incomplete type 'class qglviewer::ManipulatedFrame'
>     manipulatedFrame()->setOrientation(qglviewer::Quaternion(o.x(),o.y(),o.z(),o.w()));
>                       ^
> In file included from /«PKGBUILDDIR»/gui/qt4/GLViewer.hpp:12:0,
>                  from /«PKGBUILDDIR»/gui/qt4/GLViewer.cpp:11:
> /usr/include/QGLViewer/qglviewer.h:36:7: error: forward declaration of 'class qglviewer::ManipulatedFrame'
>  class ManipulatedFrame;
>        ^
> /«PKGBUILDDIR»/gui/qt4/GLViewer.cpp:219:128: error: invalid use of incomplete type 'class qglviewer::ManipulatedFrame'
>    if(selectedName() >= 0 && (*(Omega::instance().getScene()->bodies)).exists(selectedName())) setSceneCenter(manipulatedFrame()->position());
>                                                                                                                                 ^
> In file included from /«PKGBUILDDIR»/gui/qt4/GLViewer.hpp:12:0,
>                  from /«PKGBUILDDIR»/gui/qt4/GLViewer.cpp:11:
> /usr/include/QGLViewer/qglviewer.h:36:7: error: forward declaration of 'class qglviewer::ManipulatedFrame'
>  class ManipulatedFrame;
>        ^
> /«PKGBUILDDIR»/gui/qt4/GLViewer.cpp:238:22: error: invalid use of incomplete type 'class qglviewer::ManipulatedFrame'
>     manipulatedFrame()->setOrientation(qglviewer::Quaternion(qglviewer::Vec(0,1,0),Mathr::PI)*manipulatedFrame()->orientation());
>                       ^
> In file included from /«PKGBUILDDIR»/gui/qt4/GLViewer.hpp:12:0,
>                  from /«PKGBUILDDIR»/gui/qt4/GLViewer.cpp:11:
> /usr/include/QGLViewer/qglviewer.h:36:7: error: forward declaration of 'class qglviewer::ManipulatedFrame'
>  class ManipulatedFrame;
>        ^
> /«PKGBUILDDIR»/gui/qt4/GLViewer.cpp:238:112: error: invalid use of incomplete type 'class qglviewer::ManipulatedFrame'
>     manipulatedFrame()->setOrientation(qglviewer::Quaternion(qglviewer::Vec(0,1,0),Mathr::PI)*manipulatedFrame()->orientation());
>                                                                                                                 ^
> In file included from /«PKGBUILDDIR»/gui/qt4/GLViewer.hpp:12:0,
>                  from /«PKGBUILDDIR»/gui/qt4/GLViewer.cpp:11:
> /usr/include/QGLViewer/qglviewer.h:36:7: error: forward declaration of 'class qglviewer::ManipulatedFrame'
>  class ManipulatedFrame;
>        ^
> /«PKGBUILDDIR»/gui/qt4/GLViewer.cpp:262:22: error: invalid use of incomplete type 'class qglviewer::ManipulatedFrame'
>     manipulatedFrame()->setOrientation(qglviewer::Quaternion(axis,angle));
>                       ^
> In file included from /«PKGBUILDDIR»/gui/qt4/GLViewer.hpp:12:0,
>                  from /«PKGBUILDDIR»/gui/qt4/GLViewer.cpp:11:
> /usr/include/QGLViewer/qglviewer.h:36:7: error: forward declaration of 'class qglviewer::ManipulatedFrame'
>  class ManipulatedFrame;
>        ^
> /«PKGBUILDDIR»/gui/qt4/GLViewer.cpp: In member function 'virtual void GLViewer::postSelection(const QPoint&)':
> /«PKGBUILDDIR»/gui/qt4/GLViewer.cpp:408:21: error: invalid use of incomplete type 'class qglviewer::ManipulatedFrame'
>    manipulatedFrame()->setPositionAndOrientation(qglviewer::Vec(v[0],v[1],v[2]),qglviewer::Quaternion(q.x(),q.y(),q.z(),q.w()));
>                      ^
> In file included from /«PKGBUILDDIR»/gui/qt4/GLViewer.hpp:12:0,
>                  from /«PKGBUILDDIR»/gui/qt4/GLViewer.cpp:11:
> /usr/include/QGLViewer/qglviewer.h:36:7: error: forward declaration of 'class qglviewer::ManipulatedFrame'
>  class ManipulatedFrame;
>        ^
> make[3]: *** [gui/CMakeFiles/_GLViewer.dir/qt4/GLViewer.cpp.o] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/03/15/yade_1.07.0-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the debian-science-maintainers mailing list