Dear Experts, I was trying to build ROOT 6.30.04 on my MacOS Sonoma and it failed with the following errors. Can you please help me?
[ 75%] Linking CXX executable src/rootcling_stage1
[ 75%] Built target rootcling_stage1
[ 75%] Generating G__Core.cxx, ../lib/Core.pcm
In file included from input_line_3:2:
In file included from /Users/subhadippal/HEPSoft/ROOT/root_build/include/Rtypes.h:193:
/Users/subhadippal/HEPSoft/ROOT/root_build/include/TGenericClassInfo.h:22:10: remark: building module 'std_vector' as '/Users/subhadippal/HEPSoft/ROOT/root_build/lib/std_vector.pcm' [-Rmodule-build]
#include <vector>
^
Error: Building module 'std_vector' implicitly. If 'std_vector' requires a
dictionary please specify build dependency: 'G__Core.cxx' depends on 'std_vector'.
Otherwise, specify '-mByproduct std_vector' to disable this diagnostic.
In file included from input_line_7:16:
In file included from /Users/subhadippal/HEPSoft/ROOT/root_build/include/ROOT/TExecutorCRTP.hxx:15:
In file included from /Users/subhadippal/HEPSoft/ROOT/root_build/include/ROOT/TSeq.hxx:15:
/Users/subhadippal/HEPSoft/ROOT/root_build/include/TError.h:37:10: remark: building module 'std_functional' as '/Users/subhadippal/HEPSoft/ROOT/root_build/lib/std_functional.pcm' [-Rmodule-build]
#include <functional>
^
Error: Building module 'std_functional' implicitly. If 'std_functional' requires a
dictionary please specify build dependency: 'G__Core.cxx' depends on 'std_functional'.
Otherwise, specify '-mByproduct std_functional' to disable this diagnostic.
In file included from input_line_7:16:
In file included from /Users/subhadippal/HEPSoft/ROOT/root_build/include/ROOT/TExecutorCRTP.hxx:15:
/Users/subhadippal/HEPSoft/ROOT/root_build/include/ROOT/TSeq.hxx:222:10: remark: building module 'std_sstream' as '/Users/subhadippal/HEPSoft/ROOT/root_build/lib/std_sstream.pcm' [-Rmodule-build]
#include <sstream>
^
Error: Building module 'std_sstream' implicitly. If 'std_sstream' requires a
dictionary please specify build dependency: 'G__Core.cxx' depends on 'std_sstream'.
Otherwise, specify '-mByproduct std_sstream' to disable this diagnostic.
In file included from input_line_7:17:
/Users/subhadippal/HEPSoft/ROOT/root_build/include/ROOT/TSequentialExecutor.hxx:20:10: remark: building module 'std_numeric' as '/Users/subhadippal/HEPSoft/ROOT/root_build/lib/std_numeric.pcm' [-Rmodule-build]
#include <numeric> //std::accumulate
^
Error: Building module 'std_numeric' implicitly. If 'std_numeric' requires a
dictionary please specify build dependency: 'G__Core.cxx' depends on 'std_numeric'.
Otherwise, specify '-mByproduct std_numeric' to disable this diagnostic.
In file included from input_line_7:24:
/Users/subhadippal/HEPSoft/ROOT/root_build/include/Riostream.h:24:10: remark: building module 'std_fstream' as '/Users/subhadippal/HEPSoft/ROOT/root_build/lib/std_fstream.pcm' [-Rmodule-build]
#include <fstream>
^
Error: Building module 'std_fstream' implicitly. If 'std_fstream' requires a
dictionary please specify build dependency: 'G__Core.cxx' depends on 'std_fstream'.
Otherwise, specify '-mByproduct std_fstream' to disable this diagnostic.
/Users/subhadippal/HEPSoft/ROOT/root_build/include/Riostream.h:25:10: remark: building module 'std_iostream' as '/Users/subhadippal/HEPSoft/ROOT/root_build/lib/std_iostream.pcm' [-Rmodule-build]
#include <iostream>
^
Error: Building module 'std_iostream' implicitly. If 'std_iostream' requires a
dictionary please specify build dependency: 'G__Core.cxx' depends on 'std_iostream'.
Otherwise, specify '-mByproduct std_iostream' to disable this diagnostic.
In file included from input_line_7:26:
In file included from /Users/subhadippal/HEPSoft/ROOT/root_build/include/TApplication.h:30:
In file included from /Users/subhadippal/HEPSoft/ROOT/root_build/include/TQObject.h:42:
In file included from /Users/subhadippal/HEPSoft/ROOT/root_build/include/TVirtualQConnection.h:16:
/Users/subhadippal/HEPSoft/ROOT/root_build/include/TInterpreter.h:31:10: remark: building module 'std_map' as '/Users/subhadippal/HEPSoft/ROOT/root_build/lib/std_map.pcm' [-Rmodule-build]
#include <map>
^
Error: Building module 'std_map' implicitly. If 'std_map' requires a
dictionary please specify build dependency: 'G__Core.cxx' depends on 'std_map'.
Otherwise, specify '-mByproduct std_map' to disable this diagnostic.
In file included from input_line_7:40:
In file included from /Users/subhadippal/HEPSoft/ROOT/root_build/include/TBuffer.h:26:
/Users/subhadippal/HEPSoft/ROOT/root_build/include/TClass.h:39:10: remark: building module 'std_unordered_set' as '/Users/subhadippal/HEPSoft/ROOT/root_build/lib/std_unordered_set.pcm' [-Rmodule-build]
#include <unordered_set>
^
Error: Building module 'std_unordered_set' implicitly. If 'std_unordered_set' requires a
dictionary please specify build dependency: 'G__Core.cxx' depends on 'std_unordered_set'.
Otherwise, specify '-mByproduct std_unordered_set' to disable this diagnostic.
In file included from input_line_7:111:
/Users/subhadippal/HEPSoft/ROOT/root_build/include/ROOT/RDirectoryEntry.hxx:21:10: remark: building module 'std_chrono' as '/Users/subhadippal/HEPSoft/ROOT/root_build/lib/std_chrono.pcm' [-Rmodule-build]
#include <chrono>
^
Error: Building module 'std_chrono' implicitly. If 'std_chrono' requires a
dictionary please specify build dependency: 'G__Core.cxx' depends on 'std_chrono'.
Otherwise, specify '-mByproduct std_chrono' to disable this diagnostic.
In file included from input_line_7:116:
/Users/subhadippal/HEPSoft/ROOT/root_build/include/root_std_complex.h:13:10: remark: building module 'std_complex' as '/Users/subhadippal/HEPSoft/ROOT/root_build/lib/std_complex.pcm' [-Rmodule-build]
#include <complex>
^
Error: Building module 'std_complex' implicitly. If 'std_complex' requires a
dictionary please specify build dependency: 'G__Core.cxx' depends on 'std_complex'.
Otherwise, specify '-mByproduct std_complex' to disable this diagnostic.
In file included from input_line_7:131:
/Users/subhadippal/HEPSoft/ROOT/root_build/include/TCollectionProxyInfo.h:25:10: remark: building module 'std_forward_list' as '/Users/subhadippal/HEPSoft/ROOT/root_build/lib/std_forward_list.pcm' [-Rmodule-build]
#include <forward_list>
^
Error: Building module 'std_forward_list' implicitly. If 'std_forward_list' requires a
dictionary please specify build dependency: 'G__Core.cxx' depends on 'std_forward_list'.
Otherwise, specify '-mByproduct std_forward_list' to disable this diagnostic.
In file included from input_line_7:151:
/Users/subhadippal/HEPSoft/ROOT/root_build/include/ROOT/RLogger.hxx:20:10: remark: building module 'std_list' as '/Users/subhadippal/HEPSoft/ROOT/root_build/lib/std_list.pcm' [-Rmodule-build]
#include <list>
^
Error: Building module 'std_list' implicitly. If 'std_list' requires a
dictionary please specify build dependency: 'G__Core.cxx' depends on 'std_list'.
Otherwise, specify '-mByproduct std_list' to disable this diagnostic.
make[2]: *** [core/G__Core.cxx] Error 1
make[1]: *** [core/CMakeFiles/G__Core.dir/all] Error 2
make: *** [all] Error 2
ROOT Version: 6.30.04
Platform: macOS Sonoma 14.4
Compiler: clang-1500.3.9.4