maintainer-feedback requested: [Bug 255605] net/qt5-network 5.15.2 fails to build with libressl 3.3.3

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 5 05:03:36 BST 2021


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-kde (Team)
<kde at FreeBSD.org> for maintainer-feedback:
Bug 255605: net/qt5-network 5.15.2 fails to build with libressl 3.3.3
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255605



--- Description ---
Error Messages:
In file included from ssl/qsslcertificate.cpp:134:
ssl/qsslsocket_openssl_symbols_p.h:365:29: error: unknown type name 'BIO_ADDR'
int q_DTLSv1_listen(SSL *s, BIO_ADDR *client);
			    ^
ssl/qsslsocket_openssl_symbols_p.h:366:1: error: unknown type name 'BIO_ADDR'
BIO_ADDR *q_BIO_ADDR_new();
^
ssl/qsslsocket_openssl_symbols_p.h:367:22: error: unknown type name 'BIO_ADDR'
void q_BIO_ADDR_free(BIO_ADDR *ap);
		     ^
3 errors generated.
*** Error code 1

This is due to the DTLS code in libressl 3.3.3 that has just landed but isn't
completely aligned with OpenSSL 1.1

from 13 stable /usr/include/openssl/
/usr/include/openssl/ssl.h:int DTLSv1_listen(SSL *s, BIO_ADDR *client);

from libressl 3.3.3
/usr/local/include/openssl/ssl.h:#define DTLSv1_listen(ssl, peer)

Previously I created a set of local patches that mostly ripped the DTLS out of
qt5-network to get it to compile, but am now looking for guidance for how to
make openssl's BIO_ADDR and libressl's peer align.


More information about the kde-freebsd mailing list