[Bug 260143] net-mgmt/icinga2: does not build

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 30 Nov 2021 16:47:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260143

            Bug ID: 260143
           Summary: net-mgmt/icinga2: does not build
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: joneum@FreeBSD.org
          Reporter: dave@jetcafe.org
          Assignee: joneum@FreeBSD.org
             Flags: maintainer-feedback?(joneum@FreeBSD.org)

As of this commit to freebsd ports tree:

  f6cd87ac26f9 net-mgmt/icinga2: Update to 2-13.2

I have been trying to build icinga2 with LibreSSL 3.4.2 (also in the same
tree).
This has resulted in some breakage during the build phase:

FAILED: lib/base/CMakeFiles/base.dir/base_unity.cpp.o 
/usr/local/libexec/ccache/c++ -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT
-DBOOST_COROUTINES_NO_DEPRECATION_WARNING -DBOOST_FILESYSTEM_NO_DEPRECATED
-D_GNU_SOURCE
-I/wrkdirs/usr/ports/net-mgmt/icinga2/work/icinga2-2.13.2/third-party/nlohmann_json
-I/wrkdirs/usr/ports/net-mgmt/icinga2/work/icinga2-2.13.2/third-party/utf8cpp/source
-I/wrkdirs/usr/ports/net-mgmt/icinga2/work/icinga2-2.13.2
-I/wrkdirs/usr/ports/net-mgmt/icinga2/work/icinga2-2.13.2/lib
-I/wrkdirs/usr/ports/net-mgmt/icinga2/work/icinga2-2.13.2/third-party/execvpe
-I/wrkdirs/usr/ports/net-mgmt/icinga2/work/icinga2-2.13.2/third-party/mmatch
-I/wrkdirs/usr/ports/net-mgmt/icinga2/work/icinga2-2.13.2/third-party/socketpair
-O2 -pipe -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing  -isystem /usr/local/include -Qunused-arguments
-fcolor-diagnostics -pthread -Winvalid-pch -std=c++0x -O2 -pipe
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing 
-isystem /usr/local/include -MD -MT
lib/base/CMakeFiles/base.dir/base_unity.cpp.o -MF
lib/base/CMakeFiles/base.dir/base_unity.cpp.o.d -o
lib/base/CMakeFiles/base.dir/base_unity.cpp.o -c
/wrkdirs/usr/ports/net-mgmt/icinga2/work/icinga2-2.13.2/lib/base/base_unity.cpp
In file included from
/wrkdirs/usr/ports/net-mgmt/icinga2/work/icinga2-2.13.2/lib/base/base_unity.cpp:1:
In file included from
/wrkdirs/usr/ports/net-mgmt/icinga2/work/icinga2-2.13.2/lib/base/application.cpp:4:
In file included from
/wrkdirs/usr/ports/net-mgmt/icinga2/work/icinga2-2.13.2/lib/base/application-ti.cpp:3:
In file included from
/wrkdirs/usr/ports/net-mgmt/icinga2/work/icinga2-2.13.2/lib/base/utility.hpp:10:
In file included from
/wrkdirs/usr/ports/net-mgmt/icinga2/work/icinga2-2.13.2/lib/base/tlsutility.hpp:22:
In file included from /usr/local/include/boost/asio/ssl/context.hpp:757:
/usr/local/include/boost/asio/ssl/impl/context.ipp:395:32: error: member access
into incomplete type 'SSL_CTX' (aka 'ssl_ctx_st')
    void* cb_userdata = handle_->default_passwd_callback_userdata;
                               ^
/usr/local/include/openssl/ossl_typ.h:161:16: note: forward declaration of
'ssl_ctx_st'
typedef struct ssl_ctx_st SSL_CTX;
               ^

This happens a number of times with the exact same error condition (forward
declaration of 'ssl_ctx_st').

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