* mayavi-4.1.0.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking mayavi-4.1.0.tar.gz to /var/tmp/portage/sci-visualization/mayavi-4.1.0/work >>> Source unpacked in /var/tmp/portage/sci-visualization/mayavi-4.1.0/work >>> Preparing source in /var/tmp/portage/sci-visualization/mayavi-4.1.0/work/mayavi-4.1.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sci-visualization/mayavi-4.1.0/work/mayavi-4.1.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sci-visualization/mayavi-4.1.0/work/mayavi-4.1.0 ... * Building of sci-visualization/mayavi-4.1.0 with CPython 2.7... python2.7 setup.py build -b build-2.7 running build ---------------------------------------------------------------------- Building TVTK classes... vtkSimple3DCirclesStrategy: Ignoring method: Get/SetMarkedValue default: (invalid), range: None vtkArrayNorm: Ignoring method: Get/SetWindow default: [0, 9223372036854775807), range: None vtkChart: Ignoring method: Get/SetSize default: [0.0, 0.0, 0.0, 0.0], range: None QWidget: Must construct a QApplication before a QPaintDevice /var/tmp/portage/sci-visualization/mayavi-4.1.0/temp/environment: line 1353: 9732 Aborted "$(PYTHON)" "${setup_file#*|}" "${_DISTUTILS_GLOBAL_OPTIONS[@]}" build -b "$(_distutils_get_build_dir)" "$@" * ERROR: sci-visualization/mayavi-4.1.0 failed (compile phase): * Building failed with CPython 2.7 in distutils_building() function * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 5156: Called distutils_src_compile * environment, line 1362: Called python_execute_function 'distutils_building' * environment, line 3503: Called die * The specific snippet of code: * die "${failure_message}"; * * If you need support, post the output of 'emerge --info =sci-visualization/mayavi-4.1.0', * the complete build log and the output of 'emerge -pqv =sci-visualization/mayavi-4.1.0'. * The complete build log is located at '/var/tmp/portage/sci-visualization/mayavi-4.1.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-visualization/mayavi-4.1.0/temp/environment'. * S: '/var/tmp/portage/sci-visualization/mayavi-4.1.0/work/mayavi-4.1.0' Reproducible: Always
Created attachment 299409 [details] emerge .info
This also affects mayavi-3.4.1 and 4.0.0
I have the same issue. Is there any workaround?
As a workaround, emerge sci-libs/vtk without qt4 support (USE="-qt4"). The problem is that mayavi tries to wrap vtkQt classes, which doesn't work. See her for the upstream bug report and proposed fix: https://github.com/enthought/mayavi/issues/24
After reemerge vtk without the qt4 USE flag 'emerge mayavi' fails now with undefined symbol zungqr_ in /usr/lib64/python2.7/site-packages/numpy/linalg/lapack_lite.so, which also happens in bug https://bugs.gentoo.org/show_bug.cgi?id=404109.
*** Bug 398173 has been marked as a duplicate of this bug. ***
+*mayavi-4.1.0-r1 (05 Mar 2012) + + 05 Mar 2012; Justin Lecher <jlec@gentoo.org> -mayavi-3.4.1.ebuild, + -mayavi-4.0.0.ebuild, mayavi-4.1.0.ebuild, +mayavi-4.1.0-r1.ebuild, + +files/mayavi-4.1.0-vtkQt.patch: + Drop old, #322191; restrict multiabi installation, #405541; include backport + patch from upstream, fixes compilation with newer vtk, #399537 +