From owner-freebsd-ports-bugs@freebsd.org Thu Apr 13 17:38:41 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A69D8D3C104 for ; Thu, 13 Apr 2017 17:38:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 95D8EEA7 for ; Thu, 13 Apr 2017 17:38:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v3DHcfx7050580 for ; Thu, 13 Apr 2017 17:38:41 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 218637] net/haproxy: build fails with latest LibreSSL Date: Thu, 13 Apr 2017 17:38:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: Mark.Martinec@ijs.si X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: demon@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Apr 2017 17:38:41 -0000 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.=