Created attachment 223947 [details] poudriere build log for databases/galera26
On 12.2-RELEASE-p6, with DEFAULT_VERSIONS+= ssl=libressl, galera26 fails to build using poudriere with the following errors: /wrkdirs/usr/ports/databases/galera26/work/galera-release_26.4.8/galerautils/src/gu_asio_stream_engine.cpp:203:21: error: use of undeclared identifier 'SSL_read_ex' auto result(SSL_read_ex(ssl_, buf, max_count, &bytes_transferred)); ^ /wrkdirs/usr/ports/databases/galera26/work/galera-release_26.4.8/galerautils/src/gu_asio_stream_engine.cpp:246:21: error: use of undeclared identifier 'SSL_write_ex' auto result(SSL_write_ex(ssl_, buf, count, &bytes_transferred)); ^ 2 errors generated. Probably related to libressl? Build log attached.
Last successful build on the same system was galera26-26.4.6_1
Any updates on this? It's been blocking updates for more than a month.
(In reply to Andris Raugulis from comment #4) This should fix the compilation issue https://github.com/codership/galera/pull/589, but I didn't have a chance to test it yet.
Yes, the patch works, verified. Thanks!
A patch for the port in files would be nice. The port is blocking mysql server updates
Created attachment 225158 [details] Patch to build with libressl. Put into files patch-galerautils_src_gu__asio__stream__engine.cpp Described here https://github.com/codership/galera/pull/589/commits/09e20cbb1afc2b3a1a059846e10bb303a2002a37#diff-761d22d43fb4036abf9bc02ba46e25ae889654c7a115ef4c338bfb52a9906aa6
Unfortunately, this patch is still required (even for updated port of 26.4.9) and ports tree still requires manual patching.
(In reply to Andris Raugulis from comment #9) If you don't need galera support, it can be disabled.
Why is this marked as fixed, if the port still fails? It is not fixed and still requires manual work to force the port to build.
Not fixe(In reply to Andris Raugulis from comment #11) Seems like upstream did never merge the patch. Keep this open until a version exists in ports that works. Maybe whoever is the maintainer for databases/galera26 could make this patch part of the port for the time being?
Port updated, problem fixed.