@amadio @feickert
The script seemed to install ROOT successfully, but running ROOT ends in segmentation fault with this error:
error: unable to read PCH file /home/user/root_build/etc/allDict.cxx.pch: 'No such file
or directory'
fatal error: PCH file '/home/user/root_build/etc/allDict.cxx.pch' not found: module file not
found
*** Break *** segmentation violation
===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0 0x00007f889290108a in __GI___waitpid (pid=2983, stat_loc=stat_loc
entry=0x7ffc97fbcec0, options=options
entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
#1 0x00007f88928792fb in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:148
#2 0x00007f889347b4b8 in TUnixSystem::Exec (shellcmd=<optimized out>, this=0x55a8698084f0) at /home/user/root_src/core/unix/src/TUnixSystem.cxx:2118
#3 TUnixSystem::StackTrace (this=0x55a8698084f0) at /home/user/root_src/core/unix/src/TUnixSystem.cxx:2412
#4 0x00007f889347dadc in TUnixSystem::DispatchSignals (this=0x55a8698084f0, sig=kSigSegmentationViolation) at /home/user/root_src/core/unix/src/TUnixSystem.cxx:3643
#5 <signal handler called>
#6 0x00007f888f33eb52 in clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) () from /home/user/root_build/lib/libCling.so
#7 0x00007f888e06277c in cling::IncrementalParser::ParseInternal(llvm::StringRef) () from /home/user/root_build/lib/libCling.so
#8 0x00007f888e0633cc in cling::IncrementalParser::Compile(llvm::StringRef, cling::CompilationOptions const&) () from /home/user/root_build/lib/libCling.so
#9 0x00007f888e003f9e in cling::Interpreter::DeclareInternal(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cling::CompilationOptions const&, cling::Transaction**) const () from /home/user/root_build/lib/libCling.so
#10 0x00007f888e00414e in cling::Interpreter::declare(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cling::Transaction**) () from /home/user/root_build/lib/libCling.so
#11 0x00007f888dfa24fc in TCling::TCling (this=0x55a86986e3a0, name=<optimized out>, title=<optimized out>) at /home/user/root_src/core/metacling/src/TCling.cxx:1155
#12 0x00007f888dfa2eee in CreateInterpreter (interpLibHandle=<optimized out>) at /home/user/root_src/core/metacling/src/TCling.cxx:596
#13 0x00007f88932ead44 in TROOT::InitInterpreter (this=0x7f889376aa60 <ROOT::Internal::GetROOT1()::alloc>) at /home/user/root_src/core/base/src/TROOT.cxx:1974
#14 0x00007f88932eb0e6 in ROOT::Internal::GetROOT2 () at /home/user/root_src/core/base/src/TROOT.cxx:364
#15 0x00007f88933641b5 in TApplication::TApplication (this=0x55a869853b70, appClassName=0x55a867e040f4 "Rint", argc=0x7ffc97fc20dc, argv=0x7ffc97fc21d8, numOptions=0) at /home/user/root_src/core/base/src/TApplication.cxx:152
#16 0x00007f88937ad2a4 in TRint::TRint (this=0x55a869853b70, appClassName=<optimized out>, argc=<optimized out>, argv=<optimized out>, options=<optimized out>, numOptions=<optimized out>, noLogo=false) at /home/user/root_src/core/rint/src/TRint.cxx:146
#17 0x000055a867e03dc0 in main (argc=<optimized out>, argv=0x7ffc97fc21d8) at /home/user/root_src/main/src/rmain.cxx:27
===========================================================
The lines below might hint at the cause of the crash.
You may get help by asking at the ROOT forum http://root.cern.ch/forum.
Only if you are really convinced it is a bug in ROOT then please submit a
report at http://root.cern.ch/bugs. Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.
===========================================================
#6 0x00007f888f33eb52 in clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) () from /home/user/root_build/lib/libCling.so
#7 0x00007f888e06277c in cling::IncrementalParser::ParseInternal(llvm::StringRef) () from /home/user/root_build/lib/libCling.so
#8 0x00007f888e0633cc in cling::IncrementalParser::Compile(llvm::StringRef, cling::CompilationOptions const&) () from /home/user/root_build/lib/libCling.so
#9 0x00007f888e003f9e in cling::Interpreter::DeclareInternal(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cling::CompilationOptions const&, cling::Transaction**) const () from /home/user/root_build/lib/libCling.so
#10 0x00007f888e00414e in cling::Interpreter::declare(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cling::Transaction**) () from /home/user/root_build/lib/libCling.so
#11 0x00007f888dfa24fc in TCling::TCling (this=0x55a86986e3a0, name=<optimized out>, title=<optimized out>) at /home/user/root_src/core/metacling/src/TCling.cxx:1155
#12 0x00007f888dfa2eee in CreateInterpreter (interpLibHandle=<optimized out>) at /home/user/root_src/core/metacling/src/TCling.cxx:596
#13 0x00007f88932ead44 in TROOT::InitInterpreter (this=0x7f889376aa60 <ROOT::Internal::GetROOT1()::alloc>) at /home/user/root_src/core/base/src/TROOT.cxx:1974
#14 0x00007f88932eb0e6 in ROOT::Internal::GetROOT2 () at /home/user/root_src/core/base/src/TROOT.cxx:364
#15 0x00007f88933641b5 in TApplication::TApplication (this=0x55a869853b70, appClassName=0x55a867e040f4 "Rint", argc=0x7ffc97fc20dc, argv=0x7ffc97fc21d8, numOptions=0) at /home/user/root_src/core/base/src/TApplication.cxx:152
#16 0x00007f88937ad2a4 in TRint::TRint (this=0x55a869853b70, appClassName=<optimized out>, argc=<optimized out>, argv=<optimized out>, options=<optimized out>, numOptions=<optimized out>, noLogo=false) at /home/user/root_src/core/rint/src/TRint.cxx:146
#17 0x000055a867e03dc0 in main (argc=<optimized out>, argv=0x7ffc97fc21d8) at /home/user/root_src/main/src/rmain.cxx:27