Hi,

Building xrootd as part of ROOT we get:

/home/sftnight/build/night/LABEL/ROOT-ubuntu2204/SPEC/soversion/V/master/build/builtins/xrootd/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslRSA.cc:656:55: error: invalid conversion from ‘const rsa_st*’ to ‘RSA*’ {aka ‘rsa_st*’} [-fpermissive]
  656 |                                      EVP_PKEY_get0_RSA(fEVP), RSA_PKCS1_PADDING)) < 0) {
      |                                      ~~~~~~~~~~~~~~~~~^~~~~~
      |                                                       |
      |                                                       const rsa_st*
In file included from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/pem.h:23,
                 from /home/sftnight/build/night/LABEL/ROOT-ubuntu2204/SPEC/soversion/V/master/build/builtins/xrootd/XROOTD-prefix/src/XROOTD/src/XrdCrypto/XrdCryptosslRSA.cc:44:
/usr/include/openssl/rsa.h:289:29: note:   initializing argument 4 of ‘int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)’
  289 |                        RSA *rsa, int padding);
      |                        ~~~~~^~~

There's also a gazillion warnings; here's the log:
XROOTD-build-err.log

Is that our config issue or a lack of support of that specific openssl 3 version (OpenSSL 3.0.1) in xrootd v5.4.2?

I see in docs/ReleaseNotes.txt

Build openssl3 files only if WITH_OPENSSL3=TRUE.

but I'd hope that CMake knows that this is openssl3 and I don't need to specify things by hand?


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <xrootd/xrootd/issues/1666@github.com>

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/1666", "url": "https://github.com/xrootd/xrootd/issues/1666", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1