Hello Axel,
Thanks for your quick answer!
Our user managed to create a small set of pieces of code which allows to reproduce the error.
The following command can trigger the error:
$ ROOTDEBUG=7 root -b SignalModel.C+ > out.txt 2>&1
However, a small progress is that it seems this is environment related, as I cannot reproduce the error when running the code on my side.
Please find attached two output files.
- out_good.txt is what I get when running the following command in the code directory in my own environment
- out_bad.txt, which is what our user gets when running in his own environment.
PS: not sure mine is “good”, but at least I can run the code without getting any error.
I can provide the set of codes if needed.
The main code, i.e. “SignalModel.C” compiles at some point a second macro “RooTwoSidedCBShape.cxx”, this is when the error appears (line 5202), i.e. something like
cc1plus: error: /pbs/throng/ccin2p3/support/gadrat/software/centos-7-x86_64/root/build_v6-22-06/include: Permission denied
cc1plus: error: /pbs/throng/ccin2p3/support/gadrat/software/centos-7-x86_64/root/build_v6-22-06/include/: Permission denied
However, there is another error which pops up earlier (first at line 737, and twice more later):
/pbs/software/centos-7-x86_64/root/6.22.06/include/root/TDirectoryFile.h:31:1: error: incomplete type ‘TKey’ named in nested name specifier
Thanks,
Cheers,
Sébastien
Some more information:
- ROOT v6.22.06
- compiled against Python 3.8.6
- and with GCC 8 (from the RH devtoolset-8)
- the correct ROOT installation PATH is /pbs/software/centos-7-x86_64/root/6.22.06/
out_good.txt (320.9 KB) out_bad.txt (591.7 KB)