Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 806803 - app-crypt/xca-2.3.0-r1 - pki_key.cpp: error: invalid conversion from const dsa_st* to DSA* {aka dsa_st*} [-fpermissive]
Summary: app-crypt/xca-2.3.0-r1 - pki_key.cpp: error: invalid conversion from const ds...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Hans de Graaff
URL:
Whiteboard: Fixed in master; < dep added to ebuil...
Keywords: PATCH
: 807682 882729 (view as bug list)
Depends on:
Blocks: openssl-3.0
  Show dependency tree
 
Reported: 2021-08-06 12:42 UTC by Toralf Förster
Modified: 2024-01-08 17:23 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.02 KB, text/plain)
2021-08-06 12:43 UTC, Toralf Förster
Details
app-crypt:xca-2.3.0-r1:20210806-090944.log (app-crypt:xca-2.3.0-r1:20210806-090944.log,117.04 KB, text/plain)
2021-08-06 12:43 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,458.82 KB, text/plain)
2021-08-06 12:43 UTC, Toralf Förster
Details
environment (environment,25.74 KB, text/plain)
2021-08-06 12:43 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,50.32 KB, application/x-bzip)
2021-08-06 12:43 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.58 KB, application/x-bzip)
2021-08-06 12:43 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,17.20 KB, application/x-bzip)
2021-08-06 12:43 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-06 12:42:58 UTC
 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
pki_key.cpp:150:45: error: invalid conversion from ‘const dsa_st*’ to ‘DSA*’ {aka ‘dsa_st*’} [-fpermissive]
  150 |                 DSA *dsa = EVP_PKEY_get0_DSA(key);
      |                            ~~~~~~~~~~~~~~~~~^~~~~
      |                                             |
      |                                             const dsa_st*

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-j3_abi32+64_debug-20210729-185806

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

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.54.0 *
The following VMs are available for generation-2:
1)	JamVM JDK 2.0.0 [jamvm]
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   jamvm 
  [2]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  HEAD of ::gentoo
commit 6afb66040a84afcde1b7012930c6617e89e2cc87
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Aug 6 07:51:56 2021 +0000

    2021-08-06 07:51:52 UTC

emerge -qpvO app-crypt/xca
[ebuild  N    ] app-crypt/xca-2.3.0-r1  USE="-bindist -doc"
Comment 1 Toralf Förster gentoo-dev 2021-08-06 12:43:00 UTC
Created attachment 730846 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-08-06 12:43:01 UTC
Created attachment 730849 [details]
app-crypt:xca-2.3.0-r1:20210806-090944.log
Comment 3 Toralf Förster gentoo-dev 2021-08-06 12:43:03 UTC
Created attachment 730852 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-08-06 12:43:04 UTC
Created attachment 730855 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-08-06 12:43:05 UTC
Created attachment 730858 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-08-06 12:43:06 UTC
Created attachment 730861 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-08-06 12:43:07 UTC
Created attachment 730864 [details]
temp.tar.bz2
Comment 8 Agostino Sarubbo gentoo-dev 2021-08-11 14:07:49 UTC
*** Bug 807682 has been marked as a duplicate of this bug. ***
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-18 03:46:30 UTC
Aim is to unmask OpenSSL 3 by end of year.
Comment 11 Hans de Graaff gentoo-dev Security 2022-12-03 11:30:19 UTC
There are various openssl 3 fixes in the upstream repository. I would rather see a new release that we can use, but alternatively we can consider creating an ebuild for the current master once openssl gets unmasked or close to unmasking.
Comment 12 Larry the Git Cow gentoo-dev 2022-12-13 05:27:43 UTC
The bug has been referenced in the following commit(s):

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

commit f46b6a0731839b85edbc2c3783d7acc3d4371781
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-12-13 05:27:07 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-13 05:27:07 +0000

    app-crypt/xca: depend on < openssl 3
    
    Fails to compile w/ openssl 3. Fixed in master.
    
    Bug: https://bugs.gentoo.org/806803
    Signed-off-by: Sam James <sam@gentoo.org>

 app-crypt/xca/xca-2.4.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 13 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-14 14:33:37 UTC
*** Bug 882729 has been marked as a duplicate of this bug. ***
Comment 14 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-08 17:23:04 UTC
commit 020c1d32e52f5abe09c168f60e7ab943bdd24ea1
Author: Hans de Graaff <graaff@gentoo.org>
Date:   Tue Sep 5 14:07:48 2023 +0200

    app-crypt/xca: add 2.4.0_p20230526

    This is an upstream snapshot that does compile against openssl-3 but
    also has known defects. Currently masked for testing.

    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

commit 870961e6a8fd95ef89d6256a79d1fc2fcb57f736
Author: Hans de Graaff <graaff@gentoo.org>
Date:   Mon Sep 25 07:32:25 2023 +0200

    app-crypt/xca: add 2.5.0

    Signed-off-by: Hans de Graaff <graaff@gentoo.org>