[MacPorts] #56234: Inactive port can't be uninstalled after replacement is installed

MacPorts noreply at macports.org
Thu Apr 5 23:51:28 UTC 2018


#56234: Inactive port can't be uninstalled after replacement is installed
----------------------------------------+----------------------
  Reporter:  ShadSterling               |      Owner:  pixilla
      Type:  defect                     |     Status:  assigned
  Priority:  Normal                     |  Milestone:
 Component:  ports                      |    Version:  2.4.2
Resolution:                             |   Keywords:
      Port:  py-s3transfer py-botocore  |
----------------------------------------+----------------------

Comment (by raimue):

 MacPorts does not resolve dependencies fully for `replaced_by`, but trusts
 the author that added that option. I think your expectation was that
 `replaced_by` would also change the dependency in all dependents. However,
 as seen in this case, this would be incorrect, as `py34-botocore` cannot
 satisfy the dependency on py34-s3transfer.

 The issue is that `replaced_by` was added to py34-botocore without making
 sure that there are no dependents of this port anymore. You can only add
 such a `replaced_by` to a pyXY-* port if you also do it recursively for
 all dependents upwards in the dependency tree.

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


More information about the macports-tickets mailing list