[MacPorts] #69406: build shared-mime-info for deployment target 10.14 fails on macOS Sonoma
MacPorts
noreply at macports.org
Tue Mar 19 21:45:56 UTC 2024
#69406: build shared-mime-info for deployment target 10.14 fails on macOS Sonoma
-------------------------------+----------------------
Reporter: MStraeten | Owner: mascguy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.1
Resolution: | Keywords:
Port: shared-mime-info |
-------------------------------+----------------------
Comment (by mascguy):
Replying to [comment:3 kencu]:
> There are many many many ways in which the logic in `legacysupport` and
it's supporting ports, such as `macports-libcxx`, can be shown to work
inadequately when building for an older deployment target.
Yes indeed, and that's the tricky part with this: Portgroup
`legacysupport` determines the macOS version via `os.major`, rather than
`macosx_deployment_target`.
And we don't want to risk changing the latter's logic - at least not in
terms of the default behavior - as it could cause unforeseen issues
elsewhere. So perhaps we need to add a new opt-in flag for pg
`legacysupport`, which enables use of `macosx_deployment_target`.
But per Ken's point, even with such a change in place, there could still
be other areas that fail to use the latter [for determining the macOS
version].
So there may not be much we can do at this point, barring a more extensive
audit of the various code paths.
Thoughts?
--
Ticket URL: <https://trac.macports.org/ticket/69406#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list