[MacPorts] #40879: port clean all fails on clutter if quartz in etc/macports/variants.conf

MacPorts noreply at macports.org
Thu Oct 24 06:43:26 PDT 2013


#40879: port clean all fails on clutter if quartz in etc/macports/variants.conf
---------------------------+----------------------
  Reporter:  gunnlaugur@…  |      Owner:  devans@…
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.2.0
Resolution:                |   Keywords:
      Port:  clutter       |
---------------------------+----------------------

Comment (by devans@…):

 Perhaps but I'm thinking that your selection of variants is also part of
 the problem although there isn't enough information provided to nail it
 down.

 If you were intending to have a +quartz only build environment you should
 have included also +no_x11 -x11 to your variants.
 Many ports have +x11 variants (but not +quartz variants) and typically
 +x11 is the default.  Your variant selection can
 result in a mixture of +x11 and +quartz variants that can be problematic.

 In the case of clutter, the port has both +x11 (the default) and +quartz
 variants and the two are mutually exclusive and so
 marked in the port (+x11 conflicts +quartz and vice versa). It will
 install +x11 if you don't provide a +quartz variant but +quartz if you do.
 Both is not allowed. So nothing unfortunate here.

 I'm guessing that you had a +x11 version of clutter installed before you
 added the +quartz variant in variants.conf and didn't upgrade the port to
 the new variants.  The installed variant conflicted with your declared
 variant which is what
 port was reporting.

 Problems like this can be resolved by using the command


 {{{
 sudo port upgrade --enforce-variants <target>
 }}}

 with a port (e.g. clutter) or a pseudo port (e.g. installed) as the
 target.

-- 
Ticket URL: <https://trac.macports.org/ticket/40879#comment:4>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list