[Debian-med-packaging] Bug#571491: gdcm: FTBFS with Python 2.6 as default

Jakub Wilk jwilk at debian.org
Thu Feb 25 18:35:40 UTC 2010


Source: gdcm
Version: 2.0.14-4
Severity: important
User: debian-python at lists.debian.org
Usertags: python2.6

Hello,

When rebuilt in an environment with Python 2.6 as the default version, 
your package failed to build from source. Here are the relevant parts of 
the build log:

| make[3]: Entering directory `/build/user-gdcm_2.0.14-4-amd64-ewBrfR/gdcm-2.0.14/debian/build-python2.6'
| [ 90%] [ 90%] [ 90%] Building CXX object Utilities/VTK/CMakeFiles/vtkgdcmPythonD.dir/vtkGDCMTestingPython.cxx.o
| Building CXX object Utilities/VTK/CMakeFiles/vtkgdcmJava.dir/vtkGDCMTestingJava.cxx.o
| In file included from /build/user-gdcm_2.0.14-4-amd64-ewBrfR/gdcm-2.0.14/debian/build-python2.6/Utilities/VTK/vtkGDCMTestingPython.cxx:5:
| /usr/include/vtk-5.4/vtkPython.h:46:22: Building CXX object Utilities/VTK/CMakeFiles/vtkgdcmJava.dir/vtkGDCMImageReaderJava.cxx.o
| error: Python.h: No such file or directory
| Building CXX object Utilities/VTK/CMakeFiles/vtkgdcmJava.dir/vtkGDCMImageWriterJava.cxx.o
| In file included from /build/user-gdcm_2.0.14-4-amd64-ewBrfR/gdcm-2.0.14/debian/build-python2.6/Utilities/VTK/vtkGDCMTestingPython.cxx:8:
| /usr/include/vtk-5.4/vtkPythonUtil.h:36: error: 'PyObject_HEAD' does not name a type
| /usr/include/vtk-5.4/vtkPythonUtil.h:39: error: ISO C++ forbids declaration of 'PyObject' with no type
| /usr/include/vtk-5.4/vtkPythonUtil.h:39: error: expected ';' before '*' token
| /usr/include/vtk-5.4/vtkPythonUtil.h:40: error: ISO C++ forbids declaration of 'PyObject' with no type

If you need help with fixing this bug, don't hesitate to ask on 
#debian-python or debian-python at lists.debian.org.

-- 
Jakub Wilk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20100225/c38041ef/attachment.pgp>


More information about the Debian-med-packaging mailing list