[Debian-med-packaging] Bug#624941: igstk: FTBFS: itkImageIORegion.h:62:11: error: 'ptrdiff_t' does not name a type

Lucas Nussbaum lucas at lucas-nussbaum.net
Mon May 2 12:32:29 UTC 2011


Source: igstk
Version: 4.2.0-5
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-igstk_4.2.0-5-amd64-CMZFyD/igstk-4.2.0/DEB_build_static'
> [  2%] Building CXX object Source/CMakeFiles/IGSTK.dir/igstkUSImageObject.o
> [  2%] Building CXX object Source/CMakeFiles/IGSTK.dir/igstkUSImageObjectRepresentation.o
> In file included from /usr/include/InsightToolkit/IO/itkImageIOBase.h:23:0,
>                  from /usr/include/InsightToolkit/IO/itkImageFileReader.h:20,
>                  from /build/user-igstk_4.2.0-5-amd64-CMZFyD/igstk-4.2.0/Source/igstkImageSpatialObjectRepresentation.txx:23,
>                  from /build/user-igstk_4.2.0-5-amd64-CMZFyD/igstk-4.2.0/Source/igstkImageSpatialObjectRepresentation.h:218,
>                  from /build/user-igstk_4.2.0-5-amd64-CMZFyD/igstk-4.2.0/Source/igstkUSImageObjectRepresentation.h:20,
>                  from /build/user-igstk_4.2.0-5-amd64-CMZFyD/igstk-4.2.0/Source/igstkUSImageObjectRepresentation.cxx:17:
> /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 /usr/include/InsightToolkit/IO/itkImageFileReader.h:20,
>                  from /build/user-igstk_4.2.0-5-amd64-CMZFyD/igstk-4.2.0/Source/igstkImageSpatialObjectRepresentation.txx:23,
>                  from /build/user-igstk_4.2.0-5-amd64-CMZFyD/igstk-4.2.0/Source/igstkImageSpatialObjectRepresentation.h:218,
>                  from /build/user-igstk_4.2.0-5-amd64-CMZFyD/igstk-4.2.0/Source/igstkUSImageObjectRepresentation.h:20,
>                  from /build/user-igstk_4.2.0-5-amd64-CMZFyD/igstk-4.2.0/Source/igstkUSImageObjectRepresentation.cxx:17:
> /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
> In file included from /usr/include/InsightToolkit/IO/itkConvertPixelBuffer.h:137:0,
>                  from /usr/include/InsightToolkit/IO/itkImageFileReader.txx:23,
>                  from /usr/include/InsightToolkit/IO/itkImageFileReader.h:188,
>                  from /build/user-igstk_4.2.0-5-amd64-CMZFyD/igstk-4.2.0/Source/igstkImageSpatialObjectRepresentation.txx:23,
>                  from /build/user-igstk_4.2.0-5-amd64-CMZFyD/igstk-4.2.0/Source/igstkImageSpatialObjectRepresentation.h:218,
>                  from /build/user-igstk_4.2.0-5-amd64-CMZFyD/igstk-4.2.0/Source/igstkUSImageObjectRepresentation.h:20,
>                  from /build/user-igstk_4.2.0-5-amd64-CMZFyD/igstk-4.2.0/Source/igstkUSImageObjectRepresentation.cxx:17:
> /usr/include/InsightToolkit/IO/itkConvertPixelBuffer.txx: In static member function 'static void itk::ConvertPixelBuffer<InputPixelType, OutputPixelType, OutputConvertTraits>::ConvertMultiComponentToGray(InputPixelType*, int, OutputPixelType*, size_t)':
> /usr/include/InsightToolkit/IO/itkConvertPixelBuffer.txx:255:5: error: 'ptrdiff_t' was not declared in this scope
> /usr/include/InsightToolkit/IO/itkConvertPixelBuffer.txx:255:5: note: suggested alternatives:
> /usr/include/c++/4.6/x86_64-linux-gnu/bits/c++config.h:156:28: note:   'std::ptrdiff_t'
> /usr/include/c++/4.6/x86_64-linux-gnu/bits/c++config.h:156:28: note:   'std::ptrdiff_t'
> /usr/include/InsightToolkit/IO/itkConvertPixelBuffer.txx:255:15: error: expected ';' before 'diff'
> /usr/include/InsightToolkit/IO/itkConvertPixelBuffer.txx:268:20: error: 'diff' was not declared in this scope
> /usr/include/InsightToolkit/IO/itkConvertPixelBuffer.txx: In static member function 'static void itk::ConvertPixelBuffer<InputPixelType, OutputPixelType, OutputConvertTraits>::ConvertMultiComponentToRGB(InputPixelType*, int, OutputPixelType*, size_t)':
> /usr/include/InsightToolkit/IO/itkConvertPixelBuffer.txx:384:5: error: 'ptrdiff_t' was not declared in this scope
> /usr/include/InsightToolkit/IO/itkConvertPixelBuffer.txx:384:5: note: suggested alternatives:
> /usr/include/c++/4.6/x86_64-linux-gnu/bits/c++config.h:156:28: note:   'std::ptrdiff_t'
> /usr/include/c++/4.6/x86_64-linux-gnu/bits/c++config.h:156:28: note:   'std::ptrdiff_t'
> /usr/include/InsightToolkit/IO/itkConvertPixelBuffer.txx:384:15: error: expected ';' before 'diff'
> /usr/include/InsightToolkit/IO/itkConvertPixelBuffer.txx:398:20: error: 'diff' was not declared in this scope
> /usr/include/InsightToolkit/IO/itkConvertPixelBuffer.txx: In static member function 'static void itk::ConvertPixelBuffer<InputPixelType, OutputPixelType, OutputConvertTraits>::ConvertMultiComponentToRGBA(InputPixelType*, int, OutputPixelType*, size_t)':
> /usr/include/InsightToolkit/IO/itkConvertPixelBuffer.txx:522:5: error: 'ptrdiff_t' was not declared in this scope
> /usr/include/InsightToolkit/IO/itkConvertPixelBuffer.txx:522:5: note: suggested alternatives:
> /usr/include/c++/4.6/x86_64-linux-gnu/bits/c++config.h:156:28: note:   'std::ptrdiff_t'
> /usr/include/c++/4.6/x86_64-linux-gnu/bits/c++config.h:156:28: note:   'std::ptrdiff_t'
> /usr/include/InsightToolkit/IO/itkConvertPixelBuffer.txx:522:15: error: expected ';' before 'diff'
> /usr/include/InsightToolkit/IO/itkConvertPixelBuffer.txx:539:20: error: 'diff' was not declared in this scope
> /usr/include/InsightToolkit/IO/itkConvertPixelBuffer.txx: In static member function 'static void itk::ConvertPixelBuffer<InputPixelType, OutputPixelType, OutputConvertTraits>::ConvertMultiComponentToComplex(InputPixelType*, int, OutputPixelType*, size_t)':
> /usr/include/InsightToolkit/IO/itkConvertPixelBuffer.txx:664:3: error: 'ptrdiff_t' was not declared in this scope
> /usr/include/InsightToolkit/IO/itkConvertPixelBuffer.txx:664:3: note: suggested alternatives:
> /usr/include/c++/4.6/x86_64-linux-gnu/bits/c++config.h:156:28: note:   'std::ptrdiff_t'
> /usr/include/c++/4.6/x86_64-linux-gnu/bits/c++config.h:156:28: note:   'std::ptrdiff_t'
> /usr/include/InsightToolkit/IO/itkConvertPixelBuffer.txx:664:13: error: expected ';' before 'diff'
> /usr/include/InsightToolkit/IO/itkConvertPixelBuffer.txx:675:20: error: 'diff' was not declared in this scope
> make[3]: *** [Source/CMakeFiles/IGSTK.dir/igstkUSImageObjectRepresentation.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/05/02/igstk_4.2.0-5_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-med-packaging mailing list