[MacPorts] #62728: py-tensorflow-data-validation: build fails on multiple macOS versions; bazel complains that 'rule is missing dependency declarations' for header files

MacPorts noreply at macports.org
Thu Apr 22 15:12:08 UTC 2021


#62728: py-tensorflow-data-validation: build fails on multiple macOS versions;
bazel complains that 'rule is missing dependency declarations' for header
files
---------------------+-------------------------------------------
 Reporter:  mascguy  |      Owner:  (none)
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:  py-tensorflow-data-validation
---------------------+-------------------------------------------
 Builds fail across Python variations for this port. But specifically
 attempted installing both the Python 3.8 and 3.9 versions, with similar
 errors. So the Python version doesn't appear to make a difference.

 MacOS 10.14/Xcode 11.3.1:

 {{{
 :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'
 [...]
 }}}

 On MacOS 10.15/Xcode 12.0:

 {{{
 :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'
 [...]
 }}}

 Briefly discussed with @CJones in comments of issue:62725, but still a
 mystery at the moment.

-- 
Ticket URL: <https://trac.macports.org/ticket/62728>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list