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').
https://github.com/Icinga/icinga2/issues/9174
Created attachment 231094 [details] Fixes this issue
(In reply to dave from comment #2) are you sure about this patch? This is a patch for mysql
I'm not sure of a lot of things with regards to the sufficiently complex system here. :) This patch did serve to build icinga2, which uses boost libs. Mysql appears to also use boost libs. So, logically, this could very well be the same or similar patch, as the same things that have to be done to get icinga2 to build with LibreSSL are likely needed for mysql. When I generated the patch, I did so inside of icinga2's work tree, not mysql's work tree. That I -am- sure of.
I don't see any errors anymore with the current FreeBSD versions