[Debian-med-packaging] Bug#625077: insighttoolkit: FTBFS: metaUtils.cxx:800:3: error: 'ptrdiff_t' was not declared in this scope

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


Source: insighttoolkit
Version: 3.20.0-9
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-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/obj-x86_64-linux-gnu'
> /usr/bin/cmake -E cmake_progress_report /build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/obj-x86_64-linux-gnu/CMakeFiles 
> [  3%] Building CXX object Utilities/MetaIO/CMakeFiles/ITKMetaIO.dir/metaUtils.o
> cd /build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/obj-x86_64-linux-gnu/Utilities/MetaIO && /usr/bin/g++   -DITKMetaIO_EXPORTS -Wno-deprecated  -Wno-deprecated  -ftemplate-depth-50 -Wall -Wno-deprecated -O3 -DNDEBUG -fPIC -I/build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/obj-x86_64-linux-gnu -I/build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Code/Algorithms -I/build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Code/BasicFilters -I/build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Code/Common -I/build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Code/Numerics -I/build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Code/IO -I/build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Code/Numerics/FEM -I/build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Code/Numerics/NeuralNetworks -I/build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Code/SpatialObject -I/build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Utilities/MetaIO -I/build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Utilities/NrrdIO -I/build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/obj-x86_64-linux-gnu/Utilities/NrrdIO -I/build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Utilities/DICOMParser -I/build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/obj-x86_64-linux-gnu/Utilities/DICOMParser -I/build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/obj-x86_64-linux-gnu/Utilities/expat -I/build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Utilities/expat -I/build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Utilities/nifti/niftilib -I/build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Utilities/nifti/znzlib -I/build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Utilities/itkExtHdrs -I/build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/obj-x86_64-linux-gnu/Utilities -I/build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Utilities -I/build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Utilities/vxl/v3p/netlib -I/build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Utilities/vxl/vcl -I/build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Utilities/vxl/core -I/build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/obj-x86_64-linux-gnu/Utilities/vxl/v3p/netlib -I/build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/obj-x86_64-linux-gnu/Utilities/vxl/vcl -I/build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/obj-x86_64-linux-gnu/Utilities/vxl/core -I/build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Code/Review -I/build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Code/Review/Statistics -I/usr/include/gdcm-2.0 -I/usr/include/vtk-5.6 -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/tcl8.5 -I/usr/include/python2.6 -I/usr/lib/jvm/default-java/include -I/usr/include/libxml2 -I/usr/include/freetype2   -o CMakeFiles/ITKMetaIO.dir/metaUtils.o -c /build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx
> /build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx: In function 'bool MET_StringToWordArray(const char*, int*, char***)':
> /build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx:800:3: error: 'ptrdiff_t' was not declared in this scope
> /build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx:800: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'
> /build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx:800:13: error: expected ';' before 'l'
> /build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx:802:13: error: expected ';' before 'p'
> /build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx:803:9: error: 'p' was not declared in this scope
> /build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx:803:11: error: 'l' was not declared in this scope
> /build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx:809:13: error: expected ';' before 'pp'
> /build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx:811:9: error: 'pp' was not declared in this scope
> /build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx:811:12: error: 'l' was not declared in this scope
> /build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx:824:3: error: 'pp' was not declared in this scope
> /build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx:824:6: error: 'l' was not declared in this scope
> /build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx:840:13: error: expected ';' before 'i'
> /build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx:841:7: error: 'i' was not declared in this scope
> /build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx:843:8: error: 'p' was not declared in this scope
> /build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx:849:11: error: 'p' was not declared in this scope
> /build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx:853:5: error: 'j' was not declared in this scope
> /build/user-insighttoolkit_3.20.0-9-amd64-mhgDKb/insighttoolkit-3.20.0/Utilities/MetaIO/metaUtils.cxx:854:11: error: 'p' was not declared in this scope
> make[3]: *** [Utilities/MetaIO/CMakeFiles/ITKMetaIO.dir/metaUtils.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/05/02/insighttoolkit_3.20.0-9_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