[MacPorts] #62725: py-tensorflow-data-validation: build requires bazel, but latter not added to build dependencies

MacPorts noreply at macports.org
Thu Apr 22 14:51:48 UTC 2021


#62725: py-tensorflow-data-validation: build requires bazel, but latter not added
to build dependencies
--------------------------------------------+--------------------------
  Reporter:  mascguy                        |      Owner:  cjones051073
      Type:  defect                         |     Status:  closed
  Priority:  Normal                         |  Milestone:
 Component:  ports                          |    Version:
Resolution:  fixed                          |   Keywords:
      Port:  py-tensorflow-data-validation  |
--------------------------------------------+--------------------------

Comment (by mascguy):

 I'm seeing similar errors on MacOS 10.15, too. (The ones in my previous
 comment were from MacOS 10.14.)

 And the MacOS SDK is clearly being found, based on the paths:

 {{{
 :info:build ERROR:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-tensorflow-data-
 validation/py38-tensorflow-data-
 validation/work/bazel_build/8f919143399337036c8563e76d591ca2/external/com_google_protobuf/BUILD:106:11:
 undeclared inclusion(s) in rule '@com_google_protobuf//:protobuf_lite':
 :info:build this rule is missing dependency declarations for the following
 files included by 'com_google_protobuf/src/google/protobuf/arena.cc':
 :info:build
 '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h'
 :info:build
 '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h'
 :info:build
 '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types.h'
 [...]
 }}}

 So I'm wondering if there's either a bug in Bazel 3.7.2, and/or some
 configuration needs to be changed...?

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


More information about the macports-tickets mailing list