Are you sure that you're not using a very old clone of the repo? The JimTcl submodule was switched from https://repo.or.cz/jimtcl.git to https://github.com/msteveb/jimtcl.git back in December 2020.
https://github.com/openocd-org/openocd/commit/861e75f54efbcc1e0717192c6ddb120478d6c226