Installing ROOT Release 6.24/06 on Ubuntu 22.04.5 LTS

Hi ROOT community,

I am trying to install ROOT version 6.24.06 on my Ubuntu system 22.04.5 LTS in order to install GATE 9.2. On their website, it says it’s recommended to install this version of ROOT.

However, I am having problems with installing it from source. I get this error when doing the ´make´ in the build folder:

– Build files have been written to: /home/administrator/Software-Gate/root/root-build
[ 0%] Built target AFTERIMAGE
[ 0%] Performing build step for ‘XROOTD’
CMake Error at /home/administrator/Software-Gate/root/root-build/XROOTD-prefix/src/XROOTD-stamp/XROOTD-build-Release.cmake:49 (message):
Command failed: 2

‘make’

See also

/home/administrator/Software-Gate/root/root-build/XROOTD-prefix/src/XROOTD-stamp/XROOTD-build-*.log

make[2]: *** [CMakeFiles/XROOTD.dir/build.make:86: XROOTD-prefix/src/XROOTD-stamp/XROOTD-build] Error 1
make[1]: *** [CMakeFiles/Makefile2:7440: CMakeFiles/XROOTD.dir/all] Error 2
make: *** [Makefile:156: all] Error 2

Could anyone help me out on how to solve this? I think it’s because I have Ubuntu system 22.04.5 LTS and this ROOT version seems to be for older versions of Ubuntu but I wanted to be sure and advised on what version should I install so that it is also compatible with GATE 9.2.

Thank you!

PS. I did it again and now i get this error:

[ 58%] Building CXX object interpreter/llvm/src/lib/Support/CMakeFiles/LLVMSupport.dir/Watchdog.cpp.o
[ 58%] Built target Base
[ 58%] Linking CXX static library …/libLLVMSupport.a
[ 58%] Built target LLVMSupport
make: *** [Makefile:156: all] Error 2

Greetings,
Beatriz

Incorrect; if you download and compile the source (*.source.tar.gz file), you are compiling for your specific system, it’s not for “other versions”.
Be sure to follow carefully the “build from source” instructions (and do not forget to first install all the required dependencies):

(in your case, you download the version you need separately, so you don’t need the git clone part)

Hello @Beatriz_Ornelas,

I the latest ROOT versions that are still supported are also built on Ubuntu 22.04, so maybe it’s easier to try those than trying figure out the dependencies for a version that’s out of support.
But I agree with dastudillo that a build error in XRootD looks like the dependencies weren’t installed correctly. The output you posted seems to be missing the actual error, which might be buried in a logfile, so we cannot see what’s going solely based on the information in your first post.

By the way, here is the full manual for building from source:

Hi,

Thank you for explaining that!

I installed the required dependencies and got this error for libvdt-dev:

administrator@pacheca-ibeb:~$ sudo apt install binutils cmake dpkg-dev g++ gcc libssl-dev git libx11-dev
libxext-dev libxft-dev libxpm-dev python3 libtbb-dev libvdt-dev libgif-dev
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package libvdt-dev

but as it says on the website it is available starting from Ubuntu 23.10 and since I have 22.04, I think this is not the problem or could it be?

Yes, I did follow that guide and also youtube tutorials that were following too. So, I really don’t get why this error is happening.

Hi,

I thought about installing a newer version of ROOT but the thing I am afraid is if it isn’t after compatible with GATE 9.2. I responded to dastudillo that I am only having one error with one of the dependencies. I can share what are on the files with the information where the error is happening but I can’t upload here. How could I do it?

Hello,

don’t worry about vdt, this should be detected by ROOT.

What we need now is the full output of the build step. You can run with make VERBOSE=1, so we see what it’s trying to do when the failure happens.

Just enclose the lines in ``` to post them here. No guarantees of course that we can easily fix it, but we can have a look. :slightly_smiling_face:

I did it like you said with the verbose=1 and got this:

administrator@pacheca-ibeb:~/Software-Gate/root/build-root$ cmake --build . --target install -- VERBOSE=1
/usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake -S/home/administrator/Software-Gate/root/root-6.24.06 -B/home/administrator/Software-Gate/root/build-root --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake -E cmake_progress_start /home/administrator/Software-Gate/root/build-root/CMakeFiles /home/administrator/Software-Gate/root/build-root//CMakeFiles/progress.marks
/usr/bin/gmake  -f CMakeFiles/Makefile2 all
gmake[1]: Entering directory '/home/administrator/Software-Gate/root/build-root'
/usr/bin/gmake  -f CMakeFiles/AFTERIMAGE.dir/build.make CMakeFiles/AFTERIMAGE.dir/depend
gmake[2]: Entering directory '/home/administrator/Software-Gate/root/build-root'
cd /home/administrator/Software-Gate/root/build-root && /usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake -E cmake_depends "Unix Makefiles" /home/administrator/Software-Gate/root/root-6.24.06 /home/administrator/Software-Gate/root/root-6.24.06 /home/administrator/Software-Gate/root/build-root /home/administrator/Software-Gate/root/build-root /home/administrator/Software-Gate/root/build-root/CMakeFiles/AFTERIMAGE.dir/DependInfo.cmake --color=
gmake[2]: Leaving directory '/home/administrator/Software-Gate/root/build-root'
/usr/bin/gmake  -f CMakeFiles/AFTERIMAGE.dir/build.make CMakeFiles/AFTERIMAGE.dir/build
gmake[2]: Entering directory '/home/administrator/Software-Gate/root/build-root'
[  0%] Creating directories for 'AFTERIMAGE'
/usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake -Dcfgdir= -P /home/administrator/Software-Gate/root/build-root/AFTERIMAGE-prefix/tmp/AFTERIMAGE-mkdirs.cmake
/usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake -E touch /home/administrator/Software-Gate/root/build-root/AFTERIMAGE-prefix/src/AFTERIMAGE-stamp/AFTERIMAGE-mkdir
[  0%] Performing download step for 'AFTERIMAGE'
cd /home/administrator/Software-Gate/root/build-root/AFTERIMAGE-prefix/src && /usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake -P /home/administrator/Software-Gate/root/build-root/AFTERIMAGE-prefix/src/AFTERIMAGE-stamp/AFTERIMAGE-download-Release.cmake
-- AFTERIMAGE download command succeeded.  See also /home/administrator/Software-Gate/root/build-root/AFTERIMAGE-prefix/src/AFTERIMAGE-stamp/AFTERIMAGE-download-*.log
cd /home/administrator/Software-Gate/root/build-root/AFTERIMAGE-prefix/src && /usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake -E touch /home/administrator/Software-Gate/root/build-root/AFTERIMAGE-prefix/src/AFTERIMAGE-stamp/AFTERIMAGE-download
[  0%] No update step for 'AFTERIMAGE'
/usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake -E echo_append
/usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake -E touch /home/administrator/Software-Gate/root/build-root/AFTERIMAGE-prefix/src/AFTERIMAGE-stamp/AFTERIMAGE-update
[  0%] No patch step for 'AFTERIMAGE'
/usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake -E echo_append
/usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake -E touch /home/administrator/Software-Gate/root/build-root/AFTERIMAGE-prefix/src/AFTERIMAGE-stamp/AFTERIMAGE-patch
[  0%] Performing configure step for 'AFTERIMAGE'
cd /home/administrator/Software-Gate/root/build-root/AFTERIMAGE-prefix/src/AFTERIMAGE && /usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake -P /home/administrator/Software-Gate/root/build-root/AFTERIMAGE-prefix/src/AFTERIMAGE-stamp/AFTERIMAGE-configure-Release.cmake
-- AFTERIMAGE configure command succeeded.  See also /home/administrator/Software-Gate/root/build-root/AFTERIMAGE-prefix/src/AFTERIMAGE-stamp/AFTERIMAGE-configure-*.log
cd /home/administrator/Software-Gate/root/build-root/AFTERIMAGE-prefix/src/AFTERIMAGE && /usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake -E touch /home/administrator/Software-Gate/root/build-root/AFTERIMAGE-prefix/src/AFTERIMAGE-stamp/AFTERIMAGE-configure
[  0%] Performing build step for 'AFTERIMAGE'
cd /home/administrator/Software-Gate/root/build-root/AFTERIMAGE-prefix/src/AFTERIMAGE && /usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake -Dmake=/usr/bin/gmake -P /home/administrator/Software-Gate/root/build-root/AFTERIMAGE-prefix/src/AFTERIMAGE-stamp/AFTERIMAGE-build-Release.cmake
-- AFTERIMAGE build command succeeded.  See also /home/administrator/Software-Gate/root/build-root/AFTERIMAGE-prefix/src/AFTERIMAGE-stamp/AFTERIMAGE-build-*.log
cd /home/administrator/Software-Gate/root/build-root/AFTERIMAGE-prefix/src/AFTERIMAGE && /usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake -E touch /home/administrator/Software-Gate/root/build-root/AFTERIMAGE-prefix/src/AFTERIMAGE-stamp/AFTERIMAGE-build
[  0%] Performing install step for 'AFTERIMAGE'
cd /home/administrator/Software-Gate/root/build-root/AFTERIMAGE-prefix/src/AFTERIMAGE && /usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake -Dmake=/usr/bin/gmake -P /home/administrator/Software-Gate/root/build-root/AFTERIMAGE-prefix/src/AFTERIMAGE-stamp/AFTERIMAGE-install-Release.cmake
-- AFTERIMAGE install command succeeded.  See also /home/administrator/Software-Gate/root/build-root/AFTERIMAGE-prefix/src/AFTERIMAGE-stamp/AFTERIMAGE-install-*.log
cd /home/administrator/Software-Gate/root/build-root/AFTERIMAGE-prefix/src/AFTERIMAGE && /usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake -E touch /home/administrator/Software-Gate/root/build-root/AFTERIMAGE-prefix/src/AFTERIMAGE-stamp/AFTERIMAGE-install
[  0%] Completed 'AFTERIMAGE'
/usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake -E make_directory /home/administrator/Software-Gate/root/build-root/CMakeFiles
/usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake -E touch /home/administrator/Software-Gate/root/build-root/CMakeFiles/AFTERIMAGE-complete
/usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake -E touch /home/administrator/Software-Gate/root/build-root/AFTERIMAGE-prefix/src/AFTERIMAGE-stamp/AFTERIMAGE-done
gmake[2]: Leaving directory '/home/administrator/Software-Gate/root/build-root'
[  0%] Built target AFTERIMAGE
/usr/bin/gmake  -f CMakeFiles/XROOTD.dir/build.make CMakeFiles/XROOTD.dir/depend
gmake[2]: Entering directory '/home/administrator/Software-Gate/root/build-root'
cd /home/administrator/Software-Gate/root/build-root && /usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake -E cmake_depends "Unix Makefiles" /home/administrator/Software-Gate/root/root-6.24.06 /home/administrator/Software-Gate/root/root-6.24.06 /home/administrator/Software-Gate/root/build-root /home/administrator/Software-Gate/root/build-root /home/administrator/Software-Gate/root/build-root/CMakeFiles/XROOTD.dir/DependInfo.cmake --color=
gmake[2]: Leaving directory '/home/administrator/Software-Gate/root/build-root'
/usr/bin/gmake  -f CMakeFiles/XROOTD.dir/build.make CMakeFiles/XROOTD.dir/build
gmake[2]: Entering directory '/home/administrator/Software-Gate/root/build-root'
[  0%] Creating directories for 'XROOTD'
/usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake -Dcfgdir= -P /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/tmp/XROOTD-mkdirs.cmake
/usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake -E touch /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD-stamp/XROOTD-mkdir
[  0%] Performing download step (download, verify and extract) for 'XROOTD'
cd /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src && /usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake -P /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD-stamp/XROOTD-download-Release.cmake
-- XROOTD download command succeeded.  See also /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD-stamp/XROOTD-download-*.log
cd /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src && /usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake -E touch /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD-stamp/XROOTD-download
[  0%] No update step for 'XROOTD'
/usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake -E echo_append
/usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake -E touch /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD-stamp/XROOTD-update
[  0%] No patch step for 'XROOTD'
/usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake -E echo_append
/usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake -E touch /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD-stamp/XROOTD-patch
[  0%] Performing configure step for 'XROOTD'
cd /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD-build && /usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake -P /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD-stamp/XROOTD-configure-Release.cmake
-- XROOTD configure command succeeded.  See also /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD-stamp/XROOTD-configure-*.log
cd /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD-build && /usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake -E touch /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD-stamp/XROOTD-configure
[  0%] Performing build step for 'XROOTD'
cd /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD-build && /usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake -Dmake=/usr/bin/gmake -P /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD-stamp/XROOTD-build-Release.cmake
CMake Error at /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD-stamp/XROOTD-build-Release.cmake:49 (message):
  Command failed: 2

   '/usr/bin/gmake'

  See also

    /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD-stamp/XROOTD-build-*.log


gmake[2]: *** [CMakeFiles/XROOTD.dir/build.make:86: XROOTD-prefix/src/XROOTD-stamp/XROOTD-build] Error 1
gmake[2]: Leaving directory '/home/administrator/Software-Gate/root/build-root'
gmake[1]: *** [CMakeFiles/Makefile2:7440: CMakeFiles/XROOTD.dir/all] Error 2
gmake[1]: Leaving directory '/home/administrator/Software-Gate/root/build-root'
gmake: *** [Makefile:156: all] Error 2

I think it may be related to my g++ version or the python. I have g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 and python 3.10.12

It’s the build step of XRootD failing. But the message says “See also” and then lists the files you should check. These might give some details into why the build step of XRootD fails.

Yes on XROOT-build.err.log it says this:


/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/./XrdCl/XrdClXRootDResponses.hh:219:40: warning: declaration of ‘code’ shadows a member of ‘XrdCl::XRootDStatus’ [-Wshadow]
  219 |                     uint16_t           code    = 0,
      |                     ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/./XrdCl/XrdClFileSystem.hh:29,
                 from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/./XrdCl/XrdClFile.hh:28,
                 from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/./XrdCl/XrdClPlugInInterface.hh:28,
                 from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdApps/XrdClProxyPlugin/ProxyPrefixFile.hh:27,
                 from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdApps/XrdClProxyPlugin/ProxyPrefixFile.cc:25:
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/./XrdCl/XrdClStatus.hh:137:14: note: shadowed declaration is here
  137 |     uint16_t code;       //!< Error type, or additional hints on what to do
      |              ^~~~
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptoLite_bf32.cc: In member function ‘virtual int XrdCryptoLite_bf32::Decrypt(const char*, int, const char*, int, char*, int)’:
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptoLite_bf32.cc:96:14: warning: ‘void BF_set_key(BF_KEY*, int, const unsigned char*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   96 |    BF_set_key(&decKey, keyLen, (const unsigned char *)key);
      |    ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptoLite_bf32.cc:43:
/usr/include/openssl/blowfish.h:50:28: note: declared here
   50 | OSSL_DEPRECATEDIN_3_0 void BF_set_key(BF_KEY *key, int len,
      |                            ^~~~~~~~~~
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptoLite_bf32.cc:100:20: warning: ‘void BF_cfb64_encrypt(const unsigned char*, unsigned char*, long int, const BF_KEY*, unsigned char*, int*, int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  100 |    BF_cfb64_encrypt((const unsigned char *)src, (unsigned char *)dst, srcLen,
      |    ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  101 |                     &decKey, ivec, &ivnum, BF_DECRYPT);
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptoLite_bf32.cc:43:
/usr/include/openssl/blowfish.h:61:28: note: declared here
   61 | OSSL_DEPRECATEDIN_3_0 void BF_cfb64_encrypt(const unsigned char *in,
      |                            ^~~~~~~~~~~~~~~~
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptoLite_bf32.cc: In member function ‘virtual int XrdCryptoLite_bf32::Encrypt(const char*, int, const char*, int, char*, int)’:
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptoLite_bf32.cc:151:14: warning: ‘void BF_set_key(BF_KEY*, int, const unsigned char*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  151 |    BF_set_key(&encKey, keyLen, (const unsigned char *)key);
      |    ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptoLite_bf32.cc:43:
/usr/include/openssl/blowfish.h:50:28: note: declared here
   50 | OSSL_DEPRECATEDIN_3_0 void BF_set_key(BF_KEY *key, int len,
      |                            ^~~~~~~~~~
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptoLite_bf32.cc:155:20: warning: ‘void BF_cfb64_encrypt(const unsigned char*, unsigned char*, long int, const BF_KEY*, unsigned char*, int*, int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  155 |    BF_cfb64_encrypt(bP, (unsigned char *)dst, dLen,
      |    ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  156 |                     &encKey, ivec, &ivnum, BF_ENCRYPT);
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptoLite_bf32.cc:43:
/usr/include/openssl/blowfish.h:61:28: note: declared here
   61 | OSSL_DEPRECATEDIN_3_0 void BF_cfb64_encrypt(const unsigned char *in,
      |                            ^~~~~~~~~~~~~~~~
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslAux.cc: In function ‘int XrdCryptosslX509ParseFile(const char*, XrdCryptoX509Chain*)’:
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslAux.cc:493:34: warning: ‘RSA* PEM_read_RSAPrivateKey(FILE*, RSA**, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  493 |       if (!PEM_read_RSAPrivateKey(fcer, &rsap, 0, 0)) {
      |            ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
In file included from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslAux.cc:45:
/usr/include/openssl/pem.h:447:1: note: declared here
  447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
      | ^~~~~~~~~~~~~~~~~~~~~~
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslAux.cc:508:45: warning: ‘int PEM_write_bio_RSAPrivateKey(BIO*, const RSA*, const EVP_CIPHER*, const unsigned char*, int, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  508 |             if (!PEM_write_bio_RSAPrivateKey(bkey,rsap,0,0,0,0,0)) {
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
In file included from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslAux.cc:45:
/usr/include/openssl/pem.h:447:1: note: declared here
  447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
      | ^~~~~~~~~~~~~~~~~~~~~~
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslAux.cc:513:18: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  513 |          RSA_free(rsap);
      |          ~~~~~~~~^~~~~~
In file included from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/x509v3.h:25,
                 from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/./XrdCrypto/XrdCryptosslX509.hh:39,
                 from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslAux.cc:43:
/usr/include/openssl/rsa.h:298:28: note: declared here
  298 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslAux.cc:523:52: warning: ‘RSA* PEM_read_bio_RSAPrivateKey(BIO*, RSA**, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  523 |                      if (PEM_read_bio_RSAPrivateKey(bkey,&rsa,0,0)) {
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In file included from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslAux.cc:45:
/usr/include/openssl/pem.h:447:1: note: declared here
  447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
      | ^~~~~~~~~~~~~~~~~~~~~~
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslAux.cc:527:65: warning: ‘const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  527 |                         int rc = RSA_check_key(EVP_PKEY_get0_RSA(evpp));
      |                                                ~~~~~~~~~~~~~~~~~^~~~~~
In file included from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/./XrdCrypto/XrdCryptosslRSA.hh:39,
                 from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslAux.cc:42:
/usr/include/openssl/evp.h:1346:22: note: declared here
 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslAux.cc:527:47: warning: ‘int RSA_check_key(const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  527 |                         int rc = RSA_check_key(EVP_PKEY_get0_RSA(evpp));
      |                                  ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/x509v3.h:25,
                 from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/./XrdCrypto/XrdCryptosslX509.hh:39,
                 from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslAux.cc:43:
/usr/include/openssl/rsa.h:283:27: note: declared here
  283 | OSSL_DEPRECATEDIN_3_0 int RSA_check_key(const RSA *);
      |                           ^~~~~~~~~~~~~
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslAux.cc: In function ‘int XrdCryptosslX509ParseBucket(XrdSutBucket*, XrdCryptoX509Chain*)’:
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslAux.cc:613:38: warning: ‘RSA* PEM_read_bio_RSAPrivateKey(BIO*, RSA**, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  613 |       if (!PEM_read_bio_RSAPrivateKey(bmem, &rsap, 0, 0)) {
      |            ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
In file included from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslAux.cc:45:
/usr/include/openssl/pem.h:447:1: note: declared here
  447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
      | ^~~~~~~~~~~~~~~~~~~~~~
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslAux.cc:628:45: warning: ‘int PEM_write_bio_RSAPrivateKey(BIO*, const RSA*, const EVP_CIPHER*, const unsigned char*, int, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  628 |             if (!PEM_write_bio_RSAPrivateKey(bkey,rsap,0,0,0,0,0)) {
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
In file included from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslAux.cc:45:
/usr/include/openssl/pem.h:447:1: note: declared here
  447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
      | ^~~~~~~~~~~~~~~~~~~~~~
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslAux.cc:633:18: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  633 |          RSA_free(rsap);
      |          ~~~~~~~~^~~~~~
In file included from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/x509v3.h:25,
                 from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/./XrdCrypto/XrdCryptosslX509.hh:39,
                 from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslAux.cc:43:
/usr/include/openssl/rsa.h:298:28: note: declared here
  298 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslAux.cc:643:52: warning: ‘RSA* PEM_read_bio_RSAPrivateKey(BIO*, RSA**, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  643 |                      if (PEM_read_bio_RSAPrivateKey(bkey,&rsa,0,0)) {
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In file included from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslAux.cc:45:
/usr/include/openssl/pem.h:447:1: note: declared here
  447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
      | ^~~~~~~~~~~~~~~~~~~~~~
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslAux.cc:647:65: warning: ‘const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  647 |                         int rc = RSA_check_key(EVP_PKEY_get0_RSA(evpp));
      |                                                ~~~~~~~~~~~~~~~~~^~~~~~
In file included from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/./XrdCrypto/XrdCryptosslRSA.hh:39,
                 from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslAux.cc:42:
/usr/include/openssl/evp.h:1346:22: note: declared here
 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslAux.cc:647:47: warning: ‘int RSA_check_key(const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  647 |                         int rc = RSA_check_key(EVP_PKEY_get0_RSA(evpp));
      |                                  ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/x509v3.h:25,
                 from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/./XrdCrypto/XrdCryptosslX509.hh:39,
                 from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslAux.cc:43:
/usr/include/openssl/rsa.h:283:27: note: declared here
  283 | OSSL_DEPRECATEDIN_3_0 int RSA_check_key(const RSA *);
      |                           ^~~~~~~~~~~~~
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslgsiAux.cc: In function ‘int XrdCryptosslX509CreateProxy(const char*, const char*, XrdProxyOpt_t*, XrdCryptogsiX509Chain*, XrdCryptoRSA**, const char*)’:
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslgsiAux.cc:306:40: warning: ‘const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  306 |    if ((RSA_check_key(EVP_PKEY_get0_RSA(ekEEC)) == 0)) {
      |                       ~~~~~~~~~~~~~~~~~^~~~~~~
In file included from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslgsiAux.cc:41:
/usr/include/openssl/evp.h:1346:22: note: declared here
 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslgsiAux.cc:306:22: warning: ‘int RSA_check_key(const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  306 |    if ((RSA_check_key(EVP_PKEY_get0_RSA(ekEEC)) == 0)) {
      |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/pem.h:23,
                 from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslgsiAux.cc:42:
/usr/include/openssl/rsa.h:283:27: note: declared here
  283 | OSSL_DEPRECATEDIN_3_0 int RSA_check_key(const RSA *);
      |                           ^~~~~~~~~~~~~
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslgsiAux.cc:323:22: warning: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  323 |    RSA *kPX = RSA_new();
      |               ~~~~~~~^~
In file included from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/pem.h:23,
                 from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslgsiAux.cc:42:
/usr/include/openssl/rsa.h:206:28: note: declared here
  206 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslgsiAux.cc:333:15: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  333 |       RSA_free(kPX);
      |       ~~~~~~~~^~~~~
In file included from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/pem.h:23,
                 from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslgsiAux.cc:42:
/usr/include/openssl/rsa.h:298:28: note: declared here
  298 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslgsiAux.cc:339:27: warning: ‘int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  339 |    if (RSA_generate_key_ex(kPX, bits, e, NULL) != 1) {
      |        ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/pem.h:23,
                 from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslgsiAux.cc:42:
/usr/include/openssl/rsa.h:265:27: note: declared here
  265 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
      |                           ^~~~~~~~~~~~~~~~~~~
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslgsiAux.cc:342:15: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  342 |       RSA_free(kPX);
      |       ~~~~~~~~^~~~~
In file included from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/pem.h:23,
                 from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslgsiAux.cc:42:
/usr/include/openssl/rsa.h:298:28: note: declared here
  298 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslgsiAux.cc:353:15: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  353 |       RSA_free(kPX);
      |       ~~~~~~~~^~~~~
In file included from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/pem.h:23,
                 from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslgsiAux.cc:42:
/usr/include/openssl/rsa.h:298:28: note: declared here
  298 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslgsiAux.cc:600:46: warning: ‘int PEM_write_RSAPrivateKey(FILE*, const RSA*, const EVP_CIPHER*, const unsigned char*, int, int (*)(char*, int, int, void*), void*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  600 |       else if (!rc && PEM_write_RSAPrivateKey(fp, kPX, 0, 0, 0, 0, 0) != 1) {
      |                       ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslgsiAux.cc:42:
/usr/include/openssl/pem.h:447:1: note: declared here
  447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
      | ^~~~~~~~~~~~~~~~~~~~~~
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslgsiAux.cc: In function ‘int XrdCryptosslX509CreateProxyReq(XrdCryptoX509*, XrdCryptoX509Req**, XrdCryptoRSA**)’:
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslgsiAux.cc:667:22: warning: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  667 |    RSA *kro = RSA_new();
      |               ~~~~~~~^~
In file included from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/pem.h:23,
                 from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslgsiAux.cc:42:
/usr/include/openssl/rsa.h:206:28: note: declared here
  206 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslgsiAux.cc:675:15: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  675 |       RSA_free(kro);
      |       ~~~~~~~~^~~~~
In file included from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/pem.h:23,
                 from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslgsiAux.cc:42:
/usr/include/openssl/rsa.h:298:28: note: declared here
  298 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslgsiAux.cc:679:27: warning: ‘int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  679 |    if (RSA_generate_key_ex(kro, bits, e, NULL) != 1) {
      |        ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/pem.h:23,
                 from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslgsiAux.cc:42:
/usr/include/openssl/rsa.h:265:27: note: declared here
  265 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
      |                           ^~~~~~~~~~~~~~~~~~~
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslgsiAux.cc:680:15: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  680 |       RSA_free(kro);
      |       ~~~~~~~~^~~~~
In file included from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/pem.h:23,
                 from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslgsiAux.cc:42:
/usr/include/openssl/rsa.h:298:28: note: declared here
  298 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslgsiAux.cc: In function ‘int XrdCryptosslX509SignProxyReq(XrdCryptoX509*, XrdCryptoRSA*, XrdCryptoX509Req*, XrdCryptoX509**)’:
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslgsiAux.cc:901:32: warning: ‘const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  901 |    RSA *kpi = EVP_PKEY_get0_RSA((EVP_PKEY *)(kcpi->Opaque()));
      |               ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslgsiAux.cc:41:
/usr/include/openssl/evp.h:1346:22: note: declared here
 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslgsiAux.cc:901:32: error: invalid conversion from ‘const rsa_st*’ to ‘RSA*’ {aka ‘rsa_st*’} [-fpermissive]
  901 |    RSA *kpi = EVP_PKEY_get0_RSA((EVP_PKEY *)(kcpi->Opaque()));
      |               ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                |
      |                                const rsa_st*
/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslgsiAux.cc:909:21: warning: ‘int EVP_PKEY_set1_RSA(EVP_PKEY*, rsa_st*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  909 |    EVP_PKEY_set1_RSA(ekpi, kpi);
      |    ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslgsiAux.cc:41:
/usr/include/openssl/evp.h:1344:5: note: declared here
 1344 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key);
      |     ^~~~~~~~~~~~~~~~~
gmake[5]: *** [src/CMakeFiles/XrdCryptossl-4.dir/build.make:90: src/CMakeFiles/XrdCryptossl-4.dir/XrdCrypto/XrdCryptosslgsiAux.cc.o] Error 1
gmake[4]: *** [CMakeFiles/Makefile2:669: src/CMakeFiles/XrdCryptossl-4.dir/all] Error 2
gmake[3]: *** [Makefile:136: all] Error 2

And on XROOT-build-out.log:


[ 61%] e[32mBuilding CXX object src/CMakeFiles/XrdCryptossl-4.dir/XrdCrypto/XrdCryptosslAux.cc.oe[0m
cd /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD-build/src && /usr/bin/c++ -DHAVE_ATOMICS -DHAVE_CRYPT -DHAVE_DH_PADDED -DHAVE_ET_COM_ERR_H -DHAVE_FSTATAT -DHAVE_GETHBYXR -DHAVE_GETIFADDRS -DHAVE_LIBZ -DHAVE_NAMEINFO -DHAVE_PROTOR -DHAVE_SENDFILE -DHAVE_SETRESUID -DHAVE_SHADOWPW -DHAVE_SIGWTI -DHAVE_SSL -DHAVE_TLS -DHAVE_TLS1 -DHAVE_TLS11 -DHAVE_TLS12 -DHAVE_XML2 -DHAVE_XRDCRYPTO -DUSE_LIBC_SEMAPHORE=1 -DXRDPLUGIN_SOVERSION=\"4\" -DXrdCryptossl_4_EXPORTS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D__linux__=1 -I/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/.. -I/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/. -I/usr/include/uuid -I/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src -I/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD-build/src -std=c++17 -Wno-implicit-fallthrough -Wno-noexcept-type -pipe  -Wshadow -Wall -W -Woverloaded-virtual -fsigned-char -pthread -std=c++0x -DOPENSSL_NO_FILENAMES -std=c++0x -Wall -Wextra -Wno-unused-parameter -Wno-error=misleading-indentation -Wno-error=address-of-packed-member -Wno-error=pessimizing-move -O3 -DNDEBUG -fPIC -MD -MT src/CMakeFiles/XrdCryptossl-4.dir/XrdCrypto/XrdCryptosslAux.cc.o -MF CMakeFiles/XrdCryptossl-4.dir/XrdCrypto/XrdCryptosslAux.cc.o.d -o CMakeFiles/XrdCryptossl-4.dir/XrdCrypto/XrdCryptosslAux.cc.o -c /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslAux.cc
[ 62%] e[32mBuilding CXX object src/CMakeFiles/XrdCryptossl-4.dir/XrdCrypto/XrdCryptosslgsiAux.cc.oe[0m
cd /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD-build/src && /usr/bin/c++ -DHAVE_ATOMICS -DHAVE_CRYPT -DHAVE_DH_PADDED -DHAVE_ET_COM_ERR_H -DHAVE_FSTATAT -DHAVE_GETHBYXR -DHAVE_GETIFADDRS -DHAVE_LIBZ -DHAVE_NAMEINFO -DHAVE_PROTOR -DHAVE_SENDFILE -DHAVE_SETRESUID -DHAVE_SHADOWPW -DHAVE_SIGWTI -DHAVE_SSL -DHAVE_TLS -DHAVE_TLS1 -DHAVE_TLS11 -DHAVE_TLS12 -DHAVE_XML2 -DHAVE_XRDCRYPTO -DUSE_LIBC_SEMAPHORE=1 -DXRDPLUGIN_SOVERSION=\"4\" -DXrdCryptossl_4_EXPORTS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D__linux__=1 -I/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/.. -I/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/. -I/usr/include/uuid -I/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src -I/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD-build/src -std=c++17 -Wno-implicit-fallthrough -Wno-noexcept-type -pipe  -Wshadow -Wall -W -Woverloaded-virtual -fsigned-char -pthread -std=c++0x -DOPENSSL_NO_FILENAMES -std=c++0x -Wall -Wextra -Wno-unused-parameter -Wno-error=misleading-indentation -Wno-error=address-of-packed-member -Wno-error=pessimizing-move -O3 -DNDEBUG -fPIC -MD -MT src/CMakeFiles/XrdCryptossl-4.dir/XrdCrypto/XrdCryptosslgsiAux.cc.o -MF CMakeFiles/XrdCryptossl-4.dir/XrdCrypto/XrdCryptosslgsiAux.cc.o.d -o CMakeFiles/XrdCryptossl-4.dir/XrdCrypto/XrdCryptosslgsiAux.cc.o -c /home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslgsiAux.cc
gmake[5]: Leaving directory '/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD-build'
gmake[4]: Leaving directory '/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD-build'
gmake[3]: Leaving directory '/home/administrator/Software-Gate/root/build-root/XROOTD-prefix/src/XROOTD-build

Try building with the CMake flag -Dxrootd=OFF

Yes, indeed it looks like this is a problem with an old version of XRootD. If you don’t need XRootD, you can switch it off.

If you need it, you either can install it before building ROOT, or you would have to switch to a new ROOT version, which also builds a new version of XRootD.

Thank you! I will try it. :slight_smile:

1 Like

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