Closed paskino closed 3 weeks ago
@KrisThielemans do you have any clue onto why ROOT fails to build with these changes?
[ 0%] Performing install step for 'XROOTD'
CMake Error at /home/runner/work/SIRF-SuperBuild/SIRF-SuperBuild/build/builds/ROOT/build/builtins/xrootd/XROOTD-prefix/src/XROOTD-stamp/XROOTD-install-Release.cmake:49 (message):
Command failed: 1
'/usr/local/bin/cmake' '-Dmake=' '-Dconfig=' '-P' '/home/runner/work/SIRF-SuperBuild/SIRF-SuperBuild/build/builds/ROOT/build/builtins/xrootd/XROOTD-prefix/src/XROOTD-stamp/XROOTD-install-Release-impl.cmake'
See also
/home/runner/work/SIRF-SuperBuild/SIRF-SuperBuild/build/builds/ROOT/build/builtins/xrootd/XROOTD-prefix/src/XROOTD-stamp/XROOTD-install-*.log
Luckily, we do upload logs as an artefact (visible in the Summary of the Action). Checking the install-err.log:
gmake[7]: *** read jobs pipe: Bad file descriptor. Stop.
gmake[7]: *** Waiting for unfinished jobs....
gmake[6]: *** [Makefile:136: all] Error 2
We have had this before https://github.com/root-project/root/issues/14520 and it auto-disappeared.
Presumably our build is overload the MS network... Sadly, I'm not sure what can be done about it. I suppose we could modify the job to use a packaged ROOT as opposed to building it ourselves, and have one that does build it, but is allowed to fail.
Here's what we do in STIR GHA
https://github.com/UCL/STIR/blob/feb6d85eadb392f5b8278d3b97ae2ee67ca439d9/.github/workflows/build-test.yml#L260-L264
You'd then have to say USE_SYSTEM_ROOT=ON
. Of course, it would make sense to put the download in the docker scripts. Not 100% sure about the source .../thisroot.sh
though.
Does this mean we will not test BUILD_ROOT=ON
rather USE_SYSTEM_ROOT=ON
on the CI?
yes, I think it'd be nice to have one job where we build it ourselves, but allow failure, as I wrote.
Please merge master
to get the correct STIR version.
@paskino @casperdcl this is ready to merge from my perspective. Please ahead, and then tag.
IIRC @paskino found another bug in this PR
waiting for
version_config.cmake
and merge@casperdcl @paskino please merge and tag
Bump CIL and CCPi-Regularisation-Toolkit versions for PSMR24 training school
Currently failing build with
BUILD_ROOT=ON
. I don't undestand where this comes from as I did not change anything around this.