Bug#650586: vmtk: FTBFS: /usr/include/vtk-5.8/vtkPython.h:85:20: fatal error: Python.h: No such file or directory

Nobuhiro Iwamatsu iwamatsu at nigauri.org
Wed Nov 30 22:55:19 UTC 2011


Source: vmtk
Version: 0.9.0-5
Severity: serious
Justification: fails to build from source

Hi,

vmtk FTBFS on latest unstable.
I confirmed with cowbuilder  / amd64.

------
[  0%] Building CXX object
vtkVmtk/Common/CMakeFiles/vtkvmtkCommonPythonD.dir/vtkvmtkMathPython.cxx.o
cd /tmp/buildd/vmtk-0.9.0/obj-x86_64-linux-gnu/vtkVmtk/Common &&
/usr/bin/g++   -DvtkvmtkCommonPythonD_EXPORTS -g -Wall -fPIC -O2
-Wno-deprecated  -ftemplate-depth-50 -Wall -Wno-deprecated -O2 -g
-fPIC -I/usr/include/InsightToolkit/Review/Statistics
-I/usr/include/InsightToolkit/Review
-I/usr/include/InsightToolkit/Utilities/vxl/core
-I/usr/include/InsightToolkit/Utilities/vxl/vcl
-I/usr/include/InsightToolkit/Utilities/vxl/v3p/netlib
-I/usr/include/InsightToolkit/Utilities
-I/usr/include/InsightToolkit/Utilities/itkExtHdrs
-I/usr/include/InsightToolkit/Utilities/nifti/znzlib
-I/usr/include/InsightToolkit/Utilities/nifti/niftilib
-I/usr/include/InsightToolkit/Utilities/expat
-I/usr/include/InsightToolkit/Utilities/DICOMParser
-I/usr/include/InsightToolkit/Utilities/NrrdIO
-I/usr/include/InsightToolkit/Utilities/MetaIO
-I/usr/include/InsightToolkit/SpatialObject
-I/usr/include/InsightToolkit/Numerics/NeuralNetworks
-I/usr/include/InsightToolkit/Numerics/FEM
-I/usr/include/InsightToolkit/IO
-I/usr/include/InsightToolkit/Numerics
-I/usr/include/InsightToolkit/Common
-I/usr/include/InsightToolkit/BasicFilters
-I/usr/include/InsightToolkit/Algorithms -I/usr/include/InsightToolkit
-I/usr/include/vtk-5.8 -I/usr/include/gdcm-2.0
-I/tmp/buildd/vmtk-0.9.0/vtkVmtk
-I/tmp/buildd/vmtk-0.9.0/vtkVmtk/Common
-I/tmp/buildd/vmtk-0.9.0/vtkVmtk/ComputationalGeometry
-I/tmp/buildd/vmtk-0.9.0/vtkVmtk/DifferentialGeometry
-I/tmp/buildd/vmtk-0.9.0/vtkVmtk/IO
-I/tmp/buildd/vmtk-0.9.0/vtkVmtk/Misc
-I/tmp/buildd/vmtk-0.9.0/vtkVmtk/Segmentation
-I/tmp/buildd/vmtk-0.9.0/vtkVmtk/Contrib
-I/tmp/buildd/vmtk-0.9.0/vtkVmtk/Utilities/vtkvmtkITK
-I/tmp/buildd/vmtk-0.9.0/obj-x86_64-linux-gnu/vtkVmtk    -o
CMakeFiles/vtkvmtkCommonPythonD.dir/vtkvmtkMathPython.cxx.o -c
/tmp/buildd/vmtk-0.9.0/obj-x86_64-linux-gnu/vtkVmtk/Common/vtkvmtkMathPython.cxx
In file included from
/tmp/buildd/vmtk-0.9.0/obj-x86_64-linux-gnu/vtkVmtk/Common/vtkvmtkMathPython.cxx:6:0:
/usr/include/vtk-5.8/vtkPython.h:85:20: fatal error: Python.h: No such
file or directory
compilation terminated.
make[3]: *** [vtkVmtk/Common/CMakeFiles/vtkvmtkCommonPythonD.dir/vtkvmtkMathPython.cxx.o]
Error 1
make[3]: Leaving directory `/tmp/buildd/vmtk-0.9.0/obj-x86_64-linux-gnu'
make[2]: *** [vtkVmtk/Common/CMakeFiles/vtkvmtkCommonPythonD.dir/all] Error 2
make[2]: Leaving directory `/tmp/buildd/vmtk-0.9.0/obj-x86_64-linux-gnu'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/vmtk-0.9.0/obj-x86_64-linux-gnu'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package

------

I attched full build log.
Could you check your package?

Best regards,
 Nobuhiro

--
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vmtk_0.9.0-5_amd64.build.gz
Type: application/x-gzip
Size: 11888 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20111201/c269b182/attachment.bin>


More information about the debian-science-maintainers mailing list