Bug#783842: paraview: FTBFS: no matching function for call to 'min(unsigned int&, int&)'

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Thu Apr 30 16:17:48 UTC 2015


Source: paraview
Version: 4.1.0+dfsg+1
Severity: serious

Dear maintainer,

paraview currently fails to build with the following error:

/tmp/buildd/paraview-4.1.0+dfsg+1/VTK/Rendering/FreeType/vtkFreeTypeTools.cxx: In member function 'bool vtkFreeTypeTools::CalculateBoundingBox(const T&, vtkFreeTypeTools::MetaData&)':
/tmp/buildd/paraview-4.1.0+dfsg+1/VTK/Rendering/FreeType/vtkFreeTypeTools.cxx:1190:51: error: no matching function for call to 'min(unsigned int&, int&)'
                                   metaData.descent);
                                                   ^
/tmp/buildd/paraview-4.1.0+dfsg+1/VTK/Rendering/FreeType/vtkFreeTypeTools.cxx:1190:51: note: candidates are:
In file included from /usr/include/c++/4.9/bits/char_traits.h:39:0,
                 from /usr/include/c++/4.9/ios:40,
                 from /usr/include/c++/4.9/ostream:38,
                 from /usr/include/c++/4.9/iostream:39,
                 from /tmp/buildd/paraview-4.1.0+dfsg+1/VTK/Common/Core/vtkIOStream.h:33,
                 from /tmp/buildd/paraview-4.1.0+dfsg+1/VTK/Common/Core/vtkSystemIncludes.h:36,
                 from /tmp/buildd/paraview-4.1.0+dfsg+1/obj-x86_64-linux-gnu/VTK/Common/Core/vtkAtomicInt.h:38,
                 from /tmp/buildd/paraview-4.1.0+dfsg+1/VTK/Common/Core/vtkObjectBase.h:44,
                 from /tmp/buildd/paraview-4.1.0+dfsg+1/VTK/Common/Core/vtkObject.h:42,
                 from /tmp/buildd/paraview-4.1.0+dfsg+1/VTK/Rendering/FreeType/vtkFreeTypeTools.h:27,
                 from /tmp/buildd/paraview-4.1.0+dfsg+1/VTK/Rendering/FreeType/vtkFreeTypeTools.cxx:16:
/usr/include/c++/4.9/bits/stl_algobase.h:194:5: note: template<class _Tp> const _Tp& std::min(const _Tp&, const _Tp&)
     min(const _Tp& __a, const _Tp& __b)
     ^
/usr/include/c++/4.9/bits/stl_algobase.h:194:5: note:   template argument deduction/substitution failed:
/tmp/buildd/paraview-4.1.0+dfsg+1/VTK/Rendering/FreeType/vtkFreeTypeTools.cxx:1190:51: note:   deduced conflicting types for parameter 'const _Tp' ('unsigned int' and 'int')
                                   metaData.descent);
                                                   ^
In file included from /usr/include/c++/4.9/bits/char_traits.h:39:0,
                 from /usr/include/c++/4.9/ios:40,
                 from /usr/include/c++/4.9/ostream:38,
                 from /usr/include/c++/4.9/iostream:39,
                 from /tmp/buildd/paraview-4.1.0+dfsg+1/VTK/Common/Core/vtkIOStream.h:33,
                 from /tmp/buildd/paraview-4.1.0+dfsg+1/VTK/Common/Core/vtkSystemIncludes.h:36,
                 from /tmp/buildd/paraview-4.1.0+dfsg+1/obj-x86_64-linux-gnu/VTK/Common/Core/vtkAtomicInt.h:38,
                 from /tmp/buildd/paraview-4.1.0+dfsg+1/VTK/Common/Core/vtkObjectBase.h:44,
                 from /tmp/buildd/paraview-4.1.0+dfsg+1/VTK/Common/Core/vtkObject.h:42,
                 from /tmp/buildd/paraview-4.1.0+dfsg+1/VTK/Rendering/FreeType/vtkFreeTypeTools.h:27,
                 from /tmp/buildd/paraview-4.1.0+dfsg+1/VTK/Rendering/FreeType/vtkFreeTypeTools.cxx:16:
/usr/include/c++/4.9/bits/stl_algobase.h:240:5: note: template<class _Tp, class _Compare> const _Tp& std::min(const _Tp&, const _Tp&, _Compare)
     min(const _Tp& __a, const _Tp& __b, _Compare __comp)
     ^
/usr/include/c++/4.9/bits/stl_algobase.h:240:5: note:   template argument deduction/substitution failed:
/tmp/buildd/paraview-4.1.0+dfsg+1/VTK/Rendering/FreeType/vtkFreeTypeTools.cxx:1190:51: note:   deduced conflicting types for parameter 'const _Tp' ('unsigned int' and 'int')
                                   metaData.descent);
                                                   ^

A full build log can be obtained from the reproducibility rebuild [1].

Best regards,
Andreas

1: https://reproducible.debian.net/rbuild/unstable/amd64/paraview_4.1.0+dfsg+1-1.rbuild.log



More information about the debian-science-maintainers mailing list