addons
addons copied to clipboard
Bazel fails to build tf_addons wheel
System information
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 18.04.5 LTS
- TensorFlow version and how it was installed (source or binary): tf-nightly 2.10.0.dev20220427, binary
- TensorFlow-Addons version and how it was installed (source or binary): pull/2362/head:clahe, source
- Python version: 3.7.13
- Is GPU used? (yes/no): no
Describe the bug I am trying to benchmark CLAHE PR #2362 with CLAHE PR on Keras-CV and with other implementations. The problem in on Google Colab environment the installation instruction to build from source does not build the wheel file.
Code to reproduce the issue Check this Colab link
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
Other info / logs On running:
bazel build build_pip_pkg
bazel-bin/build_pip_pkg artifacts
Log of bazel build failure
/tools/node/bin/bazelisk -> /tools/node/lib/node_modules/@bazel/bazelisk/bazelisk.js
/tools/node/bin/bazel -> /tools/node/lib/node_modules/@bazel/bazelisk/bazelisk.js
+ @bazel/[email protected]
added 1 package in 3.606s
=== destination directory: /content/addons/artifacts
Sun May 15 08:52:28 UTC 2022 : === Using tmpdir: /tmp/tmp.nZmMKrpYDq
=== Copy TensorFlow Addons files
tensorflow_addons/
tensorflow_addons/__init__.py
tensorflow_addons/conftest.py
tensorflow_addons/options.py
tensorflow_addons/register.py
tensorflow_addons/version.py
tensorflow_addons/activations/
tensorflow_addons/activations/__init__.py
tensorflow_addons/activations/gelu.py
tensorflow_addons/activations/hardshrink.py
tensorflow_addons/activations/lisht.py
tensorflow_addons/activations/mish.py
tensorflow_addons/activations/rrelu.py
tensorflow_addons/activations/snake.py
tensorflow_addons/activations/softshrink.py
tensorflow_addons/activations/sparsemax.py
tensorflow_addons/activations/tanhshrink.py
tensorflow_addons/callbacks/
tensorflow_addons/callbacks/__init__.py
tensorflow_addons/callbacks/average_model_checkpoint.py
tensorflow_addons/callbacks/time_stopping.py
tensorflow_addons/callbacks/tqdm_progress_bar.py
tensorflow_addons/image/
tensorflow_addons/image/__init__.py
tensorflow_addons/image/color_ops.py
tensorflow_addons/image/compose_ops.py
tensorflow_addons/image/connected_components.py
tensorflow_addons/image/cutout_ops.py
tensorflow_addons/image/dense_image_warp.py
tensorflow_addons/image/distance_transform.py
tensorflow_addons/image/distort_image_ops.py
tensorflow_addons/image/filters.py
tensorflow_addons/image/interpolate_spline.py
tensorflow_addons/image/resampler_ops.py
tensorflow_addons/image/sparse_image_warp.py
tensorflow_addons/image/transform_ops.py
tensorflow_addons/image/translate_ops.py
tensorflow_addons/image/utils.py
tensorflow_addons/image/tests/
tensorflow_addons/image/tests/test_data/
tensorflow_addons/image/tests/test_data/Yellow_Smiley_Face.png
tensorflow_addons/image/tests/test_data/Yellow_Smiley_Face_Warp-interp-1-clamp-0.png
tensorflow_addons/image/tests/test_data/Yellow_Smiley_Face_Warp-interp-1-clamp-1.png
tensorflow_addons/image/tests/test_data/Yellow_Smiley_Face_Warp-interp-1-clamp-4.png
tensorflow_addons/image/tests/test_data/Yellow_Smiley_Face_Warp-interp-2-clamp-0.png
tensorflow_addons/image/tests/test_data/Yellow_Smiley_Face_Warp-interp-2-clamp-1.png
tensorflow_addons/image/tests/test_data/Yellow_Smiley_Face_Warp-interp-2-clamp-4.png
tensorflow_addons/image/tests/test_data/Yellow_Smiley_Face_Warp-interp-3-clamp-0.png
tensorflow_addons/image/tests/test_data/Yellow_Smiley_Face_Warp-interp-3-clamp-1.png
tensorflow_addons/image/tests/test_data/Yellow_Smiley_Face_Warp-interp-3-clamp-4.png
tensorflow_addons/layers/
tensorflow_addons/layers/__init__.py
tensorflow_addons/layers/adaptive_pooling.py
tensorflow_addons/layers/crf.py
tensorflow_addons/layers/esn.py
tensorflow_addons/layers/gelu.py
tensorflow_addons/layers/max_unpooling_2d.py
tensorflow_addons/layers/maxout.py
tensorflow_addons/layers/multihead_attention.py
tensorflow_addons/layers/netvlad.py
tensorflow_addons/layers/noisy_dense.py
tensorflow_addons/layers/normalizations.py
tensorflow_addons/layers/optical_flow.py
tensorflow_addons/layers/poincare.py
tensorflow_addons/layers/polynomial.py
tensorflow_addons/layers/snake.py
tensorflow_addons/layers/sparsemax.py
tensorflow_addons/layers/spatial_pyramid_pooling.py
tensorflow_addons/layers/spectral_normalization.py
tensorflow_addons/layers/stochastic_depth.py
tensorflow_addons/layers/tlu.py
tensorflow_addons/layers/wrappers.py
tensorflow_addons/losses/
tensorflow_addons/losses/__init__.py
tensorflow_addons/losses/contrastive.py
tensorflow_addons/losses/focal_loss.py
tensorflow_addons/losses/giou_loss.py
tensorflow_addons/losses/kappa_loss.py
tensorflow_addons/losses/lifted.py
tensorflow_addons/losses/metric_learning.py
tensorflow_addons/losses/npairs.py
tensorflow_addons/losses/quantiles.py
tensorflow_addons/losses/sparsemax_loss.py
tensorflow_addons/losses/triplet.py
tensorflow_addons/metrics/
tensorflow_addons/metrics/__init__.py
tensorflow_addons/metrics/cohens_kappa.py
tensorflow_addons/metrics/f_scores.py
tensorflow_addons/metrics/geometric_mean.py
tensorflow_addons/metrics/hamming.py
tensorflow_addons/metrics/harmonic_mean.py
tensorflow_addons/metrics/matthews_correlation_coefficient.py
tensorflow_addons/metrics/multilabel_confusion_matrix.py
tensorflow_addons/metrics/r_square.py
tensorflow_addons/metrics/utils.py
tensorflow_addons/optimizers/
tensorflow_addons/optimizers/__init__.py
tensorflow_addons/optimizers/average_wrapper.py
tensorflow_addons/optimizers/conditional_gradient.py
tensorflow_addons/optimizers/cyclical_learning_rate.py
tensorflow_addons/optimizers/discriminative_layer_training.py
tensorflow_addons/optimizers/lamb.py
tensorflow_addons/optimizers/lazy_adam.py
tensorflow_addons/optimizers/lookahead.py
tensorflow_addons/optimizers/moving_average.py
tensorflow_addons/optimizers/novograd.py
tensorflow_addons/optimizers/proximal_adagrad.py
tensorflow_addons/optimizers/rectified_adam.py
tensorflow_addons/optimizers/stochastic_weight_averaging.py
tensorflow_addons/optimizers/utils.py
tensorflow_addons/optimizers/weight_decay_optimizers.py
tensorflow_addons/optimizers/yogi.py
tensorflow_addons/rnn/
tensorflow_addons/rnn/__init__.py
tensorflow_addons/rnn/esn_cell.py
tensorflow_addons/rnn/layer_norm_lstm_cell.py
tensorflow_addons/rnn/layer_norm_simple_rnn_cell.py
tensorflow_addons/rnn/nas_cell.py
tensorflow_addons/rnn/peephole_lstm_cell.py
tensorflow_addons/seq2seq/
tensorflow_addons/seq2seq/__init__.py
tensorflow_addons/seq2seq/attention_wrapper.py
tensorflow_addons/seq2seq/basic_decoder.py
tensorflow_addons/seq2seq/beam_search_decoder.py
tensorflow_addons/seq2seq/decoder.py
tensorflow_addons/seq2seq/loss.py
tensorflow_addons/seq2seq/sampler.py
tensorflow_addons/testing/
tensorflow_addons/testing/__init__.py
tensorflow_addons/testing/serialization.py
tensorflow_addons/text/
tensorflow_addons/text/__init__.py
tensorflow_addons/text/crf.py
tensorflow_addons/text/parse_time_op.py
tensorflow_addons/text/skip_gram_ops.py
tensorflow_addons/utils/
tensorflow_addons/utils/__init__.py
tensorflow_addons/utils/ensure_tf_install.py
tensorflow_addons/utils/keras_utils.py
tensorflow_addons/utils/resource_loader.py
tensorflow_addons/utils/test_utils.py
tensorflow_addons/utils/types.py
sent 1,103,553 bytes received 2,474 bytes 2,212,054.00 bytes/sec
total size is 1,093,800 speedup is 0.99
2022/05/15 08:51:59 Downloading https://releases.bazel.build/3.7.2/release/bazel-3.7.2-linux-x86_64...
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
WARNING: ignoring LD_PRELOAD in environment.
Loading:
Loading: 0 packages loaded
Analyzing: target //:build_pip_pkg (1 packages loaded)
Analyzing: target //:build_pip_pkg (1 packages loaded, 0 targets configured)
Analyzing: target //:build_pip_pkg (20 packages loaded, 29 targets configured)
Analyzing: target //:build_pip_pkg (21 packages loaded, 32 targets configured)
Analyzing: target //:build_pip_pkg (26 packages loaded, 37 targets configured)
Analyzing: target //:build_pip_pkg (30 packages loaded, 77 targets configured)
WARNING: /root/.cache/bazel/_bazel_root/2a6d1c349a00325998f9a54f0df57e14/external/local_config_tf/BUILD:13419:8: target 'libtensorflow_framework.so.2' is both a rule and a file; please choose another name for the rule
Analyzing: target //:build_pip_pkg (34 packages loaded, 185 targets configured)
INFO: Analyzed target //:build_pip_pkg (38 packages loaded, 260 targets configured).
INFO: Found 1 target...
[0 / 11] [Prepa] BazelWorkspaceStatusAction stable-status.txt
[14 / 38] Executing genrule @local_config_tf//:tf_header_include; 0s local
[15 / 38] [Scann] Compiling tensorflow_addons/custom_ops/seq2seq/cc/ops/beam_search_ops.cc
[15 / 38] Compiling tensorflow_addons/custom_ops/seq2seq/cc/ops/beam_search_ops.cc; 3s local ... (2 actions running)
ERROR: /content/addons/tensorflow_addons/custom_ops/image/BUILD:7:18: C++ compilation of rule '//tensorflow_addons/custom_ops/image:_distort_image_ops.so' failed (Exit 1): gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections ... (remaining 37 argument(s) skipped)
In file included from bazel-out/k8-opt/bin/external/local_config_tf/include/unsupported/Eigen/CXX11/../../../Eigen/Core:19:0,
from bazel-out/k8-opt/bin/external/local_config_tf/include/unsupported/Eigen/CXX11/Tensor:14,
from bazel-out/k8-opt/bin/external/local_config_tf/include/third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/tensor_shape.h:21,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/partial_tensor_shape.h:20,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/attr_value_util.h:23,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/node_def_util.h:23,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/shape_inference.h:22,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/common_shape_fns.h:20,
from tensorflow_addons/custom_ops/image/cc/ops/distort_image_ops.cc:16:
bazel-out/k8-opt/bin/external/local_config_tf/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/Macros.h:674:2: error: #error This compiler appears to be too old to be supported by Eigen
#error This compiler appears to be too old to be supported by Eigen
^~~~~
In file included from bazel-out/k8-opt/bin/external/local_config_tf/include/unsupported/Eigen/CXX11/../../../Eigen/Core:160:0,
from bazel-out/k8-opt/bin/external/local_config_tf/include/unsupported/Eigen/CXX11/Tensor:14,
from bazel-out/k8-opt/bin/external/local_config_tf/include/third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/tensor_shape.h:21,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/partial_tensor_shape.h:20,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/attr_value_util.h:23,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/node_def_util.h:23,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/shape_inference.h:22,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/common_shape_fns.h:20,
from tensorflow_addons/custom_ops/image/cc/ops/distort_image_ops.cc:16:
bazel-out/k8-opt/bin/external/local_config_tf/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/Meta.h:228:48: error: 'index_list_size' function uses 'auto' type specifier without trailing return type
EIGEN_CONSTEXPR auto index_list_size(const T& x) {
^
bazel-out/k8-opt/bin/external/local_config_tf/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/Meta.h:228:48: note: deduced return type only available with -std=c++14 or -std=gnu++14
bazel-out/k8-opt/bin/external/local_config_tf/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/Meta.h: In function 'constexpr auto Eigen::internal::index_list_size(const T&)':
bazel-out/k8-opt/bin/external/local_config_tf/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/Meta.h:229:18: error: 'common_type_t' in namespace 'std' does not name a template type
using R = std::common_type_t<std::ptrdiff_t, std::make_signed_t<decltype(x.size())>>;
^~~~~~~~~~~~~
bazel-out/k8-opt/bin/external/local_config_tf/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/Meta.h:230:22: error: 'R' does not name a type
return static_cast<R>(x.size());
^
bazel-out/k8-opt/bin/external/local_config_tf/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/Meta.h: At global scope:
bazel-out/k8-opt/bin/external/local_config_tf/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/Meta.h:282:38: error: 'integer_sequence' is not a member of 'std'
using reduce_all = std::is_same<std::integer_sequence<bool, values..., true>,
^~~~~~~~~~~~~~~~
bazel-out/k8-opt/bin/external/local_config_tf/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/Meta.h:282:38: error: 'integer_sequence' is not a member of 'std'
bazel-out/k8-opt/bin/external/local_config_tf/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/Meta.h:282:76: error: wrong number of template arguments (1, should be 2)
using reduce_all = std::is_same<std::integer_sequence<bool, values..., true>,
^
In file included from /usr/include/c++/7/bits/move.h:54:0,
from /usr/include/c++/7/bits/stl_pair.h:59,
from /usr/include/c++/7/utility:70,
from /usr/include/c++/7/array:38,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/common_shape_fns.h:18,
from tensorflow_addons/custom_ops/image/cc/ops/distort_image_ops.cc:16:
/usr/include/c++/7/type_traits:994:12: note: provided for 'template<class, class> struct std::is_same'
struct is_same;
^~~~~~~
In file included from bazel-out/k8-opt/bin/external/local_config_tf/include/unsupported/Eigen/CXX11/../../../Eigen/Core:160:0,
from bazel-out/k8-opt/bin/external/local_config_tf/include/unsupported/Eigen/CXX11/Tensor:14,
from bazel-out/k8-opt/bin/external/local_config_tf/include/third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/tensor_shape.h:21,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/partial_tensor_shape.h:20,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/attr_value_util.h:23,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/node_def_util.h:23,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/shape_inference.h:22,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/common_shape_fns.h:20,
from tensorflow_addons/custom_ops/image/cc/ops/distort_image_ops.cc:16:
bazel-out/k8-opt/bin/external/local_config_tf/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/Meta.h:288:24: error: 'integer_sequence' is not a member of 'std'
!std::is_same<std::integer_sequence<bool, values..., false>, std::integer_sequence<bool, false, values...> >::value>;
^~~~~~~~~~~~~~~~
bazel-out/k8-opt/bin/external/local_config_tf/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/Meta.h:288:24: error: 'integer_sequence' is not a member of 'std'
bazel-out/k8-opt/bin/external/local_config_tf/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/Meta.h:288:63: error: wrong number of template arguments (1, should be 2)
!std::is_same<std::integer_sequence<bool, values..., false>, std::integer_sequence<bool, false, values...> >::value>;
^
In file included from /usr/include/c++/7/bits/move.h:54:0,
from /usr/include/c++/7/bits/stl_pair.h:59,
from /usr/include/c++/7/utility:70,
from /usr/include/c++/7/array:38,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/common_shape_fns.h:18,
from tensorflow_addons/custom_ops/image/cc/ops/distort_image_ops.cc:16:
/usr/include/c++/7/type_traits:994:12: note: provided for 'template<class, class> struct std::is_same'
struct is_same;
^~~~~~~
In file included from bazel-out/k8-opt/bin/external/local_config_tf/include/unsupported/Eigen/CXX11/../../../Eigen/Core:160:0,
from bazel-out/k8-opt/bin/external/local_config_tf/include/unsupported/Eigen/CXX11/Tensor:14,
from bazel-out/k8-opt/bin/external/local_config_tf/include/third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/tensor_shape.h:21,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/partial_tensor_shape.h:20,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/attr_value_util.h:23,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/node_def_util.h:23,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/shape_inference.h:22,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/common_shape_fns.h:20,
from tensorflow_addons/custom_ops/image/cc/ops/distort_image_ops.cc:16:
bazel-out/k8-opt/bin/external/local_config_tf/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/Meta.h:288:71: error: 'integer_sequence' is not a member of 'std'
!std::is_same<std::integer_sequence<bool, values..., false>, std::integer_sequence<bool, false, values...> >::value>;
^~~~~~~~~~~~~~~~
bazel-out/k8-opt/bin/external/local_config_tf/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/Meta.h:288:71: error: 'integer_sequence' is not a member of 'std'
bazel-out/k8-opt/bin/external/local_config_tf/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/Meta.h:288:110: error: wrong number of template arguments (3, should be 2)
!std::is_same<std::integer_sequence<bool, values..., false>, std::integer_sequence<bool, false, values...> >::value>;
^
In file included from /usr/include/c++/7/bits/move.h:54:0,
from /usr/include/c++/7/bits/stl_pair.h:59,
from /usr/include/c++/7/utility:70,
from /usr/include/c++/7/array:38,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/common_shape_fns.h:18,
from tensorflow_addons/custom_ops/image/cc/ops/distort_image_ops.cc:16:
/usr/include/c++/7/type_traits:69:12: note: provided for 'template<class _Tp, _Tp __v> struct std::integral_constant'
struct integral_constant
^~~~~~~~~~~~~~~~~
In file included from bazel-out/k8-opt/bin/external/local_config_tf/include/unsupported/Eigen/CXX11/../../../Eigen/Core:165:0,
from bazel-out/k8-opt/bin/external/local_config_tf/include/unsupported/Eigen/CXX11/Tensor:14,
from bazel-out/k8-opt/bin/external/local_config_tf/include/third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/tensor_shape.h:21,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/partial_tensor_shape.h:20,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/attr_value_util.h:23,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/node_def_util.h:23,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/shape_inference.h:22,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/common_shape_fns.h:20,
from tensorflow_addons/custom_ops/image/cc/ops/distort_image_ops.cc:16:
bazel-out/k8-opt/bin/external/local_config_tf/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/IntegralConstant.h: In constructor 'Eigen::internal::FixedInt<N>::FixedInt(Eigen::internal::VariableAndFixedInt<N>)':
bazel-out/k8-opt/bin/external/local_config_tf/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/IntegralConstant.h:69:3: error: constexpr constructor does not have empty body
}
^
In file included from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/tensor.h:25:0,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/attr_value_util.h:24,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/node_def_util.h:23,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/shape_inference.h:22,
from bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/common_shape_fns.h:20,
from tensorflow_addons/custom_ops/image/cc/ops/distort_image_ops.cc:16:
bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/tensor_types.h: In member function 'void tensorflow::internal::MaybeWith32BitIndexingImpl<Eigen::GpuDevice>::operator()(Func, Args&& ...) const':
bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/tensor_types.h:176:25: error: use of 'auto' in lambda parameter declaration only available with -std=c++14 or -std=gnu++14
auto all = [](const auto&... bool_vals) {
^~~~
bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/tensor_types.h:176:34: error: expansion pattern 'const int&' contains no argument packs
auto all = [](const auto&... bool_vals) {
^~~~~~~~~
bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/tensor_types.h: In lambda function:
bazel-out/k8-opt/bin/external/local_config_tf/include/tensorflow/core/framework/tensor_types.h:177:22: error: 'bool_vals' was not declared in this scope
for (bool b : {bool_vals...}) {
^~~~~~~~~
Target //:build_pip_pkg failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 27.440s, Critical Path: 12.36s
INFO: 17 processes: 15 internal, 2 local.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
++ uname -s
++ tr A-Z a-z
+ PLATFORM=linux
+ is_windows
+ [[ linux =~ msys_nt*|mingw*|cygwin*|uwin* ]]
+ PIP_FILE_PREFIX=bazel-bin/build_pip_pkg.runfiles/__main__/
+ main artifacts
+ DEST=artifacts
+ NIGHTLY_FLAG=
+ [[ -z artifacts ]]
+ mkdir -p artifacts
++ abspath artifacts
+++ dirname artifacts
++ cd .
+++ basename artifacts
++ echo /content/addons/artifacts
++ cd /content/addons
+ DEST=/content/addons/artifacts
+ echo '=== destination directory: /content/addons/artifacts'
++ mktemp -d -t tmp.XXXXXXXXXX
+ TMPDIR=/tmp/tmp.nZmMKrpYDq
++ date
+ echo Sun May 15 08:52:28 UTC 2022 : '=== Using tmpdir: /tmp/tmp.nZmMKrpYDq'
+ echo '=== Copy TensorFlow Addons files'
+ cp bazel-bin/build_pip_pkg.runfiles/__main__/setup.py /tmp/tmp.nZmMKrpYDq
+ cp bazel-bin/build_pip_pkg.runfiles/__main__/MANIFEST.in /tmp/tmp.nZmMKrpYDq
+ cp bazel-bin/build_pip_pkg.runfiles/__main__/LICENSE /tmp/tmp.nZmMKrpYDq
+ cp bazel-bin/build_pip_pkg.runfiles/__main__/requirements.txt /tmp/tmp.nZmMKrpYDq
+ touch /tmp/tmp.nZmMKrpYDq/stub.cc
+ is_windows
+ [[ linux =~ msys_nt*|mingw*|cygwin*|uwin* ]]
+ rsync -avm -L '--exclude=*_test.py' bazel-bin/build_pip_pkg.runfiles/__main__/tensorflow_addons /tmp/tmp.nZmMKrpYDq
symlink has no referent: "/content/addons/bazel-bin/build_pip_pkg.runfiles/__main__/tensorflow_addons/custom_ops/image/_distort_image_ops.so"
symlink has no referent: "/content/addons/bazel-bin/build_pip_pkg.runfiles/__main__/tensorflow_addons/custom_ops/image/_resampler_ops.so"
symlink has no referent: "/content/addons/bazel-bin/build_pip_pkg.runfiles/__main__/tensorflow_addons/custom_ops/image/_image_ops.so"
symlink has no referent: "/content/addons/bazel-bin/build_pip_pkg.runfiles/__main__/tensorflow_addons/custom_ops/text/_parse_time_op.so"
symlink has no referent: "/content/addons/bazel-bin/build_pip_pkg.runfiles/__main__/tensorflow_addons/custom_ops/text/_skip_gram_ops.so"
symlink has no referent: "/content/addons/bazel-bin/build_pip_pkg.runfiles/__main__/tensorflow_addons/custom_ops/layers/_correlation_cost_ops.so"
symlink has no referent: "/content/addons/bazel-bin/build_pip_pkg.runfiles/__main__/tensorflow_addons/custom_ops/seq2seq/_beam_search_ops.so"
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1196) [sender=3.1.2]