Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 667390 - dev-lua/lua-openssl-0.7.3 : src/ec.c:621:9: error: unknown type name EC_KEY_METHOD
Summary: dev-lua/lua-openssl-0.7.3 : src/ec.c:621:9: error: unknown type name EC_KEY_M...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Hauber
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: libressl-support
  Show dependency tree
 
Reported: 2018-09-30 16:21 UTC by Toralf Förster
Modified: 2018-10-06 07:11 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.71 KB, text/plain)
2018-09-30 16:21 UTC, Toralf Förster
Details
dev-lua:lua-openssl-0.7.3:20180930-161449.log (dev-lua:lua-openssl-0.7.3:20180930-161449.log,23.94 KB, text/plain)
2018-09-30 16:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,244.54 KB, text/plain)
2018-09-30 16:21 UTC, Toralf Förster
Details
environment (environment,51.33 KB, text/plain)
2018-09-30 16:21 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,24.95 KB, application/x-bzip)
2018-09-30 16:21 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,17.02 KB, application/x-bzip)
2018-09-30 16:21 UTC, Toralf Förster
Details
libressl-compat-patch (0001-fix-libressl-compat.patch,13.77 KB, patch)
2018-10-01 20:35 UTC, Matthias Hauber
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-09-30 16:21:02 UTC
     ECDSA_SIG_new
src/ec.c: In function ‘openssl_ecdsa_set_method’:
src/ec.c:621:9: error: unknown type name ‘EC_KEY_METHOD’
   const EC_KEY_METHOD *m = ENGINE_get_EC(e);
         ^~~~~~~~~~~~~
src/ec.c:621:28: warning: implicit declaration of function ‘ENGINE_get_EC’; did you mean ‘ENGINE_get_DH’? [-Wimplicit-function-declaration]

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-no-multilib_libressl_20180923-190711

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
  [5]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:


emerge -qpv dev-lua/lua-openssl
[ebuild  N    ] dev-lua/lua-openssl-0.7.3  USE="libressl -luajit"
Comment 1 Toralf Förster gentoo-dev 2018-09-30 16:21:05 UTC
Created attachment 548460 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-09-30 16:21:08 UTC
Created attachment 548462 [details]
dev-lua:lua-openssl-0.7.3:20180930-161449.log
Comment 3 Toralf Förster gentoo-dev 2018-09-30 16:21:11 UTC
Created attachment 548464 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-09-30 16:21:14 UTC
Created attachment 548466 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-09-30 16:21:17 UTC
Created attachment 548468 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-09-30 16:21:20 UTC
Created attachment 548470 [details]
temp.tbz2
Comment 7 Matthias Hauber 2018-10-01 20:35:47 UTC
Created attachment 548774 [details, diff]
libressl-compat-patch

the attached patch fixes the build error but I missed anything. The regression tests are segfaulting. I have an eye on it.
Comment 8 Larry the Git Cow gentoo-dev 2018-10-06 07:11:12 UTC
The bug has been closed via the following commit(s):

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

commit 762dee6c53a540946e0c270d7d585464086782e5
Author:     Matthias Hauber <crito@fnordpipe.org>
AuthorDate: 2018-10-01 21:31:27 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-10-06 07:11:00 +0000

    dev-lua/lua-openssl: fix libressl build
    
    backports libressl compat from master branch and disables
      cms, sm2 and srp.
    Additionally set dependency to libressl < 2.7.0 because there
    are changes in the libressl-2.7 api that raises
    a lot of incompatible pointer types.
    
    Closes: https://bugs.gentoo.org/667390
    Signed-off-by: Matthias Hauber <crito@fnordpipe.org>
    Signed-off-by: Michał Górny <mgorny@gentoo.org>
    Closes: https://github.com/gentoo/gentoo/pull/10039

 .../files/0001-fix-libressl-compat.patch           | 433 +++++++++++++++++++++
 dev-lua/lua-openssl/lua-openssl-0.7.3.ebuild       |   4 +-
 2 files changed, 436 insertions(+), 1 deletion(-)