[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:21:21 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):

 Chris, thanks for the quick fix. That solves the build dependency issue,
 and ensures Bazel is installed.

 But now I'm seeing the following failure while building `py-tensorflow-
 data-validation`:

 {{{
 :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/zlib_archive/BUILD.bazel:5:11:
 undeclared inclusion(s) in rule '@zlib_archive//:zlib':
 :info:build this rule is missing dependency declarations for the following
 files included by 'zlib_archive/adler32.c':
 :info:build
 '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/limits.h'
 :info:build
 '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h'
 :info:build
 '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_symbol_aliasing.h'
 [...]
 }}}

 (There were 125-ish headers listed from the MacOS SDK, but I truncated it
 for brevity.)

 I did some quick Googling, but it wasn't immediately clear how to fix
 this.

 Any thoughts?

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


More information about the macports-tickets mailing list