OK that seems to be the same as V6.22.00 build error on MacOS
You have /opt/local/include/unctrl.h
in the way. Please move /opt/local
out of the way for building ROOT, or make sure the ROOT build does not use it to resolve any external dependencies (i.e. some “found FOO in /opt/local/include/FOO.h”).
Does that do it?
Cheers, Axel.