Rootcling Errors on Rocky Linux

Hi @cjt00, welcome back to the ROOT forum!

Hmm, looks like something is wrong with the compiler setup of gcc and clang. The headers from the GCC STL are trying to include some headers from clang, for whatever reason.

The only obvious change I can think of that might have caused this the move to a new OS, previously I was working with SL7 on which all of this works fine. I’ve checked with the same version of root, same compiler etc on the old SL7 system and the above command works just fine.

ROOT Version: 6.18.04
Platform: Rocky Linux 8.9
Compiler: GCC 8.2.0

With “same version of ROOT”, do you mean the exact same ROOT build on cvmfs? If yes, this seems like it would never work. SL 7 is based on RHEL 7, and Rocky 8.9 is based on RHEL 8. It’s guaranteed that something goes wrong if you mix and match packages from different major RHEL versions like that. How did you make sure to even have the same compiler version? Maybe that’s where the problem with the environment comes from.

Maybe this post is also helpful to you:

Cheers,
Jonas