[MacPorts] #60317: py38-tensorflow1: error: SDK "macosx10.10" cannot be located

MacPorts noreply at macports.org
Thu Aug 27 09:25:10 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 chrstphrchvz):

 The CI builders encountered this error for both `py-tensorflow` and `py-
 tensorflow1` on [https://github.com/macports/macports-ports/pull/8203 PR
 8203].

 I notice that for `py-tensorflow` the `use_mp_clang` variable is set
 before `xcodeversion_workaround`, meaning `BAZEL_USE_CPP_ONLY_TOOLCHAIN=1`
 fails to be set when MacPorts' clang is supposed to be used.

 `py-tensorflow1` has `PortGroup xcodeversion 1.0` but doesn't make use of
 it—was it supposed to?

 Could this ticket's issue possibly be fixed/worked around by always
 setting `BAZEL_USE_CPP_ONLY_TOOLCHAIN=1` even when compatible Xcode clang
 is present? What features does MacPorts lose by using that option?

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


More information about the macports-tickets mailing list