Date: Sun, 19 Feb 2017 20:25:39 +0000 From: John <tech-lists@zyxst.net> To: freebsd-ports@freebsd.org Subject: Re: qt5 fails to build Message-ID: <1487535939.540788.886042968.1B262700@webmail.messagingengine.com> In-Reply-To: <alpine.BSF.2.20.1702192039570.1912@localhost> References: <5eca2d3f-971f-8781-fc49-d9647df88f86@zyxst.net> <867f4mo0tn.fsf@orwell> <b0ee60f4-3efc-e126-a77d-e041e281e6d5@zyxst.net> <8637fanym7.fsf@orwell> <3395df9f-fd9a-b592-528c-cce53ac38cc2@zyxst.net> <86y3x2mj0n.fsf@orwell> <4997447b-3b90-e127-4927-fdf930409b51@zyxst.net> <86tw7qmii0.fsf@orwell> <789f755e-e7b0-8ff1-1155-980f5029c854@zyxst.net> <86poiemgh7.fsf@orwell> <207d0204-598e-c68e-52a1-c6c76651e17a@zyxst.net> <alpine.BSF.2.20.1702192039570.1912@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, On Sun, 19 Feb 2017, at 19:46, Marco Beishuizen wrote: > On Sun, 19 Feb 2017, the wise tech-lists wrote: > > > I'm trying to build qt5 on a fresh freebsd-11-stable image. If it works, > > then there's something wrong with ports on my desktop. > > I've just upgraded qt5 on my FreeBSD 11-ST machine with portupgrade. In > general it went fine. Only hickup was that "qt5-quick" had a problem with > another library of the older qt5-quickcontrols ("install files in the > same > place"). Deleting the older port was enough to finish the portupgrade. > > Regards, > Marco On a different brand new 11-stable installation (r313940), with ports tree at r434399, with no Qt installed at all (just bash, ccache screen), I tried to install devel/qt5. The build gets dumped in net/qt5-network. I tried MAKE_JOBS_UNSAFE=YES output: --- .obj/qftp.o --- c++ -c -O2 -pipe -fstack-protector -fno-strict-aliasing -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wdate-time -pthread -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_LIBPROXY -DQT_OPENSSL -DQT_SSL -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -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_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.7.1 -I../../include/QtNetwork/5.7.1/QtNetwork -I../../include/QtCore/5.7.1 -I../../include/QtCore/5.7.1/QtCore -I../../include/QtCore -I.moc -I/usr/local/include -I/usr/local/lib/qt5/mkspecs/freebsd-clang -o .obj/qftp.o access/qftp.cpp --- .obj/qsslsocket_openssl.o --- ssl/qsslsocket_openssl.cpp:1593:13: error: use of undeclared identifier 'SSL_CTRL_GET_SERVER_TMP_KEY' if (q_SSL_get_server_tmp_key(ssl, &key)) ^ ssl/qsslsocket_openssl_symbols_p.h:493:62: note: expanded from macro 'q_SSL_get_server_tmp_key' #define q_SSL_get_server_tmp_key(ssl, key) q_SSL_ctrl((ssl), SSL_CTRL_GET_SERVER_TMP_KEY, 0, (char *)key) ^ 1 error generated. *** [.obj/qsslsocket_openssl.o] Error code 1 make[4]: stopped in /usr/ports/net/qt5-network/work/qtbase-opensource-src-5.7.1/src/network 1 error make[4]: stopped in /usr/ports/net/qt5-network/work/qtbase-opensource-src-5.7.1/src/network ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[3]: stopped in /usr/ports/net/qt5-network *** Error code 1 Stop. make[2]: stopped in /usr/ports/x11-toolkits/qt5-gui *** Error code 1 Stop. make[1]: stopped in /usr/ports/graphics/qt5-3d *** Error code 1 Stop. make: stopped in /usr/ports/devel/qt5 I tried to build the troublesome dependency qt5-network, to no avail: root@dev:/usr/ports/net/qt5-network # make MAKE_JOBS_UNSAFE=yes ===> Building for qt5-network-5.7.1 c++ -c -O2 -pipe -fstack-protector -fno-strict-aliasing -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wdate-time -pthread -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_LIBPROXY -DQT_OPENSSL -DQT_SSL -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -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_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.7.1 -I../../include/QtNetwork/5.7.1/QtNetwork -I../../include/QtCore/5.7.1 -I../../include/QtCore/5.7.1/QtCore -I../../include/QtCore -I.moc -I/usr/local/include -I/usr/local/lib/qt5/mkspecs/freebsd-clang -o .obj/qsslsocket_openssl.o ssl/qsslsocket_openssl.cpp ssl/qsslsocket_openssl.cpp:1593:13: error: use of undeclared identifier 'SSL_CTRL_GET_SERVER_TMP_KEY' if (q_SSL_get_server_tmp_key(ssl, &key)) ^ ssl/qsslsocket_openssl_symbols_p.h:493:62: note: expanded from macro 'q_SSL_get_server_tmp_key' #define q_SSL_get_server_tmp_key(ssl, key) q_SSL_ctrl((ssl), SSL_CTRL_GET_SERVER_TMP_KEY, 0, (char *)key) ^ 1 error generated. *** Error code 1 Stop. make[1]: stopped in /usr/ports/net/qt5-network/work/qtbase-opensource-src-5.7.1/src/network *** Error code 1 Stop. make: stopped in /usr/ports/net/qt5-network my make.conf looks like this: DEFAULT_VERSIONS+= ssl=libressl it doesn't make a difference if it's commented out or not -- J
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1487535939.540788.886042968.1B262700>