From owner-svn-ports-head@freebsd.org Thu Jul 12 23:21:48 2018 Return-Path: Delivered-To: svn-ports-head@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 0E0B7102FD00; Thu, 12 Jul 2018 23:21:48 +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 B436D873EF; Thu, 12 Jul 2018 23:21:47 +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 966BA118; Thu, 12 Jul 2018 23:21:47 +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 w6CNLlYX055847; Thu, 12 Jul 2018 23:21:47 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6CNLlei055846; Thu, 12 Jul 2018 23:21:47 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201807122321.w6CNLlei055846@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Thu, 12 Jul 2018 23:21:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r474542 - head/science/pulseview X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/science/pulseview X-SVN-Commit-Revision: 474542 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2018 23:21:48 -0000 Author: jbeich Date: Thu Jul 12 23:21:47 2018 New Revision: 474542 URL: https://svnweb.freebsd.org/changeset/ports/474542 Log: science/pulseview: 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 pv/views/trace/view.cpp:26: 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 'const 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, const 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, const 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 4 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) template ::value || !std::is_default_constructible::value, T>::type> ^ /usr/include/c++/v1/tuple:882:12: note: in instantiation of function template specialization 'std::__1::tuple, 0> &, QString &&>::tuple, 0> &, QString, false>' requested here return tuple<_Tp&&...>(_VSTD::forward<_Tp>(__t)...); ^ /usr/include/c++/v1/memory:3705:27: note: in instantiation of function template specialization 'std::__1::forward_as_tuple, 0> &, QString>' requested here _VSTD::forward_as_tuple(_VSTD::forward<_Args>(__args)...)) {} ^ /usr/include/c++/v1/memory:4280:26: note: in instantiation of function template specialization 'std::__1::__shared_ptr_emplace >::__shared_ptr_emplace, 0> &, QString>' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ /usr/include/c++/v1/memory:4644:29: note: in instantiation of function template specialization 'std::__1::shared_ptr::make_shared, 0> &, QString>' requested here return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...); ^ pv/views/trace/view.cpp:641:19: note: in instantiation of function template specialization 'std::__1::make_shared, 0> &, QString>' requested here flags_.push_back(make_shared(*this, time, ^ In file included from pv/views/trace/view.cpp:26: 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 4 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) template ::value || !std::is_default_constructible::value, T>::type> ^ /usr/include/c++/v1/tuple:882:12: note: in instantiation of member function 'std::__1::tuple, 0> &>::tuple' requested here return tuple<_Tp&&...>(_VSTD::forward<_Tp>(__t)...); ^ /usr/include/c++/v1/memory:3705:27: note: in instantiation of function template specialization 'std::__1::forward_as_tuple, 0> &>' requested here _VSTD::forward_as_tuple(_VSTD::forward<_Args>(__args)...)) {} ^ /usr/include/c++/v1/memory:4280:26: note: in instantiation of function template specialization 'std::__1::__shared_ptr_emplace >::__shared_ptr_emplace, 0> &>' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ /usr/include/c++/v1/memory:4644:29: note: in instantiation of function template specialization 'std::__1::shared_ptr::make_shared, 0> &>' requested here return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...); ^ pv/views/trace/view.cpp:696:29: note: in instantiation of function template specialization 'std::__1::make_shared, 0> &>' requested here trigger_markers_.push_back(make_shared(*this, location)); ^ In file included from pv/views/trace/view.cpp:26: 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 Modified: head/science/pulseview/Makefile (contents, props changed) Modified: head/science/pulseview/Makefile ============================================================================== --- head/science/pulseview/Makefile Thu Jul 12 22:53:03 2018 (r474541) +++ head/science/pulseview/Makefile Thu Jul 12 23:21:47 2018 (r474542) @@ -17,7 +17,7 @@ LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libsigrok.so:devel/libsigrok \ libsigrokdecode.so:devel/libsigrokdecode -USES= cmake desktop-file-utils pkgconfig qt:5 +USES= cmake compiler:c++14-lang desktop-file-utils pkgconfig qt:5 USE_GNOME= glibmm glib20 libsigc++20 USE_QT= buildtools core gui qmake_build svg widgets CMAKE_ARGS+= -DCMAKE_INSTALL_MANDIR:PATH=${MANPREFIX}/man \