Package: src:leela-zero
Version: 0.17-1
Severity: important
Tags: sid forky
User: [email protected]
Usertags: boost1.88
leela-zero ftbfs with boost 1.88, also the explicit c++14 standard
probably should be dropped.
[...]
/usr/bin/c++ -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/src/Eigen
-I/usr/include/eigen3 -g -O2 -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-flto=auto -ffat-lto-objects -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security
-fcf-protection
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/leela-zero-0.17-1build8
-Wdate-time -D_FORTIFY_SOURCE=3 -std=gnu++14 -MD -MT
CMakeFiles/objs.dir/src/Network.cpp.o -MF
CMakeFiles/objs.dir/src/Network.cpp.o.d -o
CMakeFiles/objs.dir/src/Network.cpp.o -c /<<PKGBUILDDIR>>/src/Network.cpp
In file included from /<<PKGBUILDDIR>>/src/Network.cpp:42:
/usr/include/boost/spirit/home/x3.hpp:26:4: warning: #warning "Spirit X3
will soon use C++17 features which your compiler does not support" [-Wcpp]
26 | # warning "Spirit X3 will soon use C++17 features which your
compiler does not support"
| ^~~~~~~
/usr/include/boost/spirit/home/x3.hpp:28:5: warning: #warning "Use
-std=c++17 or -std=gnu++17 compiler flag to enable C++17 mode" [-Wcpp]
28 | # warning "Use -std=c++17 or -std=gnu++17 compiler flag to
enable C++17 mode"
| ^~~~~~~
/usr/include/boost/spirit/home/x3.hpp:30:4: warning: #warning "Minimal
supported compiler versions: Clang 4 / GCC 7 / MSC 1915 (VS 2017 v15.8)"
[-Wcpp]
30 | # warning "Minimal supported compiler versions: Clang 4 / GCC
7 / MSC 1915 (VS 2017 v15.8)"
| ^~~~~~~
/usr/include/boost/spirit/home/x3.hpp:36:4: warning: #warning "Define
BOOST_SPIRIT_X3_HIDE_CXX17_WARNING to hide the warning" [-Wcpp]
36 | # warning "Define BOOST_SPIRIT_X3_HIDE_CXX17_WARNING to hide
the warning"
| ^~~~~~~
/usr/include/boost/spirit/home/x3.hpp:34:145: note: ‘#pragma message:
This compiler seems to be GCC 15 (__cplusplus=201402L)’
34 | # pragma message "This compiler seems to be GCC "
BOOST_SPIRIT_X3_STRINGIZE(__GNUC__) " (__cplusplus="
BOOST_SPIRIT_X3_STRINGIZE(__cplusplus) ")"
|
^~~
In file included from
/usr/include/boost/spirit/home/x3/core/skip_over.hpp:12,
from
/usr/include/boost/spirit/home/x3/auxiliary/eps.hpp:10,
from /usr/include/boost/spirit/home/x3/auxiliary.hpp:12,
from /usr/include/boost/spirit/home/x3.hpp:62:
/usr/include/boost/spirit/home/x3/support/expectation.hpp:120:49: error:
‘template<class Iterator> constexpr const decltype(auto)
boost::spirit::x3::throwing::expectation_failure_helpers::where’
conflicts with a previous declaration
120 | constexpr decltype(auto)
where(std::optional<expectation_failure<Iterator>> const& failure)
noexcept { return failure->where(); }
| ^~~~~~~~
/usr/include/boost/spirit/home/x3/support/expectation.hpp:111:38: note:
previous declaration ‘template<class Iterator> constexpr decltype(auto)
boost::spirit::x3::throwing::expectation_failure_helpers::where(const
boost::spirit::x3::throwing::expectation_failure<Iterator>&)’
111 | constexpr decltype(auto)
where(expectation_failure<Iterator> const& failure) noexcept { return
failure.where(); }
| ^~~~~
/usr/include/boost/spirit/home/x3/support/expectation.hpp:120:49: error:
‘optional’ is not a member of ‘std’
120 | constexpr decltype(auto)
where(std::optional<expectation_failure<Iterator>> const& failure)
noexcept { return failure->where(); }
| ^~~~~~~~
/usr/include/boost/spirit/home/x3/support/expectation.hpp:120:49: note:
‘std::optional’ is only available from C++17 onwards
/usr/include/boost/spirit/home/x3/support/expectation.hpp:120:86: error:
expected primary-expression before ‘>’ token
120 | constexpr decltype(auto)
where(std::optional<expectation_failure<Iterator>> const& failure)
noexcept { return failure->where(); }
|
^~
/usr/include/boost/spirit/home/x3/support/expectation.hpp:120:89: error:
expected primary-expression before ‘const’
120 | constexpr decltype(auto)
where(std::optional<expectation_failure<Iterator>> const& failure)
noexcept { return failure->where(); }
|
^~~~~
/usr/include/boost/spirit/home/x3/support/expectation.hpp:120:104:
error: expected ‘;’ before ‘noexcept’
120 | constexpr decltype(auto)
where(std::optional<expectation_failure<Iterator>> const& failure)
noexcept { return failure->where(); }
|
^~~~~~~~~
|
;
/usr/include/boost/spirit/home/x3/support/expectation.hpp:124:49: error:
‘template<class Iterator> constexpr const decltype(auto)
boost::spirit::x3::throwing::expectation_failure_helpers::which’
conflicts with a previous declaration
124 | constexpr decltype(auto)
which(std::optional<expectation_failure<Iterator>> const& failure)
noexcept { return failure->which(); }
| ^~~~~~~~
/usr/include/boost/spirit/home/x3/support/expectation.hpp:115:38: note:
previous declaration ‘template<class Iterator> constexpr decltype(auto)
boost::spirit::x3::throwing::expectation_failure_helpers::which(const
boost::spirit::x3::throwing::expectation_failure<Iterator>&)’
115 | constexpr decltype(auto)
which(expectation_failure<Iterator> const& failure) noexcept { return
failure.which(); }
| ^~~~~
/usr/include/boost/spirit/home/x3/support/expectation.hpp:124:49: error:
‘optional’ is not a member of ‘std’
124 | constexpr decltype(auto)
which(std::optional<expectation_failure<Iterator>> const& failure)
noexcept { return failure->which(); }
| ^~~~~~~~
/usr/include/boost/spirit/home/x3/support/expectation.hpp:124:49: note:
‘std::optional’ is only available from C++17 onwards
/usr/include/boost/spirit/home/x3/support/expectation.hpp:124:86: error:
expected primary-expression before ‘>’ token
124 | constexpr decltype(auto)
which(std::optional<expectation_failure<Iterator>> const& failure)
noexcept { return failure->which(); }
|
^~
/usr/include/boost/spirit/home/x3/support/expectation.hpp:124:89: error:
expected primary-expression before ‘const’
124 | constexpr decltype(auto)
which(std::optional<expectation_failure<Iterator>> const& failure)
noexcept { return failure->which(); }
|
^~~~~
/usr/include/boost/spirit/home/x3/support/expectation.hpp:124:104:
error: expected ‘;’ before ‘noexcept’
124 | constexpr decltype(auto)
which(std::optional<expectation_failure<Iterator>> const& failure)
noexcept { return failure->which(); }
|
^~~~~~~~~
|
;
/usr/include/boost/spirit/home/x3/support/expectation.hpp:138:72: error:
‘optional’ is not a member of ‘std’
138 | constexpr decltype(auto)
where(std::reference_wrapper<std::optional<expectation_failure<Iterator>>>
const& failure) noexcept { return failure.get()->where(); }
|
^~~~~~~~
/usr/include/boost/spirit/home/x3/support/expectation.hpp:138:72: note:
‘std::optional’ is only available from C++17 onwards
/usr/include/boost/spirit/home/x3/support/expectation.hpp:138:72: error:
‘optional’ is not a member of ‘std’
/usr/include/boost/spirit/home/x3/support/expectation.hpp:138:72: note:
‘std::optional’ is only available from C++17 onwards
/usr/include/boost/spirit/home/x3/support/expectation.hpp:138:109:
error: template argument 1 is invalid
138 | constexpr decltype(auto)
where(std::reference_wrapper<std::optional<expectation_failure<Iterator>>>
const& failure) noexcept { return failure.get()->where(); }
|
^~
/usr/include/boost/spirit/home/x3/support/expectation.hpp:138:72: error:
‘optional’ is not a member of ‘std’
138 | constexpr decltype(auto)
where(std::reference_wrapper<std::optional<expectation_failure<Iterator>>>
const& failure) noexcept { return failure.get()->where(); }
|
^~~~~~~~
/usr/include/boost/spirit/home/x3/support/expectation.hpp:138:72: note:
‘std::optional’ is only available from C++17 onwards
/usr/include/boost/spirit/home/x3/support/expectation.hpp:138:72: error:
‘optional’ is not a member of ‘std’
/usr/include/boost/spirit/home/x3/support/expectation.hpp:138:72: note:
‘std::optional’ is only available from C++17 onwards
/usr/include/boost/spirit/home/x3/support/expectation.hpp:138:109:
error: template argument 1 is invalid
138 | constexpr decltype(auto)
where(std::reference_wrapper<std::optional<expectation_failure<Iterator>>>
const& failure) noexcept { return failure.get()->where(); }
|
^~
/usr/include/boost/spirit/home/x3/support/expectation.hpp:138:72: error:
‘optional’ is not a member of ‘std’
138 | constexpr decltype(auto)
where(std::reference_wrapper<std::optional<expectation_failure<Iterator>>>
const& failure) noexcept { return failure.get()->where(); }
|
^~~~~~~~
/usr/include/boost/spirit/home/x3/support/expectation.hpp:138:72: note:
‘std::optional’ is only available from C++17 onwards
/usr/include/boost/spirit/home/x3/support/expectation.hpp:138:72: error:
‘optional’ is not a member of ‘std’
/usr/include/boost/spirit/home/x3/support/expectation.hpp:138:72: note:
‘std::optional’ is only available from C++17 onwards
/usr/include/boost/spirit/home/x3/support/expectation.hpp:138:109:
error: template argument 1 is invalid
138 | constexpr decltype(auto)
where(std::reference_wrapper<std::optional<expectation_failure<Iterator>>>
const& failure) noexcept { return failure.get()->where(); }
|
^~
/usr/include/boost/spirit/home/x3/support/expectation.hpp:138:49: error:
‘template<class Iterator> constexpr const decltype(auto)
boost::spirit::x3::throwing::expectation_failure_helpers::where’
conflicts with a previous declaration
138 | constexpr decltype(auto)
where(std::reference_wrapper<std::optional<expectation_failure<Iterator>>>
const& failure) noexcept { return failure.get()->where(); }
| ^~~~~~~~~~~~~~~~~
/usr/include/boost/spirit/home/x3/support/expectation.hpp:129:38: note:
previous declaration ‘namespace
boost::spirit::x3::throwing::expectation_failure_helpers { }::where’
129 | constexpr decltype(auto)
where(boost::optional<expectation_failure<Iterator>> const& failure)
noexcept { return failure->where(); }
| ^~~~~
/usr/include/boost/spirit/home/x3/support/expectation.hpp:138:72: error:
‘optional’ is not a member of ‘std’
138 | constexpr decltype(auto)
where(std::reference_wrapper<std::optional<expectation_failure<Iterator>>>
const& failure) noexcept { return failure.get()->where(); }
|
^~~~~~~~
/usr/include/boost/spirit/home/x3/support/expectation.hpp:138:72: note:
‘std::optional’ is only available from C++17 onwards
/usr/include/boost/spirit/home/x3/support/expectation.hpp:138:72: error:
‘optional’ is not a member of ‘std’
/usr/include/boost/spirit/home/x3/support/expectation.hpp:138:72: note:
‘std::optional’ is only available from C++17 onwards
/usr/include/boost/spirit/home/x3/support/expectation.hpp:138:109:
error: template argument 1 is invalid
138 | constexpr decltype(auto)
where(std::reference_wrapper<std::optional<expectation_failure<Iterator>>>
const& failure) noexcept { return failure.get()->where(); }
|
^~
/usr/include/boost/spirit/home/x3/support/expectation.hpp:138:113:
error: expected primary-expression before ‘const’
138 | constexpr decltype(auto)
where(std::reference_wrapper<std::optional<expectation_failure<Iterator>>>
const& failure) noexcept { return failure.get()->where(); }
|
^~~~~
/usr/include/boost/spirit/home/x3/support/expectation.hpp:138:128:
error: expected ‘;’ before ‘noexcept’
138 | constexpr decltype(auto)
where(std::reference_wrapper<std::optional<expectation_failure<Iterator>>>
const& failure) noexcept { return failure.get()->where(); }
|
^~~~~~~~~
|
;
/usr/include/boost/spirit/home/x3/support/expectation.hpp:142:72: error:
‘optional’ is not a member of ‘std’
142 | constexpr decltype(auto)
which(std::reference_wrapper<std::optional<expectation_failure<Iterator>>>
const& failure) noexcept { return failure.get()->which(); }
|
^~~~~~~~
/usr/include/boost/spirit/home/x3/support/expectation.hpp:142:72: note:
‘std::optional’ is only available from C++17 onwards
/usr/include/boost/spirit/home/x3/support/expectation.hpp:142:72: error:
‘optional’ is not a member of ‘std’
/usr/include/boost/spirit/home/x3/support/expectation.hpp:142:72: note:
‘std::optional’ is only available from C++17 onwards
/usr/include/boost/spirit/home/x3/support/expectation.hpp:142:109:
error: template argument 1 is invalid
142 | constexpr decltype(auto)
which(std::reference_wrapper<std::optional<expectation_failure<Iterator>>>
const& failure) noexcept { return failure.get()->which(); }
|
^~
/usr/include/boost/spirit/home/x3/support/expectation.hpp:142:72: error:
‘optional’ is not a member of ‘std’
142 | constexpr decltype(auto)
which(std::reference_wrapper<std::optional<expectation_failure<Iterator>>>
const& failure) noexcept { return failure.get()->which(); }
|
^~~~~~~~
/usr/include/boost/spirit/home/x3/support/expectation.hpp:142:72: note:
‘std::optional’ is only available from C++17 onwards
/usr/include/boost/spirit/home/x3/support/expectation.hpp:142:72: error:
‘optional’ is not a member of ‘std’
/usr/include/boost/spirit/home/x3/support/expectation.hpp:142:72: note:
‘std::optional’ is only available from C++17 onwards
/usr/include/boost/spirit/home/x3/support/expectation.hpp:142:109:
error: template argument 1 is invalid
142 | constexpr decltype(auto)
which(std::reference_wrapper<std::optional<expectation_failure<Iterator>>>
const& failure) noexcept { return failure.get()->which(); }
|
^~
/usr/include/boost/spirit/home/x3/support/expectation.hpp:142:72: error:
‘optional’ is not a member of ‘std’
142 | constexpr decltype(auto)
which(std::reference_wrapper<std::optional<expectation_failure<Iterator>>>
const& failure) noexcept { return failure.get()->which(); }
|
^~~~~~~~
/usr/include/boost/spirit/home/x3/support/expectation.hpp:142:72: note:
‘std::optional’ is only available from C++17 onwards
/usr/include/boost/spirit/home/x3/support/expectation.hpp:142:72: error:
‘optional’ is not a member of ‘std’
/usr/include/boost/spirit/home/x3/support/expectation.hpp:142:72: note:
‘std::optional’ is only available from C++17 onwards
/usr/include/boost/spirit/home/x3/support/expectation.hpp:142:109:
error: template argument 1 is invalid
142 | constexpr decltype(auto)
which(std::reference_wrapper<std::optional<expectation_failure<Iterator>>>
const& failure) noexcept { return failure.get()->which(); }
|
^~
/usr/include/boost/spirit/home/x3/support/expectation.hpp:142:49: error:
‘template<class Iterator> constexpr const decltype(auto)
boost::spirit::x3::throwing::expectation_failure_helpers::which’
conflicts with a previous declaration
142 | constexpr decltype(auto)
which(std::reference_wrapper<std::optional<expectation_failure<Iterator>>>
const& failure) noexcept { return failure.get()->which(); }
| ^~~~~~~~~~~~~~~~~
/usr/include/boost/spirit/home/x3/support/expectation.hpp:133:38: note:
previous declaration ‘namespace
boost::spirit::x3::throwing::expectation_failure_helpers { }::which’
133 | constexpr decltype(auto)
which(boost::optional<expectation_failure<Iterator>> const& failure)
noexcept { return failure->which(); }
| ^~~~~
/usr/include/boost/spirit/home/x3/support/expectation.hpp:142:72: error:
‘optional’ is not a member of ‘std’
142 | constexpr decltype(auto)
which(std::reference_wrapper<std::optional<expectation_failure<Iterator>>>
const& failure) noexcept { return failure.get()->which(); }
|
^~~~~~~~
/usr/include/boost/spirit/home/x3/support/expectation.hpp:142:72: note:
‘std::optional’ is only available from C++17 onwards
/usr/include/boost/spirit/home/x3/support/expectation.hpp:142:72: error:
‘optional’ is not a member of ‘std’
/usr/include/boost/spirit/home/x3/support/expectation.hpp:142:72: note:
‘std::optional’ is only available from C++17 onwards
/usr/include/boost/spirit/home/x3/support/expectation.hpp:142:109:
error: template argument 1 is invalid
142 | constexpr decltype(auto)
which(std::reference_wrapper<std::optional<expectation_failure<Iterator>>>
const& failure) noexcept { return failure.get()->which(); }
|
^~
/usr/include/boost/spirit/home/x3/support/expectation.hpp:142:113:
error: expected primary-expression before ‘const’
142 | constexpr decltype(auto)
which(std::reference_wrapper<std::optional<expectation_failure<Iterator>>>
const& failure) noexcept { return failure.get()->which(); }
|
^~~~~
/usr/include/boost/spirit/home/x3/support/expectation.hpp:142:128:
error: expected ‘;’ before ‘noexcept’
142 | constexpr decltype(auto)
which(std::reference_wrapper<std::optional<expectation_failure<Iterator>>>
const& failure) noexcept { return failure.get()->which(); }
|
^~~~~~~~~
|