Opened 15 years ago

Closed 11 years ago

#23492 closed defect (fixed)

geant4: variants which conflict with the default variants are hard to select

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: mojca (Mojca Miklavec)
Port: geant4

Description

Those variants in geant4 which conflict with the default variants are hard to select. For example:

$ sudo port install geant4 +granular
Error: geant4: Variant global conflicts with granular
Error: Unable to open port: Error evaluating variants
Before reporting a bug, first run the command again with the -d flag to get complete output.
$ sudo port install geant4 +no_ui
Error: geant4: Variant no_ui conflicts with motif
Error: Unable to open port: Error evaluating variants
Before reporting a bug, first run the command again with the -d flag to get complete output.
$ sudo port install geant4 +static
Error: geant4: Variant shared conflicts with static
Error: Unable to open port: Error evaluating variants
Before reporting a bug, first run the command again with the -d flag to get complete output.
$

This is why the use of default variants is discouraged unless it's planned carefully. See the PortfileRecipes entry for more information. If you must use default variants, make them default only if a conflicting variant has not already been requested. For example, global should only be a default variant if the user has not already requested granular. motif should not be a default variant if the user has requested no_ui. shared should not be a default if the user has requested static. And so on.

Change History (4)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Owner: changed from cristiano.fontana@… to cristiano.fontana@…

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

Owner: changed from cristiano.fontana@… to macports-tickets@…

comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: mojca@… added

comment:4 Changed 11 years ago by mojca (Mojca Miklavec)

Resolution: fixed
Status: newclosed
Version: 1.8.2

I upgraded the port in r111720 with substantial changes (and many options removed). Please let me know if this is still an issue.

Note: See TracTickets for help on using tickets.