Failed to compile root newer than v6.20/04: "fatal error: ROOT/RLogger.hxx: No such file or directory"

Hi…

Am I the only one who can NOT compile root newer than 6.20/04?

By configuring with the following cmake setting, the make always fails, saying “fatal error: ROOT/RLogger.hxx: No such file or directory”:

set(cxx14     ON CACHE BOOL "")
set(gdml       ON CACHE BOOL "")
set(minuit2    ON CACHE BOOL "")
set(python     ON CACHE BOOL "")
set(roofit     ON CACHE BOOL "")
set(gsl_shared ON CACHE BOOL "")
set(vmc        ON CACHE BOOL "")

# https://root-forum.cern.ch/t/fail-to-compile-root-6-20-04-on-fedora-32/38990/2
set(imt       OFF 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(THREADS_PREFER_PTHREAD_FLAG TRUE)
set(CMAKE_THREAD_PREFER_PTHREAD TRUE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")

The build of 20c1968cf09b6299ad1a46ce5513c37f786a970f failed with the following message:

[ 48%] Building CXX object core/base/CMakeFiles/Base.dir/v7/src/RLogger.cxx.o
cd /home/furutaka/work/root/root-master-20200531-bld/core/base && /usr/bin/c++   -I/home/furutaka/work/root/root.git/core/base/inc -I/home/furutaka/work/root/root.git/core/base/res -I/home/furutaka/work/root/root.git/core/foundation/res -I/home/furutaka/work/root/root.git/core/clib/inc -I/home/furutaka/work/root/root.git/core/meta/inc -I/home/furutaka/work/root/root.git/core/cont/inc -I/home/furutaka/work/root/root.git/core/thread/inc -I/home/furutaka/work/root/root.git/core/gui/inc -I/home/furutaka/work/root/root.git/core/foundation/inc -I/home/furutaka/work/root/root-master-20200531-bld/ginclude  -std=c++14 -Wno-implicit-fallthrough -Wno-noexcept-type -pipe  -Wshadow -Wall -W -Woverloaded-virtual -fsigned-char -pthread -O2 -DNDEBUG -fPIC   -std=c++14 -o CMakeFiles/Base.dir/v7/src/RLogger.cxx.o -c /home/furutaka/work/root/root.git/core/base/v7/src/RLogger.cxx
/home/furutaka/work/root/root.git/core/base/v7/src/RLogger.cxx:16:10: fatal error: ROOT/RLogger.hxx: No such file or directory
   16 | #include "ROOT/RLogger.hxx"
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [core/base/CMakeFiles/Base.dir/build.make:1089: core/base/CMakeFiles/Base.dir/v7/src/RLogger.cxx.o] Error 1
make[2]: Leaving directory '/home/furutaka/work/root/root-master-20200531-bld'
make[1]: *** [CMakeFiles/Makefile2:20059: core/base/CMakeFiles/Base.dir/all] Error 2
make[1]: Leaving directory '/home/furutaka/work/root/root-master-20200531-bld'
make: *** [Makefile:172: all] Error 2

There’s a copy of RLogger.hxx here:

[furutaka@peart-furu-or-jp root-master-20200531-bld]$ find . -name RLogger.hxx
./include/ROOT/RLogger.hxx

ROOT Version: > 6.20/04
Platform: Linux (Fedora 32, x86_64)
Compiler: g++ (GCC) 10.1.1 20200507 (Red Hat 10.1.1-1)


Kazuyoshi

Try the “v6-20-00-patches” or the “v6-22-00-patches” or the “master” branch.

Hi…
Well… As the directory name implies, the build was done on the master branch:

[furutaka@peart-furu-or-jp root-master-20200531-bld]$ find . -name RLogger.hxx
./include/ROOT/RLogger.hxx

@jblomer Maybe “master” is not always the best choice? :wink:
How about you try the “v6-20-00-patches” branch?

I have the same issue, even on a tag:

~/software/root/core/base/v7/src/RLogger.cxx:16:10: fatal error: ROOT/RLogger.hxx: No such file or directory
   16 | #include "ROOT/RLogger.hxx"
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [core/base/CMakeFiles/Base.dir/build.make:1069: core/base/CMakeFiles/Base.dir/v7/src/RLogger.cxx.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:20037: core/base/CMakeFiles/Base.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 59%] Built target RootPcmObjs
[ 59%] Built target root
[ 59%] Built target mathtext
[ 59%] Built target rmkdepend
[ 60%] Built target FTGL
[ 60%] Built target rpdutil
make: *** [Makefile:152: all] Error 2

$ git status
HEAD detached at v6-23-01

This doesn’t seem to be the “v6-20-00-patches” branch.

Oups, sorry, my bad. I was under the impression that git tags represent releases - this clearly isn’t the case for ROOT.

@Axel v6-20-00-patches compiles just fine.

Thanks for your patience. :slight_smile:

@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.

Cheers,
Enrico

Hi, thanks @eguiraud

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

Strange… :face_with_raised_eyebrow:

Kazuyoshi

Well, I had a Problem in Draw()ing a histogram w/ variable bin size in logarithmic scale with 6.20/02, and it’s still the same with 6.20/04, and I want to use a newer one.

Kazuyoshi

This bug is also fixed in the current “v6-20-00-patches” branch.

Uhm…we had issues with gcc 10 and modules. @Axel @vvassilev is this a known failure mode?

@furutaka does configuring the build with cmake -Druntime_cxxmodules=OFF ... help? Does the master branch compile?

Cheers,
Enrico

Thanks @Wile_E_Coyote

A try to build the head of HEAD -> v6-20-00-patches also failed… (4af61e9d26)

[ 98%] Generating G__RooStats.cxx, ../../lib/RooStats.pcm
[ 98%] Building CXX object tmva/tmvagui/CMakeFiles/TMVAGui.dir/src/regression_averagedevs.cxx.o
[ 98%] Building CXX object tmva/tmvagui/CMakeFiles/TMVAGui.dir/src/rulevis.cxx.o
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
[ 98%] Building CXX object tmva/tmvagui/CMakeFiles/TMVAGui.dir/src/rulevisCorr.cxx.o
Error: /home/furutaka/work/root/root-v6-20-00-patches-build-4af61e9d26/bin/rootcling: compilation failure (/home/furutaka/work/root/root-v6-20-00-patches-build-4af61e9d26/lib/libRooStatscec9346acf_dictUmbrella.h)
make[2]: *** [roofit/roostats/CMakeFiles/G__RooStats.dir/build.make:223: roofit/roostats/G__RooStats.cxx] Error 1
make[1]: *** [CMakeFiles/Makefile2:27108: roofit/roostats/CMakeFiles/G__RooStats.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 98%] Building CXX object tmva/tmvagui/CMakeFiles/TMVAGui.dir/src/rulevisHists.cxx.o
[ 98%] Building CXX object graf3d/eve/CMakeFiles/Eve.dir/src/TEveTrackProjected.cxx.o
[ 98%] Building CXX object graf3d/eve/CMakeFiles/Eve.dir/src/TEveTrackProjectedGL.cxx.o
[ 98%] Building CXX object tmva/tmvagui/CMakeFiles/TMVAGui.dir/src/tmvaglob.cxx.o
[ 98%] Building CXX object graf3d/eve/CMakeFiles/Eve.dir/src/TEveTrackPropagator.cxx.o
[ 98%] Building CXX object graf3d/eve/CMakeFiles/Eve.dir/src/TEveTrackPropagatorEditor.cxx.o
[ 98%] Building CXX object tmva/tmvagui/CMakeFiles/TMVAGui.dir/src/training_history.cxx.o
[ 98%] Building CXX object tmva/tmvagui/CMakeFiles/TMVAGui.dir/src/variables.cxx.o
[ 98%] Building CXX object tmva/tmvagui/CMakeFiles/TMVAGui.dir/src/variablesMultiClass.cxx.o
[ 98%] Building CXX object graf3d/eve/CMakeFiles/Eve.dir/src/TEveTrans.cxx.o
[ 98%] Building CXX object tmva/tmvagui/CMakeFiles/TMVAGui.dir/src/BDT.cxx.o
[ 98%] Building CXX object graf3d/eve/CMakeFiles/Eve.dir/src/TEveTransEditor.cxx.o
[ 98%] Building CXX object graf3d/eve/CMakeFiles/Eve.dir/src/TEveTreeTools.cxx.o
[ 98%] Building CXX object tmva/tmvagui/CMakeFiles/TMVAGui.dir/src/BDT_Reg.cxx.o
[ 98%] Building CXX object tmva/tmvagui/CMakeFiles/TMVAGui.dir/src/probas.cxx.o
[ 98%] Building CXX object tmva/tmvagui/CMakeFiles/TMVAGui.dir/src/mvaeffs.cxx.o
[ 98%] Building CXX object graf3d/eve/CMakeFiles/Eve.dir/src/TEveTriangleSet.cxx.o
[ 98%] Building CXX object graf3d/eve/CMakeFiles/Eve.dir/src/TEveTriangleSetEditor.cxx.o
[ 98%] Building CXX object graf3d/eve/CMakeFiles/Eve.dir/src/TEveTriangleSetGL.cxx.o
[ 98%] Building CXX object graf3d/eve/CMakeFiles/Eve.dir/src/TEveUtil.cxx.o
[ 98%] Building CXX object graf3d/eve/CMakeFiles/Eve.dir/src/TEveVector.cxx.o
[ 98%] Building CXX object graf3d/eve/CMakeFiles/Eve.dir/src/TEveViewer.cxx.o
[ 98%] Building CXX object graf3d/eve/CMakeFiles/Eve.dir/src/TEveViewerListEditor.cxx.o
[ 98%] Building CXX object graf3d/eve/CMakeFiles/Eve.dir/src/TEveVSD.cxx.o
[ 98%] Building CXX object graf3d/eve/CMakeFiles/Eve.dir/src/TEveVSDStructs.cxx.o
[ 98%] Building CXX object graf3d/eve/CMakeFiles/Eve.dir/src/TEveWindow.cxx.o
[ 98%] Building CXX object graf3d/eve/CMakeFiles/Eve.dir/src/TEveWindowEditor.cxx.o
[ 98%] Building CXX object graf3d/eve/CMakeFiles/Eve.dir/src/TEveWindowManager.cxx.o
[ 98%] Linking CXX shared library ../../lib/libTMVAGui.so
[ 98%] Built target TMVAGui
[ 98%] Linking CXX shared library ../../lib/libEve.so
[ 98%] Built target Eve
make: *** [Makefile:172: all] Error 2

Seems that this has already been applied to the branch…

orz…

Kazuyoshi

Hi, @eguiraud

The result of commit 20c1968cf0 (HEAD -> master, configured with the option you mentioned) was:

Scanning dependencies of target ClangDiagnosticDriver
[ 60%] Building DiagnosticDriverKinds.inc...
[ 60%] Updating DiagnosticDriverKinds.inc...
[ 60%] Built target ClangDiagnosticDriver
[ 61%] Building CXX object core/base/CMakeFiles/Base.dir/src/TVirtualPS.cxx.o
[ 61%] Building CXX object core/base/CMakeFiles/Base.dir/src/TVirtualViewer3D.cxx.o
[ 61%] Building CXX object core/base/CMakeFiles/Base.dir/src/TVirtualX.cxx.o
[ 61%] Building CXX object core/base/CMakeFiles/Base.dir/v7/src/RLogger.cxx.o
/home/furutaka/work/root/root.git/core/base/v7/src/RLogger.cxx:16:10: fatal error: ROOT/RLogger.hxx: No such file or directory
   16 | #include "ROOT/RLogger.hxx"
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [core/base/CMakeFiles/Base.dir/build.make:1089: core/base/CMakeFiles/Base.dir/v7/src/RLogger.cxx.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Scanning dependencies of target ClangDiagnosticLex
[ 61%] Building DiagnosticLexKinds.inc...
Scanning dependencies of target ClangDiagnosticParse
[ 61%] Updating DiagnosticLexKinds.inc...
[ 61%] Building DiagnosticParseKinds.inc...
[ 61%] Built target ClangDiagnosticLex
Scanning dependencies of target ClangDiagnosticSema
[ 61%] Updating DiagnosticParseKinds.inc...
[ 61%] Building DiagnosticSemaKinds.inc...
[ 61%] Built target ClangDiagnosticParse
[ 61%] Updating DiagnosticSemaKinds.inc...
[ 61%] Built target ClangDiagnosticSema
Scanning dependencies of target ClangDiagnosticFrontend
[ 61%] Building DiagnosticFrontendKinds.inc...
Scanning dependencies of target ClangDiagnosticSerialization
[ 61%] Building DiagnosticSerializationKinds.inc...
[ 61%] Updating DiagnosticFrontendKinds.inc...
[ 61%] Updating DiagnosticSerializationKinds.inc...
[ 61%] Built target ClangDiagnosticSerialization
[ 61%] Built target ClangDiagnosticFrontend
Scanning dependencies of target ClangDiagnosticGroups
Scanning dependencies of target ClangDiagnosticAnalysis
[ 61%] Building DiagnosticGroups.inc...
[ 61%] Building DiagnosticAnalysisKinds.inc...
[ 61%] Updating DiagnosticGroups.inc...
[ 61%] Updating DiagnosticAnalysisKinds.inc...
[ 61%] Built target ClangDiagnosticGroups
[ 61%] Built target ClangDiagnosticAnalysis
Scanning dependencies of target ClangAttrList
Scanning dependencies of target ClangDiagnosticIndexName
[ 61%] Building AttrList.inc...
[ 61%] Building DiagnosticIndexName.inc...
Scanning dependencies of target ClangAttrSubMatchRulesParserStringSwitches
[ 61%] Updating AttrList.inc...
[ 61%] Building AttrSubMatchRulesParserStringSwitches.inc...
[ 61%] Built target ClangAttrList
[ 61%] Updating DiagnosticIndexName.inc...
[ 61%] Updating AttrSubMatchRulesParserStringSwitches.inc...
Scanning dependencies of target ClangAttrParserStringSwitches
[ 61%] Built target ClangDiagnosticIndexName
Scanning dependencies of target ClangAttrParsedAttrImpl
[ 61%] Building AttrParserStringSwitches.inc...
[ 61%] Built target ClangAttrSubMatchRulesParserStringSwitches
[ 61%] Building AttrParsedAttrImpl.inc...
[ 61%] Updating AttrParserStringSwitches.inc...
[ 61%] Updating AttrParsedAttrImpl.inc...
[ 61%] Built target ClangAttrParserStringSwitches
[ 61%] Built target ClangAttrParsedAttrImpl
make[1]: *** [CMakeFiles/Makefile2:20046: core/base/CMakeFiles/Base.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
-- XROOTD build command succeeded.  See also /home/furutaka/work/root/master-20c1968cf0/XROOTD-prefix/src/XROOTD-stamp/XROOTD-build-*.log
[ 61%] Performing install step for 'XROOTD'
-- XROOTD install command succeeded.  See also /home/furutaka/work/root/master-20c1968cf0/XROOTD-prefix/src/XROOTD-stamp/XROOTD-install-*.log
[ 61%] Completed 'XROOTD'
[ 61%] Built target XROOTD
make: *** [Makefile:172: all] Error 2

Kazuyoshi

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.

Cheers,
Enrico

Please see https://sft.its.cern.ch/jira/browse/ROOT-10776

Thanks for your comment, @musinsky.

I’ve applied this modification to c267d3520d (origin/master), and cmake (-Dimt=OFF) & (no-parallel) make; still missing “ROOT/RLogger.hxx”…

Scanning dependencies of target Base
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/Match.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/String.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/Stringio.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TApplication.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TAtt3D.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TAttAxis.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TAttBBox2D.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TAttBBox.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TAttFill.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TAttLine.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TAttMarker.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TAttPad.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TAttText.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TBase64.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TBenchmark.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TBuffer3D.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TBuffer.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TColor.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TColorGradient.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TDatime.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TDirectory.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TEnv.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TError.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TException.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TExec.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TFileCollection.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TFileInfo.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TFolder.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TInetAddress.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TListOfTypes.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TMacro.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TMathBase.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TMD5.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TMemberInspector.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TMessageHandler.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TNamed.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TObject.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TObjString.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TParameter.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TPluginManager.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TPRegexp.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TProcessID.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TProcessUUID.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TQCommand.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TQConnection.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TQObject.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TRefCnt.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TRef.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TRegexp.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TRemoteObject.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TStopwatch.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TStorage.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TString.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TStringLong.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TStyle.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TSysEvtHandler.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TSystem.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TSystemDirectory.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TSystemFile.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TTask.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TTime.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TTimer.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TTimeStamp.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TUri.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TUrl.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TUUID.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TVirtualFFT.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TVirtualGL.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TVirtualMonitoring.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TVirtualMutex.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TVirtualPad.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TVirtualPadEditor.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TVirtualPadPainter.cxx.o
[ 46%] Building CXX object core/base/CMakeFiles/Base.dir/src/TVirtualPerfStats.cxx.o
[ 47%] Building CXX object core/base/CMakeFiles/Base.dir/src/TVirtualPS.cxx.o
[ 47%] Building CXX object core/base/CMakeFiles/Base.dir/src/TVirtualViewer3D.cxx.o
[ 47%] Building CXX object core/base/CMakeFiles/Base.dir/src/TVirtualX.cxx.o
[ 47%] Building CXX object core/base/CMakeFiles/Base.dir/v7/src/RLogger.cxx.o
/home/furutaka/work/root/root.git/core/base/v7/src/RLogger.cxx:16:10: fatal error: ROOT/RLogger.hxx: No such file or directory
   16 | #include "ROOT/RLogger.hxx"
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [core/base/CMakeFiles/Base.dir/build.make:1089: core/base/CMakeFiles/Base.dir/v7/src/RLogger.cxx.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:20165: core/base/CMakeFiles/Base.dir/all] Error 2
make: *** [Makefile:172: all] Error 2

Kazuyoshi

@furutaka @musinsky which Cmake flags are you using?

@oshadura add comment on https://sft.its.cern.ch/jira/browse/ROOT-10776
@furutaka RLogger.hxx error comes with experimental ROOTv7. Temporary solution is disable this feature (don’t use cmake with cxx14 or cxx17, default is cxx11).

Thanks @musinsky

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] 

Now I’ll try to build v6-2[02]-00-patches…

Kazuyoshi