Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 805029

Summary: dev-perl/Crypt-OpenSSL-RSA-0.310.0 - RSA.xs: error: RSA_SSLV23_PADDING undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: normal CC: reuben-gentoo-bugzilla
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=857009
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 797325    
Attachments: emerge-info.txt
dev-perl:Crypt-OpenSSL-RSA-0.310.0:20210729-164240.log
emerge-history.txt
environment
etc.portage.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-07-29 16:45:35 UTC
      |                           ^~~~~~~~~~~~~
RSA.xs: In function ‘XS_Crypt__OpenSSL__RSA_use_sslv23_padding’:
RSA.xs:647:22: error: ‘RSA_SSLV23_PADDING’ undeclared (first use in this function); did you mean ‘RSA_NO_PADDING’?
  647 |     p_rsa->padding = RSA_SSLV23_PADDING;
      |                      ^~~~~~~~~~~~~~~~~~
      |                      RSA_NO_PADDING
RSA.xs:647:22: note: each undeclared identifier is reported only once for each function it appears in

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.53.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  HEAD of ::gentoo
commit 9bc39db7175e116570f2225a23721a773ee436b9
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Jul 29 16:06:55 2021 +0000

    2021-07-29 16:06:53 UTC

emerge -qpvO dev-perl/Crypt-OpenSSL-RSA
[ebuild   R   ] dev-perl/Crypt-OpenSSL-RSA-0.310.0  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2021-07-29 16:45:36 UTC
Created attachment 727905 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-07-29 16:45:37 UTC
Created attachment 727908 [details]
dev-perl:Crypt-OpenSSL-RSA-0.310.0:20210729-164240.log
Comment 3 Toralf Förster gentoo-dev 2021-07-29 16:45:39 UTC
Created attachment 727911 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-07-29 16:45:40 UTC
Created attachment 727914 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-07-29 16:45:42 UTC
Created attachment 727917 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-07-29 16:45:43 UTC
Created attachment 727920 [details]
temp.tar.bz2
Comment 7 Drake Donahue 2021-09-26 03:33:40 UTC
RSA_SSLV23_PADDING removed in OpenSSL 3.x
https://issueexplorer.com/issue/SWI-Prolog/packages-ssl/160 refers
Comment 9 Larry the Git Cow gentoo-dev 2021-10-23 16:45:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c496650e61379f8abdd9f9c90db38bfabd8b7fd

commit 6c496650e61379f8abdd9f9c90db38bfabd8b7fd
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2021-10-23 16:45:34 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2021-10-23 16:45:34 +0000

    dev-perl/Crypt-OpenSSL-RSA: Add patch for openssl-3 support
    
    Closes: https://bugs.gentoo.org/805029
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 .../Crypt-OpenSSL-RSA-0.320.0.ebuild               |   4 +
 .../Crypt-OpenSSL-RSA-0.280.0-openssl-1.1.0.patch  | 256 ---------------------
 .../Crypt-OpenSSL-RSA-0.320.0-openssl-3.0.0.patch  |  89 +++++++
 3 files changed, 93 insertions(+), 256 deletions(-)