Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 854564 - sys-apps/qingy-1.0.0-r5 - crypto_openssl.c: error: invalid use of incomplete typedef RSA {aka struct rsa_st}
Summary: sys-apps/qingy-1.0.0-r5 - crypto_openssl.c: error: invalid use of incomplete ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: openssl-3.0
  Show dependency tree
 
Reported: 2022-06-27 07:25 UTC by Toralf Förster
Modified: 2022-12-14 10:50 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,20.39 KB, text/plain)
2022-06-27 07:25 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,110.46 KB, application/x-bzip)
2022-06-27 07:25 UTC, Toralf Förster
Details
environment (environment,134.82 KB, text/plain)
2022-06-27 07:25 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,55.23 KB, application/x-bzip)
2022-06-27 07:25 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,10.53 KB, application/x-bzip)
2022-06-27 07:25 UTC, Toralf Förster
Details
sys-apps:qingy-1.0.0-r5:20220627-042340.log (sys-apps:qingy-1.0.0-r5:20220627-042340.log,35.48 KB, text/plain)
2022-06-27 07:25 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,40.73 KB, application/x-bzip)
2022-06-27 07:25 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 2022-06-27 07:25:08 UTC
/usr/include/openssl/rsa.h:253:30: note: declared here
  253 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void
      |                              ^~~~~~~~~~~~~~~~
crypto_openssl.c: In function 'save_public_key':
crypto_openssl.c:106:29: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  106 |         temp = BN_bn2hex(rsa->n);
      |                             ^~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-j4-20220618-200005

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
clang version 14.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.6
Python 3.9.13
Available Rust versions:
  [1]   rust-bin-1.61.0
  [2]   rust-1.61.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.21.0 [icedtea-8]
2)	OpenJDK 17.0.3_p7 [openjdk-17]
3)	Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
5)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
6)	Eclipse Temurin JRE 17.0.3_p7 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   openjdk-17 
  [3]   openjdk-bin-8 
  [4]   openjdk-bin-11 
  [5]   openjdk-bin-17  system-vm
  [6]   openjdk-jre-bin-17 

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit e22daf907fb9dc46178de0e6c1553d7252dc95eb
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Jun 27 03:46:36 2022 +0000

    2022-06-27 03:46:36 UTC

emerge -qpvO sys-apps/qingy
[ebuild  N    ] sys-apps/qingy-1.0.0-r5  USE="X gpm opensslcrypt pam -crypt -emacs -static"
Comment 1 Toralf Förster gentoo-dev 2022-06-27 07:25:09 UTC
Created attachment 787952 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-06-27 07:25:10 UTC
Created attachment 787955 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-06-27 07:25:11 UTC
Created attachment 787958 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-06-27 07:25:13 UTC
Created attachment 787961 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-06-27 07:25:14 UTC
Created attachment 787964 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-06-27 07:25:15 UTC
Created attachment 787967 [details]
sys-apps:qingy-1.0.0-r5:20220627-042340.log
Comment 7 Toralf Förster gentoo-dev 2022-06-27 07:25:16 UTC
Created attachment 787970 [details]
temp.tar.bz2
Comment 8 Pacho Ramos gentoo-dev 2022-11-02 13:22:06 UTC
The few distros still packaging this simply switched to libgcrypt usage
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-18 03:46:18 UTC
(In reply to Pacho Ramos from comment #8)
> The few distros still packaging this simply switched to libgcrypt usage

Thanks. Could you maybe consider a PR?

Aim is to unmask OpenSSL 3 by end of year.
Comment 10 Larry the Git Cow gentoo-dev 2022-12-14 10:50:34 UTC
The bug has been closed via the following commit(s):

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

commit 0b9828a5805f807e44f5eccb28222ed5f5a427db
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-12-14 10:50:14 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-14 10:50:14 +0000

    sys-apps/qingy: EAPI 8, use libgcrypt for OpenSSL 3 compatibility
    
    Closes: https://bugs.gentoo.org/854564
    Closes: https://bugs.gentoo.org/768279
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/qingy/metadata.xml                        | 17 ++--
 ...qingy-1.0.0-r5.ebuild => qingy-1.0.0-r6.ebuild} | 90 +++++++++++-----------
 2 files changed, 51 insertions(+), 56 deletions(-)