Bug 254921 - databases/galera26 26.4.8_1 fails to build. undeclared identifier SSL_read_ex and SSL_write_ex
Summary: databases/galera26 26.4.8_1 fails to build. undeclared identifier SSL_read_ex...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-09 14:42 UTC by lysfjord.daniel
Modified: 2021-05-14 13:33 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (devel)


Attachments
poudriere build log for databases/galera26 (101.53 KB, text/plain)
2021-04-09 14:50 UTC, lysfjord.daniel
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description lysfjord.daniel 2021-04-09 14:42:46 UTC

    
Comment 1 lysfjord.daniel 2021-04-09 14:50:30 UTC
Created attachment 223947 [details]
poudriere build log for databases/galera26
Comment 2 lysfjord.daniel 2021-04-09 14:51:25 UTC
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.
Comment 3 lysfjord.daniel 2021-04-09 15:08:15 UTC
Last successful build on the same system was galera26-26.4.6_1
Comment 4 Andris Raugulis 2021-05-14 11:59:44 UTC
Any updates on this? It's been blocking updates for more than a month.
Comment 5 devel 2021-05-14 12:35:59 UTC
(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.
Comment 6 Andris Raugulis 2021-05-14 13:09:04 UTC
Yes, the patch works, verified. Thanks!