Error building root at XROOTD

Hello,

I am trying to build root from source on another machine.
When I use make, I actually have the following error :

CMake Error at XROOTD-stamp/XROOTD-download-Release.cmake:49 (message):
Command failed: 1

‘/cmake/cmake_3_24_0/install/bin/cmake’ ‘-Dmake=’ ‘-Dconfig=’ ‘-P’ /root/root_6_26_06/build/builtins/xrootd/XROOTD-prefix/src/XROOTD-stamp/XROOTD-download-Release-impl.cmake’

See also
/build/builtins/xrootd/XROOTD-prefix/src/XROOTD-stamp/XROOTD-download-*.log

And in the log file… :
1 – Downloading…
2 dst=/root/root_6_26_06/build/builtins/xrootd/XROOTD-prefix/src/xrootd-5.4.3.tar.gz’
3 timeout=‘600 seconds’
4 inactivity timeout=‘none’
5 – Using src=‘http://lcgpackages.web.cern.ch/lcgpackages/tarFiles/sources/xrootd-5.4.3.tar.gz
6 – [download 100% complete]
7 – [download 0% complete]
8 – [download 1% complete]

107 – [download 100% complete]
108 – verifying file…
109 file=‘/root/root_6_26_06/build/builtins/xrootd/XROOTD-prefix/src/xrootd-5.4.3.tar.gz’
110 – SHA256 hash of
111 /root/root_6_26_06/build/builtins/xrootd/XROOTD-prefix/src/xrootd-5.4.3.tar.gz
112 does not match expected value
113 expected: ‘56a29c88232f2f384e151b148fcaaa8d8db5c5fdc4615193978c8f4f3a99663c’
114 actual: ‘2d58210161ef61fabad7c86a038f2ef71c2ba1a0e782fcb6b8c92a1ba5f2a2b3’
115 – Hash mismatch, removing…
116 – Using src=‘http://lcgpackages.web.cern.ch/lcgpackages/tarFiles/sources/xrootd-5.4.3.tar.gz
117 – [download 100% complete]
118 – [download 0% complete]
119 – [download 1% complete]

and it repeats for a total of 7 times until it stops to compile.

Have you already seen this issue ? Do you have an idea how I can fix it ?

Thank you !

I just noticed that this is a known issue with the release… I will try an older version then

Hello,

Thank you for reporting, it indeed looks like the same problem. I will comment on the issue (it was believed to be fixed for 6.26/04 and master).

Hi @Korlek ,

as of yesterday the tip of the v6-26-00-patches branch should not have the hash mismatch problem.

Another workaround is to install xrootd separately (e.g. as a system package): the ROOT build should then pick the system installation instead of trying to build the built-in version.

Cheers,
Enrico