Alienv cannot find root v6-18-04-alice1-11 modules

Dear all,
when entering the current version of O2 with the current alidist reciepes, I get the following error:

ROOT(6):ERROR:105: Unable to locate a modulefile for ‘ROOT/v6-18-04-alice1-11’
ROOT(26):ERROR:105: Unable to locate a modulefile for ‘ROOT/v6-18-04-alice1-11’
ROOT(26):ERROR:105: Unable to locate a modulefile for ‘ROOT/v6-18-04-alice1-11’
ROOT(26):ERROR:105: Unable to locate a modulefile for ‘ROOT/v6-18-04-alice1-11’
ROOT(39):ERROR:105: Unable to locate a modulefile for ‘ROOT/v6-18-04-alice1-11’
ROOT(25):ERROR:105: Unable to locate a modulefile for ‘ROOT/v6-18-04-alice1-11’
ROOT(6):ERROR:105: Unable to locate a modulefile for ‘ROOT/v6-18-04-alice1-11’

It looks like, aliBuild only installed ROOT/v6-18-04-alice1-10.
Could this be a general problem, that needs a change in the recipes?
A while ago there was a similar issue with the OpenSSL module that got fixed with this pull request https://github.com/alisw/alidist/pull/2011.
Can anybody help?

Thanks a lot in advance and cheers,
Mario

Hi Mario,

actually, in the alidist recipe for root (i.e. root.sh) the version specified is in line 3: tag: "v6-18-04-alice1"

The number at the end is just the build number on your machine. To me it looks strange, that the last available build number is 10, but O2 wants to have 11. I guess, something is messed up here on your system. Although I am not 100% sure, here are some suggestions you may try:

  • Open a new terminal and try it there. Maybe sounds stupid, but did the trick for me already when things where messed up somehow.
  • Run aliBuild clean and afterwards recompile O2, then again try to load the environment.
  • If that does not help, try a different Root version, if you do not necessarily need v6-18. E.g. you could try v6-16-00 (change this in line 3 in alidist/root.sh).

Cheers,
Stefan

Hi Stefan,
thanks a lot for your help!
I tried aliBuild clean already but it did not help (also with --agressive flag).
Somehow the build numbers expected when the modules are loaded differ from the ones installed on my system (not sure how I managed to break that), even though alienv q shows me that the right modules are collected from the installation folder.
Before I saw your answer I already went back a few days in alidist and re-compiled.
This way I managed to get the same error also for a bunch of other modules (python, etc.), so I decided to remove and re-install everything from scratch with the current alidist and O2. However, after doing this I ended up again with the original error. I dont understand it…

Anyway, thanks to your trick of changing the root version I now at least have a (more or less) running system again…
( for the record: I changed in root.sh
tag: “v6-18-04-alice1”
source: https://github.com/alisw/root
back to
tag: “v6-18-04”
source: https://github.com/root-project/root
)

Thanks and cheers,
Mario