Bug#750318: yade: FTBFS: vtkAtomicInt.h:307:28: error: reference to 'detail' is ambiguous

David Suárez david.sephirot at gmail.com
Mon Jun 2 18:18:05 UTC 2014


Source: yade
Version: 1.07.0-4
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140601 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):
> /usr/bin/c++   -DYADE_VTK6 -Dyade_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-6.1 -I/usr/include/x86_64-linux-gnu -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/freetype2 -I/usr/include/python2.7 -I/usr/include/libxml2 -I/usr/include/tcl8.6 -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 -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtWebKit -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 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/usr/include/suitesparse -I/«PKGBUILDDIR»/extra/floating_point_utilities_v3 -I/«PKGBUILDDIR»/debian/build     -DYADE_PTR_CAST=static_pointer_cast -DYADE_CAST=static_cast  -o CMakeFiles/yade.dir/pkg/dem/VTKRecorder.cpp.o -c /«PKGBUILDDIR»/pkg/dem/VTKRecorder.cpp
> In file included from /usr/include/vtk-6.1/vtkObjectBase.h:44:0,
>                  from /usr/include/vtk-6.1/vtkObject.h:42,
>                  from /usr/include/vtk-6.1/vtkCell.h:41,
>                  from /usr/include/vtk-6.1/vtkQuad.h:26,
>                  from /«PKGBUILDDIR»/pkg/dem/VTKRecorder.hpp:3,
>                  from /«PKGBUILDDIR»/pkg/dem/VTKRecorder.cpp:3:
> /usr/include/vtk-6.1/vtkAtomicInt.h:307:28: error: reference to 'detail' is ambiguous
>  class vtkAtomicInt: public detail::vtkAtomicIntImpl<T>
>                             ^
> In file included from /usr/include/vtk-6.1/vtkObjectBase.h:44:0,
>                  from /usr/include/vtk-6.1/vtkObject.h:42,
>                  from /usr/include/vtk-6.1/vtkCell.h:41,
>                  from /usr/include/vtk-6.1/vtkQuad.h:26,
>                  from /«PKGBUILDDIR»/pkg/dem/VTKRecorder.hpp:3,
>                  from /«PKGBUILDDIR»/pkg/dem/VTKRecorder.cpp:3:
> /usr/include/vtk-6.1/vtkAtomicInt.h:70:1: note: candidates are: namespace detail { }
>  {
>  ^
> In file included from /usr/include/boost/any.hpp:21:0,
>                  from /«PKGBUILDDIR»/debian/build/yade/lib/serialization/Serializable.hpp:13,
>                  from /«PKGBUILDDIR»/debian/build/yade/core/Engine.hpp:13,
>                  from /«PKGBUILDDIR»/debian/build/yade/core/GlobalEngine.hpp:11,
>                  from /«PKGBUILDDIR»/debian/build/yade/pkg/common/PeriodicEngines.hpp:5,
>                  from /«PKGBUILDDIR»/pkg/dem/VTKRecorder.hpp:2,
>                  from /«PKGBUILDDIR»/pkg/dem/VTKRecorder.cpp:3:
> /usr/include/boost/type_traits/remove_reference.hpp:27:17: note:                 namespace boost::detail { }
>  namespace detail{
>                  ^
> In file included from /usr/include/vtk-6.1/vtkObjectBase.h:44:0,
>                  from /usr/include/vtk-6.1/vtkObject.h:42,
>                  from /usr/include/vtk-6.1/vtkCell.h:41,
>                  from /usr/include/vtk-6.1/vtkQuad.h:26,
>                  from /«PKGBUILDDIR»/pkg/dem/VTKRecorder.hpp:3,
>                  from /«PKGBUILDDIR»/pkg/dem/VTKRecorder.cpp:3:
> /usr/include/vtk-6.1/vtkAtomicInt.h:307:28: error: reference to 'detail' is ambiguous
>  class vtkAtomicInt: public detail::vtkAtomicIntImpl<T>
>                             ^
> In file included from /usr/include/vtk-6.1/vtkObjectBase.h:44:0,
>                  from /usr/include/vtk-6.1/vtkObject.h:42,
>                  from /usr/include/vtk-6.1/vtkCell.h:41,
>                  from /usr/include/vtk-6.1/vtkQuad.h:26,
>                  from /«PKGBUILDDIR»/pkg/dem/VTKRecorder.hpp:3,
>                  from /«PKGBUILDDIR»/pkg/dem/VTKRecorder.cpp:3:
> /usr/include/vtk-6.1/vtkAtomicInt.h:70:1: note: candidates are: namespace detail { }
>  {
>  ^
> In file included from /usr/include/boost/any.hpp:21:0,
>                  from /«PKGBUILDDIR»/debian/build/yade/lib/serialization/Serializable.hpp:13,
>                  from /«PKGBUILDDIR»/debian/build/yade/core/Engine.hpp:13,
>                  from /«PKGBUILDDIR»/debian/build/yade/core/GlobalEngine.hpp:11,
>                  from /«PKGBUILDDIR»/debian/build/yade/pkg/common/PeriodicEngines.hpp:5,
>                  from /«PKGBUILDDIR»/pkg/dem/VTKRecorder.hpp:2,
>                  from /«PKGBUILDDIR»/pkg/dem/VTKRecorder.cpp:3:
> /usr/include/boost/type_traits/remove_reference.hpp:27:17: note:                 namespace boost::detail { }
>  namespace detail{
>                  ^
> In file included from /usr/include/vtk-6.1/vtkObjectBase.h:44:0,
>                  from /usr/include/vtk-6.1/vtkObject.h:42,
>                  from /usr/include/vtk-6.1/vtkCell.h:41,
>                  from /usr/include/vtk-6.1/vtkQuad.h:26,
>                  from /«PKGBUILDDIR»/pkg/dem/VTKRecorder.hpp:3,
>                  from /«PKGBUILDDIR»/pkg/dem/VTKRecorder.cpp:3:
> /usr/include/vtk-6.1/vtkAtomicInt.h:307:36: error: expected '{' before 'vtkAtomicIntImpl'
>  class vtkAtomicInt: public detail::vtkAtomicIntImpl<T>
>                                     ^
> /usr/include/vtk-6.1/vtkAtomicInt.h:307:52: error: expected initializer before '<' token
>  class vtkAtomicInt: public detail::vtkAtomicIntImpl<T>
>                                                     ^
> In file included from /usr/include/vtk-6.1/vtkObject.h:42:0,
>                  from /usr/include/vtk-6.1/vtkCell.h:41,
>                  from /usr/include/vtk-6.1/vtkQuad.h:26,
>                  from /«PKGBUILDDIR»/pkg/dem/VTKRecorder.hpp:3,
>                  from /«PKGBUILDDIR»/pkg/dem/VTKRecorder.cpp:3:
> /usr/include/vtk-6.1/vtkObjectBase.h:165:30: error: field 'ReferenceCount' has incomplete type
>    vtkAtomicInt<vtkTypeInt32> ReferenceCount;
>                               ^
> /usr/include/vtk-6.1/vtkObjectBase.h: In member function 'int vtkObjectBase::GetReferenceCount()':
> /usr/include/vtk-6.1/vtkObjectBase.h:148:18: error: 'class vtkObjectBase' has no member named 'ReferenceCount'
>      return this->ReferenceCount;
>                   ^
> make[3]: *** [CMakeFiles/yade.dir/pkg/dem/VTKRecorder.cpp.o] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/06/01/yade_1.07.0-4_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