Bug#1111572: vtk9: FTBFS with gcc-15

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Tue Aug 19 16:12:54 BST 2025


Source: vtk9
Version: 9.3.0+dfsg1-4
Severity: important
Tags: ftbfs

Hello,

vtk9 fails to build from source when using gcc-15 as the default compiler:

[ 71%] Building CXX object Filters/Points/CMakeFiles/FiltersPoints.dir/vtkExtractPointCloudPiece.cxx.o
cd /build/reproducible-path/vtk9-9.3.0+dfsg1/debian/build/Filters/Points && /usr/bin/mpic++ -DFiltersPoints_EXPORTS -Dkiss_fft_scalar=double -I/build/reproducible-path/vtk9-9.3.0+dfsg1/debian/build/Filters/Points -I/build/reproducible-path/vtk9-9.3.0+dfsg1/Filters/Points -I/build/reproducible-path/vtk9-9.3.0+dfsg1/debian/build/Common/Core -I/build/reproducible-path/vtk9-9.3.0+dfsg1/Common/Core -I/build/reproducible-path/vtk9-9.3.0+dfsg1/debian/build/Common/ExecutionModel -I/build/reproducible-path/vtk9-9.3.0+dfsg1/Common/ExecutionModel -I/build/reproducible-path/vtk9-9.3.0+dfsg1/debian/build/Common/DataModel -I/build/reproducible-path/vtk9-9.3.0+dfsg1/Common/DataModel -I/build/reproducible-path/vtk9-9.3.0+dfsg1/debian/build/Common/Math -I/build/reproducible-path/vtk9-9.3.0+dfsg1/Common/Math -I/build/reproducible-path/vtk9-9.3.0+dfsg1/debian/build/ThirdParty/kissfft/vtkkissfft -I/build/reproducible-path/vtk9-9.3.0+dfsg1/ThirdParty/kissfft/vtkkissfft -I/build/reproducible-path/vtk9-9.3.0+dfsg1/debian/build/Common/Transforms -I/build/reproducible-path/vtk9-9.3.0+dfsg1/Common/Transforms -I/build/reproducible-path/vtk9-9.3.0+dfsg1/debian/build/Common/Misc -I/build/reproducible-path/vtk9-9.3.0+dfsg1/Common/Misc -I/build/reproducible-path/vtk9-9.3.0+dfsg1/debian/build/Filters/Modeling -I/build/reproducible-path/vtk9-9.3.0+dfsg1/Filters/Modeling -I/build/reproducible-path/vtk9-9.3.0+dfsg1/debian/build/Filters/General -I/build/reproducible-path/vtk9-9.3.0+dfsg1/Filters/General -I/build/reproducible-path/vtk9-9.3.0+dfsg1/debian/build/Filters/Core -I/build/reproducible-path/vtk9-9.3.0+dfsg1/Filters/Core -isystem /build/reproducible-path/vtk9-9.3.0+dfsg1/debian/build/Utilities/KWIML -isystem /build/reproducible-path/vtk9-9.3.0+dfsg1/Utilities/KWIML -isystem /build/reproducible-path/vtk9-9.3.0+dfsg1/debian/build/Utilities/KWSys -isystem /build/reproducible-path/vtk9-9.3.0+dfsg1/Utilities/KWSys -isystem /build/reproducible-path/vtk9-9.3.0+dfsg1/debian/build/ThirdParty/kissfft -isystem /build/reproducible-path/vtk9-9.3.0+dfsg1/ThirdParty/kissfft -g -O2 -ffile-prefix-map=/build/reproducible-path/vtk9-9.3.0+dfsg1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -O2 -g -DNDEBUG -Wnon-virtual-dtor -Wno-long-long -ansi -Wcast-align -Wchar-subscripts -Wall -Wextra -Wpointer-arith -Wformat-security -Woverloaded-virtual -Wshadow -Wunused-parameter -fno-check-new -fno-common -std=c++11 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT Filters/Points/CMakeFiles/FiltersPoints.dir/vtkExtractPointCloudPiece.cxx.o -MF CMakeFiles/FiltersPoints.dir/vtkExtractPointCloudPiece.cxx.o.d -o CMakeFiles/FiltersPoints.dir/vtkExtractPointCloudPiece.cxx.o -c /build/reproducible-path/vtk9-9.3.0+dfsg1/Filters/Points/vtkExtractPointCloudPiece.cxx
In file included from /build/reproducible-path/vtk9-9.3.0+dfsg1/Rendering/Label/vtkFreeTypeLabelRenderStrategy.h:15,
                 from /build/reproducible-path/vtk9-9.3.0+dfsg1/Rendering/Label/vtkFreeTypeLabelRenderStrategy.cxx:4:
/build/reproducible-path/vtk9-9.3.0+dfsg1/Rendering/Label/vtkLabelRenderStrategy.h:76:16: warning: ‘virtual void vtkLabelRenderStrategy::RenderLabel(int*, vtkTextProperty*, vtkStdString, int)’ was hidden [-Woverloaded-virtual=]
   76 |   virtual void RenderLabel(
      |                ^~~~~~~~~~~
/build/reproducible-path/vtk9-9.3.0+dfsg1/Rendering/Label/vtkFreeTypeLabelRenderStrategy.h:49:8: note:   by ‘virtual void vtkFreeTypeLabelRenderStrategy::RenderLabel(int*, vtkTextProperty*, vtkStdString)’
   49 |   void RenderLabel(int x[2], vtkTextProperty* tprop, vtkStdString label) override;
      |        ^~~~~~~~~~~
/build/reproducible-path/vtk9-9.3.0+dfsg1/debian/build/CMakeFiles/vtkFiltersModelingPython/vtkGeodesicPathPython.cxx:256:1: warning: missing initializer for member ‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
  256 | };
      | ^
/build/reproducible-path/vtk9-9.3.0+dfsg1/debian/build/CMakeFiles/vtkFiltersModelingPython/vtkGraphGeodesicPathPython.cxx:383:1: warning: missing initializer for member ‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
  383 | };
      | ^
/build/reproducible-path/vtk9-9.3.0+dfsg1/debian/build/CMakeFiles/vtkFiltersModelingPython/vtkImageDataOutlineFilterPython.cxx:448:1: warning: missing initializer for member ‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
  448 | };
      | ^
/build/reproducible-path/vtk9-9.3.0+dfsg1/debian/build/CMakeFiles/vtkFiltersModelingPython/vtkImprintFilterPython.cxx:81:1: warning: missing initializer for member ‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
   81 | };
      | ^
/build/reproducible-path/vtk9-9.3.0+dfsg1/debian/build/CMakeFiles/vtkFiltersModelingPython/vtkImprintFilterPython.cxx:148:1: warning: missing initializer for member ‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
  148 | };
      | ^
/build/reproducible-path/vtk9-9.3.0+dfsg1/debian/build/CMakeFiles/vtkFiltersModelingPython/vtkImprintFilterPython.cxx:215:1: warning: missing initializer for member ‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
  215 | };
      | ^
/build/reproducible-path/vtk9-9.3.0+dfsg1/debian/build/CMakeFiles/vtkFiltersModelingPython/vtkImprintFilterPython.cxx:282:1: warning: missing initializer for member ‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
  282 | };
      | ^
/build/reproducible-path/vtk9-9.3.0+dfsg1/debian/build/CMakeFiles/vtkFiltersModelingPython/vtkImprintFilterPython.cxx:2535:1: warning: missing initializer for member ‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
 2535 | };
      | ^
/build/reproducible-path/vtk9-9.3.0+dfsg1/debian/build/CMakeFiles/vtkFiltersModelingPython/vtkLinearSubdivisionFilterPython.cxx:261:1: warning: missing initializer for member ‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
  261 | };
      | ^
/build/reproducible-path/vtk9-9.3.0+dfsg1/debian/build/CMakeFiles/vtkFiltersModelingPython/vtkLinearExtrusionFilterPython.cxx:907:1: warning: missing initializer for member ‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
  907 | };
      | ^
/build/reproducible-path/vtk9-9.3.0+dfsg1/debian/build/CMakeFiles/vtkFiltersModelingPython/vtkLinearCellExtrusionFilterPython.cxx:784:1: warning: missing initializer for member ‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
  784 | };
      | ^
/build/reproducible-path/vtk9-9.3.0+dfsg1/debian/build/CMakeFiles/vtkFiltersModelingPython/vtkLoopSubdivisionFilterPython.cxx:273:1: warning: missing initializer for member ‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
  273 | };
      | ^
In file included from /build/reproducible-path/vtk9-9.3.0+dfsg1/Common/DataModel/vtkPointSet.h:44,
                 from /build/reproducible-path/vtk9-9.3.0+dfsg1/Rendering/Label/vtkLabelHierarchy.h:48,
                 from /build/reproducible-path/vtk9-9.3.0+dfsg1/Rendering/Label/vtkLabelHierarchyAlgorithm.cxx:8:
/build/reproducible-path/vtk9-9.3.0+dfsg1/Common/DataModel/vtkDataSet.h:189:16: warning: ‘virtual void vtkDataSet::GetCellPoints(vtkIdType, vtkIdType&, const vtkIdType*&, vtkIdList*)’ was hidden [-Woverloaded-virtual=]
  189 |   virtual void GetCellPoints(vtkIdType cellId, vtkIdType& npts, vtkIdType const*& pts,
      |                ^~~~~~~~~~~~~
/build/reproducible-path/vtk9-9.3.0+dfsg1/Rendering/Label/vtkLabelHierarchy.h:214:8: note:   by ‘virtual void vtkLabelHierarchy::GetCellPoints(vtkIdType, vtkIdList*)’
  214 |   void GetCellPoints(vtkIdType, vtkIdList*) override;
      |        ^~~~~~~~~~~~~
In file included from /build/reproducible-path/vtk9-9.3.0+dfsg1/Common/DataModel/vtkPointSet.h:44,
                 from /build/reproducible-path/vtk9-9.3.0+dfsg1/Rendering/Label/vtkLabelHierarchy.h:48,
                 from /build/reproducible-path/vtk9-9.3.0+dfsg1/Rendering/Label/vtkLabelHierarchy.cxx:5:
/build/reproducible-path/vtk9-9.3.0+dfsg1/Common/DataModel/vtkDataSet.h:189:16: warning: ‘virtual void vtkDataSet::GetCellPoints(vtkIdType, vtkIdType&, const vtkIdType*&, vtkIdList*)’ was hidden [-Woverloaded-virtual=]
  189 |   virtual void GetCellPoints(vtkIdType cellId, vtkIdType& npts, vtkIdType const*& pts,
      |                ^~~~~~~~~~~~~
/build/reproducible-path/vtk9-9.3.0+dfsg1/Rendering/Label/vtkLabelHierarchy.h:214:8: note:   by ‘virtual void vtkLabelHierarchy::GetCellPoints(vtkIdType, vtkIdList*)’
  214 |   void GetCellPoints(vtkIdType, vtkIdList*) override;
      |        ^~~~~~~~~~~~~
In file included from /build/reproducible-path/vtk9-9.3.0+dfsg1/Utilities/octree/octree/octree:24,
                 from /build/reproducible-path/vtk9-9.3.0+dfsg1/Rendering/Label/vtkLabelHierarchyPrivate.h:8,
                 from /build/reproducible-path/vtk9-9.3.0+dfsg1/Rendering/Label/vtkLabelHierarchy.cxx:17:
/build/reproducible-path/vtk9-9.3.0+dfsg1/Utilities/octree/octree/octree_node.txx: In member function ‘const octree_node<T_, d_, A_>& octree_node<T_, d_, A_>::operator[](int) const’:
/build/reproducible-path/vtk9-9.3.0+dfsg1/Utilities/octree/octree/octree_node.txx:213:16: error: ‘const struct octree_node<T_, d_, A_>’ has no member named ‘_M_chilren’; did you mean ‘m_children’? [-Wtemplate-body]
  213 |   return this->_M_chilren[child];
      |                ^~~~~~~~~~
      |                m_children
In file included from /build/reproducible-path/vtk9-9.3.0+dfsg1/Rendering/Label/vtkFreeTypeLabelRenderStrategy.h:15,
                 from /build/reproducible-path/vtk9-9.3.0+dfsg1/Rendering/Label/vtkLabelPlacementMapper.cxx:11:
/build/reproducible-path/vtk9-9.3.0+dfsg1/Rendering/Label/vtkLabelRenderStrategy.h:76:16: warning: ‘virtual void vtkLabelRenderStrategy::RenderLabel(int*, vtkTextProperty*, vtkStdString, int)’ was hidden [-Woverloaded-virtual=]
   76 |   virtual void RenderLabel(
      |                ^~~~~~~~~~~
/build/reproducible-path/vtk9-9.3.0+dfsg1/Rendering/Label/vtkFreeTypeLabelRenderStrategy.h:49:8: note:   by ‘virtual void vtkFreeTypeLabelRenderStrategy::RenderLabel(int*, vtkTextProperty*, vtkStdString)’
   49 |   void RenderLabel(int x[2], vtkTextProperty* tprop, vtkStdString label) override;
      |        ^~~~~~~~~~~
In file included from /build/reproducible-path/vtk9-9.3.0+dfsg1/Common/DataModel/vtkPointSet.h:44,
                 from /build/reproducible-path/vtk9-9.3.0+dfsg1/Rendering/Label/vtkLabelHierarchy.h:48,
                 from /build/reproducible-path/vtk9-9.3.0+dfsg1/Rendering/Label/vtkLabelHierarchyIterator.cxx:13:
/build/reproducible-path/vtk9-9.3.0+dfsg1/Common/DataModel/vtkDataSet.h:189:16: warning: ‘virtual void vtkDataSet::GetCellPoints(vtkIdType, vtkIdType&, const vtkIdType*&, vtkIdList*)’ was hidden [-Woverloaded-virtual=]
  189 |   virtual void GetCellPoints(vtkIdType cellId, vtkIdType& npts, vtkIdType const*& pts,
      |                ^~~~~~~~~~~~~
/build/reproducible-path/vtk9-9.3.0+dfsg1/Rendering/Label/vtkLabelHierarchy.h:214:8: note:   by ‘virtual void vtkLabelHierarchy::GetCellPoints(vtkIdType, vtkIdList*)’
  214 |   void GetCellPoints(vtkIdType, vtkIdList*) override;
      |        ^~~~~~~~~~~~~
In file included from /build/reproducible-path/vtk9-9.3.0+dfsg1/Utilities/octree/octree/octree:24,
                 from /build/reproducible-path/vtk9-9.3.0+dfsg1/Rendering/Label/vtkLabelHierarchyPrivate.h:8,
                 from /build/reproducible-path/vtk9-9.3.0+dfsg1/Rendering/Label/vtkLabelHierarchyIterator.cxx:14:
/build/reproducible-path/vtk9-9.3.0+dfsg1/Utilities/octree/octree/octree_node.txx: In member function ‘const octree_node<T_, d_, A_>& octree_node<T_, d_, A_>::operator[](int) const’:
/build/reproducible-path/vtk9-9.3.0+dfsg1/Utilities/octree/octree/octree_node.txx:213:16: error: ‘const struct octree_node<T_, d_, A_>’ has no member named ‘_M_chilren’; did you mean ‘m_children’? [-Wtemplate-body]
  213 |   return this->_M_chilren[child];
      |                ^~~~~~~~~~
      |                m_children
In file included from /build/reproducible-path/vtk9-9.3.0+dfsg1/Common/DataModel/vtkPointSet.h:44,
                 from /build/reproducible-path/vtk9-9.3.0+dfsg1/Rendering/Label/vtkLabelHierarchy.h:48,
                 from /build/reproducible-path/vtk9-9.3.0+dfsg1/Rendering/Label/vtkLabelPlacementMapper.cxx:14:
/build/reproducible-path/vtk9-9.3.0+dfsg1/Common/DataModel/vtkDataSet.h:189:16: warning: ‘virtual void vtkDataSet::GetCellPoints(vtkIdType, vtkIdType&, const vtkIdType*&, vtkIdList*)’ was hidden [-Woverloaded-virtual=]
  189 |   virtual void GetCellPoints(vtkIdType cellId, vtkIdType& npts, vtkIdType const*& pts,
      |                ^~~~~~~~~~~~~

I ran into this bug while trying out the LRA-enabled gcc-15 on sh4 which yields much better
results on this architectures than the previous gcc-14 which still uses the old register
allocator.

Cheers,
Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


More information about the debian-science-maintainers mailing list