[Bug 260039] net/haproxy: Failed to build with OPENSSL=off

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 25 Nov 2021 04:12:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260039

            Bug ID: 260039
           Summary: net/haproxy: Failed to build with OPENSSL=off
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: demon@FreeBSD.org
          Reporter: iron.udjin@gmail.com
             Flags: maintainer-feedback?(demon@FreeBSD.org)
          Assignee: demon@FreeBSD.org

OS: 13.0-RELEASE-p4

haproxy-2.4.9

Options        :
        DEVICEATLAS    : off
        DOCS           : on
        DPCRE          : off
        EXAMPLES       : on
        LUA            : off
        OPENSSL        : off
        PROMEX         : off
        SPCRE          : on


  CC      src/backend.o
  CC      src/stick_table.o
src/server.c:207:51: error: no member named 'ssl_ctx' in 'struct server'
        if (srv->mux_proto || srv->use_ssl != 1 || !srv->ssl_ctx.alpn_str) {
                                                    ~~~  ^
src/server.c:241:37: error: no member named 'ssl_ctx' in 'struct server'
                const struct ist alpn = ist2(srv->ssl_ctx.alpn_str,
                                             ~~~  ^
src/server.c:242:37: error: no member named 'ssl_ctx' in 'struct server'
                                             srv->ssl_ctx.alpn_len);
                                             ~~~  ^
  CC      src/cfgparse.o
3 errors generated.
gmake[2]: *** [Makefile:954: src/server.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory '/usr/ports/net/haproxy/work-default/haproxy-2.4.9'
===> Compilation failed unexpectedly.

It builds fine when OPENSSL is on.

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