Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 500104 - sci-visualization/mayavi-4.3.0 with sci-libs/vtk-6 - ?
Summary: sci-visualization/mayavi-4.3.0 with sci-libs/vtk-6 - ?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL: https://github.com/enthought/mayavi/i...
Whiteboard:
Keywords:
: 563282 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-02-02 16:13 UTC by Guillaume Poulin
Modified: 2017-07-03 08:36 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
error build.log (mayavi-4.3.0-build.log,194.84 KB, text/plain)
2014-06-25 13:48 UTC, Phil Tooley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume Poulin 2014-02-02 16:13:13 UTC
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
Comment 1 Juergen Rose 2014-04-15 13:30:49 UTC
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...
Comment 2 Phil Tooley 2014-06-25 13:48:13 UTC
Created attachment 379654 [details]
error build.log

ditto here

Discussion at: https://github.com/enthought/mayavi/issues/72
Comment 3 Juergen Rose 2014-09-05 02:05:35 UTC
More than a half year after the first bug report I hit the problem again.
Is there not any patch?
Comment 4 Jan Marten Simons 2015-01-18 22:46:34 UTC
As vtk-5 has been removed by last xmas. This bug now affects all users of mayavi.
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2015-01-19 07:14:22 UTC
Let us see if we can get this in.

https://github.com/gentoo-science/sci/pull/349
Comment 6 Pacho Ramos gentoo-dev 2015-03-08 10:36:18 UTC
+  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
Comment 7 Benda Xu gentoo-dev 2017-07-03 08:36:49 UTC
*** Bug 563282 has been marked as a duplicate of this bug. ***