Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 806388 - net-libs/xrootd fails to build against OpenSSL-3.0 (invalid conversion from const rsa_st* to RSA* {aka rsa_st*})
Summary: net-libs/xrootd fails to build against OpenSSL-3.0 (invalid conversion from c...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Physics related packages
URL: https://github.com/xrootd/xrootd/issu...
Whiteboard:
Keywords:
Depends on:
Blocks: openssl-3.0
  Show dependency tree
 
Reported: 2021-08-04 13:37 UTC by Toralf Förster
Modified: 2021-12-16 15:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.40 KB, text/plain)
2021-08-04 13:37 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,405.32 KB, text/plain)
2021-08-04 13:37 UTC, Toralf Förster
Details
environment (environment,125.13 KB, text/plain)
2021-08-04 13:37 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,23.79 KB, application/x-bzip)
2021-08-04 13:37 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.73 KB, application/x-bzip)
2021-08-04 13:37 UTC, Toralf Förster
Details
net-libs:xrootd-5.1.1-r1:20210804-131726.log (net-libs:xrootd-5.1.1-r1:20210804-131726.log,372.77 KB, text/plain)
2021-08-04 13:37 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,40.72 KB, application/x-bzip)
2021-08-04 13:37 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-08-04 13:37:25 UTC
 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/var/tmp/portage/net-libs/xrootd-5.1.1-r1/work/xrootd-5.1.1/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*

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j3-20210729-201509

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 12.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.53.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  HEAD of ::gentoo
commit ecfa6aa7a81147571430e093b3bda6daee43857d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Aug 4 12:09:31 2021 +0000

    2021-08-04 12:09:30 UTC

emerge -qpvO net-libs/xrootd
[ebuild  N    ] net-libs/xrootd-5.1.1-r1  USE="readline ssl -doc -examples -fuse -http -kerberos -python -test" PYTHON_SINGLE_TARGET="python3_9 -python3_8"
Comment 1 Toralf Förster gentoo-dev 2021-08-04 13:37:26 UTC
Created attachment 730120 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-08-04 13:37:28 UTC
Created attachment 730122 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-08-04 13:37:30 UTC
Created attachment 730124 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-08-04 13:37:31 UTC
Created attachment 730126 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-08-04 13:37:32 UTC
Created attachment 730128 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-08-04 13:37:34 UTC
Created attachment 730130 [details]
net-libs:xrootd-5.1.1-r1:20210804-131726.log
Comment 7 Toralf Förster gentoo-dev 2021-08-04 13:37:35 UTC
Created attachment 730132 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2021-12-16 15:48:36 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65dc5ec07f876fd5db4eb16518af88f15c7e465e

commit 65dc5ec07f876fd5db4eb16518af88f15c7e465e
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2021-12-16 12:32:42 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2021-12-16 15:48:24 +0000

    net-libs/xrootd: block OpenSSL-3.0
    
    Upstream is aware of the issue and is actively working on it, however as
    of mid-December 2021 none of the releases support new OpenSSL.
    
    Bug: https://bugs.gentoo.org/806388
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 net-libs/xrootd/xrootd-5.0.3-r1.ebuild | 2 +-
 net-libs/xrootd/xrootd-5.1.1-r1.ebuild | 2 +-
 net-libs/xrootd/xrootd-5.2.0-r1.ebuild | 2 +-
 net-libs/xrootd/xrootd-5.3.1.ebuild    | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
Comment 9 Marek Szuba (RETIRED) archtester gentoo-dev 2021-12-16 15:49:35 UTC
Upstream is actively working on this so let us just let them take care of the matter.