Cannot build tensoflow from sources with bazel

I’m trying to build tensorflow from sources on last ubuntu 22.04. I’ve installed all the dependecies but I still have a lot of errors and don’t even know to solve them all (event GPT-4 doesn’t know).
There two logs from both shards:
First, and second rely on google drive: