Sorry for the slow response. A couple of questions:
do you actually need to build from source, or can you take an existing binary (conda, released binary, distro package, etc)?
if you really need to build from source, do you need xrootd? Else you can disable it passing -Dxrootd=Off to cmake
that’s likely not the actual error; I suspect that it happened before. There might be some output along the lines of “Failed to build xrootd, see …log” - we will need these log files.