[MacPorts] #65326: py-mayavi: dependency resolution does not install correct vtk variant

MacPorts noreply at macports.org
Fri Jun 10 11:55:37 UTC 2022


#65326: py-mayavi: dependency resolution does not install correct vtk variant
--------------------+------------------------------------
 Reporter:  p-bro   |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  py-mayavi, py39-mayavi
--------------------+------------------------------------
 Hi,

 I just attempted to install py-mayavi. As my default variant is py39, this
 then attempted to install py39-mayavi, and a list of dependencies:

 {{{
 The following dependencies will be installed:
  eigen3
  gl2ps
  jsoncpp
  libharu
  netcdf-cxx
  py39-alabaster
  py39-apptools
  py39-babel
  py39-configobj
  py39-envisage
  py39-imagesize
  py39-mayavi
  py39-pyface
  py39-snowballstemmer
  py39-sphinx
  py39-sphinxcontrib-applehelp
  py39-sphinxcontrib-devhelp
  py39-sphinxcontrib-htmlhelp
  py39-sphinxcontrib-jsmath
  py39-sphinxcontrib-qthelp
  py39-sphinxcontrib-serializinghtml
  py39-traits
  py39-traitsui
  sphinx_select
  vtk
 }}}

 However, the final installation of py39-mayavi failed with the error
 message:
 {{{
 --->  Fetching archive for py39-mayavi
 --->  Attempting to fetch py39-mayavi-4.7.4_0.darwin_19.x86_64.tbz2 from
 https://packages.macports.org/py39-mayavi
 --->  Attempting to fetch py39-mayavi-4.7.4_0.darwin_19.x86_64.tbz2 from
 https://mse.uk.packages.macports.org/py39-mayavi
 --->  Attempting to fetch py39-mayavi-4.7.4_0.darwin_19.x86_64.tbz2 from
 https://ema.uk.packages.macports.org/py39-mayavi
 --->  Fetching distfiles for py39-mayavi
 --->  Attempting to fetch mayavi-4.7.4.tar.gz from
 https://distfiles.macports.org/py-mayavi
 --->  Verifying checksums for py39-mayavi
 --->  Extracting py39-mayavi
 --->  Configuring py39-mayavi
 Error: Failed to configure py39-mayavi: vtk must be installed with
 +python39.
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-mayavi/py39-mayavi/main.log for
 details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port py-mayavi failed
 }}}

 My expectation would be that ports manages to recongise it needs
 vtk+python39, if vtk isn't installed yet.

 The same happens, if one explicity installs py39-mayavi - it still does
 not install the right variant of vtk.

 A log of the install attempt is attached.

-- 
Ticket URL: <https://trac.macports.org/ticket/65326>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list