[Bug 259688] databases/memcached-1.6.12 fails to build with DEFAULT_VERSIONS+= ssl=libressl

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 07 Nov 2021 00:24:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259688

            Bug ID: 259688
           Summary: databases/memcached-1.6.12 fails to build with
                    DEFAULT_VERSIONS+= ssl=libressl
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: lysfjord.daniel@smokepit.net
 Attachment #229337 text/plain
         mime type:

Created attachment 229337
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=229337&action=edit
poudriere build log for databases/memcached-1.6.12

As per summary, the compile failes with the following lines:

memcached.c:4020:59: error: use of undeclared identifier 'TLS1_3_VERSION'
           ssl_proto_text(TLS1_2_VERSION), ssl_proto_text(TLS1_3_VERSION));
                                                          ^
memcached.c:5418:52: error: use of undeclared identifier 'TLS1_3_VERSION'
                        settings.ssl_min_version = TLS1_3_VERSION;


No surprise, as the code is having the following checks in multiple places:
#if OPENSSL_VERSION_NUMBER >= 0x10101000L

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