Source: gdcm
Version: 2.0.14-4
Severity: important
User: debian-pyt...@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-pyt...@lists.debian.org.

--
Jakub Wilk

Attachment: signature.asc
Description: Digital signature

Reply via email to