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"
Created attachment 548460 [details] emerge-info.txt
Created attachment 548462 [details] dev-lua:lua-openssl-0.7.3:20180930-161449.log
Created attachment 548464 [details] emerge-history.txt
Created attachment 548466 [details] environment
Created attachment 548468 [details] etc.portage.tbz2
Created attachment 548470 [details] temp.tbz2
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.
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(-)