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

MacPorts noreply at macports.org
Thu May 21 22:18:46 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 blair):

 I'm on

 10.13 and getting a similar error. Should I open a new ticket instead?

 {{{
 macOS 10.13.6 17G12034
 Xcode 10.1 10B61
 }}}

 {{{
 SUBCOMMAND: # @com_google_protobuf//:protobuf [action 'Compiling
 external/com_google_protobuf/src/google/protobuf/descriptor.cc [for
 host]']
 (cd /opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-
 ports.git_python_py-
 tensorflow1/py38-tensorflow1/work/79f18e4936820099642468bd7055b922/execroot/org_tensorflow
 && \
   exec env - \
     APPLE_SDK_PLATFORM=MacOSX \
     APPLE_SDK_VERSION_OVERRIDE=10.13 \
     PATH=/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin \
     XCODE_VERSION_OVERRIDE=10.1.0.10B61 \
   external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-
 protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-
 omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-
 sections -fdata-sections '-std=c++11' -iquote external/com_google_protobuf
 -iquote bazel-out/host/bin/external/com_google_protobuf -iquote
 external/zlib_archive -iquote bazel-out/host/bin/external/zlib_archive
 -isystem external/com_google_protobuf/src -isystem bazel-
 out/host/bin/external/com_google_protobuf/src -isystem
 external/zlib_archive -isystem bazel-out/host/bin/external/zlib_archive
 -MD -MF bazel-
 out/host/bin/external/com_google_protobuf/_objs/protobuf/descriptor.d
 '-frandom-seed=bazel-
 out/host/bin/external/com_google_protobuf/_objs/protobuf/descriptor.o'
 -isysroot __BAZEL_XCODE_SDKROOT__ '-mmacosx-version-min=10.13' -g0
 '-march=native' -g0 -DHAVE_PTHREAD -DHAVE_ZLIB -Woverloaded-virtual -Wno-
 sign-compare -Wno-unused-function -Wno-write-strings -no-canonical-
 prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"'
 '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -c
 external/com_google_protobuf/src/google/protobuf/descriptor.cc -o bazel-
 out/host/bin/external/com_google_protobuf/_objs/protobuf/descriptor.o)
 ERROR: /opt/local/var/macports/build/_Users_blair_Code_MacPorts_macports-
 ports.git_python_py-
 tensorflow1/py38-tensorflow1/work/79f18e4936820099642468bd7055b922/external/com_google_protobuf/BUILD:148:1:
 C++ compilation of rule '@com_google_protobuf//:protobuf' failed:
 Unexpected IO error: xcrun failed with code 1.
 This most likely indicates that SDK version [10.13] for platform [MacOSX]
 is unsupported for the target version of xcode.
 Process exited with status 1
 stdout: stderr: xcodebuild: error: SDK "macosx10.13" cannot be located.
 xcodebuild: error: SDK "macosx10.13" cannot be located.
 xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.13'
 Target //tensorflow/tools/pip_package:build_pip_package failed to build
 }}}

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


More information about the macports-tickets mailing list