Problem building 6.22.00 on OSX 10.14 with clang 11

Alright, you do have a system installation of ROOT in /usr/local that interferes with the build! :smiley:

/Users/gligorov/root-6.22.00/build/include/module.modulemap:3:8: error: redefinition of module 'ROOT_Foundation_C'
module ROOT_Foundation_C  {
       ^
/usr/local/include/module.modulemap:3:8: note: previously defined here
module ROOT_Foundation_C  {
       ^

Also see the discussion here.