Created attachment 482868 [details] build log libesmtp fails to build with openssl 1.1. This seems to be only an issue with the configure script: checking for SSL_library_init in -lssl... no configure: error: cannot find the ssl library Linux from Scratch has a oneliner/sed-patch to fix this: http://www.linuxfromscratch.org/blfs/view/svn/general/libesmtp.html sed 's@SSL_library_init@SSL_new@g' -i configure.ac && autoreconf -fi I think we can add something like that to the ebuild and should be fine.
Created attachment 517330 [details, diff] libesmtp-1.0.6-openssl-1.1-api-compatibility.patch The build still fails (at least on my box) since the code uses locking APIs which have been nuked without compatibility macros in OpenSSL 1.1.0. Attached is a patch to fix these. Anyone know who's the upstream for libESMTP now? http://www.stafford.uklinux.net/libesmtp/ seems dead. :-/
It seems the failure I experienced is due to USE flag 'threads'.
I cannot reproduce this issue. Note that I'm using node 9.11.2 (7.x is no longer in Gentoo). USE="openssl" emerge =net-libs/nodejs-9.11.2 Succeeds. I'm using dev-libs/openssl-1.1.1 I'm confident that this issue was solved by https://bugs.gentoo.org/592438#c5
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa230af7c9832b53e08d34799acbc5877a912fc5 commit fa230af7c9832b53e08d34799acbc5877a912fc5 Author: Craig Andrews <candrews@gentoo.org> AuthorDate: 2018-10-26 16:50:33 +0000 Commit: Craig Andrews <candrews@gentoo.org> CommitDate: 2018-10-26 18:08:55 +0000 net-libs/libesmtp: Fix OpenSSL 1.1, EAPI=7 bump Closes: https://bugs.gentoo.org/624412 Signed-off-by: Craig Andrews <candrews@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 ...esmtp-1.0.6-openssl-1.1-api-compatibility.patch | 72 ++++++++++++++++++++++ net-libs/libesmtp/libesmtp-1.0.6-r3.ebuild | 47 ++++++++++++++ 2 files changed, 119 insertions(+)