Problem installing ROOT_v6.6.16.00 ubuntu 20.04

Hello,
I’m having trouble with the root installation…

I did:
0 - Add all dependencies for the ubuntu (I’m using 20.04 LTS)
1 - create a path named root to put the installation on the home directory
2 - tar -xzvf root_v6.16.00.source.tar.gz && mv root-6.16.00 source
3 - mkdir build && cd build
4 - inside of the build path: sudo cmake …/source / -DPYTHON_EXECUTABLE=$(which python3) -DCMAKE_INSTALL_PREFIX=/usr/local /
5 - sudo make -j4 - On this point, I have the first error at 26%

[ 26%] Building CXX object

interpreter/llvm/src/lib/Support/CMakeFiles/LLVMSupport.dir/ConvertUTFWrapper.cpp.o
CMake Error at DAVIX-stamp/DAVIX-download-RelWithDebInfo.cmake:49 (message):

Command failed: 1
   /usr/bin/cmake' '-Dmake=' '-Dconfig=' '-P' '/home/mssandes/root/build/builtins/davix/DAVIX-prefix/src/DAVIX-stamp/DAVIX-download-RelWithDebInfo-impl.cmake

See also

    /home/mssandes/root/build/builtins/davix/DAVIX-prefix/src/DAVIX-stamp/DAVIX-download-*.log

make[2]: *** [builtins/davix/CMakeFiles/DAVIX.dir/build.make:91: builtins/davix/DAVIX-prefix/src/DAVIX-stamp/DAVIX-download] Error 1
make[1]: *** [CMakeFiles/Makefile2:7466: builtins/davix/CMakeFiles/DAVIX.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 26%] Building CXX object interpreter/llvm/src/lib/Support/CMakeFiles/LLVMSupport.dir/CrashRecoveryContext.cpp.o

And the second error at 27%:

[ 27%] Linking CXX static library ../libLLVMSupport.a
[ 27%] Built target LLVMSupport
make: *** [Makefile:152: all] Error 2

And the process is stoped!

I’d like to know how to fix this. On previous days I did the same installation and works well!

cheers.

Hi @mssandes,
something goes wrong when downloading and building one of ROOT’s dependencies, DAVIX.
As the error message suggests, the following files might contain more information about what goes wrong exactly:

/home/mssandes/root/build/builtins/davix/DAVIX-prefix/src/DAVIX-stamp/DAVIX-download-*.log

However:

  • unless you have very specific needs, you don’t have to compile ROOT from source. Take a look at https://root.cern/install for installation options, on Ubuntu you can just download a pre-compiled binary or install ROOT via conda – both methods take ~5 minutes with a good internet connection and far fewer things can go wrong than with a compilation from source
  • version 6.16 is quite old, I would strongly suggest that you switch to 6.22.06 if possible to get access to all the bug fixes and new features added since then

Cheers,
Enrico

Hi Enrico,

This error is super weird because I just installed it a day ago…

I’m using this version because I’m working with my colleague on this version…

So, this error is new to me… another time I didn’t see it, the installation of the v6.16.00 was done without problems…

Here is the DAVIX-download-err.log:

CMake Error at DAVIX-stamp/download-DAVIX.cmake:159 (message):
  Each download failed!

    error: downloading 'http://grid-deployment.web.cern.ch/grid-deployment/dms/lcgutil/tar/davix/0.6.7/davix-embedded-0.6.7.tar.gz' failed
         status_code: 22
         status_string: "HTTP response code said error"
         log:
         --- LOG BEGIN ---
           Trying 188.184.101.152:80...

  TCP_NODELAY set
    Trying 2001:1458:d00:35::100:23d:80...
  TCP_NODELAY set
  Immediate connect fail for 2001:1458:d00:35::100:23d: Network is
  unreachable
  Connected to grid-deployment.web.cern.ch (188.184.101.152) port 80 (#0)

  GET
  /grid-deployment/dms/lcgutil/tar/davix/0.6.7/davix-embedded-0.6.7.tar.gz
  HTTP/1.1

  Host: grid-deployment.web.cern.ch
  User-Agent: curl/7.66.0
  Accept: */*

  Mark bundle as not supporting multiuse
  The requested URL returned error: 404 Not Found
  Closing connection 0
 
         --- LOG END ---
         error: downloading 'http://grid-deployment.web.cern.ch/grid-deployment/dms/lcgutil/tar/davix/0.6.7/davix-embedded-0.6.7.tar.gz' failed
         status_code: 22
         status_string: "HTTP response code said error"
         log:
         --- LOG BEGIN ---
           Trying 188.184.101.152:80...

  TCP_NODELAY set
    Trying 2001:1458:d00:35::100:23d:80...
  TCP_NODELAY set
  Immediate connect fail for 2001:1458:d00:35::100:23d: Network is
  unreachable
  Connected to grid-deployment.web.cern.ch (188.184.101.152) port 80 (#0)

  GET
  /grid-deployment/dms/lcgutil/tar/davix/0.6.7/davix-embedded-0.6.7.tar.gz
  HTTP/1.1

  Host: grid-deployment.web.cern.ch
  User-Agent: curl/7.66.0
  Accept: */*  

  Mark bundle as not supporting multiuse
  The requested URL returned error: 404 Not Found
  Closing connection 0  

         --- LOG END ---
         error: downloading 'http://grid-deployment.web.cern.ch/grid-deployment/dms/lcgutil/tar/davix/0.6.7/davix-embedded-0.6.7.tar.gz' failed
         status_code: 22
         status_string: "HTTP response code said error"
         log:
         --- LOG BEGIN ---
           Trying 188.184.101.152:80...

  TCP_NODELAY set
    Trying 2001:1458:d00:35::100:23d:80...
  TCP_NODELAY set
  Immediate connect fail for 2001:1458:d00:35::100:23d: Network is
  unreachable
  Connected to grid-deployment.web.cern.ch (188.184.101.152) port 80 (#0)

  GET
  /grid-deployment/dms/lcgutil/tar/davix/0.6.7/davix-embedded-0.6.7.tar.gz
  HTTP/1.1

  Host: grid-deployment.web.cern.ch
  User-Agent: curl/7.66.0
  Accept: */*  

  Mark bundle as not supporting multiuse
  The requested URL returned error: 404 Not Found
  Closing connection 0  

         --- LOG END ---
         error: downloading 'http://grid-deployment.web.cern.ch/grid-deployment/dms/lcgutil/tar/davix/0.6.7/davix-embedded-0.6.7.tar.gz' failed
         status_code: 22
         status_string: "HTTP response code said error"
         log:
         --- LOG BEGIN ---
           Trying 188.184.101.152:80...

  TCP_NODELAY set
    Trying 2001:1458:d00:35::100:23d:80...
  TCP_NODELAY set
  Immediate connect fail for 2001:1458:d00:35::100:23d: Network is
  unreachable
  Connected to grid-deployment.web.cern.ch (188.184.101.152) port 80 (#0)

  GET
  /grid-deployment/dms/lcgutil/tar/davix/0.6.7/davix-embedded-0.6.7.tar.gz
  HTTP/1.1
  Host: grid-deployment.web.cern.ch
  User-Agent: curl/7.66.0
  Accept: */*  

  Mark bundle as not supporting multiuse
  The requested URL returned error: 404 Not Found
  Closing connection 0  

         --- LOG END ---
         error: downloading 'http://grid-deployment.web.cern.ch/grid-deployment/dms/lcgutil/tar/davix/0.6.7/davix-embedded-0.6.7.tar.gz' failed
         status_code: 22
         status_string: "HTTP response code said error"
         log:
         --- LOG BEGIN ---
           Trying 188.184.101.152:80...

  TCP_NODELAY set
    Trying 2001:1458:d00:35::100:23d:80...
  TCP_NODELAY set
  Immediate connect fail for 2001:1458:d00:35::100:23d: Network is
  unreachable
  Connected to grid-deployment.web.cern.ch (188.184.101.152) port 80 (#0)
  GET
  /grid-deployment/dms/lcgutil/tar/davix/0.6.7/davix-embedded-0.6.7.tar.gz
  HTTP/1.1
  Host: grid-deployment.web.cern.ch
  User-Agent: curl/7.66.0
  Accept: */*  
  Mark bundle as not supporting multiuse
  The requested URL returned error: 404 Not Found
  Closing connection 0  

         --- LOG END ---
         error: downloading 'http://grid-deployment.web.cern.ch/grid-deployment/dms/lcgutil/tar/davix/0.6.7/davix-embedded-0.6.7.tar.gz' failed
         status_code: 22
         status_string: "HTTP response code said error"
         log:
         --- LOG BEGIN ---
           Trying 188.184.101.152:80...

  TCP_NODELAY set
    Trying 2001:1458:d00:35::100:23d:80...
  TCP_NODELAY set
  Immediate connect fail for 2001:1458:d00:35::100:23d: Network is
  unreachable
  Connected to grid-deployment.web.cern.ch (188.184.101.152) port 80 (#0)
  GET
  /grid-deployment/dms/lcgutil/tar/davix/0.6.7/davix-embedded-0.6.7.tar.gz
  HTTP/1.1

  Host: grid-deployment.web.cern.ch
  User-Agent: curl/7.66.0
  Accept: */*

  Mark bundle as not supporting multiuse
  The requested URL returned error: 404 Not Found
  Closing connection 0
         --- LOG END ---
  
CMake Error at DAVIX-stamp/DAVIX-download-RelWithDebInfo-impl.cmake:9 (message):
  Command failed (1):

   '/usr/bin/cmake' '-P' '/home/mssandes/root/build/builtins/davix/DAVIX-prefix/src/DAVIX-stamp/download-DAVIX.cmake'

Hi,
did you install this version a day ago? Apparently the davix version ROOT 6.16 needs is not available for download anymore (@Axel is that right?).

You can try building after specifying -Dbuiltin_davix=OFF at cmake configuration time, or you can just conda install -c conda-forge root=6.16 (see link in my first post).

Cheers,
Enrico

Hi Enrico,

I tried o solve this problem as you said and look for other options to solve and use the ROOT 6.16 but until now no one solution works…

As I said to you I had installed ROOT 6.16 without problems two times on ubuntu 20.04, but I had problems with my OS and I had to reinstall ubuntu again.

So I had the surprise that I can’t finalize the installation without a problem at the last time… I can’t spend much time to solve this super weird problem, because of this I follow your suggestion and installed a compiled version for ROOT 6.22 for ubuntu 20.04. I tried to use a ROOT 6.16 compiled version for ubuntu 20.04 but didn’t exist.

Thanks for your attention and answers.

Cheers,
Marton.

Hi @mssandes,
it’s actually better to use more recent ROOT versions (latest and greatest features and bugfixes) unless you have special requirements that force you to use ROOT 6.16.

If that’s not the case, can I mark this as solved?
If you need ROOT 6.16, what’s the problem when you install it via conda?

Cheers,
Enrico

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.