[MacPorts] #50872: courier-imap @4.4.1 build failure
MacPorts
noreply at macports.org
Fri Mar 11 14:00:07 PST 2016
#50872: courier-imap @4.4.1 build failure
----------------------------+--------------------------------
Reporter: JustinVallon@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Keywords: | Port: courier-imap
----------------------------+--------------------------------
A recent update to openssl @1.0.2g has caused the courier-imap build to
fail.
Interesting parts of the build log:
{{{
:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I/opt/local/include/db44
-I/opt/local/include -I/opt/local/include -
I/opt/local/include/p11-kit-1 -I/opt/local/include -I./.. -I.. -Wall -pipe
-I/opt/local/include/db44 -I/opt/local/inc
lude -arch x86_64 -MT libcouriertls.lo -MD -MP -MF .deps/libcouriertls.Tpo
-c libcouriertls.c -fno-common -DPIC -o .
libs/libcouriertls.o
:info:build libcouriertls.c:555:10: warning: implicit declaration of
function 'SSLv2_method' is invalid in C99 [-Wimplicit-function-
declaration]
:info:build ?
SSLv2_method():
:info:build ^
...
:info:build /usr/bin/clang -I./.. -I.. -Wall -pipe
-I/opt/local/include/db44 -I/opt/local/include -arch x86_64 -arch x86_64
-o couriertls starttls.o argparse.o -L/opt/local/lib/db44
-L/opt/local/lib ./.libs/libcouriertls.a -lssl -lcrypto ./.libs/libspipe.a
../rfc1035/librfc1035.a ../md5/.libs/libmd5.a
../random128/.libs/librandom128.a ../numlib/.libs/libnumlib.a
../liblock/.libs/liblock.a ../soxwrap/libsoxwrap.a
:info:build Undefined symbols for architecture x86_64:
:info:build "_SSLv2_method", referenced from:
:info:build _tls_create in libcouriertls.a(libcouriertls.o)
:info:build ld: symbol(s) not found for architecture x86_64
}}}
SSLv2_method declaration is missing from headers, then fails at link time
due to missing symbol. As per https://www.openssl.org/news/cl102.txt,
OpenSSL 1.0.2g has disabled SSLv2 by default, so SSLv2_method no longer
exists. #50865 asks for an SSLv2 variant of openssl, but that seems to be
misguided (contradicting a deprecated insecure protocol).
We are using 4.4.1 of courier-imap and imap/ChangeLog shows a date of
14-July-2008. There have been ~20 releases since then; latest 4.16.2 was
release 29-Jun-2016.
--
Ticket URL: <https://trac.macports.org/ticket/50872>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list