[MacPorts] #60317: py38-tensorflow1: error: SDK "macosx10.10" cannot be located
MacPorts
noreply at macports.org
Fri May 22 22:04:09 UTC 2020
#60317: py38-tensorflow1: error: SDK "macosx10.10" cannot be located
-----------------------------+--------------------------
Reporter: ryandesign | Owner: emcrisostomo
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords:
Port: py-tensorflow1 |
-----------------------------+--------------------------
Comment (by ryandesign):
See the code in `mportinit` in [browser:macports-
base/src/macports1.0/macports.tcl] which simply does:
{{{
if {![info exists macports::macosx_sdk_version]} {
set macports::macosx_sdk_version $macosx_version
}
}}}
MacPorts assumes that an SDK exists whose version matches the macOS
version. This has not been guaranteed to be the case for many years, as
Apple has adopted the practice of including only the then-most-recent SDK
in Xcode, even when that version of Xcode still works on the previous
version of macOS.
Maybe MacPorts should be smarter about this and should set the SDK version
variable to whatever SDK exists in the user's Xcode, even if that does not
match the OS version.
--
Ticket URL: <https://trac.macports.org/ticket/60317#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list