WSL Build from source error: RInt.pcm is out of date \ cannot read module signature

You can also work around the problem by building Rint first and then the rest of ROOT:

cmake --build . --target Rint
cmake --build . --target install