Closed c-dilks closed 1 year ago
This issue is also listed in JANA2 here:
[https://github.com/JeffersonLab/JANA2/issues/174]()
You assessment of the issue is correct. Adding /usr/local/bin
back in in eicrecon-this.sh
is a good solution that can be addressed immediately.
I think the best solution (aside from ROOT
fixing it) will be to unset the ROOTSYS
envar in the jana-this.sh
script before thisroot.sh
is sourced. That will be in the next JANA2
release. In the meantime, you can unset it yourself before sourcing eicrecon-this.sh
.
Environment: (where does this bug occur, have you tried other environments)
main
for latest released):main
, when callingsource eicrecon-this.sh
HEAD
for the most recent on git):Steps to reproduce: (give a step by step account of how to trigger the bug)
I'm certain I've seen someone else open this issue before, but I can't find it. Check
$PATH
before and after thesource
:In some sense this is
ROOT
's fault, but we call thissource thisroot.sh
when we callsource eicrecon-this.sh
. A quick workaround is to put/usr/local/bin
back in the$PATH
insrc/scripts/eicrecon-this.sh.in
Expected Result: (what do you expect when you execute the steps above)
From the
diff
command:Actual Result: (what do you get when you execute the steps above)
From the
diff
command:Try to run
cmake
(installed at/usr/local/bin
):