/var/tmp/portage/dev-util/bear-3.0.16/work/Bear-3.0.16/source/citnames/source/Configuration.cc:46:44: required from here /usr/include/nlohmann/detail/meta/type_traits.hpp:400:22: error: the value of ‘nlohmann::detail::has_from_json<nlohmann::basic_json<>, std::filesystem::__cxx11::path, void>::value’ is not usable in a constant expression 400 | value_type>::value || | ^~~~~ In file included from /usr/include/nlohmann/detail/conversions/from_json.hpp:19, from /usr/include/nlohmann/adl_serializer.hpp:6, ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-j4-20211006-080015 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.0 * clang version 13.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/13/bin /usr/lib/llvm/13 13.0.0 Python 3.9.7 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby30 (with Rubygems) * The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: HEAD of ::gentoo commit 25aee68bdf71519873f00f7e495a75c2fbb9d194 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sat Oct 9 09:21:28 2021 +0000 2021-10-09 09:21:26 UTC emerge -qpvO dev-util/bear [ebuild R ] dev-util/bear-3.0.16 USE="-test"
Created attachment 744096 [details] emerge-info.txt
Created attachment 744099 [details] dev-util:bear-3.0.16:20211009-104130.log
Created attachment 744102 [details] emerge-history.txt
Created attachment 744105 [details] environment
Created attachment 744108 [details] etc.portage.tar.bz2
Created attachment 744111 [details] logs.tar.bz2
Created attachment 744114 [details] temp.tar.bz2
Upstream bug: https://github.com/rizsotto/Bear/issues/420 nlohmann_json bug: https://github.com/nlohmann/json/issues/3070
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=337bfe306203ea8a984452d8a3e08a4044bf74a0 commit 337bfe306203ea8a984452d8a3e08a4044bf74a0 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2021-10-12 16:12:27 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2021-10-12 16:12:27 +0000 dev-util/bear: revbump for hlohmann_json dep adjustment Bug: https://bugs.gentoo.org/817233 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-util/bear/{bear-3.0.16.ebuild => bear-3.0.16-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
I've temporary limited nlohmann_json version to be 3.10.2 at max ... Calculating dependencies .... done! [ebuild N ] dev-libs/libfmt-8.0.1-r1:0/8.0.1::gentoo USE="-test" 0 KiB [ebuild N ] dev-cpp/nlohmann_json-3.10.2::gentoo USE="-doc -test" 0 KiB ... so at least it should make it working out of the box. after nlohmann_json is fixed I'll lift the version requirement in bear.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f975d077fc58e6cea0cf3f7ae6445550920adecc commit f975d077fc58e6cea0cf3f7ae6445550920adecc Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2021-10-16 23:57:26 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2021-10-17 00:03:32 +0000 dev-util/bear: revbump for hlohmann_json dep adjustment This effectively reverts commit 337bfe306203ea8a984452d8a3e08a4044bf74a0. But we do a revision bump for dep change Bear-issue: https://github.com/rizsotto/Bear/issues/420 Closes: https://bugs.gentoo.org/817233 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-util/bear/{bear-3.0.16-r1.ebuild => bear-3.0.16-r2.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5c40a9ace50128951aaf2ddd6df3d727c0cebe3 commit b5c40a9ace50128951aaf2ddd6df3d727c0cebe3 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2021-10-16 23:54:34 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2021-10-17 00:00:53 +0000 dev-cpp/nlohmann_json: add 3.10.4, drop 3.10.3 Upstream-issue: https://github.com/nlohmann/json/issues/3070 Bear-issue: https://github.com/rizsotto/Bear/issues/420 Bug: https://bugs.gentoo.org/817233 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-cpp/nlohmann_json/Manifest | 2 +- .../{nlohmann_json-3.10.3.ebuild => nlohmann_json-3.10.4.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-)
actually people may still hit it as I removed version limit and did not introduce a blocker. make sure you update json package first before rebuilding bear.