Bug#625103: slicer: FTBFS: itkImageIORegion.h:62:11: error: 'ptrdiff_t' does not name a type

Lucas Nussbaum lucas at lucas-nussbaum.net
Mon May 2 12:38:26 UTC 2011


Source: slicer
Version: 3.6.3~svn16075-2
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20110502 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
> make[3]: Entering directory `/build/user-slicer_3.6.3~svn16075-2-amd64-6UXWGE/slicer-3.6.3~svn16075/DEB_build_shared'
> Tcl Wrapping - generating vtkPreciseHyperStreamlinePointsTcl.cxx
> [  2%] Tcl Wrapping - generating vtkITKArchetypeImageSeriesScalarReaderTcl.cxx
> Tcl Wrapping - generating vtkSeedTractsTcl.cxx
> [  2%] Tcl Wrapping - generating vtkTensorImplicitFunctionToFunctionSetTcl.cxx
> [  2%] [  2%] Tcl Wrapping - generating vtkTensorMaskTcl.cxx
> [  2%] Tcl Wrapping - generating vtkTensorRotateTcl.cxx
> Building CXX object Libs/FreeSurfer/CMakeFiles/FreeSurfer.dir/vtkFSIO.cxx.o
> In file included from /usr/include/python2.6/Python.h:8:0,
>                  from /build/user-slicer_3.6.3~svn16075-2-amd64-6UXWGE/slicer-3.6.3~svn16075/Libs/LoadableModule/LoadableModuleFactory.cxx:54:
> /usr/include/python2.6/pyconfig.h:1031:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default]
> /usr/include/features.h:163:0: note: this is the location of the previous definition
> /usr/include/python2.6/pyconfig.h:1040:0: warning: "_XOPEN_SOURCE" redefined [enabled by default]
> /usr/include/features.h:165:0: note: this is the location of the previous definition
> [  2%] Tcl Wrapping - generating vtkITKArchetypeImageSeriesVectorReaderFileTcl.cxx
> [  2%] Tcl Wrapping - generating vtkImageLabelCombineTcl.cxx
> [  2%] Tcl Wrapping - generating vtkITKArchetypeImageSeriesVectorReaderSeriesTcl.cxx
> [  2%] [  2%] Tcl Wrapping - generating vtkITKImageWriterTcl.cxx
> In file included from /usr/include/InsightToolkit/IO/itkImageIOBase.h:23:0,
>                  from /build/user-slicer_3.6.3~svn16075-2-amd64-6UXWGE/slicer-3.6.3~svn16075/Libs/ITKCommandIO/itkCommandIO.h:23,
>                  from /build/user-slicer_3.6.3~svn16075-2-amd64-6UXWGE/slicer-3.6.3~svn16075/Libs/ITKCommandIO/itkCommandIO.cxx:19:
> /usr/include/InsightToolkit/IO/itkImageIORegion.h:62:11: error: 'ptrdiff_t' does not name a type
> /usr/include/InsightToolkit/IO/itkImageIORegion.h:63:11: error: 'ptrdiff_t' does not name a type
> /usr/include/InsightToolkit/IO/itkImageIORegion.h:67:23: error: 'IndexValueType' was not declared in this scope
> /usr/include/InsightToolkit/IO/itkImageIORegion.h:67:37: error: template argument 1 is invalid
> /usr/include/InsightToolkit/IO/itkImageIORegion.h:67:37: error: template argument 2 is invalid
> /usr/include/InsightToolkit/IO/itkImageIORegion.h:126:3: error: 'IndexValueType' does not name a type
> /usr/include/InsightToolkit/IO/itkImageIORegion.h:128:40: error: 'IndexValueType' has not been declared
> In file included from /usr/include/InsightToolkit/IO/itkImageIOBase.h:23:0,
>                  from /build/user-slicer_3.6.3~svn16075-2-amd64-6UXWGE/slicer-3.6.3~svn16075/Libs/ITKCommandIO/itkCommandIO.h:23,
>                  from /build/user-slicer_3.6.3~svn16075-2-amd64-6UXWGE/slicer-3.6.3~svn16075/Libs/ITKCommandIO/itkCommandIO.cxx:19:
> /usr/include/InsightToolkit/IO/itkImageIORegion.h: In static member function 'static void itk::ImageIORegionAdaptor<VDimension>::Convert(const ImageIORegionType&, itk::ImageIORegionAdaptor<VDimension>::ImageRegionType&, const ImageIndexType&)':
> /usr/include/InsightToolkit/IO/itkImageIORegion.h:238:39: error: no matching function for call to 'itk::ImageIORegion::GetIndex(unsigned int&) const'
> /usr/include/InsightToolkit/IO/itkImageIORegion.h:238:39: note: candidate is:
> /usr/include/InsightToolkit/IO/itkImageIORegion.h:113:21: note: const IndexType& itk::ImageIORegion::GetIndex() const
> /usr/include/InsightToolkit/IO/itkImageIORegion.h:113:21: note:   candidate expects 0 arguments, 1 provided
> Building CXX object Libs/SlicerExecutionModel/ModuleDescriptionParser/CMakeFiles/ModuleDescriptionParser.dir/ModuleParameterGroup.cxx.o
> In file included from /usr/include/InsightToolkit/IO/itkImageIOBase.h:23:0,
>                  from /build/user-slicer_3.6.3~svn16075-2-amd64-6UXWGE/slicer-3.6.3~svn16075/Libs/MGHImageIO/itkMGHImageIO.h:9,
>                  from /build/user-slicer_3.6.3~svn16075-2-amd64-6UXWGE/slicer-3.6.3~svn16075/Libs/MGHImageIO/itkMGHImageIO.cxx:4:
> /usr/include/InsightToolkit/IO/itkImageIORegion.h:62:11: error: 'ptrdiff_t' does not name a type
> /usr/include/InsightToolkit/IO/itkImageIORegion.h:63:11: error: 'ptrdiff_t' does not name a type
> /usr/include/InsightToolkit/IO/itkImageIORegion.h:67:23: error: 'IndexValueType' was not declared in this scope
> /usr/include/InsightToolkit/IO/itkImageIORegion.h:67:37: error: template argument 1 is invalid
> /usr/include/InsightToolkit/IO/itkImageIORegion.h:67:37: error: template argument 2 is invalid
> /usr/include/InsightToolkit/IO/itkImageIORegion.h:126:3: error: 'IndexValueType' does not name a type
> /usr/include/InsightToolkit/IO/itkImageIORegion.h:128:40: error: 'IndexValueType' has not been declared
> In file included from /usr/include/InsightToolkit/IO/itkImageIOBase.h:23:0,
>                  from /build/user-slicer_3.6.3~svn16075-2-amd64-6UXWGE/slicer-3.6.3~svn16075/Libs/MGHImageIO/itkMGHImageIO.h:9,
>                  from /build/user-slicer_3.6.3~svn16075-2-amd64-6UXWGE/slicer-3.6.3~svn16075/Libs/MGHImageIO/itkMGHImageIO.cxx:4:
> /usr/include/InsightToolkit/IO/itkImageIORegion.h: In static member function 'static void itk::ImageIORegionAdaptor<VDimension>::Convert(const ImageIORegionType&, itk::ImageIORegionAdaptor<VDimension>::ImageRegionType&, const ImageIndexType&)':
> /usr/include/InsightToolkit/IO/itkImageIORegion.h:238:39: error: no matching function for call to 'itk::ImageIORegion::GetIndex(unsigned int&) const'
> /usr/include/InsightToolkit/IO/itkImageIORegion.h:238:39: note: candidate is:
> /usr/include/InsightToolkit/IO/itkImageIORegion.h:113:21: note: const IndexType& itk::ImageIORegion::GetIndex() const
> /usr/include/InsightToolkit/IO/itkImageIORegion.h:113:21: note:   candidate expects 0 arguments, 1 provided
> [  2%] Building CXX object Libs/SlicerExecutionModel/ModuleDescriptionParser/CMakeFiles/ModuleDescriptionParser.dir/ModuleDescriptionUtilities.cxx.o
> [  2%] Tcl Wrapping - generating vtkITKGradientAnisotropicDiffusionImageFilterTcl.cxx
> [  2%] Tcl Wrapping - generating vtkITKDistanceTransformTcl.cxx
> [  2%] Tcl Wrapping - generating vtkITKLevelTracingImageFilterTcl.cxx
> [  2%] Tcl Wrapping - generating vtkITKLevelTracing3DImageFilterTcl.cxx
> [  2%] Tcl Wrapping - generating vtkITKWandImageFilterTcl.cxx
> [  2%] Tcl Wrapping - generating vtkITKNewOtsuThresholdImageFilterTcl.cxx
> [  2%] Tcl Wrapping - generating vtkITKBSplineTransformTcl.cxx
> [  2%] Tcl Wrapping - generating vtkITKTimeSeriesDatabaseTcl.cxx
> [  2%] Tcl Wrapping - generating vtkITKIslandMathTcl.cxx
> /build/user-slicer_3.6.3~svn16075-2-amd64-6UXWGE/slicer-3.6.3~svn16075/Libs/LoadableModule/LoadableModuleFactory.cxx: In member function 'virtual long int LoadableModuleFactory::ScanForSharedObjectModules()':
> /build/user-slicer_3.6.3~svn16075-2-amd64-6UXWGE/slicer-3.6.3~svn16075/Libs/LoadableModule/LoadableModuleFactory.cxx:378:12: warning: variable 'isAPlugin' set but not used [-Wunused-but-set-variable]
> [  2%] Scanning dependencies of target vtkTeem
> make[3]: Leaving directory `/build/user-slicer_3.6.3~svn16075-2-amd64-6UXWGE/slicer-3.6.3~svn16075/DEB_build_shared'
> Building CXX object Libs/FreeSurfer/CMakeFiles/FreeSurfer.dir/vtkFSSurfaceReader.cxx.o
> make[3]: Entering directory `/build/user-slicer_3.6.3~svn16075-2-amd64-6UXWGE/slicer-3.6.3~svn16075/DEB_build_shared'
> make[3]: *** [Libs/ITKCommandIO/CMakeFiles/CommandIO.dir/itkCommandIO.cxx.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/05/02/slicer_3.6.3~svn16075-2_lsid64.buildlog

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 about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the debian-science-maintainers mailing list