Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Dec 2014 11:41:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        apache@FreeBSD.org
Subject:   [Bug 196139] www/apache24: Unbreak build with security/libressl
Message-ID:  <bug-196139-16115-0Vcti2iqQa@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-196139-16115@https.bugs.freebsd.org/bugzilla/>
References:  <bug-196139-16115@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196139

--- Comment #9 from Olli Hauer <ohauer@FreeBSD.org> ---
Hi Bernhard,

thanks for the hint!

After building a fresh test tree with libressl apache24 build stopped with the
following error.


>From the apache24 build log:

In file included from mod_ssl.c:27:
In file included from ./ssl_private.h:181:
./ssl_util_ssl.h:73:13: error: conflicting types for
'SSL_CTX_use_certificate_chain'
int         SSL_CTX_use_certificate_chain(SSL_CTX *, char *, int,
pem_password_cb *);
            ^
/usr/local/include/openssl/ssl.h:1548:5: note: previous declaration is here
int     SSL_CTX_use_certificate_chain(SSL_CTX *ctx, void *buf, int len);
        ^
1 error generated.
*** Error code 1


To make sure the build is really against libressl I defined an additional build
step on a second run.

post-extract:
 ${MV} /usr/include/openssl /usr/include/openssl.base

pre-install:
 ${MV} /usr/include/openssl.base /usr/include/openssl


Will investigate later this evening.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196139-16115-0Vcti2iqQa>