[Bug 246639] net/qt5-network: 5.14.2 fails to build with LibreSSL 3.1.2

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu May 21 17:59:56 BST 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246639

            Bug ID: 246639
           Summary: net/qt5-network: 5.14.2 fails to build with LibreSSL
                    3.1.2
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde at FreeBSD.org
          Reporter: ashish at FreeBSD.org
             Flags: maintainer-feedback?(kde at FreeBSD.org)
          Assignee: kde at FreeBSD.org

While trying to build net/qt5-network 5.14.2 with "ssl=libressl", I get
following build error:


--- .obj/moc_qnetworkreply.o ---
c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing
-DOPENSSL_API_COMPAT=0x10100000L -std=c++1z -fvisibility=hidden
-fvisibility-inlines-hidden -fno-exceptions -Wall -Wextra -Wdat
e-time -Winconsistent-missing-override -pthread -fPIC -DQT_NO_LINKED_LIST
-DQT_NO_JAVA_STYLE_ITERATORS -DQT_OPENSSL -DQT_SSL -DQT_NO_USING_NAMESPACE
-DQT_NO_FOREACH -DQT_USE_SYSTEM_PROXIES
-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_NETWORK_LIB
-DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT
-DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS
-DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000
-DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG
-DQT_CORE_LIB -I. -Ikernel -I../../include -I../../include/QtNetwork
-I../../include/QtNetwork/5.14.2 -I../../include/QtNetwork/5.14.2/QtNetwork
-isystem /usr/local/include/qt5/QtCore/5.14.2 -isystem
/usr/local/include/qt5/QtCore/5.14.2/QtCore -isystem /usr/local/include/qt5
-isystem /usr/local/include/qt5/QtCore -I.moc -isystem /usr/local/include
-I/usr/local/lib/qt5/mkspecs/freebsd-clang -o .obj/moc_qnetworkreply.o
.moc/moc_qnetworkreply.cpp
--- .obj/qsslsocket_openssl_symbols.o ---
In file included from ssl/qsslsocket_openssl_symbols.cpp:58:
In file included from ssl/qsslsocket_openssl_symbols_p.h:232:
ssl/qsslsocket_openssl11_symbols_p.h:188:29: error: unknown type name
'BIO_ADDR'
int q_DTLSv1_listen(SSL *s, BIO_ADDR *client);
                            ^
ssl/qsslsocket_openssl11_symbols_p.h:189:1: error: unknown type name 'BIO_ADDR'
BIO_ADDR *q_BIO_ADDR_new();
^
ssl/qsslsocket_openssl11_symbols_p.h:190:22: error: unknown type name
'BIO_ADDR'
void q_BIO_ADDR_free(BIO_ADDR *ap);
                     ^
ssl/qsslsocket_openssl_symbols.cpp:201:44: error: unknown type name 'BIO_ADDR'
DEFINEFUNC2(int, DTLSv1_listen, SSL *s, s, BIO_ADDR *c, c, return -1, return)
                                           ^
ssl/qsslsocket_openssl_symbols.cpp:201:44: error: unknown type name 'BIO_ADDR'
ssl/qsslsocket_openssl_symbols.cpp:202:12: error: unknown type name 'BIO_ADDR'
DEFINEFUNC(BIO_ADDR *, BIO_ADDR_new, DUMMYARG, DUMMYARG, return nullptr,
return)
           ^
ssl/qsslsocket_openssl_symbols.cpp:202:12: error: unknown type name 'BIO_ADDR'
ssl/qsslsocket_openssl_symbols.cpp:203:33: error: unknown type name 'BIO_ADDR'
DEFINEFUNC(void, BIO_ADDR_free, BIO_ADDR *ap, ap, return, DUMMYARG)
                                ^
ssl/qsslsocket_openssl_symbols.cpp:203:33: error: unknown type name 'BIO_ADDR'
9 errors generated.
*** [.obj/qsslsocket_openssl_symbols.o] Error code 1

make[1]: stopped in
/wrkdirs/usr/ports/net/qt5-network/work/qtbase-everywhere-src-5.14.2/src/network
1 error

make[1]: stopped in
/wrkdirs/usr/ports/net/qt5-network/work/qtbase-everywhere-src-5.14.2/src/network
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1


It's also mentioned in this comment:

 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235883#c4

But I don't see any fix for the same.

Thanks in advance

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


More information about the kde-freebsd mailing list