@furutaka current master builds fine, but you might have to delete the build directory and start the new build from scratch, RLogger might have changed location since you first built ROOT, and cmake is not very good at dealing with files that disappear from the source location.
Unfortunately, the result of a fresh build (git pull and then cmake & make in a new-made directory) of commit 20c1968cf09b6299ad1a46ce5513c37f786a970f (HEAD -> master, origin/master, origin/HEAD) resulted in another “not found”…
[ 45%] Generating G__Core.cxx, ../lib/Core.pcm
/home/furutaka/work/root/root-build-master-20200601/include/module.modulemap:20:42: error: header 'RConfigure.h' not found
module "RConfigure.h" { textual header "RConfigure.h" export * }
^
/home/furutaka/work/root/root-build-master-20200601/include/RtypesCore.h:25:10: note: submodule of top-level module 'ROOT_Config' implicitly imported here
#include "DllImport.h"
^
/home/furutaka/work/root/root-build-master-20200601/include/RtypesCore.h:117:1: error: unknown type name 'R__EXTERN'
R__EXTERN Int_t gDebug;
^
/home/furutaka/work/root/root-build-master-20200601/include/RtypesCore.h:117:16: error: expected ';' after top level declarator
R__EXTERN Int_t gDebug;
^
;
In file included from input_line_5:1:
/home/furutaka/work/root/root-build-master-20200601/include/Rtypes.h:23:10: fatal error: could not build module 'ROOT_Rtypes'
#include "RtypesCore.h"
~~~~~~~~^~~~~~~~~~~~~~
While building module 'Core':
While building module 'ROOT_Foundation_C' imported from /home/furutaka/work/root/root-build-master-20200601/include/Rtypes.h:26:
In file included from <module-includes>:1:
/home/furutaka/work/root/root-build-master-20200601/include/ThreadLocalStorage.h:61:10: fatal error: could not build module 'ROOT_Rtypes'
#include "RtypesCore.h"
~~~~~~~~^~~~~~~~~~~~~~
While building module 'Core':
While building module 'ROOT_Foundation_Stage1_NoRTTI' imported from /home/furutaka/work/root/root-build-master-20200601/include/Rtypes.h:193:
In file included from <module-includes>:5:
/home/furutaka/work/root/root-build-master-20200601/include/TIsAProxy.h:16:10: fatal error: could not build module 'ROOT_Rtypes'
#include "RtypesCore.h"
~~~~~~~~^~~~~~~~~~~~~~
Error: Error loading the default header files.
make[2]: *** [core/CMakeFiles/G__Core.dir/build.make:476: core/G__Core.cxx] Error 1
make[1]: *** [CMakeFiles/Makefile2:17805: core/CMakeFiles/G__Core.dir/all] Error 2
make: *** [Makefile:172: all] Error 2
[furutaka@Furutaka-3 root-build-master-20200601]$ find . -name RtypesCore.h
./include/RtypesCore.h
[furutaka@Furutaka-3 root-build-master-20200601]$ find . -name RConfigure.h
./ginclude/RConfigure.h
Ugh, not nice… @jblomer or @Axel might be able to help with the RLogger error. I believe the remaining issues with fedora32 will be resolved in the next days, sorry about that.
My (parallel: -j10) build of 58a25acc3c (HEAD -> master, origin/master, origin/HEAD) Describe Pratyush's contributions. (Vassil Vassilev) with the following explicit settings was successful!:
set(gdml ON CACHE BOOL "")
set(minuit2 ON CACHE BOOL "")
set(python ON CACHE BOOL "")
set(roofit ON CACHE BOOL "")
set(vmc ON CACHE BOOL "")
set(imt OFF CACHE BOOL "")
set(gsl_shared ON CACHE BOOL "")
set(LLVM_ENABLE_DOXYGEN ON CACHE BOOL "")
set(LLVM_ENABLE_SPHINX ON CACHE BOOL "")
set(CMAKE_INSTALL_PREFIX /usr/local/root CACHE PATH "")
set(PYTHON_EXECUTABLE /usr/bin/python3 CACHE FILEPATH "")
set(THREADS_PREFER_PTHREAD_FLAG TRUE)
set(CMAKE_THREAD_PREFER_PTHREAD TRUE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
[furutaka@Furutaka-3 root-build-master-58a25acc3c]$ root
------------------------------------------------------------------
| Welcome to ROOT 6.23/01 https://root.cern |
| (c) 1995-2020, The ROOT Team; conception: R. Brun, F. Rademakers |
| Built for linuxx8664gcc on Jun 03 2020, 07:23:00 |
| From heads/master@v6-23-01-169-g58a25acc3c |
| With c++ (GCC) 10.1.1 20200507 (Red Hat 10.1.1-1) |
| Try '.help', '.demo', '.license', '.credits', '.quit'/'.q' |
------------------------------------------------------------------
root [0]
With the above-mentioned (explicit) settings, f597803 of the v6-22-00-patches built fine (make -j10):
------------------------------------------------------------------
| Welcome to ROOT 6.21/03 https://root.cern |
| (c) 1995-2020, The ROOT Team; conception: R. Brun, F. Rademakers |
| Built for linuxx8664gcc on Jun 03 2020, 08:35:00 |
| From heads/v6-22-00-patches@v6-21-02-62-gf597803869 |
| Try '.help', '.demo', '.license', '.credits', '.quit'/'.q' |
------------------------------------------------------------------
But a (also parallel) build of 46e8785 in the v6-20-00-patches failed, saying…
/usr/bin/ld: CMakeFiles/NetxNG.dir/src/TNetXNGSystem.cxx.o:(.data.rel.ro._ZTV13TNetXNGSystem[_ZTV13TNetXNGSystem]+0x410): undefined reference to `TSystem::GetDirName(char const*)'
collect2: error: ld returned 1 exit status
make[2]: *** [net/netxng/CMakeFiles/NetxNG.dir/build.make:143: lib/libNetxNG.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:23551: net/netxng/CMakeFiles/NetxNG.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Following the failed parallel build I did another make (not parallel, not fresh, i.e. started just after the failure) and got the following:
In module 'std' imported from input_line_1:1:
/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/unique_ptr.h:207:12: error: 'std::__uniq_ptr_data<RooDataSet, std::default_delete<RooDataSet>, true, true>' has different
definitions in different modules; defined here
struct __uniq_ptr_data : __uniq_ptr_impl<_Tp, _Dp>
^
/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/unique_ptr.h:207:12: note: definition in module 'std.condition_variable' is here
Error: /home/furutaka/work/root/root-build-v6-20-00-patches-46e8785/bin/rootcling: compilation failure (/home/furutaka/work/root/root-build-v6-20-00-patches-46e8785/lib/libRooStats1e22a9ec0b_dictUmbrella.h)
make[2]: *** [roofit/roostats/CMakeFiles/G__RooStats.dir/build.make:223: roofit/roostats/G__RooStats.cxx] Error 1
make[1]: *** [CMakeFiles/Makefile2:28391: roofit/roostats/CMakeFiles/G__RooStats.dir/all] Error 2
make: *** [Makefile:172: all] Error 2