Hi @Wile_E_Coyote , thanks for providing recommendations with respect to the build. I have tweaked the install scripts and made sure:
Install and build directories are wiped out before the build.
ROOT related environment libraries are unset before the build.
Build is carried out in a dedicated directory.
I have attempted to build ROOT 6.22.06 on both of my laptops and it worked well. However, ROOT 6.22.08 build does not go through. Terminal output is following:
CMake Error at /home/petrstepanov/Source/root-6.22.08-build/XROOTD-prefix/src/XROOTD-stamp/XROOTD-build-Debug.cmake:49 (message):
Command failed: 2
'/usr/bin/gmake'
See also
/home/petrstepanov/Source/root-6.22.08-build/XROOTD-prefix/src/XROOTD-stamp/XROOTD-build-*.log
I also attach output from another log file referred above /home/petrstepanov/Source/root-6.22.08-build/XROOTD-prefix/src/XROOTD-stamp/XROOTD-build-*.log. Here it is:
[I] No git repository info found. Trying to interpret VERSION_INFO
[I] Using the user supplied version: v4.12.8
[I] src/XrdVersion.hh successfully generated
/home/petrstepanov/Source/root-6.22.08-build/XROOTD-prefix/src/XROOTD/src/XrdCl/XrdClFileStateHandler.cc:45:10: fatal error: uuid/uuid.h: No such file or directory
45 | #include <uuid/uuid.h>
| ^~~~~~~~~~~~~
compilation terminated.
gmake[5]: *** [src/XrdCl/CMakeFiles/XrdCl.dir/build.make:369: src/XrdCl/CMakeFiles/XrdCl.dir/XrdClFileStateHandler.cc.o] Error 1
gmake[5]: *** Waiting for unfinished jobs....
gmake[4]: *** [CMakeFiles/Makefile2:2150: src/XrdCl/CMakeFiles/XrdCl.dir/all] Error 2
gmake[3]: *** [Makefile:150: all] Error 2
Both laptops with Fedora 32 and 33 refer to the same error. I think the problem is that ROOT 6.22.08 requires extra dependency, namely libuuid-devel. I will reach out soon an let you know how’s it going.
I have issued a Pull Request with updated dependencies required by ROOT on Fedora linux. Some library names were mistyped and some were added: R-devel, R-Rcpp-devel, R-RInside-devel, python3-numpy, libuuid-devel.
Recent ROOT version with debug symbols and all options compiles fine now. However I am not sure if libuuid-devel is a required or optional dependency. So maintainers will need to review my PR. Thanks!