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

Bug 805047

Summary: dev-libs/pkcs11-helper-1.25.1-r1 - pkcs11h-openssl.c: error: RSA_SSLV23_PADDING undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: O01eg, thomas.bettler
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 797325    
Attachments: emerge-info.txt
dev-libs:pkcs11-helper-1.25.1-r1:20210729-170228.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2
pkcs11-helper-openssl30.patch

Description Toralf Förster gentoo-dev 2021-07-29 17:08:30 UTC
      |                             ^~~~~~~~~~~~~~~
pkcs11h-openssl.c: In function '__pkcs11h_openssl_rsa_dec':
pkcs11h-openssl.c:477:22: error: 'RSA_SSLV23_PADDING' undeclared (first use in this function); did you mean 'RSA_X931_PADDING'?
  477 |                 case RSA_SSLV23_PADDING:
      |                      ^~~~~~~~~~~~~~~~~~
      |                      RSA_X931_PADDING
pkcs11h-openssl.c:477: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_developer-j3-20210726-113246

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

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:
  [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:
1)	IcedTea JDK 3.19.0 [icedtea-8]
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  HEAD of ::gentoo
commit 83de73890ec6fb14a39bf02bbea82bec3eb529f4
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Jul 29 16:21:53 2021 +0000

    2021-07-29 16:21:52 UTC

emerge -qpvO dev-libs/pkcs11-helper
[ebuild   R   ] dev-libs/pkcs11-helper-1.25.1-r1  USE="-bindist -doc -gnutls -nss -static-libs"
Comment 1 Toralf Förster gentoo-dev 2021-07-29 17:08:31 UTC
Created attachment 728001 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-07-29 17:08:32 UTC
Created attachment 728004 [details]
dev-libs:pkcs11-helper-1.25.1-r1:20210729-170228.log
Comment 3 Toralf Förster gentoo-dev 2021-07-29 17:08:34 UTC
Created attachment 728007 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-07-29 17:08:35 UTC
Created attachment 728010 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-07-29 17:08:36 UTC
Created attachment 728013 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-07-29 17:08:38 UTC
Created attachment 728016 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-07-29 17:08:39 UTC
Created attachment 728019 [details]
temp.tar.bz2
Comment 8 Thomas Bettler 2021-08-03 09:23:18 UTC
Created attachment 729856 [details, diff]
pkcs11-helper-openssl30.patch

works for me.
Comment 9 Larry the Git Cow gentoo-dev 2022-05-06 07:47:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94c889519e3708a45efcad73d152c0ea62bc1423

commit 94c889519e3708a45efcad73d152c0ea62bc1423
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-05-06 07:39:44 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-05-06 07:47:18 +0000

    dev-libs/pkcs11-helper: add 1.29.0
    
    Closes: https://bugs.gentoo.org/555262
    Closes: https://bugs.gentoo.org/805047
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/pkcs11-helper/pkcs11-helper-1.29.0.ebuild | 3 +++
 1 file changed, 3 insertions(+)

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

commit ff6e2d8fc9c2e4a5a2407ae69a7c1c7661b07823
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-05-06 07:37:57 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-05-06 07:47:17 +0000

    dev-libs/pkcs11-helper: add 1.29.0
    
    Closes: https://bugs.gentoo.org/805047
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/pkcs11-helper/Manifest                    |  1 +
 dev-libs/pkcs11-helper/pkcs11-helper-1.29.0.ebuild | 35 ++++++++++++++++++++++
 2 files changed, 36 insertions(+)