<p dir="auto">Hi,</p>
<p dir="auto">i get the follwing error when i try to build saved_model_cli (following this tutorial: <a href="https://www.tensorflow.org/guide/saved_model" rel="nofollow">https://www.tensorflow.org/guide/saved_model</a>). Any idea whats the issue?</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ bazel build tensorflow/python/tools:saved_model_cli
WARNING: The following rc files are no longer being read, please transfer their contents or import their path into one of the standard rc files:
/Users/geri/Documents/tensorflow/tools/bazel.rc
Starting local Bazel server and connecting to it...
INFO: Invocation ID: 466cba21-c0aa-4740-970a-fd0d67250a82
WARNING: /Users/geri/Documents/tensorflow/tensorflow/python/BUILD:2985:1: in py_library rule //tensorflow/python:standard_ops: target '//tensorflow/python:standard_ops' depends on deprecated target '//tensorflow/python/ops/distributions:distributions': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of `tf.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/gan/BUILD:136:1: in py_library rule //tensorflow/contrib/gan:losses_impl: target '//tensorflow/contrib/gan:losses_impl' depends on deprecated target '//tensorflow/python/ops/distributions:distributions': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of `tf.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/metrics/BUILD:16:1: in py_library rule //tensorflow/contrib/metrics:metrics_py: target '//tensorflow/contrib/metrics:metrics_py' depends on deprecated target '//tensorflow/python/ops/distributions:distributions': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of `tf.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/python/BUILD:76:1: in py_library rule //tensorflow/python:no_contrib: target '//tensorflow/python:no_contrib' depends on deprecated target '//tensorflow/python/ops/distributions:distributions': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of `tf.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/learn/BUILD:17:1: in py_library rule //tensorflow/contrib/learn:learn: target '//tensorflow/contrib/learn:learn' depends on deprecated target '//tensorflow/contrib/session_bundle:exporter': No longer supported. Switch to SavedModel immediately.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/learn/BUILD:17:1: in py_library rule //tensorflow/contrib/learn:learn: target '//tensorflow/contrib/learn:learn' depends on deprecated target '//tensorflow/contrib/session_bundle:gc': No longer supported. Switch to SavedModel immediately.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/BUILD:233:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries/state_space_models:filtering_postprocessor: target '//tensorflow/contrib/timeseries/python/timeseries/state_space_models:filtering_postprocessor' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/seq2seq/BUILD:23:1: in py_library rule //tensorflow/contrib/seq2seq:seq2seq_py: target '//tensorflow/contrib/seq2seq:seq2seq_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/seq2seq/BUILD:23:1: in py_library rule //tensorflow/contrib/seq2seq:seq2seq_py: target '//tensorflow/contrib/seq2seq:seq2seq_py' depends on deprecated target '//tensorflow/python/ops/distributions:distributions': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of `tf.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/timeseries/python/timeseries/BUILD:356:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries:ar_model: target '//tensorflow/contrib/timeseries/python/timeseries:ar_model' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/BUILD:76:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries/state_space_models:kalman_filter: target '//tensorflow/contrib/timeseries/python/timeseries/state_space_models:kalman_filter' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/bayesflow/BUILD:17:1: in py_library rule //tensorflow/contrib/bayesflow:bayesflow_py: target '//tensorflow/contrib/bayesflow:bayesflow_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/BUILD:13:1: in py_library rule //tensorflow/contrib:contrib_py: target '//tensorflow/contrib:contrib_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
INFO: Analysed target //tensorflow/python/tools:saved_model_cli (309 packages loaded, 16772 targets configured).
INFO: Found 1 target...
INFO: From Linking external/protobuf_archive/libprotobuf_lite.a [for host]:
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/host/bin/external/protobuf_archive/_objs/protobuf_lite/arenastring.o has no symbols
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/host/bin/external/protobuf_archive/_objs/protobuf_lite/io_win32.o has no symbols
INFO: From Linking tensorflow/core/libplatform_base.a [for host]:
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (env_time.o) in output file used for input files: bazel-out/host/bin/tensorflow/core/_objs/platform_base/0/env_time.o and: bazel-out/host/bin/tensorflow/core/_objs/platform_base/1/env_time.o (due to use of basename, truncation, blank padding or duplicate input files)
INFO: From Linking external/protobuf_archive/libprotobuf.a [for host]:
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/host/bin/external/protobuf_archive/_objs/protobuf/gzip_stream.o has no symbols
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/host/bin/external/protobuf_archive/_objs/protobuf/error_listener.o has no symbols
INFO: From ProtoCompile tensorflow/core/lib/core/error_codes.pb.cc [for host]:
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/core/grappler/costs/op_performance_data.pb.cc:
bazel-out/darwin-fastbuild/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/darwin-fastbuild/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/darwin-fastbuild/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/darwin-fastbuild/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/core/lib/core/error_codes.pb.cc:
bazel-out/darwin-fastbuild/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/core/grappler/costs/op_performance_data.pb.cc [for host]:
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/core/example/example.pb.cc:
bazel-out/darwin-fastbuild/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/darwin-fastbuild/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/core/example/example.pb.cc [for host]:
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
ERROR: /private/var/tmp/_bazel_geri/af336600bf091f11bdb6522728b81044/external/flatbuffers/BUILD.bazel:57:1: C++ compilation of rule '@flatbuffers//:flatc_library' failed (Exit 1) cc_wrapper.sh failed: error executing command external/local_config_cc/cc_wrapper.sh -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -fcolor-diagnostics -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG ... (remaining 44 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
external/flatbuffers/src/util.cpp:50:3: error: use of undeclared identifier 'FLATBUFFERS_ASSERT'
  FLATBUFFERS_ASSERT(g_load_file_function);
  ^
external/flatbuffers/src/util.cpp:55:3: error: use of undeclared identifier 'FLATBUFFERS_ASSERT'
  FLATBUFFERS_ASSERT(g_file_exists_function);
  ^
2 errors generated.
Target //tensorflow/python/tools:saved_model_cli failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 302.643s, Critical Path: 46.91s
INFO: 396 processes: 396 darwin-sandbox.
FAILED: Build did NOT complete successfully"><pre class="notranslate"><code class="notranslate">$ bazel build tensorflow/python/tools:saved_model_cli
WARNING: The following rc files are no longer being read, please transfer their contents or import their path into one of the standard rc files:
/Users/geri/Documents/tensorflow/tools/bazel.rc
Starting local Bazel server and connecting to it...
INFO: Invocation ID: 466cba21-c0aa-4740-970a-fd0d67250a82
WARNING: /Users/geri/Documents/tensorflow/tensorflow/python/BUILD:2985:1: in py_library rule //tensorflow/python:standard_ops: target '//tensorflow/python:standard_ops' depends on deprecated target '//tensorflow/python/ops/distributions:distributions': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of `tf.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/gan/BUILD:136:1: in py_library rule //tensorflow/contrib/gan:losses_impl: target '//tensorflow/contrib/gan:losses_impl' depends on deprecated target '//tensorflow/python/ops/distributions:distributions': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of `tf.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/metrics/BUILD:16:1: in py_library rule //tensorflow/contrib/metrics:metrics_py: target '//tensorflow/contrib/metrics:metrics_py' depends on deprecated target '//tensorflow/python/ops/distributions:distributions': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of `tf.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/python/BUILD:76:1: in py_library rule //tensorflow/python:no_contrib: target '//tensorflow/python:no_contrib' depends on deprecated target '//tensorflow/python/ops/distributions:distributions': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of `tf.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/learn/BUILD:17:1: in py_library rule //tensorflow/contrib/learn:learn: target '//tensorflow/contrib/learn:learn' depends on deprecated target '//tensorflow/contrib/session_bundle:exporter': No longer supported. Switch to SavedModel immediately.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/learn/BUILD:17:1: in py_library rule //tensorflow/contrib/learn:learn: target '//tensorflow/contrib/learn:learn' depends on deprecated target '//tensorflow/contrib/session_bundle:gc': No longer supported. Switch to SavedModel immediately.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/BUILD:233:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries/state_space_models:filtering_postprocessor: target '//tensorflow/contrib/timeseries/python/timeseries/state_space_models:filtering_postprocessor' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/seq2seq/BUILD:23:1: in py_library rule //tensorflow/contrib/seq2seq:seq2seq_py: target '//tensorflow/contrib/seq2seq:seq2seq_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/seq2seq/BUILD:23:1: in py_library rule //tensorflow/contrib/seq2seq:seq2seq_py: target '//tensorflow/contrib/seq2seq:seq2seq_py' depends on deprecated target '//tensorflow/python/ops/distributions:distributions': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of `tf.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/timeseries/python/timeseries/BUILD:356:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries:ar_model: target '//tensorflow/contrib/timeseries/python/timeseries:ar_model' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/BUILD:76:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries/state_space_models:kalman_filter: target '//tensorflow/contrib/timeseries/python/timeseries/state_space_models:kalman_filter' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/bayesflow/BUILD:17:1: in py_library rule //tensorflow/contrib/bayesflow:bayesflow_py: target '//tensorflow/contrib/bayesflow:bayesflow_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/BUILD:13:1: in py_library rule //tensorflow/contrib:contrib_py: target '//tensorflow/contrib:contrib_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
INFO: Analysed target //tensorflow/python/tools:saved_model_cli (309 packages loaded, 16772 targets configured).
INFO: Found 1 target...
INFO: From Linking external/protobuf_archive/libprotobuf_lite.a [for host]:
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/host/bin/external/protobuf_archive/_objs/protobuf_lite/arenastring.o has no symbols
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/host/bin/external/protobuf_archive/_objs/protobuf_lite/io_win32.o has no symbols
INFO: From Linking tensorflow/core/libplatform_base.a [for host]:
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (env_time.o) in output file used for input files: bazel-out/host/bin/tensorflow/core/_objs/platform_base/0/env_time.o and: bazel-out/host/bin/tensorflow/core/_objs/platform_base/1/env_time.o (due to use of basename, truncation, blank padding or duplicate input files)
INFO: From Linking external/protobuf_archive/libprotobuf.a [for host]:
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/host/bin/external/protobuf_archive/_objs/protobuf/gzip_stream.o has no symbols
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/host/bin/external/protobuf_archive/_objs/protobuf/error_listener.o has no symbols
INFO: From ProtoCompile tensorflow/core/lib/core/error_codes.pb.cc [for host]:
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/core/grappler/costs/op_performance_data.pb.cc:
bazel-out/darwin-fastbuild/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/darwin-fastbuild/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/darwin-fastbuild/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/darwin-fastbuild/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/core/lib/core/error_codes.pb.cc:
bazel-out/darwin-fastbuild/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/core/grappler/costs/op_performance_data.pb.cc [for host]:
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/core/example/example.pb.cc:
bazel-out/darwin-fastbuild/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/darwin-fastbuild/genfiles/external/protobuf_archive/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/core/example/example.pb.cc [for host]:
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
bazel-out/host/genfiles/external/protobuf_archive/src: warning: directory does not exist.
ERROR: /private/var/tmp/_bazel_geri/af336600bf091f11bdb6522728b81044/external/flatbuffers/BUILD.bazel:57:1: C++ compilation of rule '@flatbuffers//:flatc_library' failed (Exit 1) cc_wrapper.sh failed: error executing command external/local_config_cc/cc_wrapper.sh -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -fcolor-diagnostics -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG ... (remaining 44 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
external/flatbuffers/src/util.cpp:50:3: error: use of undeclared identifier 'FLATBUFFERS_ASSERT'
  FLATBUFFERS_ASSERT(g_load_file_function);
  ^
external/flatbuffers/src/util.cpp:55:3: error: use of undeclared identifier 'FLATBUFFERS_ASSERT'
  FLATBUFFERS_ASSERT(g_file_exists_function);
  ^
2 errors generated.
Target //tensorflow/python/tools:saved_model_cli failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 302.643s, Critical Path: 46.91s
INFO: 396 processes: 396 darwin-sandbox.
FAILED: Build did NOT complete successfully
</code></pre></div>
<p dir="auto">more infos:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ bazel build tensorflow/python/tools:saved_model_cli --sandbox_debug
WARNING: The following rc files are no longer being read, please transfer their contents or import their path into one of the standard rc files:
/Users/geri/Documents/tensorflow/tools/bazel.rc
INFO: Invocation ID: b46f49c0-8fce-46a2-8bfc-4d3ad5ba2ef7
WARNING: /Users/geri/Documents/tensorflow/tensorflow/python/BUILD:2985:1: in py_library rule //tensorflow/python:standard_ops: target '//tensorflow/python:standard_ops' depends on deprecated target '//tensorflow/python/ops/distributions:distributions': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of `tf.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/python/BUILD:76:1: in py_library rule //tensorflow/python:no_contrib: target '//tensorflow/python:no_contrib' depends on deprecated target '//tensorflow/python/ops/distributions:distributions': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of `tf.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/metrics/BUILD:16:1: in py_library rule //tensorflow/contrib/metrics:metrics_py: target '//tensorflow/contrib/metrics:metrics_py' depends on deprecated target '//tensorflow/python/ops/distributions:distributions': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of `tf.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/learn/BUILD:17:1: in py_library rule //tensorflow/contrib/learn:learn: target '//tensorflow/contrib/learn:learn' depends on deprecated target '//tensorflow/contrib/session_bundle:exporter': No longer supported. Switch to SavedModel immediately.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/learn/BUILD:17:1: in py_library rule //tensorflow/contrib/learn:learn: target '//tensorflow/contrib/learn:learn' depends on deprecated target '//tensorflow/contrib/session_bundle:gc': No longer supported. Switch to SavedModel immediately.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/gan/BUILD:136:1: in py_library rule //tensorflow/contrib/gan:losses_impl: target '//tensorflow/contrib/gan:losses_impl' depends on deprecated target '//tensorflow/python/ops/distributions:distributions': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of `tf.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/seq2seq/BUILD:23:1: in py_library rule //tensorflow/contrib/seq2seq:seq2seq_py: target '//tensorflow/contrib/seq2seq:seq2seq_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/seq2seq/BUILD:23:1: in py_library rule //tensorflow/contrib/seq2seq:seq2seq_py: target '//tensorflow/contrib/seq2seq:seq2seq_py' depends on deprecated target '//tensorflow/python/ops/distributions:distributions': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of `tf.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/bayesflow/BUILD:17:1: in py_library rule //tensorflow/contrib/bayesflow:bayesflow_py: target '//tensorflow/contrib/bayesflow:bayesflow_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/BUILD:233:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries/state_space_models:filtering_postprocessor: target '//tensorflow/contrib/timeseries/python/timeseries/state_space_models:filtering_postprocessor' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/BUILD:76:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries/state_space_models:kalman_filter: target '//tensorflow/contrib/timeseries/python/timeseries/state_space_models:kalman_filter' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/timeseries/python/timeseries/BUILD:356:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries:ar_model: target '//tensorflow/contrib/timeseries/python/timeseries:ar_model' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/BUILD:13:1: in py_library rule //tensorflow/contrib:contrib_py: target '//tensorflow/contrib:contrib_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
INFO: Analysed target //tensorflow/python/tools:saved_model_cli (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
INFO: From Linking external/grpc/libtsi.a:
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/darwin-fastbuild/bin/external/grpc/_objs/tsi/ssl_session_openssl.pic.o has no symbols
INFO: From Linking external/grpc/libgrpc++_base.a:
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/darwin-fastbuild/bin/external/grpc/_objs/grpc++_base/rpc_method.pic.o has no symbols
ERROR: /private/var/tmp/_bazel_geri/af336600bf091f11bdb6522728b81044/external/grpc/BUILD:1515:1: C++ compilation of rule '@grpc//:grpc_resolver_dns_ares' failed (Exit 1) sandbox-exec failed: error executing command 
  (cd /private/var/tmp/_bazel_geri/af336600bf091f11bdb6522728b81044/execroot/org_tensorflow &amp;&amp; \
  exec env - \
    PATH=/Users/geri/.pyenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/go/bin:/Users/geri/intelligence/bin \
    PWD=/proc/self/cwd \
    TMPDIR=/var/folders/7t/9l0n105n4_jbrq076r887pthz96c2m/T/ \
  /usr/bin/sandbox-exec -f /private/var/tmp/_bazel_geri/af336600bf091f11bdb6522728b81044/sandbox/darwin-sandbox/61/sandbox.sb /var/tmp/_bazel_geri/install/c71a8bada5761bf76ced20ca6672b491/_embedded_binaries/process-wrapper '--timeout=0' '--kill_delay=15' external/local_config_cc/cc_wrapper.sh -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -fcolor-diagnostics -fno-omit-frame-pointer '-std=c++0x' -MD -MF bazel-out/darwin-fastbuild/bin/external/grpc/_objs/grpc_resolver_dns_ares/grpc_ares_wrapper.pic.d '-frandom-seed=bazel-out/darwin-fastbuild/bin/external/grpc/_objs/grpc_resolver_dns_ares/grpc_ares_wrapper.pic.o' -fPIC '-DPB_FIELD_32BIT=1' -iquote external/grpc -iquote bazel-out/darwin-fastbuild/genfiles/external/grpc -iquote bazel-out/darwin-fastbuild/bin/external/grpc -iquote external/bazel_tools -iquote bazel-out/darwin-fastbuild/genfiles/external/bazel_tools -iquote bazel-out/darwin-fastbuild/bin/external/bazel_tools -iquote external/zlib_archive -iquote bazel-out/darwin-fastbuild/genfiles/external/zlib_archive -iquote bazel-out/darwin-fastbuild/bin/external/zlib_archive -iquote external/com_github_nanopb_nanopb -iquote bazel-out/darwin-fastbuild/genfiles/external/com_github_nanopb_nanopb -iquote bazel-out/darwin-fastbuild/bin/external/com_github_nanopb_nanopb -isystem external/grpc/include -isystem bazel-out/darwin-fastbuild/genfiles/external/grpc/include -isystem bazel-out/darwin-fastbuild/bin/external/grpc/include -isystem external/zlib_archive -isystem bazel-out/darwin-fastbuild/genfiles/external/zlib_archive -isystem bazel-out/darwin-fastbuild/bin/external/zlib_archive -isystem external/grpc/third_party/address_sorting/include -isystem bazel-out/darwin-fastbuild/genfiles/external/grpc/third_party/address_sorting/include -isystem bazel-out/darwin-fastbuild/bin/external/grpc/third_party/address_sorting/include -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__=&quot;redacted&quot;' '-D__TIMESTAMP__=&quot;redacted&quot;' '-D__TIME__=&quot;redacted&quot;' -c external/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc -o bazel-out/darwin-fastbuild/bin/external/grpc/_objs/grpc_resolver_dns_ares/grpc_ares_wrapper.pic.o)
external/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc:29:10: fatal error: 'ares.h' file not found
#include &lt;ares.h&gt;
         ^~~~~~~~
1 error generated.
Target //tensorflow/python/tools:saved_model_cli failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 13.689s, Critical Path: 4.82s
INFO: 57 processes: 57 darwin-sandbox.
FAILED: Build did NOT complete successfully"><pre class="notranslate"><code class="notranslate">$ bazel build tensorflow/python/tools:saved_model_cli --sandbox_debug
WARNING: The following rc files are no longer being read, please transfer their contents or import their path into one of the standard rc files:
/Users/geri/Documents/tensorflow/tools/bazel.rc
INFO: Invocation ID: b46f49c0-8fce-46a2-8bfc-4d3ad5ba2ef7
WARNING: /Users/geri/Documents/tensorflow/tensorflow/python/BUILD:2985:1: in py_library rule //tensorflow/python:standard_ops: target '//tensorflow/python:standard_ops' depends on deprecated target '//tensorflow/python/ops/distributions:distributions': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of `tf.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/python/BUILD:76:1: in py_library rule //tensorflow/python:no_contrib: target '//tensorflow/python:no_contrib' depends on deprecated target '//tensorflow/python/ops/distributions:distributions': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of `tf.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/metrics/BUILD:16:1: in py_library rule //tensorflow/contrib/metrics:metrics_py: target '//tensorflow/contrib/metrics:metrics_py' depends on deprecated target '//tensorflow/python/ops/distributions:distributions': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of `tf.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/learn/BUILD:17:1: in py_library rule //tensorflow/contrib/learn:learn: target '//tensorflow/contrib/learn:learn' depends on deprecated target '//tensorflow/contrib/session_bundle:exporter': No longer supported. Switch to SavedModel immediately.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/learn/BUILD:17:1: in py_library rule //tensorflow/contrib/learn:learn: target '//tensorflow/contrib/learn:learn' depends on deprecated target '//tensorflow/contrib/session_bundle:gc': No longer supported. Switch to SavedModel immediately.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/gan/BUILD:136:1: in py_library rule //tensorflow/contrib/gan:losses_impl: target '//tensorflow/contrib/gan:losses_impl' depends on deprecated target '//tensorflow/python/ops/distributions:distributions': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of `tf.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/seq2seq/BUILD:23:1: in py_library rule //tensorflow/contrib/seq2seq:seq2seq_py: target '//tensorflow/contrib/seq2seq:seq2seq_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/seq2seq/BUILD:23:1: in py_library rule //tensorflow/contrib/seq2seq:seq2seq_py: target '//tensorflow/contrib/seq2seq:seq2seq_py' depends on deprecated target '//tensorflow/python/ops/distributions:distributions': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of `tf.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/bayesflow/BUILD:17:1: in py_library rule //tensorflow/contrib/bayesflow:bayesflow_py: target '//tensorflow/contrib/bayesflow:bayesflow_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/BUILD:233:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries/state_space_models:filtering_postprocessor: target '//tensorflow/contrib/timeseries/python/timeseries/state_space_models:filtering_postprocessor' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/BUILD:76:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries/state_space_models:kalman_filter: target '//tensorflow/contrib/timeseries/python/timeseries/state_space_models:kalman_filter' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/timeseries/python/timeseries/BUILD:356:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries:ar_model: target '//tensorflow/contrib/timeseries/python/timeseries:ar_model' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/BUILD:13:1: in py_library rule //tensorflow/contrib:contrib_py: target '//tensorflow/contrib:contrib_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
INFO: Analysed target //tensorflow/python/tools:saved_model_cli (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
INFO: From Linking external/grpc/libtsi.a:
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/darwin-fastbuild/bin/external/grpc/_objs/tsi/ssl_session_openssl.pic.o has no symbols
INFO: From Linking external/grpc/libgrpc++_base.a:
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/darwin-fastbuild/bin/external/grpc/_objs/grpc++_base/rpc_method.pic.o has no symbols
ERROR: /private/var/tmp/_bazel_geri/af336600bf091f11bdb6522728b81044/external/grpc/BUILD:1515:1: C++ compilation of rule '@grpc//:grpc_resolver_dns_ares' failed (Exit 1) sandbox-exec failed: error executing command 
  (cd /private/var/tmp/_bazel_geri/af336600bf091f11bdb6522728b81044/execroot/org_tensorflow &amp;&amp; \
  exec env - \
    PATH=/Users/geri/.pyenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/go/bin:/Users/geri/intelligence/bin \
    PWD=/proc/self/cwd \
    TMPDIR=/var/folders/7t/9l0n105n4_jbrq076r887pthz96c2m/T/ \
  /usr/bin/sandbox-exec -f /private/var/tmp/_bazel_geri/af336600bf091f11bdb6522728b81044/sandbox/darwin-sandbox/61/sandbox.sb /var/tmp/_bazel_geri/install/c71a8bada5761bf76ced20ca6672b491/_embedded_binaries/process-wrapper '--timeout=0' '--kill_delay=15' external/local_config_cc/cc_wrapper.sh -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -fcolor-diagnostics -fno-omit-frame-pointer '-std=c++0x' -MD -MF bazel-out/darwin-fastbuild/bin/external/grpc/_objs/grpc_resolver_dns_ares/grpc_ares_wrapper.pic.d '-frandom-seed=bazel-out/darwin-fastbuild/bin/external/grpc/_objs/grpc_resolver_dns_ares/grpc_ares_wrapper.pic.o' -fPIC '-DPB_FIELD_32BIT=1' -iquote external/grpc -iquote bazel-out/darwin-fastbuild/genfiles/external/grpc -iquote bazel-out/darwin-fastbuild/bin/external/grpc -iquote external/bazel_tools -iquote bazel-out/darwin-fastbuild/genfiles/external/bazel_tools -iquote bazel-out/darwin-fastbuild/bin/external/bazel_tools -iquote external/zlib_archive -iquote bazel-out/darwin-fastbuild/genfiles/external/zlib_archive -iquote bazel-out/darwin-fastbuild/bin/external/zlib_archive -iquote external/com_github_nanopb_nanopb -iquote bazel-out/darwin-fastbuild/genfiles/external/com_github_nanopb_nanopb -iquote bazel-out/darwin-fastbuild/bin/external/com_github_nanopb_nanopb -isystem external/grpc/include -isystem bazel-out/darwin-fastbuild/genfiles/external/grpc/include -isystem bazel-out/darwin-fastbuild/bin/external/grpc/include -isystem external/zlib_archive -isystem bazel-out/darwin-fastbuild/genfiles/external/zlib_archive -isystem bazel-out/darwin-fastbuild/bin/external/zlib_archive -isystem external/grpc/third_party/address_sorting/include -isystem bazel-out/darwin-fastbuild/genfiles/external/grpc/third_party/address_sorting/include -isystem bazel-out/darwin-fastbuild/bin/external/grpc/third_party/address_sorting/include -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -c external/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc -o bazel-out/darwin-fastbuild/bin/external/grpc/_objs/grpc_resolver_dns_ares/grpc_ares_wrapper.pic.o)
external/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc:29:10: fatal error: 'ares.h' file not found
#include &lt;ares.h&gt;
         ^~~~~~~~
1 error generated.
Target //tensorflow/python/tools:saved_model_cli failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 13.689s, Critical Path: 4.82s
INFO: 57 processes: 57 darwin-sandbox.
FAILED: Build did NOT complete successfully
</code></pre></div>
<p dir="auto">than i installed ares:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ruby -e &quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&quot; &lt; /dev/null 2&gt; /dev/null
$ brew install c-ares"><pre class="notranslate"><code class="notranslate">$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" &lt; /dev/null 2&gt; /dev/null
$ brew install c-ares
</code></pre></div>
<p dir="auto">and tried it again, and got this error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ bazel build tensorflow/python/tools:saved_model_cli --sandbox_debug
WARNING: The following rc files are no longer being read, please transfer their contents or import their path into one of the standard rc files:
/Users/geri/Documents/tensorflow/tools/bazel.rc
INFO: Invocation ID: 2e76455c-b877-4561-85f0-7a34a9337adc
WARNING: /Users/geri/Documents/tensorflow/tensorflow/python/BUILD:2985:1: in py_library rule //tensorflow/python:standard_ops: target '//tensorflow/python:standard_ops' depends on deprecated target '//tensorflow/python/ops/distributions:distributions': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of `tf.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/python/BUILD:76:1: in py_library rule //tensorflow/python:no_contrib: target '//tensorflow/python:no_contrib' depends on deprecated target '//tensorflow/python/ops/distributions:distributions': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of `tf.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/metrics/BUILD:16:1: in py_library rule //tensorflow/contrib/metrics:metrics_py: target '//tensorflow/contrib/metrics:metrics_py' depends on deprecated target '//tensorflow/python/ops/distributions:distributions': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of `tf.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/learn/BUILD:17:1: in py_library rule //tensorflow/contrib/learn:learn: target '//tensorflow/contrib/learn:learn' depends on deprecated target '//tensorflow/contrib/session_bundle:exporter': No longer supported. Switch to SavedModel immediately.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/learn/BUILD:17:1: in py_library rule //tensorflow/contrib/learn:learn: target '//tensorflow/contrib/learn:learn' depends on deprecated target '//tensorflow/contrib/session_bundle:gc': No longer supported. Switch to SavedModel immediately.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/gan/BUILD:136:1: in py_library rule //tensorflow/contrib/gan:losses_impl: target '//tensorflow/contrib/gan:losses_impl' depends on deprecated target '//tensorflow/python/ops/distributions:distributions': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of `tf.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/seq2seq/BUILD:23:1: in py_library rule //tensorflow/contrib/seq2seq:seq2seq_py: target '//tensorflow/contrib/seq2seq:seq2seq_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/seq2seq/BUILD:23:1: in py_library rule //tensorflow/contrib/seq2seq:seq2seq_py: target '//tensorflow/contrib/seq2seq:seq2seq_py' depends on deprecated target '//tensorflow/python/ops/distributions:distributions': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of `tf.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/bayesflow/BUILD:17:1: in py_library rule //tensorflow/contrib/bayesflow:bayesflow_py: target '//tensorflow/contrib/bayesflow:bayesflow_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/BUILD:233:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries/state_space_models:filtering_postprocessor: target '//tensorflow/contrib/timeseries/python/timeseries/state_space_models:filtering_postprocessor' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/BUILD:76:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries/state_space_models:kalman_filter: target '//tensorflow/contrib/timeseries/python/timeseries/state_space_models:kalman_filter' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/timeseries/python/timeseries/BUILD:356:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries:ar_model: target '//tensorflow/contrib/timeseries/python/timeseries:ar_model' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/BUILD:13:1: in py_library rule //tensorflow/contrib:contrib_py: target '//tensorflow/contrib:contrib_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
INFO: Analysed target //tensorflow/python/tools:saved_model_cli (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
INFO: From ProtoCompile external/protobuf_archive/python/google/protobuf/any_pb2.py [for host]:
external/protobuf_archive/python: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/core/example/example_pb2.py [for host]:
external/protobuf_archive/python: warning: directory does not exist.
external/protobuf_archive/python: warning: directory does not exist.
INFO: From Compiling tensorflow/core/framework/function.cc [for host]:
tensorflow/core/framework/function.cc:1107:18: warning: reading variable 'function_defs_' requires holding mutex 'clone.mu_' [-Wthread-safety-precise]
  for (auto iter : clone.function_defs_) {
                 ^
tensorflow/core/framework/function.cc:1107:18: note: found near match 'mu_'
tensorflow/core/framework/function.cc:1107:18: warning: reading variable 'function_defs_' requires holding mutex 'clone.mu_' [-Wthread-safety-precise]
  for (auto iter : clone.function_defs_) {
                 ^
tensorflow/core/framework/function.cc:1107:18: note: found near match 'mu_'
tensorflow/core/framework/function.cc:1117:18: warning: reading variable 'func_grad_' requires holding mutex 'clone.mu_' [-Wthread-safety-precise]
  for (auto iter : clone.func_grad_) {
                 ^
tensorflow/core/framework/function.cc:1117:18: note: found near match 'mu_'
tensorflow/core/framework/function.cc:1117:18: warning: reading variable 'func_grad_' requires holding mutex 'clone.mu_' [-Wthread-safety-precise]
  for (auto iter : clone.func_grad_) {
                 ^
tensorflow/core/framework/function.cc:1117:18: note: found near match 'mu_'
4 warnings generated.
INFO: From Compiling tensorflow/core/util/example_proto_fast_parsing.cc [for host]:
In file included from tensorflow/core/util/example_proto_fast_parsing.cc:15:
In file included from ./tensorflow/core/util/example_proto_fast_parsing.h:32:
./tensorflow/core/util/sparse/sparse_tensor.h:77:15: warning: 'SparseTensor' is deprecated: Use Create() functions instead of constructors directly. [-Wdeprecated-declarations]
    *result = SparseTensor(ix, vals, shape, order);
              ^
./tensorflow/core/util/sparse/sparse_tensor.h:113:3: note: 'SparseTensor' has been explicitly marked deprecated here
  ABSL_DEPRECATED(&quot;Use Create() functions instead of constructors directly.&quot;)
  ^
external/com_google_absl/absl/base/macros.h:149:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
In file included from tensorflow/core/util/example_proto_fast_parsing.cc:15:
In file included from ./tensorflow/core/util/example_proto_fast_parsing.h:32:
./tensorflow/core/util/sparse/sparse_tensor.h:77:15: warning: 'SparseTensor' is deprecated: Use Create() functions instead of constructors directly. [-Wdeprecated-declarations]
    *result = SparseTensor(ix, vals, shape, order);
              ^
./tensorflow/core/util/sparse/sparse_tensor.h:113:3: note: 'SparseTensor' has been explicitly marked deprecated here
  ABSL_DEPRECATED(&quot;Use Create() functions instead of constructors directly.&quot;)
  ^
external/com_google_absl/absl/base/macros.h:149:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
In file included from tensorflow/core/util/example_proto_fast_parsing.cc:15:
In file included from ./tensorflow/core/util/example_proto_fast_parsing.h:32:
./tensorflow/core/util/sparse/sparse_tensor.h:132:9: warning: 'SparseTensor' is deprecated: Use Create() functions instead of constructors directly. [-Wdeprecated-declarations]
      : SparseTensor(other.ix_, other.vals_, other.shape_, other.order_) {}
        ^
./tensorflow/core/util/sparse/sparse_tensor.h:113:3: note: 'SparseTensor' has been explicitly marked deprecated here
  ABSL_DEPRECATED(&quot;Use Create() functions instead of constructors directly.&quot;)
  ^
external/com_google_absl/absl/base/macros.h:149:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
In file included from tensorflow/core/util/example_proto_fast_parsing.cc:15:
In file included from ./tensorflow/core/util/example_proto_fast_parsing.h:32:
./tensorflow/core/util/sparse/sparse_tensor.h:135:9: warning: 'SparseTensor' is deprecated: Use Create() functions instead of constructors directly. [-Wdeprecated-declarations]
      : SparseTensor(std::move(other.ix_), std::move(other.vals_),
        ^
./tensorflow/core/util/sparse/sparse_tensor.h:113:3: note: 'SparseTensor' has been explicitly marked deprecated here
  ABSL_DEPRECATED(&quot;Use Create() functions instead of constructors directly.&quot;)
  ^
external/com_google_absl/absl/base/macros.h:149:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
In file included from tensorflow/core/util/example_proto_fast_parsing.cc:15:
In file included from ./tensorflow/core/util/example_proto_fast_parsing.h:32:
./tensorflow/core/util/sparse/sparse_tensor.h:568:10: warning: 'SparseTensor' is deprecated: Use Create() functions instead of constructors directly. [-Wdeprecated-declarations]
  return SparseTensor(output_ix, output_vals, final_shape, final_order);
         ^
./tensorflow/core/util/sparse/sparse_tensor.h:113:3: note: 'SparseTensor' has been explicitly marked deprecated here
  ABSL_DEPRECATED(&quot;Use Create() functions instead of constructors directly.&quot;)
  ^
external/com_google_absl/absl/base/macros.h:149:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
In file included from tensorflow/core/util/example_proto_fast_parsing.cc:15:
In file included from ./tensorflow/core/util/example_proto_fast_parsing.h:32:
./tensorflow/core/util/sparse/sparse_tensor.h:568:10: warning: 'SparseTensor' is deprecated: Use Create() functions instead of constructors directly. [-Wdeprecated-declarations]
  return SparseTensor(output_ix, output_vals, final_shape, final_order);
         ^
./tensorflow/core/util/sparse/sparse_tensor.h:113:3: note: 'SparseTensor' has been explicitly marked deprecated here
  ABSL_DEPRECATED(&quot;Use Create() functions instead of constructors directly.&quot;)
  ^
external/com_google_absl/absl/base/macros.h:149:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
In file included from tensorflow/core/util/example_proto_fast_parsing.cc:15:
In file included from ./tensorflow/core/util/example_proto_fast_parsing.h:32:
./tensorflow/core/util/sparse/sparse_tensor.h:726:10: warning: 'SparseTensor' is deprecated: Use Create() functions instead of constructors directly. [-Wdeprecated-declarations]
  return SparseTensor(output_indices, output_values, output_shape);
         ^
./tensorflow/core/util/sparse/sparse_tensor.h:99:3: note: 'SparseTensor' has been explicitly marked deprecated here
  ABSL_DEPRECATED(&quot;Use Create() functions instead of constructors directly.&quot;)
  ^
external/com_google_absl/absl/base/macros.h:149:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
In file included from tensorflow/core/util/example_proto_fast_parsing.cc:15:
In file included from ./tensorflow/core/util/example_proto_fast_parsing.h:32:
./tensorflow/core/util/sparse/sparse_tensor.h:726:10: warning: 'SparseTensor' is deprecated: Use Create() functions instead of constructors directly. [-Wdeprecated-declarations]
  return SparseTensor(output_indices, output_values, output_shape);
         ^
./tensorflow/core/util/sparse/sparse_tensor.h:99:3: note: 'SparseTensor' has been explicitly marked deprecated here
  ABSL_DEPRECATED(&quot;Use Create() functions instead of constructors directly.&quot;)
  ^
external/com_google_absl/absl/base/macros.h:149:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
8 warnings generated.
INFO: From Compiling tensorflow/core/util/strided_slice_op.cc [for host]:
tensorflow/core/util/strided_slice_op.cc:275:33: warning: lambda capture 'i' is not used [-Wunused-lambda-capture]
    auto canonical = [stride_i, i, dim_i, masks, valid_range](int64 x, int c) {
                                ^
1 warning generated.
INFO: From Compiling tensorflow/core/framework/dataset.cc [for host]:
In file included from tensorflow/core/framework/dataset.cc:15:
In file included from ./tensorflow/core/framework/dataset.h:27:
./tensorflow/core/framework/model.h:235:13: warning: writing variable 'buffered_bytes_' requires holding mutex 'result-&gt;mu_' exclusively [-Wthread-safety-precise]
    result-&gt;buffered_bytes_ = buffered_bytes_;
            ^
./tensorflow/core/framework/model.h:235:13: note: found near match 'mu_'
./tensorflow/core/framework/model.h:236:13: warning: writing variable 'processing_time_' requires holding mutex 'result-&gt;mu_' exclusively [-Wthread-safety-precise]
    result-&gt;processing_time_ = processing_time_;
            ^
./tensorflow/core/framework/model.h:236:13: note: found near match 'mu_'
./tensorflow/core/framework/model.h:237:13: warning: writing variable 'num_elements_' requires holding mutex 'result-&gt;mu_' exclusively [-Wthread-safety-precise]
    result-&gt;num_elements_ = num_elements_;
            ^
./tensorflow/core/framework/model.h:237:13: note: found near match 'mu_'
./tensorflow/core/framework/model.h:238:13: warning: writing variable 'parameters_' requires holding mutex 'result-&gt;mu_' exclusively [-Wthread-safety-precise]
    result-&gt;parameters_ = parameters_;
            ^
./tensorflow/core/framework/model.h:238:13: note: found near match 'mu_'
4 warnings generated.
INFO: From Compiling tensorflow/core/util/example_proto_helper.cc [for host]:
In file included from tensorflow/core/util/example_proto_helper.cc:15:
In file included from ./tensorflow/core/util/example_proto_helper.h:31:
./tensorflow/core/util/sparse/sparse_tensor.h:77:15: warning: 'SparseTensor' is deprecated: Use Create() functions instead of constructors directly. [-Wdeprecated-declarations]
    *result = SparseTensor(ix, vals, shape, order);
              ^
./tensorflow/core/util/sparse/sparse_tensor.h:113:3: note: 'SparseTensor' has been explicitly marked deprecated here
  ABSL_DEPRECATED(&quot;Use Create() functions instead of constructors directly.&quot;)
  ^
external/com_google_absl/absl/base/macros.h:149:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
In file included from tensorflow/core/util/example_proto_helper.cc:15:
In file included from ./tensorflow/core/util/example_proto_helper.h:31:
./tensorflow/core/util/sparse/sparse_tensor.h:77:15: warning: 'SparseTensor' is deprecated: Use Create() functions instead of constructors directly. [-Wdeprecated-declarations]
    *result = SparseTensor(ix, vals, shape, order);
              ^
./tensorflow/core/util/sparse/sparse_tensor.h:113:3: note: 'SparseTensor' has been explicitly marked deprecated here
  ABSL_DEPRECATED(&quot;Use Create() functions instead of constructors directly.&quot;)
  ^
external/com_google_absl/absl/base/macros.h:149:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
In file included from tensorflow/core/util/example_proto_helper.cc:15:
In file included from ./tensorflow/core/util/example_proto_helper.h:31:
./tensorflow/core/util/sparse/sparse_tensor.h:132:9: warning: 'SparseTensor' is deprecated: Use Create() functions instead of constructors directly. [-Wdeprecated-declarations]
      : SparseTensor(other.ix_, other.vals_, other.shape_, other.order_) {}
        ^
./tensorflow/core/util/sparse/sparse_tensor.h:113:3: note: 'SparseTensor' has been explicitly marked deprecated here
  ABSL_DEPRECATED(&quot;Use Create() functions instead of constructors directly.&quot;)
  ^
external/com_google_absl/absl/base/macros.h:149:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
In file included from tensorflow/core/util/example_proto_helper.cc:15:
In file included from ./tensorflow/core/util/example_proto_helper.h:31:
./tensorflow/core/util/sparse/sparse_tensor.h:135:9: warning: 'SparseTensor' is deprecated: Use Create() functions instead of constructors directly. [-Wdeprecated-declarations]
      : SparseTensor(std::move(other.ix_), std::move(other.vals_),
        ^
./tensorflow/core/util/sparse/sparse_tensor.h:113:3: note: 'SparseTensor' has been explicitly marked deprecated here
  ABSL_DEPRECATED(&quot;Use Create() functions instead of constructors directly.&quot;)
  ^
external/com_google_absl/absl/base/macros.h:149:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
In file included from tensorflow/core/util/example_proto_helper.cc:15:
In file included from ./tensorflow/core/util/example_proto_helper.h:31:
./tensorflow/core/util/sparse/sparse_tensor.h:568:10: warning: 'SparseTensor' is deprecated: Use Create() functions instead of constructors directly. [-Wdeprecated-declarations]
  return SparseTensor(output_ix, output_vals, final_shape, final_order);
         ^
./tensorflow/core/util/sparse/sparse_tensor.h:113:3: note: 'SparseTensor' has been explicitly marked deprecated here
  ABSL_DEPRECATED(&quot;Use Create() functions instead of constructors directly.&quot;)
  ^
external/com_google_absl/absl/base/macros.h:149:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
In file included from tensorflow/core/util/example_proto_helper.cc:15:
In file included from ./tensorflow/core/util/example_proto_helper.h:31:
./tensorflow/core/util/sparse/sparse_tensor.h:568:10: warning: 'SparseTensor' is deprecated: Use Create() functions instead of constructors directly. [-Wdeprecated-declarations]
  return SparseTensor(output_ix, output_vals, final_shape, final_order);
         ^
./tensorflow/core/util/sparse/sparse_tensor.h:113:3: note: 'SparseTensor' has been explicitly marked deprecated here
  ABSL_DEPRECATED(&quot;Use Create() functions instead of constructors directly.&quot;)
  ^
external/com_google_absl/absl/base/macros.h:149:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
In file included from tensorflow/core/util/example_proto_helper.cc:15:
In file included from ./tensorflow/core/util/example_proto_helper.h:31:
./tensorflow/core/util/sparse/sparse_tensor.h:726:10: warning: 'SparseTensor' is deprecated: Use Create() functions instead of constructors directly. [-Wdeprecated-declarations]
  return SparseTensor(output_indices, output_values, output_shape);
         ^
./tensorflow/core/util/sparse/sparse_tensor.h:99:3: note: 'SparseTensor' has been explicitly marked deprecated here
  ABSL_DEPRECATED(&quot;Use Create() functions instead of constructors directly.&quot;)
  ^
external/com_google_absl/absl/base/macros.h:149:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
In file included from tensorflow/core/util/example_proto_helper.cc:15:
In file included from ./tensorflow/core/util/example_proto_helper.h:31:
./tensorflow/core/util/sparse/sparse_tensor.h:726:10: warning: 'SparseTensor' is deprecated: Use Create() functions instead of constructors directly. [-Wdeprecated-declarations]
  return SparseTensor(output_indices, output_values, output_shape);
         ^
./tensorflow/core/util/sparse/sparse_tensor.h:99:3: note: 'SparseTensor' has been explicitly marked deprecated here
  ABSL_DEPRECATED(&quot;Use Create() functions instead of constructors directly.&quot;)
  ^
external/com_google_absl/absl/base/macros.h:149:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
8 warnings generated.
INFO: From Compiling tensorflow/core/framework/model.cc [for host]:
In file included from tensorflow/core/framework/model.cc:16:
./tensorflow/core/framework/model.h:235:13: warning: writing variable 'buffered_bytes_' requires holding mutex 'result-&gt;mu_' exclusively [-Wthread-safety-precise]
    result-&gt;buffered_bytes_ = buffered_bytes_;
            ^
./tensorflow/core/framework/model.h:235:13: note: found near match 'mu_'
./tensorflow/core/framework/model.h:236:13: warning: writing variable 'processing_time_' requires holding mutex 'result-&gt;mu_' exclusively [-Wthread-safety-precise]
    result-&gt;processing_time_ = processing_time_;
            ^
./tensorflow/core/framework/model.h:236:13: note: found near match 'mu_'
./tensorflow/core/framework/model.h:237:13: warning: writing variable 'num_elements_' requires holding mutex 'result-&gt;mu_' exclusively [-Wthread-safety-precise]
    result-&gt;num_elements_ = num_elements_;
            ^
./tensorflow/core/framework/model.h:237:13: note: found near match 'mu_'
./tensorflow/core/framework/model.h:238:13: warning: writing variable 'parameters_' requires holding mutex 'result-&gt;mu_' exclusively [-Wthread-safety-precise]
    result-&gt;parameters_ = parameters_;
            ^
./tensorflow/core/framework/model.h:238:13: note: found near match 'mu_'
4 warnings generated.
INFO: From ProtoCompile tensorflow/core/grappler/costs/op_performance_data_pb2.py [for host]:
external/protobuf_archive/python: warning: directory does not exist.
external/protobuf_archive/python: warning: directory does not exist.
external/protobuf_archive/python: warning: directory does not exist.
external/protobuf_archive/python: warning: directory does not exist.
INFO: From Linking tensorflow/core/liblib_internal_impl.a [for host]:
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (env.o) in output file used for input files: bazel-out/host/bin/tensorflow/core/_objs/lib_internal_impl/0/env.o and: bazel-out/host/bin/tensorflow/core/_objs/lib_internal_impl/1/env.o (due to use of basename, truncation, blank padding or duplicate input files)
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (tracing.o) in output file used for input files: bazel-out/host/bin/tensorflow/core/_objs/lib_internal_impl/0/tracing.o and: bazel-out/host/bin/tensorflow/core/_objs/lib_internal_impl/1/tracing.o (due to use of basename, truncation, blank padding or duplicate input files)
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/host/bin/tensorflow/core/_objs/lib_internal_impl/android_armv7a_cpu_utils_helper.o has no symbols
ERROR: /private/var/tmp/_bazel_geri/af336600bf091f11bdb6522728b81044/external/flatbuffers/BUILD.bazel:99:1: C++ compilation of rule '@flatbuffers//:flatc' failed (Exit 1) sandbox-exec failed: error executing command 
  (cd /private/var/tmp/_bazel_geri/af336600bf091f11bdb6522728b81044/execroot/org_tensorflow &amp;&amp; \
  exec env - \
    PATH=/Users/geri/.pyenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/go/bin:/Users/geri/intelligence/bin \
    PWD=/proc/self/cwd \
    TMPDIR=/var/folders/7t/9l0n105n4_jbrq076r887pthz96c2m/T/ \
  /usr/bin/sandbox-exec -f /private/var/tmp/_bazel_geri/af336600bf091f11bdb6522728b81044/sandbox/darwin-sandbox/381/sandbox.sb /var/tmp/_bazel_geri/install/c71a8bada5761bf76ced20ca6672b491/_embedded_binaries/process-wrapper '--timeout=0' '--kill_delay=15' external/local_config_cc/cc_wrapper.sh -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -fcolor-diagnostics -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections -fdata-sections '-std=c++0x' -MD -MF bazel-out/host/bin/external/flatbuffers/_objs/flatc/idl_gen_grpc.d '-frandom-seed=bazel-out/host/bin/external/flatbuffers/_objs/flatc/idl_gen_grpc.o' -iquote external/flatbuffers -iquote bazel-out/host/genfiles/external/flatbuffers -iquote bazel-out/host/bin/external/flatbuffers -iquote external/bazel_tools -iquote bazel-out/host/genfiles/external/bazel_tools -iquote bazel-out/host/bin/external/bazel_tools -isystem external/flatbuffers/grpc -isystem bazel-out/host/genfiles/external/flatbuffers/grpc -isystem bazel-out/host/bin/external/flatbuffers/grpc -isystem external/flatbuffers/include -isystem bazel-out/host/genfiles/external/flatbuffers/include -isystem bazel-out/host/bin/external/flatbuffers/include -g0 -g0 -Wno-implicit-fallthrough -fexceptions -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__=&quot;redacted&quot;' '-D__TIMESTAMP__=&quot;redacted&quot;' '-D__TIME__=&quot;redacted&quot;' -c external/flatbuffers/src/idl_gen_grpc.cpp -o bazel-out/host/bin/external/flatbuffers/_objs/flatc/idl_gen_grpc.o)
external/flatbuffers/src/idl_gen_grpc.cpp:57:21: error: no member named 'doc_comment' in 'flatbuffers::RPCCall'; did you mean 'rpc_comment'?
    return method_-&gt;doc_comment;
                    ^~~~~~~~~~~
                    rpc_comment
/usr/local/include/flatbuffers/idl.h:349:28: note: 'rpc_comment' declared here
  std::vector&lt;std::string&gt; rpc_comment;
                           ^
external/flatbuffers/src/idl_gen_grpc.cpp:174:9: error: use of undeclared identifier 'FLATBUFFERS_ASSERT'
        FLATBUFFERS_ASSERT(indent_ &gt;= 0);
        ^
2 errors generated.
Target //tensorflow/python/tools:saved_model_cli failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 166.831s, Critical Path: 93.66s
INFO: 379 processes: 378 darwin-sandbox, 1 local.
FAILED: Build did NOT complete successfully"><pre class="notranslate"><code class="notranslate">$ bazel build tensorflow/python/tools:saved_model_cli --sandbox_debug
WARNING: The following rc files are no longer being read, please transfer their contents or import their path into one of the standard rc files:
/Users/geri/Documents/tensorflow/tools/bazel.rc
INFO: Invocation ID: 2e76455c-b877-4561-85f0-7a34a9337adc
WARNING: /Users/geri/Documents/tensorflow/tensorflow/python/BUILD:2985:1: in py_library rule //tensorflow/python:standard_ops: target '//tensorflow/python:standard_ops' depends on deprecated target '//tensorflow/python/ops/distributions:distributions': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of `tf.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/python/BUILD:76:1: in py_library rule //tensorflow/python:no_contrib: target '//tensorflow/python:no_contrib' depends on deprecated target '//tensorflow/python/ops/distributions:distributions': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of `tf.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/metrics/BUILD:16:1: in py_library rule //tensorflow/contrib/metrics:metrics_py: target '//tensorflow/contrib/metrics:metrics_py' depends on deprecated target '//tensorflow/python/ops/distributions:distributions': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of `tf.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/learn/BUILD:17:1: in py_library rule //tensorflow/contrib/learn:learn: target '//tensorflow/contrib/learn:learn' depends on deprecated target '//tensorflow/contrib/session_bundle:exporter': No longer supported. Switch to SavedModel immediately.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/learn/BUILD:17:1: in py_library rule //tensorflow/contrib/learn:learn: target '//tensorflow/contrib/learn:learn' depends on deprecated target '//tensorflow/contrib/session_bundle:gc': No longer supported. Switch to SavedModel immediately.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/gan/BUILD:136:1: in py_library rule //tensorflow/contrib/gan:losses_impl: target '//tensorflow/contrib/gan:losses_impl' depends on deprecated target '//tensorflow/python/ops/distributions:distributions': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of `tf.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/seq2seq/BUILD:23:1: in py_library rule //tensorflow/contrib/seq2seq:seq2seq_py: target '//tensorflow/contrib/seq2seq:seq2seq_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/seq2seq/BUILD:23:1: in py_library rule //tensorflow/contrib/seq2seq:seq2seq_py: target '//tensorflow/contrib/seq2seq:seq2seq_py' depends on deprecated target '//tensorflow/python/ops/distributions:distributions': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.distributions will not receive new features, and will be removed by early 2019. You should update all usage of `tf.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/bayesflow/BUILD:17:1: in py_library rule //tensorflow/contrib/bayesflow:bayesflow_py: target '//tensorflow/contrib/bayesflow:bayesflow_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/BUILD:233:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries/state_space_models:filtering_postprocessor: target '//tensorflow/contrib/timeseries/python/timeseries/state_space_models:filtering_postprocessor' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/BUILD:76:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries/state_space_models:kalman_filter: target '//tensorflow/contrib/timeseries/python/timeseries/state_space_models:kalman_filter' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/timeseries/python/timeseries/BUILD:356:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries:ar_model: target '//tensorflow/contrib/timeseries/python/timeseries:ar_model' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
WARNING: /Users/geri/Documents/tensorflow/tensorflow/contrib/BUILD:13:1: in py_library rule //tensorflow/contrib:contrib_py: target '//tensorflow/contrib:contrib_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of `tf.contrib.distributions` to `tfp.distributions`.
INFO: Analysed target //tensorflow/python/tools:saved_model_cli (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
INFO: From ProtoCompile external/protobuf_archive/python/google/protobuf/any_pb2.py [for host]:
external/protobuf_archive/python: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/core/example/example_pb2.py [for host]:
external/protobuf_archive/python: warning: directory does not exist.
external/protobuf_archive/python: warning: directory does not exist.
INFO: From Compiling tensorflow/core/framework/function.cc [for host]:
tensorflow/core/framework/function.cc:1107:18: warning: reading variable 'function_defs_' requires holding mutex 'clone.mu_' [-Wthread-safety-precise]
  for (auto iter : clone.function_defs_) {
                 ^
tensorflow/core/framework/function.cc:1107:18: note: found near match 'mu_'
tensorflow/core/framework/function.cc:1107:18: warning: reading variable 'function_defs_' requires holding mutex 'clone.mu_' [-Wthread-safety-precise]
  for (auto iter : clone.function_defs_) {
                 ^
tensorflow/core/framework/function.cc:1107:18: note: found near match 'mu_'
tensorflow/core/framework/function.cc:1117:18: warning: reading variable 'func_grad_' requires holding mutex 'clone.mu_' [-Wthread-safety-precise]
  for (auto iter : clone.func_grad_) {
                 ^
tensorflow/core/framework/function.cc:1117:18: note: found near match 'mu_'
tensorflow/core/framework/function.cc:1117:18: warning: reading variable 'func_grad_' requires holding mutex 'clone.mu_' [-Wthread-safety-precise]
  for (auto iter : clone.func_grad_) {
                 ^
tensorflow/core/framework/function.cc:1117:18: note: found near match 'mu_'
4 warnings generated.
INFO: From Compiling tensorflow/core/util/example_proto_fast_parsing.cc [for host]:
In file included from tensorflow/core/util/example_proto_fast_parsing.cc:15:
In file included from ./tensorflow/core/util/example_proto_fast_parsing.h:32:
./tensorflow/core/util/sparse/sparse_tensor.h:77:15: warning: 'SparseTensor' is deprecated: Use Create() functions instead of constructors directly. [-Wdeprecated-declarations]
    *result = SparseTensor(ix, vals, shape, order);
              ^
./tensorflow/core/util/sparse/sparse_tensor.h:113:3: note: 'SparseTensor' has been explicitly marked deprecated here
  ABSL_DEPRECATED("Use Create() functions instead of constructors directly.")
  ^
external/com_google_absl/absl/base/macros.h:149:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
In file included from tensorflow/core/util/example_proto_fast_parsing.cc:15:
In file included from ./tensorflow/core/util/example_proto_fast_parsing.h:32:
./tensorflow/core/util/sparse/sparse_tensor.h:77:15: warning: 'SparseTensor' is deprecated: Use Create() functions instead of constructors directly. [-Wdeprecated-declarations]
    *result = SparseTensor(ix, vals, shape, order);
              ^
./tensorflow/core/util/sparse/sparse_tensor.h:113:3: note: 'SparseTensor' has been explicitly marked deprecated here
  ABSL_DEPRECATED("Use Create() functions instead of constructors directly.")
  ^
external/com_google_absl/absl/base/macros.h:149:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
In file included from tensorflow/core/util/example_proto_fast_parsing.cc:15:
In file included from ./tensorflow/core/util/example_proto_fast_parsing.h:32:
./tensorflow/core/util/sparse/sparse_tensor.h:132:9: warning: 'SparseTensor' is deprecated: Use Create() functions instead of constructors directly. [-Wdeprecated-declarations]
      : SparseTensor(other.ix_, other.vals_, other.shape_, other.order_) {}
        ^
./tensorflow/core/util/sparse/sparse_tensor.h:113:3: note: 'SparseTensor' has been explicitly marked deprecated here
  ABSL_DEPRECATED("Use Create() functions instead of constructors directly.")
  ^
external/com_google_absl/absl/base/macros.h:149:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
In file included from tensorflow/core/util/example_proto_fast_parsing.cc:15:
In file included from ./tensorflow/core/util/example_proto_fast_parsing.h:32:
./tensorflow/core/util/sparse/sparse_tensor.h:135:9: warning: 'SparseTensor' is deprecated: Use Create() functions instead of constructors directly. [-Wdeprecated-declarations]
      : SparseTensor(std::move(other.ix_), std::move(other.vals_),
        ^
./tensorflow/core/util/sparse/sparse_tensor.h:113:3: note: 'SparseTensor' has been explicitly marked deprecated here
  ABSL_DEPRECATED("Use Create() functions instead of constructors directly.")
  ^
external/com_google_absl/absl/base/macros.h:149:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
In file included from tensorflow/core/util/example_proto_fast_parsing.cc:15:
In file included from ./tensorflow/core/util/example_proto_fast_parsing.h:32:
./tensorflow/core/util/sparse/sparse_tensor.h:568:10: warning: 'SparseTensor' is deprecated: Use Create() functions instead of constructors directly. [-Wdeprecated-declarations]
  return SparseTensor(output_ix, output_vals, final_shape, final_order);
         ^
./tensorflow/core/util/sparse/sparse_tensor.h:113:3: note: 'SparseTensor' has been explicitly marked deprecated here
  ABSL_DEPRECATED("Use Create() functions instead of constructors directly.")
  ^
external/com_google_absl/absl/base/macros.h:149:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
In file included from tensorflow/core/util/example_proto_fast_parsing.cc:15:
In file included from ./tensorflow/core/util/example_proto_fast_parsing.h:32:
./tensorflow/core/util/sparse/sparse_tensor.h:568:10: warning: 'SparseTensor' is deprecated: Use Create() functions instead of constructors directly. [-Wdeprecated-declarations]
  return SparseTensor(output_ix, output_vals, final_shape, final_order);
         ^
./tensorflow/core/util/sparse/sparse_tensor.h:113:3: note: 'SparseTensor' has been explicitly marked deprecated here
  ABSL_DEPRECATED("Use Create() functions instead of constructors directly.")
  ^
external/com_google_absl/absl/base/macros.h:149:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
In file included from tensorflow/core/util/example_proto_fast_parsing.cc:15:
In file included from ./tensorflow/core/util/example_proto_fast_parsing.h:32:
./tensorflow/core/util/sparse/sparse_tensor.h:726:10: warning: 'SparseTensor' is deprecated: Use Create() functions instead of constructors directly. [-Wdeprecated-declarations]
  return SparseTensor(output_indices, output_values, output_shape);
         ^
./tensorflow/core/util/sparse/sparse_tensor.h:99:3: note: 'SparseTensor' has been explicitly marked deprecated here
  ABSL_DEPRECATED("Use Create() functions instead of constructors directly.")
  ^
external/com_google_absl/absl/base/macros.h:149:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
In file included from tensorflow/core/util/example_proto_fast_parsing.cc:15:
In file included from ./tensorflow/core/util/example_proto_fast_parsing.h:32:
./tensorflow/core/util/sparse/sparse_tensor.h:726:10: warning: 'SparseTensor' is deprecated: Use Create() functions instead of constructors directly. [-Wdeprecated-declarations]
  return SparseTensor(output_indices, output_values, output_shape);
         ^
./tensorflow/core/util/sparse/sparse_tensor.h:99:3: note: 'SparseTensor' has been explicitly marked deprecated here
  ABSL_DEPRECATED("Use Create() functions instead of constructors directly.")
  ^
external/com_google_absl/absl/base/macros.h:149:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
8 warnings generated.
INFO: From Compiling tensorflow/core/util/strided_slice_op.cc [for host]:
tensorflow/core/util/strided_slice_op.cc:275:33: warning: lambda capture 'i' is not used [-Wunused-lambda-capture]
    auto canonical = [stride_i, i, dim_i, masks, valid_range](int64 x, int c) {
                                ^
1 warning generated.
INFO: From Compiling tensorflow/core/framework/dataset.cc [for host]:
In file included from tensorflow/core/framework/dataset.cc:15:
In file included from ./tensorflow/core/framework/dataset.h:27:
./tensorflow/core/framework/model.h:235:13: warning: writing variable 'buffered_bytes_' requires holding mutex 'result-&gt;mu_' exclusively [-Wthread-safety-precise]
    result-&gt;buffered_bytes_ = buffered_bytes_;
            ^
./tensorflow/core/framework/model.h:235:13: note: found near match 'mu_'
./tensorflow/core/framework/model.h:236:13: warning: writing variable 'processing_time_' requires holding mutex 'result-&gt;mu_' exclusively [-Wthread-safety-precise]
    result-&gt;processing_time_ = processing_time_;
            ^
./tensorflow/core/framework/model.h:236:13: note: found near match 'mu_'
./tensorflow/core/framework/model.h:237:13: warning: writing variable 'num_elements_' requires holding mutex 'result-&gt;mu_' exclusively [-Wthread-safety-precise]
    result-&gt;num_elements_ = num_elements_;
            ^
./tensorflow/core/framework/model.h:237:13: note: found near match 'mu_'
./tensorflow/core/framework/model.h:238:13: warning: writing variable 'parameters_' requires holding mutex 'result-&gt;mu_' exclusively [-Wthread-safety-precise]
    result-&gt;parameters_ = parameters_;
            ^
./tensorflow/core/framework/model.h:238:13: note: found near match 'mu_'
4 warnings generated.
INFO: From Compiling tensorflow/core/util/example_proto_helper.cc [for host]:
In file included from tensorflow/core/util/example_proto_helper.cc:15:
In file included from ./tensorflow/core/util/example_proto_helper.h:31:
./tensorflow/core/util/sparse/sparse_tensor.h:77:15: warning: 'SparseTensor' is deprecated: Use Create() functions instead of constructors directly. [-Wdeprecated-declarations]
    *result = SparseTensor(ix, vals, shape, order);
              ^
./tensorflow/core/util/sparse/sparse_tensor.h:113:3: note: 'SparseTensor' has been explicitly marked deprecated here
  ABSL_DEPRECATED("Use Create() functions instead of constructors directly.")
  ^
external/com_google_absl/absl/base/macros.h:149:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
In file included from tensorflow/core/util/example_proto_helper.cc:15:
In file included from ./tensorflow/core/util/example_proto_helper.h:31:
./tensorflow/core/util/sparse/sparse_tensor.h:77:15: warning: 'SparseTensor' is deprecated: Use Create() functions instead of constructors directly. [-Wdeprecated-declarations]
    *result = SparseTensor(ix, vals, shape, order);
              ^
./tensorflow/core/util/sparse/sparse_tensor.h:113:3: note: 'SparseTensor' has been explicitly marked deprecated here
  ABSL_DEPRECATED("Use Create() functions instead of constructors directly.")
  ^
external/com_google_absl/absl/base/macros.h:149:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
In file included from tensorflow/core/util/example_proto_helper.cc:15:
In file included from ./tensorflow/core/util/example_proto_helper.h:31:
./tensorflow/core/util/sparse/sparse_tensor.h:132:9: warning: 'SparseTensor' is deprecated: Use Create() functions instead of constructors directly. [-Wdeprecated-declarations]
      : SparseTensor(other.ix_, other.vals_, other.shape_, other.order_) {}
        ^
./tensorflow/core/util/sparse/sparse_tensor.h:113:3: note: 'SparseTensor' has been explicitly marked deprecated here
  ABSL_DEPRECATED("Use Create() functions instead of constructors directly.")
  ^
external/com_google_absl/absl/base/macros.h:149:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
In file included from tensorflow/core/util/example_proto_helper.cc:15:
In file included from ./tensorflow/core/util/example_proto_helper.h:31:
./tensorflow/core/util/sparse/sparse_tensor.h:135:9: warning: 'SparseTensor' is deprecated: Use Create() functions instead of constructors directly. [-Wdeprecated-declarations]
      : SparseTensor(std::move(other.ix_), std::move(other.vals_),
        ^
./tensorflow/core/util/sparse/sparse_tensor.h:113:3: note: 'SparseTensor' has been explicitly marked deprecated here
  ABSL_DEPRECATED("Use Create() functions instead of constructors directly.")
  ^
external/com_google_absl/absl/base/macros.h:149:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
In file included from tensorflow/core/util/example_proto_helper.cc:15:
In file included from ./tensorflow/core/util/example_proto_helper.h:31:
./tensorflow/core/util/sparse/sparse_tensor.h:568:10: warning: 'SparseTensor' is deprecated: Use Create() functions instead of constructors directly. [-Wdeprecated-declarations]
  return SparseTensor(output_ix, output_vals, final_shape, final_order);
         ^
./tensorflow/core/util/sparse/sparse_tensor.h:113:3: note: 'SparseTensor' has been explicitly marked deprecated here
  ABSL_DEPRECATED("Use Create() functions instead of constructors directly.")
  ^
external/com_google_absl/absl/base/macros.h:149:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
In file included from tensorflow/core/util/example_proto_helper.cc:15:
In file included from ./tensorflow/core/util/example_proto_helper.h:31:
./tensorflow/core/util/sparse/sparse_tensor.h:568:10: warning: 'SparseTensor' is deprecated: Use Create() functions instead of constructors directly. [-Wdeprecated-declarations]
  return SparseTensor(output_ix, output_vals, final_shape, final_order);
         ^
./tensorflow/core/util/sparse/sparse_tensor.h:113:3: note: 'SparseTensor' has been explicitly marked deprecated here
  ABSL_DEPRECATED("Use Create() functions instead of constructors directly.")
  ^
external/com_google_absl/absl/base/macros.h:149:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
In file included from tensorflow/core/util/example_proto_helper.cc:15:
In file included from ./tensorflow/core/util/example_proto_helper.h:31:
./tensorflow/core/util/sparse/sparse_tensor.h:726:10: warning: 'SparseTensor' is deprecated: Use Create() functions instead of constructors directly. [-Wdeprecated-declarations]
  return SparseTensor(output_indices, output_values, output_shape);
         ^
./tensorflow/core/util/sparse/sparse_tensor.h:99:3: note: 'SparseTensor' has been explicitly marked deprecated here
  ABSL_DEPRECATED("Use Create() functions instead of constructors directly.")
  ^
external/com_google_absl/absl/base/macros.h:149:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
In file included from tensorflow/core/util/example_proto_helper.cc:15:
In file included from ./tensorflow/core/util/example_proto_helper.h:31:
./tensorflow/core/util/sparse/sparse_tensor.h:726:10: warning: 'SparseTensor' is deprecated: Use Create() functions instead of constructors directly. [-Wdeprecated-declarations]
  return SparseTensor(output_indices, output_values, output_shape);
         ^
./tensorflow/core/util/sparse/sparse_tensor.h:99:3: note: 'SparseTensor' has been explicitly marked deprecated here
  ABSL_DEPRECATED("Use Create() functions instead of constructors directly.")
  ^
external/com_google_absl/absl/base/macros.h:149:49: note: expanded from macro 'ABSL_DEPRECATED'
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
                                                ^
8 warnings generated.
INFO: From Compiling tensorflow/core/framework/model.cc [for host]:
In file included from tensorflow/core/framework/model.cc:16:
./tensorflow/core/framework/model.h:235:13: warning: writing variable 'buffered_bytes_' requires holding mutex 'result-&gt;mu_' exclusively [-Wthread-safety-precise]
    result-&gt;buffered_bytes_ = buffered_bytes_;
            ^
./tensorflow/core/framework/model.h:235:13: note: found near match 'mu_'
./tensorflow/core/framework/model.h:236:13: warning: writing variable 'processing_time_' requires holding mutex 'result-&gt;mu_' exclusively [-Wthread-safety-precise]
    result-&gt;processing_time_ = processing_time_;
            ^
./tensorflow/core/framework/model.h:236:13: note: found near match 'mu_'
./tensorflow/core/framework/model.h:237:13: warning: writing variable 'num_elements_' requires holding mutex 'result-&gt;mu_' exclusively [-Wthread-safety-precise]
    result-&gt;num_elements_ = num_elements_;
            ^
./tensorflow/core/framework/model.h:237:13: note: found near match 'mu_'
./tensorflow/core/framework/model.h:238:13: warning: writing variable 'parameters_' requires holding mutex 'result-&gt;mu_' exclusively [-Wthread-safety-precise]
    result-&gt;parameters_ = parameters_;
            ^
./tensorflow/core/framework/model.h:238:13: note: found near match 'mu_'
4 warnings generated.
INFO: From ProtoCompile tensorflow/core/grappler/costs/op_performance_data_pb2.py [for host]:
external/protobuf_archive/python: warning: directory does not exist.
external/protobuf_archive/python: warning: directory does not exist.
external/protobuf_archive/python: warning: directory does not exist.
external/protobuf_archive/python: warning: directory does not exist.
INFO: From Linking tensorflow/core/liblib_internal_impl.a [for host]:
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (env.o) in output file used for input files: bazel-out/host/bin/tensorflow/core/_objs/lib_internal_impl/0/env.o and: bazel-out/host/bin/tensorflow/core/_objs/lib_internal_impl/1/env.o (due to use of basename, truncation, blank padding or duplicate input files)
/Library/Developer/CommandLineTools/usr/bin/libtool: warning same member name (tracing.o) in output file used for input files: bazel-out/host/bin/tensorflow/core/_objs/lib_internal_impl/0/tracing.o and: bazel-out/host/bin/tensorflow/core/_objs/lib_internal_impl/1/tracing.o (due to use of basename, truncation, blank padding or duplicate input files)
/Library/Developer/CommandLineTools/usr/bin/libtool: file: bazel-out/host/bin/tensorflow/core/_objs/lib_internal_impl/android_armv7a_cpu_utils_helper.o has no symbols
ERROR: /private/var/tmp/_bazel_geri/af336600bf091f11bdb6522728b81044/external/flatbuffers/BUILD.bazel:99:1: C++ compilation of rule '@flatbuffers//:flatc' failed (Exit 1) sandbox-exec failed: error executing command 
  (cd /private/var/tmp/_bazel_geri/af336600bf091f11bdb6522728b81044/execroot/org_tensorflow &amp;&amp; \
  exec env - \
    PATH=/Users/geri/.pyenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/go/bin:/Users/geri/intelligence/bin \
    PWD=/proc/self/cwd \
    TMPDIR=/var/folders/7t/9l0n105n4_jbrq076r887pthz96c2m/T/ \
  /usr/bin/sandbox-exec -f /private/var/tmp/_bazel_geri/af336600bf091f11bdb6522728b81044/sandbox/darwin-sandbox/381/sandbox.sb /var/tmp/_bazel_geri/install/c71a8bada5761bf76ced20ca6672b491/_embedded_binaries/process-wrapper '--timeout=0' '--kill_delay=15' external/local_config_cc/cc_wrapper.sh -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -fcolor-diagnostics -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections -fdata-sections '-std=c++0x' -MD -MF bazel-out/host/bin/external/flatbuffers/_objs/flatc/idl_gen_grpc.d '-frandom-seed=bazel-out/host/bin/external/flatbuffers/_objs/flatc/idl_gen_grpc.o' -iquote external/flatbuffers -iquote bazel-out/host/genfiles/external/flatbuffers -iquote bazel-out/host/bin/external/flatbuffers -iquote external/bazel_tools -iquote bazel-out/host/genfiles/external/bazel_tools -iquote bazel-out/host/bin/external/bazel_tools -isystem external/flatbuffers/grpc -isystem bazel-out/host/genfiles/external/flatbuffers/grpc -isystem bazel-out/host/bin/external/flatbuffers/grpc -isystem external/flatbuffers/include -isystem bazel-out/host/genfiles/external/flatbuffers/include -isystem bazel-out/host/bin/external/flatbuffers/include -g0 -g0 -Wno-implicit-fallthrough -fexceptions -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -c external/flatbuffers/src/idl_gen_grpc.cpp -o bazel-out/host/bin/external/flatbuffers/_objs/flatc/idl_gen_grpc.o)
external/flatbuffers/src/idl_gen_grpc.cpp:57:21: error: no member named 'doc_comment' in 'flatbuffers::RPCCall'; did you mean 'rpc_comment'?
    return method_-&gt;doc_comment;
                    ^~~~~~~~~~~
                    rpc_comment
/usr/local/include/flatbuffers/idl.h:349:28: note: 'rpc_comment' declared here
  std::vector&lt;std::string&gt; rpc_comment;
                           ^
external/flatbuffers/src/idl_gen_grpc.cpp:174:9: error: use of undeclared identifier 'FLATBUFFERS_ASSERT'
        FLATBUFFERS_ASSERT(indent_ &gt;= 0);
        ^
2 errors generated.
Target //tensorflow/python/tools:saved_model_cli failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 166.831s, Critical Path: 93.66s
INFO: 379 processes: 378 darwin-sandbox, 1 local.
FAILED: Build did NOT complete successfully
</code></pre></div>
<p dir="auto">bazel version:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="bazel version
WARNING: The following rc files are no longer being read, please transfer their contents or import their path into one of the standard rc files:
/Users/geri/Documents/tensorflow/tools/bazel.rc
INFO: Invocation ID: 143fe03e-0926-4e69-9516-0e132c8ed3b5
Build label: 0.20.0
Build target: bazel-out/darwin-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Fri Nov 30 14:38:25 2018 (1543588705)
Build timestamp: 1543588705
Build timestamp as int: 1543588705"><pre class="notranslate"><code class="notranslate">bazel version
WARNING: The following rc files are no longer being read, please transfer their contents or import their path into one of the standard rc files:
/Users/geri/Documents/tensorflow/tools/bazel.rc
INFO: Invocation ID: 143fe03e-0926-4e69-9516-0e132c8ed3b5
Build label: 0.20.0
Build target: bazel-out/darwin-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Fri Nov 30 14:38:25 2018 (1543588705)
Build timestamp: 1543588705
Build timestamp as int: 1543588705
</code></pre></div>
<p dir="auto">osx version:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="10.14.2 (18C54)"><pre class="notranslate"><code class="notranslate">10.14.2 (18C54)
</code></pre></div>
<p dir="auto">Python version:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ python3 --version
Python 3.6.0"><pre class="notranslate"><code class="notranslate">$ python3 --version
Python 3.6.0
</code></pre></div>
<p dir="auto">tensorflow version:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ pip3 install --upgrade tensorflow
Requirement already up-to-date: tensorflow in /Users/geri/.pyenv/versions/3.6.0/lib/python3.6/site-packages (1.12.0)
Requirement already satisfied, skipping upgrade: gast&gt;=0.2.0 in /Users/geri/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from tensorflow) (0.2.0)
Requirement already satisfied, skipping upgrade: six&gt;=1.10.0 in /Users/geri/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from tensorflow) (1.11.0)
Requirement already satisfied, skipping upgrade: astor&gt;=0.6.0 in /Users/geri/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from tensorflow) (0.7.1)
Requirement already satisfied, skipping upgrade: absl-py&gt;=0.1.6 in /Users/geri/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from tensorflow) (0.6.1)
Requirement already satisfied, skipping upgrade: grpcio&gt;=1.8.6 in /Users/geri/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from tensorflow) (1.17.0)
Requirement already satisfied, skipping upgrade: wheel&gt;=0.26 in /Users/geri/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from tensorflow) (0.32.3)
Requirement already satisfied, skipping upgrade: keras-applications&gt;=1.0.6 in /Users/geri/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from tensorflow) (1.0.6)
Requirement already satisfied, skipping upgrade: keras-preprocessing&gt;=1.0.5 in /Users/geri/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from tensorflow) (1.0.5)
Requirement already satisfied, skipping upgrade: protobuf&gt;=3.6.1 in /Users/geri/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from tensorflow) (3.6.1)
Requirement already satisfied, skipping upgrade: numpy&gt;=1.13.3 in /Users/geri/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from tensorflow) (1.14.5)
Requirement already satisfied, skipping upgrade: tensorboard&lt;1.13.0,&gt;=1.12.0 in /Users/geri/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from tensorflow) (1.12.0)
Requirement already satisfied, skipping upgrade: termcolor&gt;=1.1.0 in /Users/geri/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from tensorflow) (1.1.0)
Requirement already satisfied, skipping upgrade: h5py in /Users/geri/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from keras-applications&gt;=1.0.6-&gt;tensorflow) (2.8.0)
Requirement already satisfied, skipping upgrade: setuptools in /Users/geri/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from protobuf&gt;=3.6.1-&gt;tensorflow) (28.8.0)
Requirement already satisfied, skipping upgrade: werkzeug&gt;=0.11.10 in /Users/geri/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from tensorboard&lt;1.13.0,&gt;=1.12.0-&gt;tensorflow) (0.14.1)
Requirement already satisfied, skipping upgrade: markdown&gt;=2.6.8 in /Users/geri/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from tensorboard&lt;1.13.0,&gt;=1.12.0-&gt;tensorflow) (3.0.1)"><pre class="notranslate"><code class="notranslate">$ pip3 install --upgrade tensorflow
Requirement already up-to-date: tensorflow in /Users/geri/.pyenv/versions/3.6.0/lib/python3.6/site-packages (1.12.0)
Requirement already satisfied, skipping upgrade: gast&gt;=0.2.0 in /Users/geri/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from tensorflow) (0.2.0)
Requirement already satisfied, skipping upgrade: six&gt;=1.10.0 in /Users/geri/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from tensorflow) (1.11.0)
Requirement already satisfied, skipping upgrade: astor&gt;=0.6.0 in /Users/geri/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from tensorflow) (0.7.1)
Requirement already satisfied, skipping upgrade: absl-py&gt;=0.1.6 in /Users/geri/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from tensorflow) (0.6.1)
Requirement already satisfied, skipping upgrade: grpcio&gt;=1.8.6 in /Users/geri/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from tensorflow) (1.17.0)
Requirement already satisfied, skipping upgrade: wheel&gt;=0.26 in /Users/geri/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from tensorflow) (0.32.3)
Requirement already satisfied, skipping upgrade: keras-applications&gt;=1.0.6 in /Users/geri/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from tensorflow) (1.0.6)
Requirement already satisfied, skipping upgrade: keras-preprocessing&gt;=1.0.5 in /Users/geri/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from tensorflow) (1.0.5)
Requirement already satisfied, skipping upgrade: protobuf&gt;=3.6.1 in /Users/geri/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from tensorflow) (3.6.1)
Requirement already satisfied, skipping upgrade: numpy&gt;=1.13.3 in /Users/geri/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from tensorflow) (1.14.5)
Requirement already satisfied, skipping upgrade: tensorboard&lt;1.13.0,&gt;=1.12.0 in /Users/geri/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from tensorflow) (1.12.0)
Requirement already satisfied, skipping upgrade: termcolor&gt;=1.1.0 in /Users/geri/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from tensorflow) (1.1.0)
Requirement already satisfied, skipping upgrade: h5py in /Users/geri/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from keras-applications&gt;=1.0.6-&gt;tensorflow) (2.8.0)
Requirement already satisfied, skipping upgrade: setuptools in /Users/geri/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from protobuf&gt;=3.6.1-&gt;tensorflow) (28.8.0)
Requirement already satisfied, skipping upgrade: werkzeug&gt;=0.11.10 in /Users/geri/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from tensorboard&lt;1.13.0,&gt;=1.12.0-&gt;tensorflow) (0.14.1)
Requirement already satisfied, skipping upgrade: markdown&gt;=2.6.8 in /Users/geri/.pyenv/versions/3.6.0/lib/python3.6/site-packages (from tensorboard&lt;1.13.0,&gt;=1.12.0-&gt;tensorflow) (3.0.1)
</code></pre></div>
<p dir="auto">gcc version:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1
Apple LLVM version 10.0.0 (clang-1000.10.44.4)
Target: x86_64-apple-darwin18.2.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin"><pre class="notranslate"><code class="notranslate">$ gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1
Apple LLVM version 10.0.0 (clang-1000.10.44.4)
Target: x86_64-apple-darwin18.2.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
</code></pre></div>
<p dir="auto">g++ version:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="MM-MAC-3270:tensorflow gstanje$ g++ --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1
Apple LLVM version 10.0.0 (clang-1000.10.44.4)
Target: x86_64-apple-darwin18.2.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin"><pre class="notranslate"><code class="notranslate">MM-MAC-3270:tensorflow gstanje$ g++ --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1
Apple LLVM version 10.0.0 (clang-1000.10.44.4)
Target: x86_64-apple-darwin18.2.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
</code></pre></div>
<h3 dir="auto">System information</h3>
<ul dir="auto">
<li><strong>OS Platform and Distribution</strong>: Ubuntu 16.04</li>
<li><strong>TensorFlow installed from</strong>: binary</li>
<li><strong>TensorFlow version</strong>: 1.4</li>
<li><strong>Python version</strong>: 2.7.12</li>
<li><strong>CUDA/cuDNN version</strong>: 8.0 / 6.0</li>
<li><strong>GPU model and memory</strong>: GTX 1060</li>
<li><strong>GPU driver version</strong>: 387.12</li>
<li><strong>Exact command to reproduce</strong>:<br>
<code class="notranslate">import tensorflow as tf</code></li>
</ul>
<h3 dir="auto">Problem</h3>
<p dir="auto">It looks for the wrong version of libnvidia-fatbinaryloader.so.xxx.xx.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last):
  File &quot;/home/stefano/PycharmProjects/lstm/robot_LSTM.py&quot;, line 2, in &lt;module&gt;
    from keras.models import Sequential
  File &quot;/home/stefano/PycharmProjects/lstm/env/local/lib/python2.7/site-packages/keras/__init__.py&quot;, line 3, in &lt;module&gt;
    from . import utils
  File &quot;/home/stefano/PycharmProjects/lstm/env/local/lib/python2.7/site-packages/keras/utils/__init__.py&quot;, line 6, in &lt;module&gt;
    from . import conv_utils
  File &quot;/home/stefano/PycharmProjects/lstm/env/local/lib/python2.7/site-packages/keras/utils/conv_utils.py&quot;, line 3, in &lt;module&gt;
    from .. import backend as K
  File &quot;/home/stefano/PycharmProjects/lstm/env/local/lib/python2.7/site-packages/keras/backend/__init__.py&quot;, line 83, in &lt;module&gt;
    from .tensorflow_backend import *
  File &quot;/home/stefano/PycharmProjects/lstm/env/local/lib/python2.7/site-packages/keras/backend/tensorflow_backend.py&quot;, line 1, in &lt;module&gt;
    import tensorflow as tf
  File &quot;/home/stefano/PycharmProjects/lstm/env/local/lib/python2.7/site-packages/tensorflow/__init__.py&quot;, line 24, in &lt;module&gt;
    from tensorflow.python import *
  File &quot;/home/stefano/PycharmProjects/lstm/env/local/lib/python2.7/site-packages/tensorflow/python/__init__.py&quot;, line 49, in &lt;module&gt;
    from tensorflow.python import pywrap_tensorflow
  File &quot;/home/stefano/PycharmProjects/lstm/env/local/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py&quot;, line 72, in &lt;module&gt;
    raise ImportError(msg)
ImportError: Traceback (most recent call last):
  File &quot;/home/stefano/PycharmProjects/lstm/env/local/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py&quot;, line 58, in &lt;module&gt;
    from tensorflow.python.pywrap_tensorflow_internal import *
  File &quot;/home/stefano/PycharmProjects/lstm/env/local/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow_internal.py&quot;, line 28, in &lt;module&gt;
    _pywrap_tensorflow_internal = swig_import_helper()
  File &quot;/home/stefano/PycharmProjects/lstm/env/local/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow_internal.py&quot;, line 24, in swig_import_helper
    _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
ImportError: libnvidia-fatbinaryloader.so.384.90: cannot open shared object file: No such file or directory"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last):
  File "/home/stefano/PycharmProjects/lstm/robot_LSTM.py", line 2, in &lt;module&gt;
    from keras.models import Sequential
  File "/home/stefano/PycharmProjects/lstm/env/local/lib/python2.7/site-packages/keras/__init__.py", line 3, in &lt;module&gt;
    from . import utils
  File "/home/stefano/PycharmProjects/lstm/env/local/lib/python2.7/site-packages/keras/utils/__init__.py", line 6, in &lt;module&gt;
    from . import conv_utils
  File "/home/stefano/PycharmProjects/lstm/env/local/lib/python2.7/site-packages/keras/utils/conv_utils.py", line 3, in &lt;module&gt;
    from .. import backend as K
  File "/home/stefano/PycharmProjects/lstm/env/local/lib/python2.7/site-packages/keras/backend/__init__.py", line 83, in &lt;module&gt;
    from .tensorflow_backend import *
  File "/home/stefano/PycharmProjects/lstm/env/local/lib/python2.7/site-packages/keras/backend/tensorflow_backend.py", line 1, in &lt;module&gt;
    import tensorflow as tf
  File "/home/stefano/PycharmProjects/lstm/env/local/lib/python2.7/site-packages/tensorflow/__init__.py", line 24, in &lt;module&gt;
    from tensorflow.python import *
  File "/home/stefano/PycharmProjects/lstm/env/local/lib/python2.7/site-packages/tensorflow/python/__init__.py", line 49, in &lt;module&gt;
    from tensorflow.python import pywrap_tensorflow
  File "/home/stefano/PycharmProjects/lstm/env/local/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 72, in &lt;module&gt;
    raise ImportError(msg)
ImportError: Traceback (most recent call last):
  File "/home/stefano/PycharmProjects/lstm/env/local/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in &lt;module&gt;
    from tensorflow.python.pywrap_tensorflow_internal import *
  File "/home/stefano/PycharmProjects/lstm/env/local/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in &lt;module&gt;
    _pywrap_tensorflow_internal = swig_import_helper()
  File "/home/stefano/PycharmProjects/lstm/env/local/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
    _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
ImportError: libnvidia-fatbinaryloader.so.384.90: cannot open shared object file: No such file or directory
</code></pre></div>