From owner-freebsd-ports@freebsd.org Sun Feb 19 20:25:41 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C0E97CE57FF for ; Sun, 19 Feb 2017 20:25:41 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 92BFC1423 for ; Sun, 19 Feb 2017 20:25:41 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id B3ACF20811 for ; Sun, 19 Feb 2017 15:25:39 -0500 (EST) Received: from web4 ([10.202.2.214]) by compute4.internal (MEProxy); Sun, 19 Feb 2017 15:25:39 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=zyxst.net; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=wu08TIcqvTWsClBWBv4gCe4hj5 M=; b=QdzVbzG5cuEcd2+bKN7mAwRWurrGollVNELZBlHhl7IeTOLis+PDIvsjEU G7iTrNta172rWVhLgLIkALxyAMXb9P0rGMUMclIincUSg+eqm/5dYdJZ4mizp0jC l6VCHPxhSWv3CsaflMLkvyvWsvRs9UW6P9JNAnzv4YyLQV0ls= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=smtpout; bh=wu 08TIcqvTWsClBWBv4gCe4hj5M=; b=iX+VCDrPnn82yP2Mdired57J5oZFMzvFaN 38bTgqyVkK5rZmig6aQuZwjHpietCekwrTlcPqjYXbiPdEuTeiSJpURkwKUQefyy E6tOHkSuR6hNwiMjrKxDZ53zw4S8SgZiR8lVObVSKebrr87CMTDJEdRDqGG+RLak 6Tcd1UT/Q= X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id 906C4BAB4B; Sun, 19 Feb 2017 15:25:39 -0500 (EST) Message-Id: <1487535939.540788.886042968.1B262700@webmail.messagingengine.com> From: John To: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-715c2c0c References: <5eca2d3f-971f-8781-fc49-d9647df88f86@zyxst.net> <867f4mo0tn.fsf@orwell> <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> Subject: Re: qt5 fails to build Date: Sun, 19 Feb 2017 20:25:39 +0000 In-Reply-To: X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Feb 2017 20:25:41 -0000 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