Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 881151 - dev-libs/gost-engine-1.1.0.3_p20181031-r2 - /.../gost_ameth.c: error: incompatible function pointer types passing int (EVP_PKEY ,
Summary: dev-libs/gost-engine-1.1.0.3_p20181031-r2 - /.../gost_ameth.c: error: incompa...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Craig Andrews
URL:
Whiteboard: Newer versions fixed; </= dep added t...
Keywords:
Depends on:
Blocks: openssl-3.0
  Show dependency tree
 
Reported: 2022-11-12 19:49 UTC by Toralf Förster
Modified: 2022-12-13 05:29 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.15 KB, text/plain)
2022-11-12 19:49 UTC, Toralf Förster
Details
dev-libs:gost-engine-1.1.0.3_p20181031-r2:20221112-194821.log.bz2 (dev-libs:gost-engine-1.1.0.3_p20181031-r2:20221112-194821.log.bz2,10.24 KB, application/x-bzip)
2022-11-12 19:49 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,145.17 KB, text/plain)
2022-11-12 19:49 UTC, Toralf Förster
Details
environment (environment,101.95 KB, text/plain)
2022-11-12 19:49 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,702 bytes, application/x-bzip)
2022-11-12 19:49 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,17.57 KB, application/x-bzip)
2022-11-12 19:49 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,3.18 KB, application/x-bzip)
2022-11-12 19:49 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,39.74 KB, application/x-bzip)
2022-11-12 19:49 UTC, Toralf Förster
Details
var.tmp.clang.tar.bz2 (var.tmp.clang.tar.bz2,2.74 KB, application/x-bzip)
2022-11-12 19:49 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-11-12 19:49:13 UTC
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/var/tmp/portage/dev-libs/gost-engine-1.1.0.3_p20181031-r2/work/engine-e5cc3684f3b3ad40e186e23b00b253d234df92ab/gost_ameth.c:918:34: error: incompatible function pointer types passing 'int (EVP_PKEY *, X509_PUBKEY *)' (aka 'int (struct evp_pkey_st *, struct X509_pubkey_st *)') to parameter of type 'int (*)(EVP_PKEY *, const X509_PUBKEY *)' (aka 'int (*)(struct evp_pkey_st *, const struct X509_pubkey_st *)') [-Werror,-Wincompatible-function-pointer-types]
                                 pub_decode_gost_ec, pub_encode_gost_ec,
                                 ^~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20221111-181859

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.4
Python 3.10.8
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit 4ee64c9209a2bb5fcda13a3682ca0e350dd4830e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Nov 12 19:01:54 2022 +0000

    2022-11-12 19:01:53 UTC

emerge -qpvO dev-libs/gost-engine
[ebuild  N    ] dev-libs/gost-engine-1.1.0.3_p20181031-r2  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2022-11-12 19:49:14 UTC
Created attachment 832169 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-12 19:49:15 UTC
Created attachment 832171 [details]
dev-libs:gost-engine-1.1.0.3_p20181031-r2:20221112-194821.log.bz2
Comment 3 Toralf Förster gentoo-dev 2022-11-12 19:49:17 UTC
Created attachment 832173 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-11-12 19:49:19 UTC
Created attachment 832175 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-11-12 19:49:20 UTC
Created attachment 832177 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-12 19:49:21 UTC
Created attachment 832179 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-12 19:49:22 UTC
Created attachment 832181 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-11-12 19:49:23 UTC
Created attachment 832183 [details]
temp.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-11-12 19:49:24 UTC
Created attachment 832185 [details]
var.tmp.clang.tar.bz2
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-18 03:45:46 UTC
Aim is to unmask OpenSSL 3 by end of year.
Comment 11 Craig Andrews gentoo-dev 2022-11-18 03:59:15 UTC
(In reply to Sam James from comment #10)
> Aim is to unmask OpenSSL 3 by end of year.

dev-libs/gost-engine-1* is for OpenSSL 1.x

dev-libs/gost-engine-3* is for OpenSSL 3.x

When OpenSSL 3 is unmasked, then the mask for dev-libs/gost-engine-3* (which is in the same block in package.mask as OpenSSL 3) should be simultaneously removed as well:
https://github.com/gentoo/gentoo/blob/f49bcd6145161142a76f91a38ddccbdce8039902/profiles/package.mask#L633
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-18 04:02:26 UTC
oh, fantastic, thanks!

Given some people may well end up on older OpenSSL for a while, could you change the dep in the ebuild to =dev-libs/openssl-1.1*:=?
Comment 13 Craig Andrews gentoo-dev 2022-11-18 13:50:27 UTC
(In reply to Sam James from comment #12)
> oh, fantastic, thanks!
> 
> Given some people may well end up on older OpenSSL for a while, could you
> change the dep in the ebuild to =dev-libs/openssl-1.1*:=?

Sure thing! Thanks for the suggestion.
Comment 14 Larry the Git Cow gentoo-dev 2022-11-18 13:50:43 UTC
The bug has been referenced in the following commit(s):

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

commit 33535504fb8f44f14f123deaeda3bca3ecdfe9a4
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2022-11-18 13:49:18 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2022-11-18 13:50:39 +0000

    dev-libs/gost-engine: Depend on =dev-libs/openssl-1.1*:=
    
    Bug: https://bugs.gentoo.org/881151
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

 .../gost-engine-1.1.0.3_p20181031-r3.ebuild        | 39 ++++++++++++++++++++++
 1 file changed, 39 insertions(+)
Comment 15 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-13 05:29:12 UTC
Thank you!