[MacPorts] #23492: geant4: variants which conflict with the default variants are hard to select

MacPorts noreply at macports.org
Sat Jan 30 07:19:09 PST 2010


#23492: geant4: variants which conflict with the default variants are hard to
select
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  cristiano.fontana@…        
     Type:  defect                   |      Status:  new                        
 Priority:  Normal                   |   Milestone:                             
Component:  ports                    |     Version:  1.8.2                      
 Keywords:                           |        Port:  geant4                     
-------------------------------------+--------------------------------------
 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 [wiki:PortfileRecipes#default_variants 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.

-- 
Ticket URL: <http://trac.macports.org/ticket/23492>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list