mayavi2 version 4.0.0-1 failed to build in oneiric

Bug #831224 reported by Matthias Klose
34
This bug affects 4 people
Affects Status Importance Assigned to Milestone
mayavi2 (Ubuntu)
Fix Released
High
Unassigned
Oneiric
Fix Released
High
Unassigned

Bug Description

mayavi2 version 4.0.0-1 failed to build in oneiric
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110816/+build/2704839

Details about the rebuild:
http://people.ubuntuwire.org/~wgrant/rebuild-ftbfs-test/test-rebuild-20110816-oneiric.html

Direct link to the build log: https://launchpad.net/ubuntu/+archive/test-rebuild-20110816/+build/2704839/+files/buildlog_ubuntu-oneiric-amd64.mayavi2_4.0.0-1_FAILEDTOBUILD.txt.gz

This log snippet might be of interest, since it triggered the matcher 'Purging chroot-autobuild'.
Excerpt 739 lines into the build log:

    self.run_command(cmd)
  File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File "setup.py", line 303, in run
    build_tvtk_classes_zip()
  File "setup.py", line 290, in build_tvtk_classes_zip
    gen_tvtk_classes_zip()
  File "tvtk/setup.py", line 46, in gen_tvtk_classes_zip
    from code_gen import TVTKGenerator
  File "tvtk/code_gen.py", line 10, in <module>
    import vtk
ImportError: No module named vtk
dh_auto_build: python2.6 setup.py build --force returned exit code 1
make: *** [build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110822-0327
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/mayavi2-4.0.0

Tags: ftbfs nbs oneiric

Related branches

Matthias Klose (doko)
Changed in mayavi2 (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Gael Varoquaux (gael-varoquaux) wrote : Re: [Bug 831224] [NEW] mayavi2 version 4.0.0-1 failed to build in oneiric

On Mon, Aug 22, 2011 at 01:55:41PM -0000, Matthias Klose wrote:
> ImportError: No module named vtk

Apparently vtk does not import for Python 2.6 on this box. This is most
probably the cause of the problem.

Revision history for this message
Stefano Rivera (stefanor) wrote :

python-vtk is only built for one version of python, the default version, 2.7. We shuld build mayavi2 for 2.7 only.

Revision history for this message
Julian Taylor (jtaylor) wrote :

in order to get version 4 running these syncs also have to be done:
traitsui bug 831924
envisage bug 831928
pyface bug 831930

Matthias Klose (doko)
tags: added: nbs
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mayavi2 - 4.0.0-1ubuntu1

---------------
mayavi2 (4.0.0-1ubuntu1) oneiric; urgency=low

  * Fix FTBFS, build for python2.7 only. LP: #831224.
 -- Matthias Klose <email address hidden> Tue, 06 Sep 2011 13:27:49 +0200

Changed in mayavi2 (Ubuntu Oneiric):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.