[MacPorts] #73978: port patch with os.major=X should not care about a "platform mismatch"
MacPorts
noreply at macports.org
Wed May 6 22:54:04 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: |
-------------------------+--------------------
Comment (by ryandesign):
Replying to [ticket:73978 reneeotten]:
> 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.
Does using the `-n` switch help? I seem to recall using that in such
situations.
> [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]
Doesn't sound related so yes I would recommend a different ticket for
this.
`port extract` might have dependencies that need to be upgraded first. But
if it doesn't, then I agree it should be able to do it right away.
--
Ticket URL: <https://trac.macports.org/ticket/73978#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list