Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Apr 2017 17:38:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 218637] net/haproxy: build fails with latest LibreSSL
Message-ID:  <bug-218637-13@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: Mark.Martinec@ijs.si
          Assignee: demon@FreeBSD.org
             Flags: maintainer-feedback?(demon@FreeBSD.org)

Created attachment 181762
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D181762&action=
=3Dedit
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 'stru=
ct
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 =3D (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 =3D ctx->tlsext_status_arg;
                         ~~~  ^
src/ssl_sock.c:3542:50: error: no member named 'packet_length' in 'struct
ssl_st'
                                        empty_handshake =3D !((SSL
*)conn->xprt_ctx)->packet_length;
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20
~~~~~~~~~~~~~~~~~~~~~~~  ^
src/ssl_sock.c:3620:48: error: no member named 'packet_length' in 'struct
ssl_st'
                        empty_handshake =3D !((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 'stru=
ct
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 paramet=
er
'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

--=20
You are receiving this mail because:
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-218637-13>