Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 597030 - mail-client/nail: issues with libressl
Summary: mail-client/nail: issues with libressl
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo LibreSSL
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-13 11:26 UTC by Jason A. Donenfeld
Modified: 2018-04-20 16:08 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason A. Donenfeld gentoo-dev 2016-10-13 11:26:40 UTC
With the latest LibreSSL, this happens:

openssl.o: In function `ssl_init':
openssl.c:(.text+0x577): undefined reference to `RAND_egd'
openssl.o: In function `ssl_open':
openssl.c:(.text+0x11a3): undefined reference to `SSLv2_client_method'
openssl.c:(.text+0x124b): undefined reference to `SSLv3_client_method'
collect2: error: ld returned 1 exit status
Comment 1 Anthony Basile gentoo-dev 2016-10-13 11:39:28 UTC
(In reply to Jason A. Donenfeld from comment #0)
> With the latest LibreSSL, this happens:
> 
> openssl.o: In function `ssl_init':
> openssl.c:(.text+0x577): undefined reference to `RAND_egd'
> openssl.o: In function `ssl_open':
> openssl.c:(.text+0x11a3): undefined reference to `SSLv2_client_method'
> openssl.c:(.text+0x124b): undefined reference to `SSLv3_client_method'
> collect2: error: ld returned 1 exit status

Can you try with dev-libs/libressl:0/38.  I think it might still fail against SSLv2 but not SSLv3 but memory is failing me about which is in there.  Nonetheless, nail will hit this with openssl sooner or later since both are heading for full deprecation.
Comment 2 Felix Janda 2016-10-13 22:37:38 UTC
The Debian package

https://packages.debian.org/source/wheezy/heirloom-mailx

has 0002-Patched-out-SSL2-support-since-it-is-no-longer-suppo.patch ,
which fixes at least the SSLv2 issue.


It might be good to have a look at the very actively developed fork
s-nail/s-mailx (http://www.sdaoden.eu/code.html), which has fixes for
all libressl issues. (But they don't look straightforward to backport.)
Comment 3 Anthony Basile gentoo-dev 2016-10-15 22:23:06 UTC
(In reply to Felix Janda from comment #2)
> The Debian package
> 
> https://packages.debian.org/source/wheezy/heirloom-mailx
> 
> has 0002-Patched-out-SSL2-support-since-it-is-no-longer-suppo.patch ,
> which fixes at least the SSLv2 issue.
> 
> 
> It might be good to have a look at the very actively developed fork
> s-nail/s-mailx (http://www.sdaoden.eu/code.html), which has fixes for
> all libressl issues. (But they don't look straightforward to backport.)

Does anyone know if nail is being actively maintained?  If not we might want to consider the fork as a replacement.
Comment 4 Aaron Bauman (RETIRED) gentoo-dev 2018-04-20 16:08:53 UTC
Latest stable mail-client/nail-12.4-r3 builds and runs fine with dev-libs/libressl-{2.6.4, 2.7.2}