mayavi2 fails to build from source (FTBFS) on jaunty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mayavi2 (Ubuntu) |
Fix Released
|
Medium
|
Andrea Colangelo |
Bug Description
Binary package hint: mayavi2
Hi mayavi2 3.1.0-1ubuntu1 fails to build from source on jaunty.
The attached patch fixes this.
The error I fixed during building was:
Building TVTK classes...
Traceback (most recent call last):
File "setup.py", line 436, in <module>
**config
File "/usr/lib/
return old_setup(
File "/usr/lib/
dist.
File "/usr/lib/
self.
File "/usr/lib/
cmd_obj.run()
File "/usr/lib/
r = self.setuptools
File "/usr/lib/
return old_install_
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
cmd_obj.run()
File "setup.py", line 246, in run
build_
File "setup.py", line 233, in build_tvtk_
gen_
File "enthought/
File "enthought/
File "/usr/lib/
raise Error, "Destination path '%s' already exists" % real_dst
shutil.Error: Destination path '/build/
make: *** [python-
dpkg-buildpackage: failure: /usr/bin/fakeroot debian/rules binary gave error exit status 2
Related branches
Changed in mayavi2: | |
status: | New → Confirmed |
Changed in mayavi2 (Ubuntu): | |
assignee: | nobody → warp10 |
importance: | Undecided → Medium |
status: | Confirmed → In Progress |
Just to make what I did clear, here's the debdiff output against 3.1.0-1ubuntu1:
diff -u mayavi2- 3.1.0/debian/ changelog mayavi2- 3.1.0/debian/ changelog 3.1.0/debian/ changelog 3.1.0/debian/ changelog
--- mayavi2-
+++ mayavi2-
@@ -1,3 +1,9 @@
+mayavi2 (3.1.0-1ubuntu2) jaunty; urgency=low
+
+ * Fix FTBFS.
+
+ -- Andrew Straw <email address hidden> Sun, 22 Mar 2009 12:08:57 -0700
+
mayavi2 (3.1.0-1ubuntu1) jaunty; urgency=low
* Don't use reserved keyword in Python 2.6 as variable name. 3.1.0.orig/ enthought/ tvtk/setup. py 3.1.0/enthought /tvtk/setup. py exists( target) : stdout. flush()
only in patch2:
unchanged:
--- mayavi2-
+++ mayavi2-
@@ -52,6 +52,9 @@
except:
pass
print '-'*70
+ if os.path.
+ print "Unlinking possibly old TVTK classes...",
+ os.unlink(target)
print "Building TVTK classes...",
sys.
cwd = os.getcwd()