[Bug 222439] databases/clickhouse: fails to build with system boost 1.65
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Sep 19 01:10:24 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222439
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 at FreeBSD.org
Reporter: jbeich at FreeBSD.org
CC: proler at gmail.com
Blocks: 220714
CC: proler at gmail.com
Flags: maintainer-feedback?(proler at 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 member
named 'min' in 'std::__1::numeric_limits<__uint128_t>'
if(a == (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 = integer::gcd(num, den);
^
/usr/local/include/boost/rational.hpp:163:8: note: in instantiation of member
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 = rational<IntType>(static_cast<IntType>(n),
static_cast<IntType>(d));
^
/usr/local/include/boost/rational.hpp:211:8: note: in instantiation of function
template specialization 'boost::rational<unsigned __int128>::assign<int, int>'
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 for
call to 'gcd'
return ( this->den > int_type(0) ) && ( integer::gcd(this->num, this->den)
==
^~~~~~~~~~~~
/usr/local/include/boost/rational.hpp:872:25: note: in instantiation of member
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 member
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 = rational<IntType>(static_cast<IntType>(n),
static_cast<IntType>(d));
^
/usr/local/include/boost/rational.hpp:211:8: note: in instantiation of function
template specialization 'boost::rational<unsigned __int128>::assign<int, int>'
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: candidate
template ignored: substitution failure [with Integer = 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: candidate
template ignored: could not match 'rational<type-parameter-0-0>' against 'const
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)
^
/usr/local/include/boost/integer/common_factor_rt.hpp:465:38: note: candidate
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 for
call to 'gcd'
IntType gcd1 = integer::gcd(num, r_num);
^~~~~~~~~~~~
dbms/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:368:34: note: in
instantiation of member function 'boost::rational<unsigned
__int128>::operator/=' requested here
relative_sample_size /= settings.parallel_replicas_count.value;
^
/usr/local/include/boost/integer/common_factor_rt.hpp:445:38: note: candidate
template ignored: substitution failure [with Integer = 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: candidate
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)
^
/usr/local/include/boost/integer/common_factor_rt.hpp:465:38: note: candidate
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 for
call to 'gcd'
IntType gcd2 = integer::gcd(r_den, den);
^~~~~~~~~~~~
/usr/local/include/boost/integer/common_factor_rt.hpp:445:38: note: candidate
template ignored: substitution failure [with Integer = 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: candidate
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)
^
/usr/local/include/boost/integer/common_factor_rt.hpp:465:38: note: candidate
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 for
call to 'gcd'
IntType gcd1 = integer::gcd(num, r_den);
^~~~~~~~~~~~
/usr/local/include/boost/rational.hpp:643:16: note: in instantiation of member
function 'boost::rational<unsigned __int128>::operator*=' requested here
return t *= 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 += relative_sample_size *
RelativeSize(settings.parallel_replica_offset.value);
^
/usr/local/include/boost/integer/common_factor_rt.hpp:445:38: note: candidate
template ignored: substitution failure [with Integer = 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: candidate
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)
^
/usr/local/include/boost/integer/common_factor_rt.hpp:465:38: note: candidate
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 for
call to 'gcd'
IntType gcd2 = integer::gcd(r_num, den);
^~~~~~~~~~~~
/usr/local/include/boost/integer/common_factor_rt.hpp:445:38: note: candidate
template ignored: substitution failure [with Integer = 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: candidate
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)
^
/usr/local/include/boost/integer/common_factor_rt.hpp:465:38: note: candidate
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 for
call to 'gcd'
IntType g = integer::gcd(den, r_den);
^~~~~~~~~~~~
dbms/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:369:36: note: in
instantiation of member function 'boost::rational<unsigned
__int128>::operator+=' requested here
relative_sample_offset += relative_sample_size *
RelativeSize(settings.parallel_replica_offset.value);
^
/usr/local/include/boost/integer/common_factor_rt.hpp:445:38: note: candidate
template ignored: substitution failure [with Integer = 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: candidate
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)
^
/usr/local/include/boost/integer/common_factor_rt.hpp:465:38: note: candidate
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=220714
[Bug 220714] devel/boost-all: Update to 1.65.1
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list