[MacPorts] #73978: port patch with os.major=X should not care about a "platform mismatch"

MacPorts noreply at macports.org
Wed May 6 13:17:59 UTC 2026


#73978: port patch with os.major=X should not care about a "platform mismatch"
-------------------------+--------------------
  Reporter:  reneeotten  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  base        |    Version:  2.12.5
Resolution:              |   Keywords:
      Port:              |
-------------------------+--------------------
Description changed by reneeotten:

Old description:

> One used to be able to specify `os.major=X` together with `port patch` to
> simulate building on an older OS in order to check whether OS-version-
> specific patches still apply.
> Currently that no longer works; instead it shows:
> ```
> DEBUG: platform mismatch ... upgrading!
> ```
>
> and wants to rebuild all dependents for the older OS first.
>
> Is this an intentional change? If possible can this be reverted please?
>

> [similarly, but I can open an new ticket for this: there should be no
> obvious reason why `port extract` needs to wait for a registry lock]

New description:

 One used to be able to specify `os.major=X` together with `port patch` to
 simulate building on an older OS in order to check whether OS-version-
 specific patches still apply.
 Currently that no longer works; instead it shows:
 {{{
 DEBUG: platform mismatch ... upgrading!
 }}}

 and wants to rebuild all dependents for the older OS first.

 Is this an intentional change? If possible can this be reverted please?


 [similarly, but I can open an new ticket for this: there should be no
 obvious reason why `port extract` needs to wait for a registry lock]

--

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


More information about the macports-tickets mailing list