I have opened an upstream issue for this problem. The build stops after: cd /var/tmp/portage/net-analyzer/icinga2-2.11.2/work/icinga2-2.11.2_build/lib/base && /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ -DBOOST_COROUTINES_NO_DEPRECATION_WARNING -DBOOST_FILESYSTEM_NO_DEPRECATED -I/var/tmp/portage/net-analyzer/icinga2-2.11.2/work/icinga2-2.11.2/third-party/nlohmann_json -I/var/tmp/portage/net-analyzer/icinga2-2.11.2/work/icinga2-2.11.2/third-party/utf8cpp/source -I/var/tmp/portage/net-analyzer/icinga2-2.11.2/work/icinga2-2.11.2 -I/var/tmp/portage/net-analyzer/icinga2-2.11.2/work/icinga2-2.11.2/lib -I/var/tmp/portage/net-analyzer/icinga2-2.11.2/work/icinga2-2.11.2_build -I/var/tmp/portage/net-analyzer/icinga2-2.11.2/work/icinga2-2.11.2_build/lib -I/var/tmp/portage/net-analyzer/icinga2-2.11.2/work/icinga2-2.11.2/third-party/execvpe -I/var/tmp/portage/net-analyzer/icinga2-2.11.2/work/icinga2-2.11.2/third-party/mmatch -I/var/tmp/portage/net-analyzer/icinga2-2.11.2/work/icinga2-2.11.2/third-party/socketpair -DNDEBUG -O2 -pipe -march=native -lpthread -pthread -Winvalid-pch -std=c++0x -o CMakeFiles/base.dir/io-engine.cpp.o -c /var/tmp/portage/net-analyzer/icinga2-2.11.2/work/icinga2-2.11.2/lib/base/io-engine.cpp In file included from /usr/include/boost/coroutine/coroutine.hpp:10, from /usr/include/boost/coroutine/all.hpp:11, from /usr/include/boost/asio/spawn.hpp:19, from /var/tmp/portage/net-analyzer/icinga2-2.11.2/work/icinga2-2.11.2/lib/base/io-engine.hpp:16, from /var/tmp/portage/net-analyzer/icinga2-2.11.2/work/icinga2-2.11.2/lib/base/io-engine.cpp:4: /usr/include/boost/coroutine/asymmetric_coroutine.hpp: In function ‘typename boost::coroutines::pull_coroutine<R>::iterator boost::coroutines::begin(boost::coroutines::pull_coroutine<Arg>&)’: /usr/include/boost/coroutine/asymmetric_coroutine.hpp:2364:17: error: ‘begin’ is not a member of ‘boost’ 2364 | { return boost::begin( c); } | ^~~~~
As icinga's dev found out, this is actually a boost bug listed in KNOWN ISSUES: https://www.boost.org/users/history/version_1_72_0.html The following patch fixes the problem: https://www.boost.org/patches/1_72_0/0001-revert-cease-dependence-on-range.patch Can you guys please add it to boost?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51a79e39c1005fe618fe146872a931ce4ae2035c commit 51a79e39c1005fe618fe146872a931ce4ae2035c Author: David Seifert <soap@gentoo.org> AuthorDate: 2019-12-29 13:06:01 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2019-12-29 13:06:01 +0000 dev-libs/boost: Include patch for net-analyzer/icinga2 Closes: https://bugs.gentoo.org/704128 Package-Manager: Portage-2.3.83, Repoman-2.3.20 Signed-off-by: David Seifert <soap@gentoo.org> dev-libs/boost/boost-1.72.0.ebuild | 2 + ...t-1.72.0-revert-cease-dependence-on-range.patch | 49 ++++++++++++++++++++++ 2 files changed, 51 insertions(+)