FairRoot icon indicating copy to clipboard operation
FairRoot copied to clipboard

FairRoot v18.8.1 not working with FairSoft jan24 release

Open mgoncerz opened this issue 4 months ago • 4 comments

Running the cmake configuration command with newest FairRoot (v18.8.1) and FairSoft (jan24) release, gives an error:

CMake Error at cmake/modules/FindROOT.cmake:94 (Math): Math cannot parse the expression: "6.30.0210000 + 6.30.02100 + 6.30.02": syntax error, unexpected exp_NUMBER, expecting end of file (5). Call Stack (most recent call first): cmake/modules/FairMacros.cmake:431 (find_package) CMakeLists.txt:137 (find_package2)

CMake Error at cmake/modules/FindROOT.cmake:95 (Math): Math cannot parse the expression: "6.30.0210000 + 6.30.02100 + 6.30.02": syntax error, unexpected exp_NUMBER, expecting end of file (5). Call Stack (most recent call first): cmake/modules/FairMacros.cmake:431 (find_package) CMakeLists.txt:137 (find_package2)

It works fine with FairSoft nov22p1 (release previous to the problematic one).

I suspect the recent update of ROOT changed the way in which the (sub)versions are communicated, i.e. the splitting in findROOT.cmake is no longer working.

Tested on Ubuntu 23.04, cmake 3.25.1, gcc 12.3.0.

mgoncerz avatar Feb 21 '24 14:02 mgoncerz