[Debian-med-packaging] Bug#624902: gdcm: FTBFS: gdcmswigPYTHON_wrap.cxx:3716:13: error: 'ptrdiff_t' does not name a type

Lucas Nussbaum lucas at lucas-nussbaum.net
Mon May 2 12:31:43 UTC 2011


Source: gdcm
Version: 2.0.17-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-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6'
> [ 83%] Building CXX object Applications/Cxx/CMakeFiles/gdcmscanner.dir/gdcmscanner.cxx.o
> Linking CXX executable ../../bin/gdcmraw
> make[3]: Leaving directory `/build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6'
> [ 83%] Built target gdcmraw
> [ 83%] Building CXX object Utilities/VTK/CMakeFiles/vtkgdcm.dir/vtkImageRGBToYBR.cxx.o
> [ 83%] Building CXX object Utilities/VTK/CMakeFiles/vtkgdcm.dir/vtkGDCMPolyDataReader.cxx.o
> [ 84%] Building CXX object Utilities/VTK/CMakeFiles/vtkgdcm.dir/vtkGDCMPolyDataWriter.cxx.o
> [ 84%] Building CXX object Utilities/VTK/CMakeFiles/vtkgdcm.dir/vtkLookupTable16.cxx.o
> Linking CXX executable ../../bin/gdcmscanner
> /build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx:3716:13: error: 'ptrdiff_t' does not name a type
> /build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx:3753:21: error: expected ';' at end of member declaration
> /build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx:3753:39: error: expected ')' before 'n'
> /build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx:3768:34: error: declaration of 'operator+=' as non-function
> /build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx:3768:30: error: expected ';' at end of member declaration
> /build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx:3768:44: error: expected ')' before 'n'
> /build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx:3773:34: error: declaration of 'operator-=' as non-function
> /build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx:3773:30: error: expected ';' at end of member declaration
> /build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx:3773:44: error: expected ')' before 'n'
> /build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx:3778:33: error: declaration of 'operator+' as non-function
> /build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx:3778:30: error: expected ';' at end of member declaration
> /build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx:3778:43: error: expected ')' before 'n'
> /build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx:3783:33: error: declaration of 'operator-' as non-function
> /build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx:3783:30: error: expected ';' at end of member declaration
> /build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx:3783:43: error: expected ')' before 'n'
> /build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx:3788:5: error: 'ptrdiff_t' does not name a type
> /build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx:3944:23: error: 'SWIG_From_ptrdiff_t' declared as an 'inline' variable
> /build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx:3944:23: error: 'ptrdiff_t' was not declared in this scope
> /build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx:3944:23: 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-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx:3945:1: error: expected ',' or ';' before '{' token
> /build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx:3997:39: error: 'ptrdiff_t' has not been declared
> /build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx: In function 'int SWIG_AsVal_ptrdiff_t(PyObject*, int*)':
> /build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx:4001:50: error: expected type-specifier before 'ptrdiff_t'
> /build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx:4001:50: error: expected '>' before 'ptrdiff_t'
> /build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx:4001:50: error: expected '(' before 'ptrdiff_t'
> /build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx:4001:50: error: 'ptrdiff_t' was not declared in this scope
> /build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx:4001:50: 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-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx:4001:64: error: expected ')' before ';' token
> /build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx: At global scope:
> /build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx:4659:15: error: 'swig::check_index' declared as an 'inline' variable
> /build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx:4659:15: error: 'ptrdiff_t' was not declared in this scope
> /build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx:4659:15: 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-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx:4659:35: error: expected primary-expression before 'size'
> /build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx:4659:41: error: expected primary-expression before 'bool'
> /build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx:4659:60: error: expression list treated as compound expression in initializer [-fpermissive]
> /build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx:4659:62: error: expected ',' or ';' before '{' token
> /build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6/Wrapping/Python/gdcmswigPYTHON_wrap.cxx:71355:1: error: expected '}' at end of input
> make[3]: Leaving directory `/build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6'
> [ 84%] Built target gdcmscanner
> make[3]: Entering directory `/build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6'
> Scanning dependencies of target gdcmtar
> make[3]: Leaving directory `/build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6'
> [ 84%] make[3]: Entering directory `/build/user-gdcm_2.0.17-2-amd64-VasMCv/gdcm-2.0.17/debian/build-python2.6'
> [ 84%] Building CXX object Utilities/VTK/CMakeFiles/vtkgdcm.dir/vtkImageMapToColors16.cxx.o
> Building CXX object Applications/Cxx/CMakeFiles/gdcmtar.dir/gdcmtar.cxx.o
> make[3]: *** [Wrapping/Python/CMakeFiles/_gdcmswig.dir/gdcmswigPYTHON_wrap.cxx.o] Error 1

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