[MacPorts] #67637: upgrade: newly installed dependencies inherit variants from the dependent port (was: Universal builds with clang erroneously require clang itself to be universal)

MacPorts noreply at macports.org
Wed Jun 21 04:53:58 UTC 2023


#67637: upgrade: newly installed dependencies inherit variants from the dependent
port
------------------------+--------------------
  Reporter:  fhgwright  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  base       |    Version:  2.8.1
Resolution:             |   Keywords:
      Port:             |
------------------------+--------------------

Comment (by jmroot):

 Replying to [comment:2 fhgwright]:
 > Getting back to the exact state where this happened might be nontrivial,
 but I believe it involved a case where the chosen compiler was either
 uninstalled or outdated at the time, and when it decided to install or
 upgrade it, it specified `+universal`, probably inherited from the
 original upgrade target.  That's not the same as your test case above,
 where the chosen compiler is already active and up to date.

 OK, so an outdated dependency does not exhibit this behaviour, but an
 uninstalled one does. It's not specific to universal; all variants from
 the dependent are inherited by the newly installed dependency.

-- 
Ticket URL: <https://trac.macports.org/ticket/67637#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list