Date: Tue, 19 Sep 2017 01:10:23 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 222439] databases/clickhouse: fails to build with system boost 1.65 Message-ID: <bug-222439-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222439 Bug ID: 222439 Summary: databases/clickhouse: fails to build with system boost 1.65 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: needs-patch Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: jbeich@FreeBSD.org CC: proler@gmail.com Blocks: 220714 CC: proler@gmail.com Flags: maintainer-feedback?(proler@gmail.com) In file included from dbms/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:19: In file included from /usr/local/include/boost/rational.hpp:82: /usr/local/include/boost/integer/common_factor_rt.hpp:447:44: error: no mem= ber named 'min' in 'std::__1::numeric_limits<__uint128_t>' if(a =3D=3D (std::numeric_limits<Integer>::min)()) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /usr/local/include/boost/rational.hpp:854:26: note: in instantiation of function template specialization 'boost::integer::gcd<unsigned __int128>' requested here IntType g =3D integer::gcd(num, den); ^ /usr/local/include/boost/rational.hpp:163:8: note: in instantiation of memb= er function 'boost::rational<unsigned __int128>::normalize' requested here normalize(); ^ /usr/local/include/boost/rational.hpp:251:23: note: in instantiation of function template specialization 'boost::rational<unsigned __int128>::rational<unsigned __int128, unsigned __int128>' requested here return *this =3D rational<IntType>(static_cast<IntType>(n), static_cast<IntType>(d)); ^ /usr/local/include/boost/rational.hpp:211:8: note: in instantiation of func= tion template specialization 'boost::rational<unsigned __int128>::assign<int, in= t>' requested here assign(n, static_cast<T>(1)); ^ dbms/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:122:16: note: in instantiation of function template specialization 'boost::rational<unsigned __int128>::rational<int>' requested here return 1; ^ In file included from dbms/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:19: /usr/local/include/boost/rational.hpp:834:45: error: no matching function f= or call to 'gcd' return ( this->den > int_type(0) ) && ( integer::gcd(this->num, this->d= en) =3D=3D ^~~~~~~~~~~~ /usr/local/include/boost/rational.hpp:872:25: note: in instantiation of mem= ber function 'boost::rational<unsigned __int128>::test_invariant' requested here BOOST_ASSERT( this->test_invariant() ); ^ /usr/local/include/boost/rational.hpp:163:8: note: in instantiation of memb= er function 'boost::rational<unsigned __int128>::normalize' requested here normalize(); ^ /usr/local/include/boost/rational.hpp:251:23: note: in instantiation of function template specialization 'boost::rational<unsigned __int128>::rational<unsigned __int128, unsigned __int128>' requested here return *this =3D rational<IntType>(static_cast<IntType>(n), static_cast<IntType>(d)); ^ /usr/local/include/boost/rational.hpp:211:8: note: in instantiation of func= tion template specialization 'boost::rational<unsigned __int128>::assign<int, in= t>' requested here assign(n, static_cast<T>(1)); ^ dbms/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:122:16: note: in instantiation of function template specialization 'boost::rational<unsigned __int128>::rational<int>' requested here return 1; ^ /usr/local/include/boost/integer/common_factor_rt.hpp:445:38: note: candida= te template ignored: substitution failure [with Integer =3D unsigned __int128] inline BOOST_CXX14_CONSTEXPR Integer gcd(Integer const &a, Integer const &b) BOOST_GCD_NOEXCEPT(Integer) ^ /usr/local/include/boost/integer/common_factor_rt.hpp:481:115: note: candid= ate template ignored: could not match 'rational<type-parameter-0-0>' against 'c= onst unsigned __int128' inline typename boost::enable_if_c<std::numeric_limits<Integer>::is_specialized, boost::rational<Integer> >::type gcd(boost::rational<Integer> const &a, boost::rational<Integer> const &b) =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ^ /usr/local/include/boost/integer/common_factor_rt.hpp:465:38: note: candida= te function template not viable: requires at least 3 arguments, but 2 were provided inline BOOST_CXX14_CONSTEXPR Integer gcd(Integer const &a, Integer const &b, const Integer& c, Args const&... args) BOOST_GCD_NOEXCEPT(Integer) ^ In file included from dbms/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:19: /usr/local/include/boost/rational.hpp:575:20: error: no matching function f= or call to 'gcd' IntType gcd1 =3D integer::gcd(num, r_num); ^~~~~~~~~~~~ dbms/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:368:34: note: in instantiation of member function 'boost::rational<unsigned __int128>::operator/=3D' requested here relative_sample_size /=3D settings.parallel_replicas_count.valu= e; ^ /usr/local/include/boost/integer/common_factor_rt.hpp:445:38: note: candida= te template ignored: substitution failure [with Integer =3D unsigned __int128] inline BOOST_CXX14_CONSTEXPR Integer gcd(Integer const &a, Integer const &b) BOOST_GCD_NOEXCEPT(Integer) ^ /usr/local/include/boost/integer/common_factor_rt.hpp:481:115: note: candid= ate template ignored: could not match 'rational<type-parameter-0-0>' against 'unsigned __int128' inline typename boost::enable_if_c<std::numeric_limits<Integer>::is_specialized, boost::rational<Integer> >::type gcd(boost::rational<Integer> const &a, boost::rational<Integer> const &b) =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ^ /usr/local/include/boost/integer/common_factor_rt.hpp:465:38: note: candida= te function template not viable: requires at least 3 arguments, but 2 were provided inline BOOST_CXX14_CONSTEXPR Integer gcd(Integer const &a, Integer const &b, const Integer& c, Args const&... args) BOOST_GCD_NOEXCEPT(Integer) ^ In file included from dbms/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:19: /usr/local/include/boost/rational.hpp:576:20: error: no matching function f= or call to 'gcd' IntType gcd2 =3D integer::gcd(r_den, den); ^~~~~~~~~~~~ /usr/local/include/boost/integer/common_factor_rt.hpp:445:38: note: candida= te template ignored: substitution failure [with Integer =3D unsigned __int128] inline BOOST_CXX14_CONSTEXPR Integer gcd(Integer const &a, Integer const &b) BOOST_GCD_NOEXCEPT(Integer) ^ /usr/local/include/boost/integer/common_factor_rt.hpp:481:115: note: candid= ate template ignored: could not match 'rational<type-parameter-0-0>' against 'unsigned __int128' inline typename boost::enable_if_c<std::numeric_limits<Integer>::is_specialized, boost::rational<Integer> >::type gcd(boost::rational<Integer> const &a, boost::rational<Integer> const &b) =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ^ /usr/local/include/boost/integer/common_factor_rt.hpp:465:38: note: candida= te function template not viable: requires at least 3 arguments, but 2 were provided inline BOOST_CXX14_CONSTEXPR Integer gcd(Integer const &a, Integer const &b, const Integer& c, Args const&... args) BOOST_GCD_NOEXCEPT(Integer) ^ In file included from dbms/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:19: /usr/local/include/boost/rational.hpp:551:20: error: no matching function f= or call to 'gcd' IntType gcd1 =3D integer::gcd(num, r_den); ^~~~~~~~~~~~ /usr/local/include/boost/rational.hpp:643:16: note: in instantiation of mem= ber function 'boost::rational<unsigned __int128>::operator*=3D' requested here return t *=3D b; ^ dbms/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:369:60: note: in instantiation of function template specialization 'boost::operator*<unsigned __int128, boost::rational<unsigned __int128> >' requested here relative_sample_offset +=3D relative_sample_size * RelativeSize(settings.parallel_replica_offset.value); ^ /usr/local/include/boost/integer/common_factor_rt.hpp:445:38: note: candida= te template ignored: substitution failure [with Integer =3D unsigned __int128] inline BOOST_CXX14_CONSTEXPR Integer gcd(Integer const &a, Integer const &b) BOOST_GCD_NOEXCEPT(Integer) ^ /usr/local/include/boost/integer/common_factor_rt.hpp:481:115: note: candid= ate template ignored: could not match 'rational<type-parameter-0-0>' against 'unsigned __int128' inline typename boost::enable_if_c<std::numeric_limits<Integer>::is_specialized, boost::rational<Integer> >::type gcd(boost::rational<Integer> const &a, boost::rational<Integer> const &b) =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ^ /usr/local/include/boost/integer/common_factor_rt.hpp:465:38: note: candida= te function template not viable: requires at least 3 arguments, but 2 were provided inline BOOST_CXX14_CONSTEXPR Integer gcd(Integer const &a, Integer const &b, const Integer& c, Args const&... args) BOOST_GCD_NOEXCEPT(Integer) ^ In file included from dbms/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:19: /usr/local/include/boost/rational.hpp:552:20: error: no matching function f= or call to 'gcd' IntType gcd2 =3D integer::gcd(r_num, den); ^~~~~~~~~~~~ /usr/local/include/boost/integer/common_factor_rt.hpp:445:38: note: candida= te template ignored: substitution failure [with Integer =3D unsigned __int128] inline BOOST_CXX14_CONSTEXPR Integer gcd(Integer const &a, Integer const &b) BOOST_GCD_NOEXCEPT(Integer) ^ /usr/local/include/boost/integer/common_factor_rt.hpp:481:115: note: candid= ate template ignored: could not match 'rational<type-parameter-0-0>' against 'unsigned __int128' inline typename boost::enable_if_c<std::numeric_limits<Integer>::is_specialized, boost::rational<Integer> >::type gcd(boost::rational<Integer> const &a, boost::rational<Integer> const &b) =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ^ /usr/local/include/boost/integer/common_factor_rt.hpp:465:38: note: candida= te function template not viable: requires at least 3 arguments, but 2 were provided inline BOOST_CXX14_CONSTEXPR Integer gcd(Integer const &a, Integer const &b, const Integer& c, Args const&... args) BOOST_GCD_NOEXCEPT(Integer) ^ In file included from dbms/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:19: /usr/local/include/boost/rational.hpp:514:17: error: no matching function f= or call to 'gcd' IntType g =3D integer::gcd(den, r_den); ^~~~~~~~~~~~ dbms/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:369:36: note: in instantiation of member function 'boost::rational<unsigned __int128>::operator+=3D' requested here relative_sample_offset +=3D relative_sample_size * RelativeSize(settings.parallel_replica_offset.value); ^ /usr/local/include/boost/integer/common_factor_rt.hpp:445:38: note: candida= te template ignored: substitution failure [with Integer =3D unsigned __int128] inline BOOST_CXX14_CONSTEXPR Integer gcd(Integer const &a, Integer const &b) BOOST_GCD_NOEXCEPT(Integer) ^ /usr/local/include/boost/integer/common_factor_rt.hpp:481:115: note: candid= ate template ignored: could not match 'rational<type-parameter-0-0>' against 'unsigned __int128' inline typename boost::enable_if_c<std::numeric_limits<Integer>::is_specialized, boost::rational<Integer> >::type gcd(boost::rational<Integer> const &a, boost::rational<Integer> const &b) =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ^ /usr/local/include/boost/integer/common_factor_rt.hpp:465:38: note: candida= te function template not viable: requires at least 3 arguments, but 2 were provided inline BOOST_CXX14_CONSTEXPR Integer gcd(Integer const &a, Integer const &b, const Integer& c, Args const&... args) BOOST_GCD_NOEXCEPT(Integer) ^ 7 errors generated. build log: http://tpaste.us/5vx0 Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220714 [Bug 220714] devel/boost-all: Update to 1.65.1 --=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-222439-13>