Opened 7 years ago

Closed 22 months ago

#53444 closed defect (fixed)

vtk @7.1.0 +qt5 +qt4: incorrect dependencies

Reported by: petrrr Owned by: stromnov@…
Priority: Normal Milestone:
Component: ports Version: 2.4.0
Keywords: Cc:
Port: vtk

Description

Hi, when trying to install vtk with the above mentioned variants, I get the following error message:

petr% sudo port -v config vtk +qt5 +qt4
--->  Computing dependencies for vtk.
Error: Dependency 'qt4-qtbase' not found.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port vtk failed

Well, possibly these variants are mutually exclusive, but then this condition should be handled. Otherwise, if they could coexist, the dependency need to be set correctly. See below:

petr% sudo port -v info vtk +qt4 +qt5
vtk @7.1.0 (graphics, devel)
Variants:             debug, [+]python27, python35, +qt4, +qt5, universal

Description:          Visualization Toolkit (VTK) is an open-source, freely available software
                      system for 3D computer graphics, image processing and visualization.
Homepage:             http://www.vtk.org

Build Dependencies:   path:bin/cmake:cmake, port:pkgconfig, port:pkgconfig
Library Dependencies: path:lib/libQtCore.4.dylib:qt4-mac, port:python27,
                      path:lib/pkgconfig/Qt5Core.pc:qt4-qtbase
Platforms:            darwin
License:              BSD
Maintainers:          Email: stromnov@macports.org
                      Policy: openmaintainer

This presumably occurs in the qt5 Portgroup.

Attachments (1)

Portfile.diff (3.0 KB) - added by tenomoto (Takeshi Enomoto) 7 years ago.

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by tenomoto (Takeshi Enomoto)

Attachment: Portfile.diff added

comment:1 Changed 7 years ago by tenomoto (Takeshi Enomoto)

I uploaded a patch to set conflicts between qt4 and qt5. It also updates to 7.1.1 and adds python36 variant.

comment:2 Changed 6 years ago by petrrr

Looks like this was fixed, so can this be closed?

comment:3 Changed 22 months ago by chrstphrchvz (Christopher Chavez)

Resolution: fixed
Status: newclosed

In 4c1551a8c52c6c16584ff6c56e5b8339e8a44661/macports-ports (master):

vtk: drop qt4 variant

VTK 8.2.0 removed support for Qt4.

Closes: #46853
Closes: #53444

Note: See TracTickets for help on using tickets.