Opened 7 years ago

Closed 7 years ago

#52980 closed defect (invalid)

incorrect name in dependency list for vtk5

Reported by: srobertp (Spencer Patty) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.3.5
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: vtk5

Description

Here are the error details in the last line of my main.log file: I believe the dependency should be spelled qt4-mac instead of qt4_mac

:debug:archivefetch Active variants check for archivefetch-type install considers depends_lib depends_run: boost eigen3 flann vtk5 qhull openni
:debug:archivefetch vtk5 is installed with the following variants: +tcltk+x11
:debug:archivefetch   required: qt4_mac, forbidden: 
:debug:archivefetch   rejected, because required variant qt4_mac is missing
:error:archivefetch org.macports.archivefetch for port libpcl returned: vtk5 must be installed with +qt4_mac.
:debug:archivefetch Error code: NONE
:debug:archivefetch Backtrace: vtk5 must be installed with +qt4_mac.
    while executing

Change History (2)

comment:1 Changed 7 years ago by srobertp (Spencer Patty)

I should say that this might actually be an error in the libpcl port which requires the dependency vtk5 to be installed with the +qt4-mac but it is spelled +qt4_mac.

it comes from attempting

port install libpcl

comment:2 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign added
Resolution: invalid
Status: newclosed

The vtk5 port has a variant called "qt4_mac". It adds a dependency on the port named "qt4-mac". This is fine and not a problem.

The variant cannot be named "qt4-mac" because the "-" symbol is not allowed in variant names because MacPorts uses that symbol to indicate the desire to disable a variant (just as the symbol "+" is used to indicate the desire to enable a variant).

There is no bug here. Install vtk5 with its +qt4_mac variant if you want to do whatever it is you were doing that caused that error message to appear.

Note: See TracTickets for help on using tickets.