From owner-svn-ports-all@freebsd.org Sat Jul 14 23:14:46 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 76D6210423C4; Sat, 14 Jul 2018 23:14:46 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 298E58D2B5; Sat, 14 Jul 2018 23:14:46 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0AB8525892; Sat, 14 Jul 2018 23:14:46 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w6ENEjkH029896; Sat, 14 Jul 2018 23:14:45 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6ENEjjp029895; Sat, 14 Jul 2018 23:14:45 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201807142314.w6ENEjjp029895@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Sat, 14 Jul 2018 23:14:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r474652 - head/net-p2p/qtum X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/net-p2p/qtum X-SVN-Commit-Revision: 474652 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jul 2018 23:14:46 -0000 Author: jbeich Date: Sat Jul 14 23:14:45 2018 New Revision: 474652 URL: https://svnweb.freebsd.org/changeset/ports/474652 Log: net-p2p/qtum: unbreak with boost 1.68 on FreeBSD 10.* After https://github.com/boostorg/multiprecision/commit/3cedeeab3048 building with Clang 3.4.1 fails like the following: In file included from cpp-ethereum/libethereum/State.cpp:22: In file included from cpp-ethereum/libethereum/State.h:24: In file included from /usr/include/c++/v1/array:108: In file included from /usr/include/c++/v1/algorithm:628: In file included from /usr/include/c++/v1/memory:607: /usr/include/c++/v1/tuple:187:73: error: reference to type 'boost::multiprecision::number, 0>' requires an initializer _NOEXCEPT_(is_nothrow_default_constructible<_Hp>::value) : value() ^ /usr/include/c++/v1/type_traits:2359:44: note: in instantiation of member function 'std::__1::__tuple_leaf<0, boost::multiprecision::number, 0> &&, false>::__tuple_leaf' requested here typename __select_2nd()...))), true_type>::type ^ /usr/include/c++/v1/type_traits:2360:1: note: while substituting deduced template arguments into function template '__is_constructible_test' [with _Tp = std::__1::__tuple_leaf<0, boost::multiprecision::number, 0> &&, false>, _Args = <>] __is_constructible_test(_Tp&&, _Args&& ...); ^ /usr/include/c++/v1/type_traits:2419:14: note: in instantiation of template class 'std::__1::__libcpp_is_constructible, 0> &&, false>>' requested here : public __libcpp_is_constructible::value || is_reference<_Tp>::value, ^ /usr/include/c++/v1/type_traits:2445:14: note: in instantiation of template class 'std::__1::__is_constructible_void_check, 0> &&, false>>' requested here : public __is_constructible_void_check<__contains_void<_Tp, _Args...>::value ^ /usr/include/c++/v1/type_traits:2653:14: note: in instantiation of template class 'std::__1::is_constructible, 0> &&, false>>' requested here : public is_constructible<_Tp> ^ /usr/local/include/boost/multiprecision/number.hpp:645:119: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all) template ::value || !std::is_default_constructible::value, T>::type> ^ /usr/local/include/boost/multiprecision/number.hpp:647:13: note: in instantiation of default argument for 'operator type-parameter-0-0, 0> &&, false> >' required here explicit operator T ()const ^~~~~~~~~~~~~~~~~~ /usr/local/include/boost/multiprecision/number.hpp:647:13: note: while substituting deduced template arguments into function template 'operator type-parameter-0-0' [with T = std::__1::__tuple_leaf<0, boost::multiprecision::number, 0> &&, false>, $1 = ] explicit operator T ()const ^ /usr/include/c++/v1/tuple:573:15: note: in instantiation of function template specialization 'std::__1::__tuple_impl, boost::multiprecision::number, 0> &&, boost::multiprecision::number, 0> &&, dev::FixedHash<32> &&, dev::FixedHash<32> &&, dev::eth::Account::Changedness &&>::__tuple_impl<0, 1, 2, 3, 4, boost::multiprecision::number, 0> &&, boost::multiprecision::number, 0> &&, dev::FixedHash<32> &&, dev::FixedHash<32> &&, dev::eth::Account::Changedness &&, boost::multiprecision::number, 0>, boost::multiprecision::number, 0> , dev::FixedHash<32>, dev::FixedHash<32>, dev::eth::Account::Changedness>' requested here : base_(typename __make_tuple_indices::type(), ^ /usr/include/c++/v1/tuple:882:12: note: in instantiation of function template specialization 'std::__1::tuple, 0> &&, boost::multiprecision::number, 0> &&, dev::FixedHash<32> &&, dev::FixedHash<32> &&, dev::eth::Account::Changedness &&>::tuple, 0>, boost::multiprecision::number, 0>, dev::FixedHash<32>, dev::FixedHash<32>, dev::eth::Account::Changedness, false>' requested here return tuple<_Tp&&...>(_VSTD::forward<_Tp>(__t)...); ^ cpp-ethereum/libethereum/State.cpp:186:8: note: in instantiation of function template specialization 'std::__1::forward_as_tuple, 0>, boost::multiprecision::number, 0>, dev::FixedHash<32>, dev::FixedHash<32>, dev::eth::Account::Changedness>' requested here std::forward_as_tuple(state[0].toInt(), state[1].toInt(), state[2].toHash(), state[3].toHash(), Account::Unchanged) ^ In file included from cpp-ethereum/libethereum/State.cpp:22: In file included from cpp-ethereum/libethereum/State.h:24: In file included from /usr/include/c++/v1/array:108: In file included from /usr/include/c++/v1/algorithm:628: In file included from /usr/include/c++/v1/memory:607: /usr/include/c++/v1/tuple:188:9: error: static_assert failed "Attempted to default construct a reference element in a tuple" {static_assert(!is_reference<_Hp>::value, ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/v1/tuple:187:73: error: reference to type 'boost::multiprecision::number, 0>' requires an initializer _NOEXCEPT_(is_nothrow_default_constructible<_Hp>::value) : value() ^ /usr/include/c++/v1/type_traits:2359:44: note: in instantiation of member function 'std::__1::__tuple_leaf<1, boost::multiprecision::number, 0> &&, false>::__tuple_leaf' requested here typename __select_2nd()...))), true_type>::type ^ /usr/include/c++/v1/type_traits:2360:1: note: while substituting deduced template arguments into function template '__is_constructible_test' [with _Tp = std::__1::__tuple_leaf<1, boost::multiprecision::number, 0> &&, false>, _Args = <>] __is_constructible_test(_Tp&&, _Args&& ...); ^ /usr/include/c++/v1/type_traits:2419:14: note: in instantiation of template class 'std::__1::__libcpp_is_constructible, 0> &&, false>>' requested here : public __libcpp_is_constructible::value || is_reference<_Tp>::value, ^ /usr/include/c++/v1/type_traits:2445:14: note: in instantiation of template class 'std::__1::__is_constructible_void_check, 0> &&, false>>' requested here : public __is_constructible_void_check<__contains_void<_Tp, _Args...>::value ^ /usr/include/c++/v1/type_traits:2653:14: note: in instantiation of template class 'std::__1::is_constructible, 0> &&, false>>' requested here : public is_constructible<_Tp> ^ /usr/local/include/boost/multiprecision/number.hpp:645:119: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all) template ::value || !std::is_default_constructible::value, T>::type> ^ /usr/local/include/boost/multiprecision/number.hpp:647:13: note: in instantiation of default argument for 'operator type-parameter-0-0, 0> &&, false> >' required here explicit operator T ()const ^~~~~~~~~~~~~~~~~~ /usr/local/include/boost/multiprecision/number.hpp:647:13: note: while substituting deduced template arguments into function template 'operator type-parameter-0-0' [with T = std::__1::__tuple_leaf<1, boost::multiprecision::number, 0> &&, false>, $1 = ] explicit operator T ()const ^ /usr/include/c++/v1/tuple:573:15: note: in instantiation of function template specialization 'std::__1::__tuple_impl, boost::multiprecision::number, 0> &&, boost::multiprecision::number, 0> &&, dev::FixedHash<32> &&, dev::FixedHash<32> &&, dev::eth::Account::Changedness &&>::__tuple_impl<0, 1, 2, 3, 4, boost::multiprecision::number, 0> &&, boost::multiprecision::number, 0> &&, dev::FixedHash<32> &&, dev::FixedHash<32> &&, dev::eth::Account::Changedness &&, boost::multiprecision::number, 0>, boost::multiprecision::number, 0> , dev::FixedHash<32>, dev::FixedHash<32>, dev::eth::Account::Changedness>' requested here : base_(typename __make_tuple_indices::type(), ^ /usr/include/c++/v1/tuple:882:12: note: in instantiation of function template specialization 'std::__1::tuple, 0> &&, boost::multiprecision::number, 0> &&, dev::FixedHash<32> &&, dev::FixedHash<32> &&, dev::eth::Account::Changedness &&>::tuple, 0>, boost::multiprecision::number, 0>, dev::FixedHash<32>, dev::FixedHash<32>, dev::eth::Account::Changedness, false>' requested here return tuple<_Tp&&...>(_VSTD::forward<_Tp>(__t)...); ^ cpp-ethereum/libethereum/State.cpp:186:8: note: in instantiation of function template specialization 'std::__1::forward_as_tuple, 0>, boost::multiprecision::number, 0>, dev::FixedHash<32>, dev::FixedHash<32>, dev::eth::Account::Changedness>' requested here std::forward_as_tuple(state[0].toInt(), state[1].toInt(), state[2].toHash(), state[3].toHash(), Account::Unchanged) ^ In file included from cpp-ethereum/libethereum/State.cpp:22: In file included from cpp-ethereum/libethereum/State.h:24: In file included from /usr/include/c++/v1/array:108: In file included from /usr/include/c++/v1/algorithm:628: In file included from /usr/include/c++/v1/memory:607: /usr/include/c++/v1/tuple:188:9: error: static_assert failed "Attempted to default construct a reference element in a tuple" {static_assert(!is_reference<_Hp>::value, ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ PR: 229569 Reported by: antoine (via exp-run) Modified: head/net-p2p/qtum/Makefile (contents, props changed) Modified: head/net-p2p/qtum/Makefile ============================================================================== --- head/net-p2p/qtum/Makefile Sat Jul 14 22:27:10 2018 (r474651) +++ head/net-p2p/qtum/Makefile Sat Jul 14 23:14:45 2018 (r474652) @@ -36,7 +36,7 @@ CONFIGURE_ARGS= --disable-man \ --with-qrencode \ --without-libs -USES= autoreconf bdb:5+ compiler:c++11-lib gmake libtool pkgconfig qt:5 ssl +USES= autoreconf bdb:5+ compiler:c++14-lang gmake libtool pkgconfig qt:5 ssl USE_QT= buildtools core dbus gui linguisttools network testlib widgets USE_GITHUB= yes GH_TUPLE= qtumproject:qtum:${DISTVERSIONPREFIX}${PORTVERSION} \