Build 2.11.1 from source in arm , Error in repository_rule: in call to repository_rule(), parameter 'remotable' is experimental and thus unavailable with the current flags
Hi @nickkchenn ,

Could you please confirm the command used for build. I am getting the error below because of the {{ extra_options }}. Is it related to the the java environment? If I exclude {{ extra_options }} this then build starts compiling.

For me the command `bazel --host_jvm_args=-Djavax.net.ssl.trustStore='/usr/local/java/jre/lib/security/cacerts'  --host_jvm_args=-Djavax.net.ssl.trustStorePassword='changeit' build --jobs=16  --copt="-mtune=generic" --copt="-march=armv8-a" --copt="-O3"  //tensorflow/tools/pip_package:build_pip_package --verbose_failures` seems working. 

I see from your log the build failed within 76.7 seconds. For me the compiling happened more than 1 hour and then my VM got disconnected and hence can't share the logs.Will try again and share the complete logs.

If you can confirm the argument `{{ extra_options }} ` seems stopping me from build and getting build fail error immediately as below.

```
(tf-bazel) suryanarayanay@ubuntu22-arm:~/tensorflow$ bazel --host_jvm_args=-Djavax.net.ssl.trustStore='/usr/local/java/jre/lib/security/cacerts'  --host_jvm_args=-Djavax.net.ssl.trustStorePassword='changeit'  build --jobs=16 {{ extra_options }} --copt="-mtune=generic" --copt="-march=armv8-a" --copt="-O3"  //tensorflow/tools/pip_package:build_pip_package --verbose_failures
Another command (pid=1450) is running. Waiting for it to complete on the server (server_pid=1454)...
INFO: Options provided by the client:
  Inherited 'common' options: --isatty=1 --terminal_columns=91
INFO: Reading rc options for 'build' from /home/suryanarayanay/tensorflow/.bazelrc:
  Inherited 'common' options: --experimental_repo_remote_exec
INFO: Reading rc options for 'build' from /home/suryanarayanay/tensorflow/.bazelrc:
  'build' options: --define framework_shared_object=true --define tsl_protobuf_header_only=true --define=use_fast_cpp_protos=true --define=allow_oversize_protos=true --spawn_strategy=standalone -c opt --announce_rc --define=grpc_no_ares=true --noincompatible_remove_legacy_whole_archive --enable_platform_specific_config --define=with_xla_support=true --config=short_logs --config=v2 --define=no_aws_support=true --define=no_hdfs_support=true --experimental_cc_shared_library --experimental_link_static_libraries_once=false --deleted_packages=tensorflow/compiler/mlir/tfrt,tensorflow/compiler/mlir/tfrt/benchmarks,tensorflow/compiler/mlir/tfrt/jit/python_binding,tensorflow/compiler/mlir/tfrt/jit/transforms,tensorflow/compiler/mlir/tfrt/python_tests,tensorflow/compiler/mlir/tfrt/tests,tensorflow/compiler/mlir/tfrt/tests/ir,tensorflow/compiler/mlir/tfrt/tests/analysis,tensorflow/compiler/mlir/tfrt/tests/jit,tensorflow/compiler/mlir/tfrt/tests/lhlo_to_tfrt,tensorflow/compiler/mlir/tfrt/tests/lhlo_to_jitrt,tensorflow/compiler/mlir/tfrt/tests/tf_to_corert,tensorflow/compiler/mlir/tfrt/tests/tf_to_tfrt_data,tensorflow/compiler/mlir/tfrt/tests/saved_model,tensorflow/compiler/mlir/tfrt/transforms/lhlo_gpu_to_tfrt_gpu,tensorflow/core/runtime_fallback,tensorflow/core/runtime_fallback/conversion,tensorflow/core/runtime_fallback/kernel,tensorflow/core/runtime_fallback/opdefs,tensorflow/core/runtime_fallback/runtime,tensorflow/core/runtime_fallback/util,tensorflow/core/tfrt/common,tensorflow/core/tfrt/eager,tensorflow/core/tfrt/eager/backends/cpu,tensorflow/core/tfrt/eager/backends/gpu,tensorflow/core/tfrt/eager/core_runtime,tensorflow/core/tfrt/eager/cpp_tests/core_runtime,tensorflow/core/tfrt/gpu,tensorflow/core/tfrt/run_handler_thread_pool,tensorflow/core/tfrt/runtime,tensorflow/core/tfrt/saved_model,tensorflow/core/tfrt/graph_executor,tensorflow/core/tfrt/saved_model/tests,tensorflow/core/tfrt/tpu,tensorflow/core/tfrt/utils
INFO: Found applicable config definition build:short_logs in file /home/suryanarayanay/tensorflow/.bazelrc: --output_filter=DONT_MATCH_ANYTHING
INFO: Found applicable config definition build:v2 in file /home/suryanarayanay/tensorflow/.bazelrc: --define=tf_api_version=2 --action_env=TF2_BEHAVIOR=1
INFO: Found applicable config definition build:linux in file /home/suryanarayanay/tensorflow/.bazelrc: --host_copt=-w --copt=-Wno-all --copt=-Wno-extra --copt=-Wno-deprecated --copt=-Wno-deprecated-declarations --copt=-Wno-ignored-attributes --copt=-Wno-unknown-warning --copt=-Wno-array-parameter --copt=-Wno-stringop-overflow --copt=-Wno-array-bounds --copt=-Wunused-result --copt=-Werror=unused-result --define=PREFIX=/usr --define=LIBDIR=$(PREFIX)/lib --define=INCLUDEDIR=$(PREFIX)/include --define=PROTOBUF_INCLUDE_PATH=$(PREFIX)/include --cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --config=dynamic_kernels --distinct_host_configuration=false --experimental_guard_against_concurrent_changes
INFO: Found applicable config definition build:dynamic_kernels in file /home/suryanarayanay/tensorflow/.bazelrc: --define=dynamic_loaded_kernels=true --copt=-DAUTOLOAD_DYNAMIC_KERNELS
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/4ce3e4da2e21ae4dfcee9366415e55f408c884ec.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
ERROR: Skipping '}}': no such target '//:}}': target '}}' not declared in package '' defined by /home/suryanarayanay/tensorflow/BUILD
ERROR: no such target '//:}}': target '}}' not declared in package '' defined by /home/suryanarayanay/tensorflow/BUILD
INFO: Elapsed time: 1009.651s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
```


 This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you. This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further. Are you satisfied with the resolution of your issue?
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/60099">Yes</a>
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/60099">No</a>
 Attaching the logs below which overrides the error reported and starts compiling.

```
(tf-bazel) suryanarayanay@ubuntu22-arm:~/tensorflow$ bazel --host_jvm_args=-Djavax.net.ssl.trustStore='/usr/local/java/jre/lib/security/cacerts'  --host_jvm_args=-Djavax.net.ssl.trustStorePassword='changeit' build --jobs=16  --copt="-mtune=generic" --copt="-march=armv8-a" --copt="-O3"  //tensorflow/tools/pip_package:build_pip_package --verbose_failures
Starting local Bazel server and connecting to it...
INFO: Options provided by the client:
  Inherited 'common' options: --isatty=1 --terminal_columns=100
INFO: Reading rc options for 'build' from /home/suryanarayanay/tensorflow/.bazelrc:
  Inherited 'common' options: --experimental_repo_remote_exec
INFO: Reading rc options for 'build' from /home/suryanarayanay/tensorflow/.bazelrc:
  'build' options: --define framework_shared_object=true --define tsl_protobuf_header_only=true --define=use_fast_cpp_protos=true --define=allow_oversize_protos=true --spawn_strategy=standalone -c opt --announce_rc --define=grpc_no_ares=true --noincompatible_remove_legacy_whole_archive --enable_platform_specific_config --define=with_xla_support=true --config=short_logs --config=v2 --define=no_aws_support=true --define=no_hdfs_support=true --experimental_cc_shared_library --experimental_link_static_libraries_once=false --deleted_packages=tensorflow/compiler/mlir/tfrt,tensorflow/compiler/mlir/tfrt/benchmarks,tensorflow/compiler/mlir/tfrt/jit/python_binding,tensorflow/compiler/mlir/tfrt/jit/transforms,tensorflow/compiler/mlir/tfrt/python_tests,tensorflow/compiler/mlir/tfrt/tests,tensorflow/compiler/mlir/tfrt/tests/ir,tensorflow/compiler/mlir/tfrt/tests/analysis,tensorflow/compiler/mlir/tfrt/tests/jit,tensorflow/compiler/mlir/tfrt/tests/lhlo_to_tfrt,tensorflow/compiler/mlir/tfrt/tests/lhlo_to_jitrt,tensorflow/compiler/mlir/tfrt/tests/tf_to_corert,tensorflow/compiler/mlir/tfrt/tests/tf_to_tfrt_data,tensorflow/compiler/mlir/tfrt/tests/saved_model,tensorflow/compiler/mlir/tfrt/transforms/lhlo_gpu_to_tfrt_gpu,tensorflow/core/runtime_fallback,tensorflow/core/runtime_fallback/conversion,tensorflow/core/runtime_fallback/kernel,tensorflow/core/runtime_fallback/opdefs,tensorflow/core/runtime_fallback/runtime,tensorflow/core/runtime_fallback/util,tensorflow/core/tfrt/common,tensorflow/core/tfrt/eager,tensorflow/core/tfrt/eager/backends/cpu,tensorflow/core/tfrt/eager/backends/gpu,tensorflow/core/tfrt/eager/core_runtime,tensorflow/core/tfrt/eager/cpp_tests/core_runtime,tensorflow/core/tfrt/gpu,tensorflow/core/tfrt/run_handler_thread_pool,tensorflow/core/tfrt/runtime,tensorflow/core/tfrt/saved_model,tensorflow/core/tfrt/graph_executor,tensorflow/core/tfrt/saved_model/tests,tensorflow/core/tfrt/tpu,tensorflow/core/tfrt/utils
INFO: Found applicable config definition build:short_logs in file /home/suryanarayanay/tensorflow/.bazelrc: --output_filter=DONT_MATCH_ANYTHING
INFO: Found applicable config definition build:v2 in file /home/suryanarayanay/tensorflow/.bazelrc: --define=tf_api_version=2 --action_env=TF2_BEHAVIOR=1
INFO: Found applicable config definition build:linux in file /home/suryanarayanay/tensorflow/.bazelrc: --host_copt=-w --copt=-Wno-all --copt=-Wno-extra --copt=-Wno-deprecated --copt=-Wno-deprecated-declarations --copt=-Wno-ignored-attributes --copt=-Wno-unknown-warning --copt=-Wno-array-parameter --copt=-Wno-stringop-overflow --copt=-Wno-array-bounds --copt=-Wunused-result --copt=-Werror=unused-result --define=PREFIX=/usr --define=LIBDIR=$(PREFIX)/lib --define=INCLUDEDIR=$(PREFIX)/include --define=PROTOBUF_INCLUDE_PATH=$(PREFIX)/include --cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --config=dynamic_kernels --distinct_host_configuration=false --experimental_guard_against_concurrent_changes
INFO: Found applicable config definition build:dynamic_kernels in file /home/suryanarayanay/tensorflow/.bazelrc: --define=dynamic_loaded_kernels=true --copt=-DAUTOLOAD_DYNAMIC_KERNELS
INFO: Analyzed target //tensorflow/tools/pip_package:build_pip_package (542 packages loaded, 30547 targets configured).
INFO: Found 1 target...
INFO: Deleting stale sandbox base /home/suryanarayanay/.cache/bazel/_bazel_suryanarayanay/e93ef42332b258ebf8397106d59e39e3/sandbox
[11,362 / 11,465] 16 actions, 4 running
    Compiling tensorflow/compiler/xla/service/hlo_instruction.cc; 13s local
    Compiling tensorflow/compiler/xla/literal.cc; 12s local
    Compiling tensorflow/core/protobuf/tpu/optimization_parameters.pb.cc; 3s local
    Compiling tensorflow/compiler/xla/comparison_util.cc; 1s local
    [Sched] Compiling tensorflow/compiler/xla/service/hlo_module.cc; 18s
    [Sched] Compiling tensorflow/core/ops/tpu_cross_replica_ops.cc; 16s
```

<details><summary>Click to expand!</summary> 
 
 ### Issue Type

Build/Install

### Have you reproduced the bug with TF nightly?

No

### Source

source

### Tensorflow Version

2.11.1

### Custom Code

No

### OS Platform and Distribution

Linux EulerOS(CentOS)

### Mobile device

_No response_

### Python version

3.9

### Bazel version

5.3.0

### GCC/Compiler version

10.2.1

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current Behaviour?

```shell
I try to build tensorflow 2.11.1 from source in arm machine
My build cmd is like below :

bazel --host_jvm_args=-Djavax.net.ssl.trustStore='/usr/local/java/jre/lib/security/cacerts' \
                  --host_jvm_args=-Djavax.net.ssl.trustStorePassword='changeit'  build --jobs=16 {{ extra_options }} \
                  --copt="-mtune=generic" --copt="-march=armv8-a" --copt="-O3"  \
                 //tensorflow/tools/pip_package:build_pip_package --verbose_failures >> /tmp/workspace/build_tensorflow.log

except the cacerts part,I set 4 build params .

I meet the error 
"Error in repository_rule: in call to repository_rule(), parameter 'remotable' is experimental and thus unavailable with the current flags. It may be enabled by setting --experimental_repo_remote_exec"

I tried:
1. change remotable to False ,result in another error in building
2. add --experimental_repo_remote_exec to build param ,meet new error like :
 Error in check_experimental_cc_shared_library: Pass --experimental_cc_shared_library to use cc_shared_library
```


### Standalone code to reproduce the issue

```shell
I use the build config from the linaro community build pipeline (https://git.linaro.org/ci/job/configs.git)
I pull the configs repo to local machine and adjust a little for network issues

my build cmd:
     
 bazel --host_jvm_args=-Djavax.net.ssl.trustStore='/usr/local/java/jre/lib/security/cacerts' \
                  --host_jvm_args=-Djavax.net.ssl.trustStorePassword='changeit'  build --jobs=16 {{ extra_options }} \
                  --copt="-mtune=generic" --copt="-march=armv8-a" --copt="-O3"  \
                 //tensorflow/tools/pip_package:build_pip_package --verbose_failures >> /tmp/workspace/build_tensorflow.log;
```


### Relevant log output

```shell
stderr: |-
    + source /tmp/workspace/venv-cp39-cp39/bin/activate
    ++ deactivate nondestructive
    ++ '[' -n '' ']'
    ++ '[' -n '' ']'
    ++ '[' -n /bin/bash -o -n '' ']'
    ++ hash -r
    ++ '[' -n '' ']'
    ++ unset VIRTUAL_ENV
    ++ '[' '!' nondestructive = nondestructive ']'
    ++ VIRTUAL_ENV=/tmp/workspace/venv-cp39-cp39
    ++ export VIRTUAL_ENV
    ++ _OLD_VIRTUAL_PATH=/opt/rh/devtoolset-10/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    ++ PATH=/tmp/workspace/venv-cp39-cp39/bin:/opt/rh/devtoolset-10/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    ++ export PATH
    ++ '[' -n '' ']'
    ++ '[' -z '' ']'
    ++ _OLD_VIRTUAL_PS1=
    ++ PS1='(venv-cp39-cp39) '
    ++ export PS1
    ++ '[' -n /bin/bash -o -n '' ']'
    ++ hash -r
    + source ./linklibs.sh
    ++ export BAZEL_LINKLIBS=-lstdc++
    ++ BAZEL_LINKLIBS=-lstdc++
    ++ export BAZEL_LINKOPTS=
    ++ BAZEL_LINKOPTS=
    + bazel --host_jvm_args=-Djavax.net.ssl.trustStore=/usr/local/java/jre/lib/security/cacerts --host_jvm_args=-Djavax.net.ssl.trustStorePassword=changeit clean --expunge
    INFO: Starting clean (this may take a while). Consider using --async if the clean takes more than several minutes.
    + bazel --host_jvm_args=-Djavax.net.ssl.trustStore=/usr/local/java/jre/lib/security/cacerts --host_jvm_args=-Djavax.net.ssl.trustStorePassword=changeit build --jobs=16 --copt=-mtune=generic --copt=-march=armv8-a --copt=-O3 --cxxopt=-std=c++17 //tensorflow/tools/pip_package:build_pip_package --verbose_failures
    Starting local Bazel server and connecting to it...
    Loading:
    Loading: 0 packages loaded
    ERROR: Traceback (most recent call last):
            File "/tmp/workspace/tensorflow-2.11.1/third_party/py/python_configure.bzl", line 288, column 42, in <toplevel>
                    remote_python_configure = repository_rule(
    Error in repository_rule: in call to repository_rule(), parameter 'remotable' is experimental and thus unavailable with the current flags. It may be enabled by setting --experimental_repo_remote_exec
    INFO: Repository tf_runtime instantiated at:
      /tmp/workspace/tensorflow-2.11.1/WORKSPACE:11:14: in <toplevel>
      /tmp/workspace/tensorflow-2.11.1/tensorflow/workspace3.bzl:18:15: in workspace
      /tmp/workspace/tensorflow-2.11.1/third_party/tf_runtime/workspace.bzl:12:20: in repo
      /tmp/workspace/tensorflow-2.11.1/third_party/repo.bzl:136:21: in tf_http_archive
    Repository rule _tf_http_archive defined at:
      /tmp/workspace/tensorflow-2.11.1/third_party/repo.bzl:89:35: in <toplevel>
    INFO: Repository io_bazel_rules_closure instantiated at:
      /tmp/workspace/tensorflow-2.11.1/WORKSPACE:11:14: in <toplevel>
      /tmp/workspace/tensorflow-2.11.1/tensorflow/workspace3.bzl:8:17: in workspace
    Repository rule http_archive defined at:
      /root/.cache/bazel/_bazel_root/6b72de8f0642eb03fd5c3f4db1efede0/external/bazel_tools/tools/build_defs/repo/http.bzl:355:31: in <toplevel>
    INFO: Repository rules_jvm_external instantiated at:
      /tmp/workspace/tensorflow-2.11.1/WORKSPACE:11:14: in <toplevel>
      /tmp/workspace/tensorflow-2.11.1/tensorflow/workspace3.bzl:41:17: in workspace
    Repository rule http_archive defined at:
      /root/.cache/bazel/_bazel_root/6b72de8f0642eb03fd5c3f4db1efede0/external/bazel_tools/tools/build_defs/repo/http.bzl:355:31: in <toplevel>
    ERROR: error loading package '': at /tmp/workspace/tensorflow-2.11.1/tensorflow/workspace2.bzl:10:6: initialization of module 'third_party/py/python_configure.bzl' failed
    INFO: Elapsed time: 4.759s
    INFO: 0 processes.
    FAILED: Build did NOT complete successfully (0 packages loaded)
    FAILED: Build did NOT complete successfully (0 packages loaded)
  stderr_lines: <omitted>
  stdout: ''
  stdout_lines: <omitted>

===============================error after add --experimental_repo_remote_exec=================

  stderr: |-
    + source /tmp/workspace/venv-cp39-cp39/bin/activate
    ++ deactivate nondestructive
    ++ '[' -n '' ']'
    ++ '[' -n '' ']'
    ++ '[' -n /bin/bash -o -n '' ']'
    ++ hash -r
    ++ '[' -n '' ']'
    ++ unset VIRTUAL_ENV
    ++ '[' '!' nondestructive = nondestructive ']'
    ++ VIRTUAL_ENV=/tmp/workspace/venv-cp39-cp39
    ++ export VIRTUAL_ENV
    ++ _OLD_VIRTUAL_PATH=/opt/rh/devtoolset-10/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    ++ PATH=/tmp/workspace/venv-cp39-cp39/bin:/opt/rh/devtoolset-10/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    ++ export PATH
    ++ '[' -n '' ']'
    ++ '[' -z '' ']'
    ++ _OLD_VIRTUAL_PS1=
    ++ PS1='(venv-cp39-cp39) '
    ++ export PS1
    ++ '[' -n /bin/bash -o -n '' ']'
    ++ hash -r
    + source ./linklibs.sh
    ++ export BAZEL_LINKLIBS=-lstdc++
    ++ BAZEL_LINKLIBS=-lstdc++
    ++ export BAZEL_LINKOPTS=
    ++ BAZEL_LINKOPTS=
    + bazel --host_jvm_args=-Djavax.net.ssl.trustStore=/usr/local/java/jre/lib/security/cacerts --host_jvm_args=-Djavax.net.ssl.trustStorePassword=changeit clean --expunge
    INFO: Starting clean (this may take a while). Consider using --async if the clean takes more than several minutes.
    + bazel --host_jvm_args=-Djavax.net.ssl.trustStore=/usr/local/java/jre/lib/security/cacerts --host_jvm_args=-Djavax.net.ssl.trustStorePassword=changeit build --jobs=16 --copt=-mtune=generic --copt=-march=armv8-a --copt=-O3 --experimental_repo_remote_exec //tensorflow/tools/pip_package:build_pip_package --verbose_failures
    Starting local Bazel server and connecting to it...
    Loading:
    Loading: 0 packages loaded
    Loading: 0 packages loaded
    Loading: 0 packages loaded
    Loading: 0 packages loaded
    Loading: 0 packages loaded
    Loading: 0 packages loaded
    Loading: 0 packages loaded
    Analyzing: target //tensorflow/tools/pip_package:build_pip_package (1 packages loaded, 0 targets configured)
    Analyzing: target //tensorflow/tools/pip_package:build_pip_package (239 packages loaded, 3979 targets configured)
    Analyzing: target //tensorflow/tools/pip_package:build_pip_package (282 packages loaded, 4077 targets configured)
    Analyzing: target //tensorflow/tools/pip_package:build_pip_package (355 packages loaded, 4790 targets configured)
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/tsl/lib/gtl/BUILD:97:11: in linkstatic attribute of cc_library rule //tensorflow/tsl/lib/gtl:map_util: setting 'linkstatic=1' is recommended if there are no object files
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:1275:11: in linkstatic attribute of cc_library rule //tensorflow/core:lib_headers_for_pybind: setting 'linkstatic=1' is recommended if there are no object files
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/lib/gtl/BUILD:139:11: in linkstatic attribute of cc_library rule //tensorflow/core/lib/gtl:map_util: setting 'linkstatic=1' is recommended if there are no object files
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:472:11: in hdrs attribute of cc_library rule //tensorflow/core:framework_lite: Artifact 'tensorflow/tsl/platform/bfloat16.h' is duplicated (through '//tensorflow/core/platform:framework_lite_hdrs' and '//tensorflow/tsl/platform:framework_lite_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:472:11: in hdrs attribute of cc_library rule //tensorflow/core:framework_lite: Artifact 'tensorflow/tsl/platform/byte_order.h' is duplicated (through '//tensorflow/core/platform:framework_lite_hdrs' and '//tensorflow/tsl/platform:framework_lite_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:472:11: in hdrs attribute of cc_library rule //tensorflow/core:framework_lite: Artifact 'tensorflow/tsl/platform/cpu_info.h' is duplicated (through '//tensorflow/core/platform:framework_lite_hdrs' and '//tensorflow/tsl/platform:framework_lite_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:472:11: in hdrs attribute of cc_library rule //tensorflow/core:framework_lite: Artifact 'tensorflow/tsl/platform/dynamic_annotations.h' is duplicated (through '//tensorflow/core/platform:framework_lite_hdrs' and '//tensorflow/tsl/platform:framework_lite_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:472:11: in hdrs attribute of cc_library rule //tensorflow/core:framework_lite: Artifact 'tensorflow/tsl/platform/macros.h' is duplicated (through '//tensorflow/core/platform:framework_lite_hdrs' and '//tensorflow/tsl/platform:framework_lite_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:472:11: in hdrs attribute of cc_library rule //tensorflow/core:framework_lite: Artifact 'tensorflow/tsl/platform/platform.h' is duplicated (through '//tensorflow/core/platform:framework_lite_hdrs' and '//tensorflow/tsl/platform:framework_lite_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:472:11: in hdrs attribute of cc_library rule //tensorflow/core:framework_lite: Artifact 'tensorflow/tsl/platform/prefetch.h' is duplicated (through '//tensorflow/core/platform:framework_lite_hdrs' and '//tensorflow/tsl/platform:framework_lite_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:472:11: in hdrs attribute of cc_library rule //tensorflow/core:framework_lite: Artifact 'tensorflow/tsl/platform/protobuf.h' is duplicated (through '//tensorflow/core/platform:framework_lite_hdrs' and '//tensorflow/tsl/platform:framework_lite_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:472:11: in hdrs attribute of cc_library rule //tensorflow/core:framework_lite: Artifact 'tensorflow/tsl/platform/thread_annotations.h' is duplicated (through '//tensorflow/core/platform:framework_lite_hdrs' and '//tensorflow/tsl/platform:framework_lite_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:1249:11: in linkstatic attribute of cc_library rule //tensorflow/core:lib_internal: setting 'linkstatic=1' is recommended if there are no object files
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/abi.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/bfloat16.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/casts.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/coding.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/context.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/cpu_info.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/crash_analysis.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/dynamic_annotations.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/env.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/errors.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/file_statistics.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/file_system.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/file_system_helper.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/fingerprint.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/init_main.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/logger.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/mem.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/net.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/notification.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/null_file_system.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/numa.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/path.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/prefetch.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/protobuf.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/ram_file_system.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/random.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/resource.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/stack_frame.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/stacktrace.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/stacktrace_handler.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/statusor.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/str_util.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/stringpiece.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/stringprintf.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/subprocess.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/thread_annotations.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/profile_utils/android_armv7a_cpu_utils_helper.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/profile_utils/clock_cycle_profiler.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/profile_utils/cpu_utils.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:258:11: in hdrs attribute of cc_library rule //tensorflow/core:lib: Artifact 'tensorflow/tsl/platform/profile_utils/i_cpu_utils_helper.h' is duplicated (through '//tensorflow/core/platform:lib_hdrs' and '//tensorflow/tsl/platform:lib_hdrs')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/BUILD:1576:16: in linkstatic attribute of cc_library rule //tensorflow/core:framework_internal: setting 'linkstatic=1' is recommended if there are no object files. Since this rule was created by the macro 'tf_cuda_library', the error might have been caused by the macro implementation
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/common_runtime/BUILD:890:11: in hdrs attribute of cc_library rule //tensorflow/core/common_runtime:graph_constructor: Artifact 'tensorflow/core/common_runtime/eval_const_tensor.h' is duplicated (through '//tensorflow/core/common_runtime:core_cpu_lib_headers' and '//tensorflow/core/common_runtime:eval_const_tensor.h')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/common_runtime/BUILD:890:11: in hdrs attribute of cc_library rule //tensorflow/core/common_runtime:graph_constructor: Artifact 'tensorflow/core/common_runtime/graph_constructor.h' is duplicated (through '//tensorflow/core/common_runtime:core_cpu_lib_headers' and '//tensorflow/core/common_runtime:graph_constructor.h')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/common_runtime/BUILD:890:11: in hdrs attribute of cc_library rule //tensorflow/core/common_runtime:graph_constructor: Artifact 'tensorflow/core/common_runtime/graph_runner.h' is duplicated (through '//tensorflow/core/common_runtime:core_cpu_lib_headers' and '//tensorflow/core/common_runtime:graph_runner.h')
    WARNING: /tmp/workspace/tensorflow-2.11.1/tensorflow/core/common_runtime/BUILD:890:11: in hdrs attribute of cc_library rule //tensorflow/core/common_runtime:graph_constructor: Artifact 'tensorflow/core/common_runtime/shape_refiner.h' is duplicated (through '//tensorflow/core/common_runtime:core_cpu_lib_headers' and '//tensorflow/core/common_runtime:shape_refiner.h')
    Analyzing: target //tensorflow/tools/pip_package:build_pip_package (531 packages loaded, 34453 targets configured)
    ERROR: /tmp/workspace/tensorflow-2.11.1/tensorflow/BUILD:1059:21: in cc_shared_library rule //tensorflow:libtensorflow_framework.so.2.11.1:
    Traceback (most recent call last):
            File "/virtual_builtins_bzl/common/cc/experimental_cc_shared_library.bzl", line 404, column 51, in _cc_shared_library_impl
    Error in check_experimental_cc_shared_library: Pass --experimental_cc_shared_library to use cc_shared_library
    ERROR: /tmp/workspace/tensorflow-2.11.1/tensorflow/BUILD:1059:21: Analysis of target '//tensorflow:libtensorflow_framework.so.2.11.1' failed
    ERROR: Analysis of target '//tensorflow/tools/pip_package:build_pip_package' failed; build aborted:
    INFO: Elapsed time: 76.772s
    INFO: 0 processes.
    FAILED: Build did NOT complete successfully (531 packages loaded, 34537 targets configured)
    FAILED: Build did NOT complete successfully (531 packages loaded, 34537 targets configured)
  stderr_lines: <omitted>
  stdout: ''
  stdout_lines: <omitted>
```
</details>