[Bug 218637] net/haproxy: build fails with latest LibreSSL
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Apr 13 17:38:41 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218637
Bug ID: 218637
Summary: net/haproxy: build fails with latest LibreSSL
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: demon at FreeBSD.org
Reporter: Mark.Martinec at ijs.si
Assignee: demon at FreeBSD.org
Flags: maintainer-feedback?(demon at FreeBSD.org)
Created attachment 181762
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=181762&action=edit
haproxy-1.7.5.log.xz poudriere build log
Using: haproxy-1.7.5, libressl 2.5.3, FreeBSD 11.0-RELEASE-p8
Building haproxy now fails with the current version of libressl from ports.
Full poudriere build log is attached, here are the essentials:
src/shctx.c:660:31: warning: incompatible pointer types passing 'SSL_SESSION
*(SSL *, const unsigned char *, int, int *)' (aka 'struct ssl_session_st
*(struct ssl_st *, const unsigned char *, int, int *)') to parameter of type
'SSL_SESSION *(*)(struct ssl_st *, unsigned char *, int, int *)' (aka 'struct
ssl_session_st *(*)(struct ssl_st *, unsigned char *, int, int *)')
[-Wincompatible-pointer-types]
SSL_CTX_sess_set_get_cb(ctx, shctx_get_cb);
^~~~~~~~~~~~
/usr/local/include/openssl/ssl.h:742:20: note: passing argument to parameter
'get_session_cb' here
SSL_SESSION *(*get_session_cb)(struct ssl_st *ssl, unsigned char *data,
^
1 warning generated.
src/ssl_sock.c:800:2: error: no member named 'tlsext_status_cb' in 'struct
ssl_ctx_st'
SSL_CTX_get_tlsext_status_cb(ctx, &callback);
^ ~~~
src/ssl_sock.c:798:30: note: expanded from macro 'SSL_CTX_get_tlsext_status_cb'
*cb = (void (*) (void))ctx->tlsext_status_cb;
~~~ ^
src/ssl_sock.c:829:17: error: no member named 'tlsext_status_arg' in 'struct
ssl_ctx_st'
cb_arg = ctx->tlsext_status_arg;
~~~ ^
src/ssl_sock.c:3542:50: error: no member named 'packet_length' in 'struct
ssl_st'
empty_handshake = !((SSL
*)conn->xprt_ctx)->packet_length;
~~~~~~~~~~~~~~~~~~~~~~~ ^
src/ssl_sock.c:3620:48: error: no member named 'packet_length' in 'struct
ssl_st'
empty_handshake = !((SSL
*)conn->xprt_ctx)->packet_length;
~~~~~~~~~~~~~~~~~~~~~~~ ^
src/ssl_sock.c:4700:18: warning: passing 'const ASN1_OBJECT **' (aka 'const
struct asn1_object_st **') to parameter of type 'ASN1_OBJECT **' (aka 'struct
asn1_object_st **') discards qualifiers in nested pointer types
[-Wincompatible-pointer-types-discards-qualifiers]
X509_ALGOR_get0(&algorithm, NULL, NULL, X509_get0_tbs_sigalg(crt));
^~~~~~~~~~
/usr/local/include/openssl/x509.h:760:36: note: passing argument to parameter
'paobj' here
void X509_ALGOR_get0(ASN1_OBJECT **paobj, int *pptype, void **ppval,
^
1 warning and 4 errors generated.
gmake[1]: *** [Makefile:817: src/ssl_sock.o] Error 1
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list