Tensorflow v2.15.0 build fail 
Hi @zahed327 ,

For TF2.15V builds are done and tested with Bazel 6.1.0 . Please try build with tested version only as mentioned [here](https://www.tensorflow.org/install/source#cpu_2) as forward versions may raise compatibility issues.


Version | Python version | Compiler | Build tools
-- | -- | -- | --
tensorflow-2.15.0 | 3.9-3.11 | Clang from xcode 10.15 | Bazel 6.1.0

 I recommend to use [Bazelisk](https://github.com/bazelbuild/bazelisk) which can automatically select the compatible bazel version for the Tensorflow version that is being built.

Thanks! Thank you, I'll probably try using Docker to avoid unforseen issues in the future 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/63002">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/63002">No</a>

### Issue type

Bug

### Have you reproduced the bug with TensorFlow Nightly?

No

### Source

source

### TensorFlow version

2.15.0 

### Custom code

No

### OS platform and distribution

macOS 14.0 

### Mobile device

_No response_

### Python version

python 3.10 

### Bazel version

6.5.0 

### GCC/compiler version

_No response_

### CUDA/cuDNN version

none 

### GPU model and memory

none 

### Current behavior?

Unable to build tf v2.15.0 

### Standalone code to reproduce the issue

```shell
Here's the terminal commands : 

https://colab.research.google.com/drive/1CwOxD4shP4VzeLdkhZm6XXQl6BH_XdGi#scrollTo=7i3ykE297nzV
```


### Relevant log output

_No response_