Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Apr 2017 10:35:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 218841] databases/clickhouse: fails to build with boost 1.64
Message-ID:  <bug-218841-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218841

            Bug ID: 218841
           Summary: databases/clickhouse: fails to build with boost 1.64
           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: 218835
                CC: proler@gmail.com
             Flags: maintainer-feedback?(proler@gmail.com)

Bug 218835 is going to land shortly after exp-run and render this port BROK=
EN.
Can you help with investigation?

In file included from
dbms/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:16:
/usr/local/include/boost/rational.hpp:207:75: error: no member named 'radix=
' in
'std::__1::numeric_limits<__uint128_t>'
       && (std::numeric_limits<T>::radix =3D=3D
std::numeric_limits<IntType>::radix)
                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
dbms/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:112:36: note: in
instantiation of template class 'boost::rational<unsigned __int128>' reques=
ted
here
        ostr << ASTSampleRatio::toString(x.numerator()) << "/" <<
ASTSampleRatio::toString(x.denominator());
                                          ^
In file included from
dbms/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:16:
/usr/local/include/boost/rational.hpp:218:75: error: no member named 'radix=
' in
'std::__1::numeric_limits<__uint128_t>'
       && (std::numeric_limits<T>::radix =3D=3D
std::numeric_limits<IntType>::radix)
                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/local/include/boost/rational.hpp:231:75: error: no member named 'radix=
' in
'std::__1::numeric_limits<__uint128_t>'
       && (std::numeric_limits<T>::radix =3D=3D
std::numeric_limits<IntType>::radix)
                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/local/include/boost/rational.hpp:241:75: error: no member named 'radix=
' in
'std::__1::numeric_limits<__uint128_t>'
       && (std::numeric_limits<T>::radix =3D=3D
std::numeric_limits<IntType>::radix)
                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/local/include/boost/rational.hpp:416:120: error: no member named 'digi=
ts'
in 'std::__1::numeric_limits<__uint128_t>'
    BOOST_CONSTEXPR static typename
boost::enable_if_c<(std::numeric_limits<T>::digits >
std::numeric_limits<IntType>::digits) && (std::numeric_limits<T>::is_signed=
 =3D=3D
false), bool>::type is_safe_narrowing_conversion(const T& val)
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=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/rational.hpp:424:120: error: no member named 'digi=
ts'
in 'std::__1::numeric_limits<__uint128_t>'
    BOOST_CONSTEXPR static typename
boost::enable_if_c<(std::numeric_limits<T>::digits >
std::numeric_limits<IntType>::digits) && (std::numeric_limits<T>::is_signed=
 =3D=3D
true) && (std::numeric_limits<IntType>::is_signed =3D=3D true), bool>::type
is_safe_narrowing_conversion(const T& val)
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=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/rational.hpp:436:120: error: no member named 'digi=
ts'
in 'std::__1::numeric_limits<__uint128_t>'
    BOOST_CONSTEXPR static typename
boost::enable_if_c<(std::numeric_limits<T>::digits >
std::numeric_limits<IntType>::digits) && (std::numeric_limits<T>::is_signed=
 =3D=3D
true) && (std::numeric_limits<IntType>::is_signed =3D=3D false), bool>::type
is_safe_narrowing_conversion(const T& val)
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=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/rational.hpp:444:121: error: no member named 'digi=
ts'
in 'std::__1::numeric_limits<__uint128_t>'
    BOOST_CONSTEXPR static typename
boost::enable_if_c<(std::numeric_limits<T>::digits <=3D
std::numeric_limits<IntType>::digits) && (std::numeric_limits<T>::is_signed=
 =3D=3D
true) && (std::numeric_limits<IntType>::is_signed =3D=3D false), bool>::type
is_safe_narrowing_conversion(const T& val)
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=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/rational.hpp:452:121: error: no member named 'digi=
ts'
in 'std::__1::numeric_limits<__uint128_t>'
    BOOST_CONSTEXPR static typename
boost::enable_if_c<(std::numeric_limits<T>::digits <=3D
std::numeric_limits<IntType>::digits) && (std::numeric_limits<T>::is_signed=
 =3D=3D
false) && (std::numeric_limits<IntType>::is_signed =3D=3D true), bool>::type
is_safe_narrowing_conversion(const T&)
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=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/rational.hpp:460:121: error: no member named 'digi=
ts'
in 'std::__1::numeric_limits<__uint128_t>'
    BOOST_CONSTEXPR static typename
boost::enable_if_c<(std::numeric_limits<T>::digits <=3D
std::numeric_limits<IntType>::digits) && (std::numeric_limits<T>::is_signed=
 =3D=3D
false) && (std::numeric_limits<IntType>::is_signed =3D=3D false), bool>::ty=
pe
is_safe_narrowing_conversion(const T&)
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=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/rational.hpp:468:121: error: no member named 'digi=
ts'
in 'std::__1::numeric_limits<__uint128_t>'
    BOOST_CONSTEXPR static typename
boost::enable_if_c<(std::numeric_limits<T>::digits <=3D
std::numeric_limits<IntType>::digits) && (std::numeric_limits<T>::is_signed=
 =3D=3D
true) && (std::numeric_limits<IntType>::is_signed =3D=3D true), bool>::type
is_safe_narrowing_conversion(const T&)
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=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/rational.hpp:120:82: error: no member named 'digit=
s'
in 'std::__1::numeric_limits<__uint128_t>'
         && (std::numeric_limits<FromInt>::digits <=3D
std::numeric_limits<ToInt>::digits)
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=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/config/suffix.hpp:394:72: note: expanded from macro
'BOOST_STATIC_CONSTANT'
#     define BOOST_STATIC_CONSTANT(type, assignment) static const type
assignment
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=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/rational.hpp:157:25: note: in instantiation of
template class
'boost::rational_detail::is_compatible_integer<std::__1::basic_string<char>,
unsigned __int128>' requested here
       rational_detail::is_compatible_integer<T, IntType>::value
                        ^
dbms/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:112:10: note: w=
hile
substituting deduced template arguments into function template 'rational' [=
with
T =3D std::__1::basic_string<char>]
        ostr << ASTSampleRatio::toString(x.numerator()) << "/" <<
ASTSampleRatio::toString(x.denominator());
                ^
In file included from
dbms/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:3:
/usr/include/c++/v1/limits:147:56: error: function cannot return array type
'type' (aka 'char [2]')
    _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type min() _NOEXCEPT
{return type();}
                                                       ^
/usr/include/c++/v1/limits:441:15: note: in instantiation of template class
'std::__1::__libcpp_numeric_limits<char [2], false>' requested here
    : private __libcpp_numeric_limits<typename remove_cv<_Tp>::type>
              ^
/usr/local/include/boost/rational.hpp:119:50: note: in instantiation of
template class 'std::__1::numeric_limits<char [2]>' requested here
      BOOST_STATIC_CONSTANT(bool, value =3D
((std::numeric_limits<FromInt>::is_specialized &&
std::numeric_limits<FromInt>::is_integer
                                                 ^
/usr/local/include/boost/rational.hpp:157:25: note: in instantiation of
template class 'boost::rational_detail::is_compatible_integer<char [2],
unsigned __int128>' requested here
       rational_detail::is_compatible_integer<T, IntType>::value
                        ^
dbms/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:112:53: note: w=
hile
substituting deduced template arguments into function template 'rational' [=
with
T =3D char [2]]
        ostr << ASTSampleRatio::toString(x.numerator()) << "/" <<
ASTSampleRatio::toString(x.denominator());
                                                           ^
In file included from
dbms/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:3:
/usr/include/c++/v1/limits:148:56: error: function cannot return array type
'type' (aka 'char [2]')
    _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type max() _NOEXCEPT
{return type();}
                                                       ^
/usr/include/c++/v1/limits:149:56: error: function cannot return array type
'type' (aka 'char [2]')
    _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type lowest() _NOEXC=
EPT
{return type();}
                                                       ^
/usr/include/c++/v1/limits:158:56: error: function cannot return array type
'type' (aka 'char [2]')
    _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type epsilon() _NOEX=
CEPT
{return type();}
                                                       ^
/usr/include/c++/v1/limits:159:56: error: function cannot return array type
'type' (aka 'char [2]')
    _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type round_error()
_NOEXCEPT {return type();}
                                                       ^
/usr/include/c++/v1/limits:171:56: error: function cannot return array type
'type' (aka 'char [2]')
    _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type infinity()
_NOEXCEPT {return type();}
                                                       ^
/usr/include/c++/v1/limits:172:56: error: function cannot return array type
'type' (aka 'char [2]')
    _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type quiet_NaN()
_NOEXCEPT {return type();}
                                                       ^
fatal error: too many errors emitted, stopping now [-ferror-limit=3D]
20 errors generated.

build log: http://sprunge.us/FKGj


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218835
[Bug 218835] devel/boost-all: update to 1.64
--=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-218841-13>