Created attachment 891151 [details] build.log There's an ominous warning from configure: configure: WARNING: Platform "aarch64-apple-darwin23" with compiler "gcc" is not supported by the CPython core team, see https://peps.python.org/pep-0011/ for more information. If there's no workaround, I guess it should be masked? I'll attach the build.log.
I don't think you'll find a Python that compiles. The problem is the CLT update that made the headers undecypherable to GCC. https://github.com/iains/gcc-13-branch/issues/15#issuecomment-1994714446
There's a note on that issue now: "I believe this is fixed in 13.3-darwin-r0" Does that mean this will be fixable soon?
In-tree GCC should be able to compile it, AFICT, but bootstrapping fails afterwards.
GCC-14 is in the tree now, and that one should be able to compile Python and cmake.