fix FTBFS issue with python on oneiric
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mayavi2 (Debian) |
Fix Released
|
Unknown
|
|||
mayavi2 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: mayavi2
mayavi2-3.4.1-1 from debian unstable does not build, with the following error on oneiric:
dh --with python2 build
dh_testdir
dh_auto_
dh_auto_build
running build
Traceback (most recent call last):
File "setup.py", line 538, in <module>
**config
File "/usr/lib/
return old_setup(
File "/usr/lib/
dist.
File "/usr/lib/
self.
File "/usr/lib/
cmd_obj.run()
File "setup.py", line 326, in run
build_
File "setup.py", line 313, in build_tvtk_
gen_
File "enthought/
from code_gen import TVTKGenerator
File "enthought/
import vtk
ImportError: No module named vtk
dh_auto_build: python2.6 setup.py build --force returned exit code 1
This occurs because the vtk module is not being built for python2.6.
tags: | added: python27 |
tags: | added: pycentral-deprecation |
Changed in mayavi2 (Debian): | |
status: | Unknown → Fix Released |
Yes, doesn't look like VTK is about to change that, and this also results in an FTBFS in Debian.
I suggest not using ">= 2.6", just 2.6. It only supports one version at a time. Yes, it's ugly.
Any reason why you are bumping the numpy BD?
Please use a more descriptive changelog entry. Or even better, let's get this fixed in Debian (which probably means XS-Python-Version: current) and sync to Ubuntu.