Mayavi fails to build against vtk 6.0.0 due to an incompatibility (https://github.com/enthought/mayavi/issues/72) Reproducible: Always Steps to Reproduce: 1. emerge sci-visualization/mayavi-4.3.0 Actual Results: Install sci-libs/vtk-6.0.0 and fail to build sci-visualization/mayavi-4.3.0 with error: Traceback (most recent call last): File "setup.py", line 498, in <module> File "/usr/lib64/python2.7/site-packages/numpy/distutils/core.py", line 169, in setup return old_setup(**new_attr) File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup dist.run_commands() File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib64/python2.7/site-packages/numpy/distutils/command/install.py", line 59, in run r = self.setuptools_run() File "/usr/lib64/python2.7/site-packages/numpy/distutils/command/install.py", line 33, in setuptools_run return old_install_mod._install.run(self) File "/usr/lib64/python2.7/distutils/command/install.py", line 575, in run self.run_command(cmd_name) File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "setup.py", line 356, in run File "setup.py", line 290, in build_tvtk_classes_zip File "tvtk/setup.py", line 62, in gen_tvtk_classes_zip # numpy.distutils does the Wrong(TM) thing. File "tvtk/code_gen.py", line 101, in generate_code File "tvtk/code_gen.py", line 191, in _write_wrapper_class File "tvtk/wrapper_gen.py", line 80, in generate_code File "tvtk/wrapper_gen.py", line 161, in _gen_methods File "tvtk/vtk_parser.py", line 152, in parse File "tvtk/vtk_parser.py", line 451, in _organize_methods File "tvtk/vtk_parser.py", line 597, in _find_get_set_methods File "tvtk/vtk_parser.py", line 655, in _get_instance NotImplementedError: no concrete implementation exists for this class Expected Results: mayavi should depend on <sci-libs/vtk-6.0.0
I have the same issue. At the first system I see ... removing /var/tmp/portage/sci-visualization/mayavi-4.3.0/temp/python2.7/tmpzgShpE.py running install_data ---------------------------------------------------------------------- Building TVTK classes... vtkIncrementalForceLayout: Ignoring method: Get/SetGravityPoint default: [200.0, 200.0], range: None Traceback (most recent call last): File "setup.py", line 498, in <module> ... File "tvtk/vtk_parser.py", line 655, in _get_instance NotImplementedError: no concrete implementation exists for this class * ERROR: sci-visualization/mayavi-4.3.0::gentoo failed (install phase): At the second and third system, 'emerge -v1 mayavi' hangs with: removing /var/tmp/portage/sci-visualization/mayavi-4.3.0/temp/python2.7/tmpUAWHTJ.py running install_data ---------------------------------------------------------------------- Building TVTK classes...
Created attachment 379654 [details] error build.log ditto here Discussion at: https://github.com/enthought/mayavi/issues/72
More than a half year after the first bug report I hit the problem again. Is there not any patch?
As vtk-5 has been removed by last xmas. This bug now affects all users of mayavi.
Let us see if we can get this in. https://github.com/gentoo-science/sci/pull/349
+ 08 Mar 2015; Pacho Ramos <pacho@gentoo.org> + arch/amd64/package.use.stable.mask, arch/x86/package.use.stable.mask: + Mask dev-python/apptools[test] because mayavi is broken (#500104) + + 08 Mar 2015; Pacho Ramos <pacho@gentoo.org> ets-4.4.1.ebuild: + Revert amd64 stable due to bug #500104 + For some reason I didn't notice this when doing bug 540290 for amd64 (but noticed now for x86), sorry for the inconvenience
*** Bug 563282 has been marked as a duplicate of this bug. ***