Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 622234 - =net-misc/asterisk-13.15.1 build fails with libressl
Summary: =net-misc/asterisk-13.15.1 build fails with libressl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libressl-support
  Show dependency tree
 
Reported: 2017-06-19 17:34 UTC by James Cloos
Modified: 2018-04-18 20:58 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 James Cloos 2017-06-19 17:34:23 UTC
At the final call to ld(1) to generate the asterisk executable, one gets:

tcptls.o: In function `tcptls_stream_close':
/var/tmp/portage/net-misc/asterisk-13.15.1/work/asterisk-13.15.1/main/tcptls.c:404: undefined reference to `SSL_is_server'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:331: asterisk] Error 1

The current tip of asterisk's 13 branch has:

#if defined(OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
                        if (!SSL_is_server(stream->ssl)) {
#else
                        if (!stream->ssl->server) {
#endif

which would avoid that.  That addition is part of their git commit 6a64f65fe6fee96702668bdd3344233f19232850.
Comment 1 James Cloos 2017-06-19 17:35:45 UTC
Add block for the libressl tracker bug.
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2017-09-22 14:41:05 UTC
If tip had it at 13.15.1 time, it is not unreasonable to assume it made it into 13.7.2; has it?
Comment 3 Aaron Bauman (RETIRED) gentoo-dev 2018-04-18 00:29:40 UTC
net-misc/asterisk-13.19.0-r1 builds fine with libressl-2.6.4.  Please re-test.
Comment 4 James Cloos 2018-04-18 20:58:49 UTC
Yes, it has gotten fixed in the mean time.