Hi @eska ,
thank you for your report. I have never seen this error. It mentions MacOSX12.3.sdk but you mentioned you are on 12.5, could there be a compiler toolchain/MacOS version mismatch there?
If not, maybe @vvassilev or @Axel have an idea about what’s going wrong with the std module.
As a side note, usually you don’t need to build ROOT from source but you can grab one of our pre-compiled binaries, see Installing ROOT - ROOT .
Cheers,
Enrico