Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 May 2020 16:59:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 246639] net/qt5-network: 5.14.2 fails to build with LibreSSL 3.1.2
Message-ID:  <bug-246639-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246639

            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@FreeBSD.org
          Reporter: ashish@FreeBSD.org
             Flags: maintainer-feedback?(kde@FreeBSD.org)
          Assignee: kde@FreeBSD.org

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


--- .obj/moc_qnetworkreply.o ---
c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing
-DOPENSSL_API_COMPAT=3D0x10100000L -std=3Dc++1z -fvisibility=3Dhidden
-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_CO=
MPAT
-DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS
-DQT_DISABLE_DEPRECATED_BEFORE=3D0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=3D=
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_A=
DDR'
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_AD=
DR'
DEFINEFUNC2(int, DTLSv1_listen, SSL *s, s, BIO_ADDR *c, c, return -1, retur=
n)
                                           ^
ssl/qsslsocket_openssl_symbols.cpp:201:44: error: unknown type name 'BIO_AD=
DR'
ssl/qsslsocket_openssl_symbols.cpp:202:12: error: unknown type name 'BIO_AD=
DR'
DEFINEFUNC(BIO_ADDR *, BIO_ADDR_new, DUMMYARG, DUMMYARG, return nullptr,
return)
           ^
ssl/qsslsocket_openssl_symbols.cpp:202:12: error: unknown type name 'BIO_AD=
DR'
ssl/qsslsocket_openssl_symbols.cpp:203:33: error: unknown type name 'BIO_AD=
DR'
DEFINEFUNC(void, BIO_ADDR_free, BIO_ADDR *ap, ap, return, DUMMYARG)
                                ^
ssl/qsslsocket_openssl_symbols.cpp:203:33: error: unknown type name 'BIO_AD=
DR'
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/ne=
twork
1 error

make[1]: stopped in
/wrkdirs/usr/ports/net/qt5-network/work/qtbase-everywhere-src-5.14.2/src/ne=
twork
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes 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=3D235883#c4

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

Thanks in advance

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246639-7788>