Error: Building module implicitly

Dear experts,
I am trying to install root from the source on MacOS.
The configuration command that I used is the following:

cmake -DCMAKE_INSTALL_PREFIX=/Users/arkasantra/Root6_Install -DPython3_EXECUTABLE=python3 -DPython2_EXECUTABLE=python2 -DCMAKE_CXX_STANDARD=17 -Dbuiltin_nlohmannjson=ON -Dhttp=ON -Droot7=ON -Dbuiltin_xrootd=ON -Dminuit2=ON -Dxrootd=ON -Dbuiltin_glew=ON /Users/arkasantra/root-6.30.04

When I am building root using make - j8, I am getting the following error:

In file included from input_line_3:2:
In file included from /Users/arkasantra/Root6_Build/include/Rtypes.h:193:
/Users/arkasantra/Root6_Build/include/TGenericClassInfo.h:22:10: remark: building module 'std_vector' as '/Users/arkasantra/Root6_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/arkasantra/Root6_Build/include/ROOT/TExecutorCRTP.hxx:15:
In file included from /Users/arkasantra/Root6_Build/include/ROOT/TSeq.hxx:15:
/Users/arkasantra/Root6_Build/include/TError.h:37:10: remark: building module 'std_functional' as '/Users/arkasantra/Root6_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/arkasantra/Root6_Build/include/ROOT/TExecutorCRTP.hxx:15:
/Users/arkasantra/Root6_Build/include/ROOT/TSeq.hxx:222:10: remark: building module 'std_sstream' as '/Users/arkasantra/Root6_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/arkasantra/Root6_Build/include/ROOT/TSequentialExecutor.hxx:20:10: remark: building module 'std_numeric' as '/Users/arkasantra/Root6_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/arkasantra/Root6_Build/include/Riostream.h:24:10: remark: building module 'std_fstream' as '/Users/arkasantra/Root6_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/arkasantra/Root6_Build/include/Riostream.h:25:10: remark: building module 'std_iostream' as '/Users/arkasantra/Root6_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/arkasantra/Root6_Build/include/TApplication.h:30:
In file included from /Users/arkasantra/Root6_Build/include/TQObject.h:42:
In file included from /Users/arkasantra/Root6_Build/include/TVirtualQConnection.h:16:
/Users/arkasantra/Root6_Build/include/TInterpreter.h:31:10: remark: building module 'std_map' as '/Users/arkasantra/Root6_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/arkasantra/Root6_Build/include/TBuffer.h:26:
/Users/arkasantra/Root6_Build/include/TClass.h:39:10: remark: building module 'std_unordered_set' as '/Users/arkasantra/Root6_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/arkasantra/Root6_Build/include/ROOT/RDirectoryEntry.hxx:21:10: remark: building module 'std_chrono' as '/Users/arkasantra/Root6_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/arkasantra/Root6_Build/include/root_std_complex.h:13:10: remark: building module 'std_complex' as '/Users/arkasantra/Root6_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/arkasantra/Root6_Build/include/TCollectionProxyInfo.h:25:10: remark: building module 'std_forward_list' as '/Users/arkasantra/Root6_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/arkasantra/Root6_Build/include/ROOT/RLogger.hxx:20:10: remark: building module 'std_list' as '/Users/arkasantra/Root6_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

I am not sure what is going wrong: the root was installed perfectly before.
Now after an XCode update, the root is not installing.

May I know what should be a way out here?

Thank you very much,
Arka


_ROOT Version: 6.30.04
_Platform: Mac OS 14.3 (x86_64, Intel i9)
_Compiler: AppleClang 15.0.0.15000309
_XCode: Xcode 15.3 (Build version 15E204a)


See ROOT 6.30.04 build failed on macOS 14.4 arm64 Xcode 15.3 - #4 by Wolfgang_Korsch1

Thank you very much for this link.
I will be waiting for the fix.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.