* Package: dev-util/bear-3.0.16 * Repository: gentoo * Maintainer: gyakovlev@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking bear-3.0.16.tar.gz to /var/tmp/portage/dev-util/bear-3.0.16/work >>> Source unpacked in /var/tmp/portage/dev-util/bear-3.0.16/work >>> Preparing source in /var/tmp/portage/dev-util/bear-3.0.16/work/Bear-3.0.16 ... * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-util/bear-3.0.16/work/Bear-3.0.16" * Build directory (BUILD_DIR): "/var/tmp/portage/dev-util/bear-3.0.16/work/bear-3.0.16_build" >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-util/bear-3.0.16/work/Bear-3.0.16 ... * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-util/bear-3.0.16/work/Bear-3.0.16" * Build directory (BUILD_DIR): "/var/tmp/portage/dev-util/bear-3.0.16/work/bear-3.0.16_build" cmake -C /var/tmp/portage/dev-util/bear-3.0.16/work/bear-3.0.16_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_UNIT_TESTS=OFF -DENABLE_FUNC_TESTS=OFF -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-util/bear-3.0.16/work/bear-3.0.16_build/gentoo_toolchain.cmake /var/tmp/portage/dev-util/bear-3.0.16/work/Bear-3.0.16 loading initial cache file /var/tmp/portage/dev-util/bear-3.0.16/work/bear-3.0.16_build/gentoo_common_config.cmake -- The C compiler identification is GNU 11.2.0 -- The CXX compiler identification is GNU 11.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for nlohman_json dependency -- Looking for nlohman_json dependency -- found -- Looking for fmt dependency -- Looking for fmt dependency -- found -- Looking for spdlog dependency -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Looking for spdlog dependency -- found -- Looking for gRPC::grpc++ dependency -- Found PkgConfig: x86_64-pc-linux-gnu-pkg-config (found version "1.8.0") -- Checking for modules 'protobuf>=3.11;grpc++>=1.26' -- Found protobuf, version 3.17.3 -- Found grpc++, version 1.41.0 -- Looking for gRPC::grpc++ dependency -- found -- Looking for protoc -- Looking for protoc -- found -- Looking for grpc_cpp_plugin -- Looking for grpc_cpp_plugin -- found -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -pipe -march=native -fno-diagnostics-color -O2 C++ -pipe -march=native -fno-diagnostics-color -O2 Linker flags: Executable -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 Module -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 Shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -- Configuring done -- Generating done -- Build files have been written to: /var/tmp/portage/dev-util/bear-3.0.16/work/bear-3.0.16_build >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-util/bear-3.0.16/work/Bear-3.0.16 ... * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-util/bear-3.0.16/work/Bear-3.0.16" * Build directory (BUILD_DIR): "/var/tmp/portage/dev-util/bear-3.0.16/work/bear-3.0.16_build" ninja -v -j4 -l0 [1/8] cd /var/tmp/portage/dev-util/bear-3.0.16/work/bear-3.0.16_build && /usr/bin/cmake -E make_directory /var/tmp/portage/dev-util/bear-3.0.16/work/Bear-3.0.16/source && /usr/bin/cmake -E make_directory /var/tmp/portage/dev-util/bear-3.0.16/work/bear-3.0.16_build/subprojects/Build/BearSource && /usr/bin/cmake -E make_directory /var/tmp/portage/dev-util/bear-3.0.16/work/bear-3.0.16_build/subprojects/Install/BearSource && /usr/bin/cmake -E make_directory /var/tmp/portage/dev-util/bear-3.0.16/work/bear-3.0.16_build/subprojects/tmp/BearSource && /usr/bin/cmake -E make_directory /var/tmp/portage/dev-util/bear-3.0.16/work/bear-3.0.16_build/subprojects/Stamp/BearSource && /usr/bin/cmake -E make_directory /var/tmp/portage/dev-util/bear-3.0.16/work/bear-3.0.16_build/subprojects/Download/BearSource && /usr/bin/cmake -E make_directory /var/tmp/portage/dev-util/bear-3.0.16/work/bear-3.0.16_build/subprojects/Stamp/BearSource && /usr/bin/cmake -E touch /var/tmp/portage/dev-util/bear-3.0.16/work/bear-3.0.16_build/subprojects/Stamp/BearSource/BearSource-mkdir [2/8] cd /var/tmp/portage/dev-util/bear-3.0.16/work/bear-3.0.16_build && /usr/bin/cmake -E echo_append && /usr/bin/cmake -E touch /var/tmp/portage/dev-util/bear-3.0.16/work/bear-3.0.16_build/subprojects/Stamp/BearSource/BearSource-download [3/8] cd /var/tmp/portage/dev-util/bear-3.0.16/work/bear-3.0.16_build && /usr/bin/cmake -E echo_append && /usr/bin/cmake -E touch /var/tmp/portage/dev-util/bear-3.0.16/work/bear-3.0.16_build/subprojects/Stamp/BearSource/BearSource-update [4/8] cd /var/tmp/portage/dev-util/bear-3.0.16/work/bear-3.0.16_build && /usr/bin/cmake -E echo_append && /usr/bin/cmake -E touch /var/tmp/portage/dev-util/bear-3.0.16/work/bear-3.0.16_build/subprojects/Stamp/BearSource/BearSource-patch [5/8] cd /var/tmp/portage/dev-util/bear-3.0.16/work/bear-3.0.16_build/subprojects/Build/BearSource && /usr/bin/cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_PROJECT_VERSION=3.0.16 -DCMAKE_C_COMPILER=/usr/bin/x86_64-pc-linux-gnu-gcc -DCMAKE_CXX_STANDARD=17 -DCMAKE_CXX_STANDARD_REQUIRED=ON -DCMAKE_CXX_EXTENSIONS=OFF "-DCMAKE_CXX_FLAGS:STRING=-pipe -march=native -fno-diagnostics-color -O2" -DCMAKE_CXX_COMPILER:STRING=/usr/bin/x86_64-pc-linux-gnu-g++ -DPKG_CONFIG_EXECUTABLE:PATH=x86_64-pc-linux-gnu-pkg-config -DCMAKE_TOOLCHAIN_FILE:PATH=/var/tmp/portage/dev-util/bear-3.0.16/work/bear-3.0.16_build/gentoo_toolchain.cmake -GNinja -C/var/tmp/portage/dev-util/bear-3.0.16/work/bear-3.0.16_build/subprojects/tmp/BearSource/BearSource-cache-Gentoo.cmake /var/tmp/portage/dev-util/bear-3.0.16/work/Bear-3.0.16/source && /usr/bin/cmake -E touch /var/tmp/portage/dev-util/bear-3.0.16/work/bear-3.0.16_build/subprojects/Stamp/BearSource/BearSource-configure loading initial cache file /var/tmp/portage/dev-util/bear-3.0.16/work/bear-3.0.16_build/subprojects/tmp/BearSource/BearSource-cache-Gentoo.cmake -- The C compiler identification is GNU 11.2.0 -- The CXX compiler identification is GNU 11.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found nlohmann_json: /usr/lib64/cmake/nlohmann_json/nlohmann_jsonConfig.cmake (found version "3.10.3") -- Found PkgConfig: x86_64-pc-linux-gnu-pkg-config (found version "1.8.0") -- Checking for modules 'protobuf;grpc++' -- Found protobuf, version 3.17.3 -- Found grpc++, version 1.41.0 -- Looking for spawn.h -- Looking for spawn.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for dlfcn.h -- Looking for dlfcn.h - found -- Looking for errno.h -- Looking for errno.h - found -- Looking for sys/utsname.h -- Looking for sys/utsname.h - found -- Looking for sys/wait.h -- Looking for sys/wait.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for gnu/lib-names.h -- Looking for gnu/lib-names.h - found -- Looking for _NSGetEnviron -- Looking for _NSGetEnviron - not found -- Looking for dlopen -- Looking for dlopen - found -- Looking for dlsym -- Looking for dlsym - found -- Looking for dlerror -- Looking for dlerror - found -- Looking for dlclose -- Looking for dlclose - found -- Looking for RTLD_NEXT -- Looking for RTLD_NEXT - found -- Looking for EACCES -- Looking for EACCES - found -- Looking for ENOENT -- Looking for ENOENT - found -- Looking for strerror_r -- Looking for strerror_r - found -- Looking for environ -- Looking for environ - found -- Looking for uname -- Looking for uname - found -- Looking for confstr -- Looking for confstr - found -- Looking for _CS_PATH -- Looking for _CS_PATH - found -- Looking for _CS_GNU_LIBC_VERSION -- Looking for _CS_GNU_LIBC_VERSION - found -- Looking for _CS_GNU_LIBPTHREAD_VERSION -- Looking for _CS_GNU_LIBPTHREAD_VERSION - found -- Looking for protoc ... /usr/bin/protoc -- Looking for grpc_cpp_plugin ... /usr/bin/grpc_cpp_plugin -- Configuring done -- Generating done -- Build files have been written to: /var/tmp/portage/dev-util/bear-3.0.16/work/bear-3.0.16_build/subprojects/Build/BearSource [6/8] cd /var/tmp/portage/dev-util/bear-3.0.16/work/bear-3.0.16_build/subprojects/Build/BearSource && /usr/bin/cmake --build . && /usr/bin/cmake -E touch /var/tmp/portage/dev-util/bear-3.0.16/work/bear-3.0.16_build/subprojects/Stamp/BearSource/BearSource-build FAILED: subprojects/Stamp/BearSource/BearSource-build /var/tmp/portage/dev-util/bear-3.0.16/work/bear-3.0.16_build/subprojects/Stamp/BearSource/BearSource-build cd /var/tmp/portage/dev-util/bear-3.0.16/work/bear-3.0.16_build/subprojects/Build/BearSource && /usr/bin/cmake --build . && /usr/bin/cmake -E touch /var/tmp/portage/dev-util/bear-3.0.16/work/bear-3.0.16_build/subprojects/Stamp/BearSource/BearSource-build [1/61] Building CXX object intercept/CMakeFiles/exec.dir/source/report/libexec/std.cc.o [2/61] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Environment.cc.o [3/61] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Logger.cc.o [4/61] Generating supervise.pb.h, supervise.grpc.pb.h, supervise.pb.cc, supervise.grpc.pb.cc [5/61] Generating intercept.pb.h, intercept.grpc.pb.h, intercept.pb.cc, intercept.grpc.pb.cc [6/61] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Buffer.cc.o [7/61] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Session.cc.o [8/61] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Errors.cc.o [9/61] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Paths.cc.o [10/61] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Executor.cc.o [11/61] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Linker.cc.o [12/61] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Guard.cc.o [13/61] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Path.cc.o [14/61] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Signal.cc.o [15/61] Building CXX object intercept/CMakeFiles/exec.dir/source/report/libexec/lib.cc.o [16/61] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Os.cc.o [17/61] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Resolver.cc.o [18/61] Linking C shared library intercept/libexec.so [19/61] Building CXX object citnames/CMakeFiles/citnames_json_a.dir/source/Configuration.cc.o FAILED: citnames/CMakeFiles/citnames_json_a.dir/source/Configuration.cc.o /usr/bin/x86_64-pc-linux-gnu-g++ -DFMT_LOCALE -DFMT_SHARED -DJSON_DIAGNOSTICS=0 -DJSON_USE_IMPLICIT_CONVERSIONS=1 -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -I/var/tmp/portage/dev-util/bear-3.0.16/work/bear-3.0.16_build/subprojects/Build/BearSource -I/var/tmp/portage/dev-util/bear-3.0.16/work/Bear-3.0.16/source/libresult/include -I/var/tmp/portage/dev-util/bear-3.0.16/work/Bear-3.0.16/source/libshell/include -I/var/tmp/portage/dev-util/bear-3.0.16/work/Bear-3.0.16/source/libsys/include -pipe -march=native -fno-diagnostics-color -O2 -fno-exceptions -DSPDLOG_NO_EXCEPTIONS -DGOOGLE_PROTOBUF_NO_RTTI -Wall -Wextra -fexceptions -std=c++17 -MD -MT citnames/CMakeFiles/citnames_json_a.dir/source/Configuration.cc.o -MF citnames/CMakeFiles/citnames_json_a.dir/source/Configuration.cc.o.d -o citnames/CMakeFiles/citnames_json_a.dir/source/Configuration.cc.o -c /var/tmp/portage/dev-util/bear-3.0.16/work/Bear-3.0.16/source/citnames/source/Configuration.cc In file included from /usr/include/nlohmann/detail/conversions/from_json.hpp:19, from /usr/include/nlohmann/adl_serializer.hpp:6, from /usr/include/nlohmann/json.hpp:51, from /var/tmp/portage/dev-util/bear-3.0.16/work/Bear-3.0.16/source/citnames/source/Configuration.cc:26: /usr/include/nlohmann/detail/meta/type_traits.hpp: In instantiation of ‘constexpr const bool nlohmann::detail::is_constructible_array_type_impl, std::filesystem::__cxx11::path, void>::value’: /usr/include/nlohmann/detail/conversions/from_json.hpp:245:84: required by substitution of ‘template::value && (! nlohmann::detail::is_constructible_object_type::value)) && (! nlohmann::detail::is_constructible_string_type::value)) && (! std::is_same::value)) && (! nlohmann::detail::is_basic_json::value)), int>::type > decltype (((nlohmann::detail::from_json_array_impl(j, arr, nlohmann::detail::priority_tag<3>{}), j.get()), void())) nlohmann::detail::from_json(const BasicJsonType&, ConstructibleArrayType&) [with BasicJsonType = nlohmann::basic_json<>; ConstructibleArrayType = std::filesystem::__cxx11::path; typename std::enable_if<((((nlohmann::detail::is_constructible_array_type::value && (! nlohmann::detail::is_constructible_object_type::value)) && (! nlohmann::detail::is_constructible_string_type::value)) && (! std::is_same::value)) && (! nlohmann::detail::is_basic_json::value)), int>::type = ]’ /usr/include/nlohmann/detail/conversions/from_json.hpp:452:26: required by substitution of ‘template decltype (nlohmann::detail::from_json(j, forward(val))) nlohmann::detail::from_json_fn::operator()(const BasicJsonType&, T&&) const [with BasicJsonType = nlohmann::basic_json<>; T = std::filesystem::__cxx11::path&]’ /usr/include/nlohmann/adl_serializer.hpp:31:38: required by substitution of ‘template static decltype ((nlohmann::{anonymous}::from_json(forward(j), val), void())) nlohmann::adl_serializer::from_json(BasicJsonType&&, TargetType&) [with BasicJsonType = const nlohmann::basic_json<>&; TargetType = std::filesystem::__cxx11::path]’ /usr/include/nlohmann/detail/meta/type_traits.hpp:89:49: required by substitution of ‘template using from_json_function = decltype (T::from_json((declval)()...)) [with T = nlohmann::adl_serializer; Args = {const nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer, std::vector > >&, std::filesystem::__cxx11::path&}]’ /usr/include/nlohmann/detail/meta/detected.hpp:55:7: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /usr/include/nlohmann/detail/conversions/from_json.hpp:452:26: required by substitution of ‘template decltype (nlohmann::detail::from_json(j, forward(val))) nlohmann::detail::from_json_fn::operator()(const BasicJsonType&, T&&) const [with BasicJsonType = nlohmann::basic_json<>; T = std::__cxx11::list&]’ /usr/include/nlohmann/adl_serializer.hpp:31:38: required by substitution of ‘template static decltype ((nlohmann::{anonymous}::from_json(forward(j), val), void())) nlohmann::adl_serializer, void>::from_json(BasicJsonType&&, TargetType&) [with BasicJsonType = const nlohmann::basic_json<>&; TargetType = std::__cxx11::list]’ /usr/include/nlohmann/detail/meta/detected.hpp:55:7: recursively required by substitution of ‘template class Op, class ... Args> struct nlohmann::detail::detector >::type, Op, Args ...> [with Default = nlohmann::detail::nonesuch; Op = nlohmann::detail::from_json_function; Args = {nlohmann::adl_serializer >, void>, const nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer, std::vector > >&, std::__cxx11::list >&}]’ /usr/include/nlohmann/detail/meta/detected.hpp:55:7: required by substitution of ‘template class Op, class ... Args> using is_detected_exact = std::is_same::type> [with Expected = void; Op = nlohmann::detail::from_json_function; Args = {nlohmann::adl_serializer >, void>, const nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer, std::vector > >&, std::__cxx11::list >&}]’ /usr/include/nlohmann/detail/meta/type_traits.hpp:115:36: required from ‘constexpr const bool nlohmann::detail::has_from_json, std::__cxx11::list, void>::value’ /usr/include/nlohmann/json.hpp:3289:60: required by substitution of ‘template::value) && nlohmann::detail::has_from_json, ValueType, void>::value), int>::type > ValueType& nlohmann::basic_json<>::get_to >(ValueType&) const [with ValueType = std::__cxx11::list; typename std::enable_if<((! nlohmann::detail::is_basic_json::value) && nlohmann::detail::has_from_json, ValueType, void>::value), int>::type = ]’ /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, 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, from /usr/include/nlohmann/json.hpp:51, from /var/tmp/portage/dev-util/bear-3.0.16/work/Bear-3.0.16/source/citnames/source/Configuration.cc:26: /usr/include/nlohmann/detail/meta/type_traits.hpp:113:27: note: ‘nlohmann::detail::has_from_json, std::filesystem::__cxx11::path, void>::value’ used in its own initializer 113 | static constexpr bool value = | ^~~~~ In file included from /usr/include/nlohmann/detail/conversions/from_json.hpp:19, from /usr/include/nlohmann/adl_serializer.hpp:6, from /usr/include/nlohmann/json.hpp:51, from /var/tmp/portage/dev-util/bear-3.0.16/work/Bear-3.0.16/source/citnames/source/Configuration.cc:26: /usr/include/nlohmann/detail/meta/type_traits.hpp: In instantiation of ‘constexpr const bool nlohmann::detail::is_compatible_array_type_impl, std::filesystem::__cxx11::path, void>::value’: /usr/include/nlohmann/detail/conversions/to_json.hpp:310:48: required by substitution of ‘template::value && (! nlohmann::detail::is_compatible_object_type::value)) && (! nlohmann::detail::is_compatible_string_type::value)) && (! std::is_same::value)) && (! nlohmann::detail::is_basic_json::value)), int>::type > void nlohmann::detail::to_json(BasicJsonType&, const CompatibleArrayType&) [with BasicJsonType = nlohmann::basic_json<>; CompatibleArrayType = std::filesystem::__cxx11::path; typename std::enable_if<((((nlohmann::detail::is_compatible_array_type::value && (! nlohmann::detail::is_compatible_object_type::value)) && (! nlohmann::detail::is_compatible_string_type::value)) && (! std::is_same::value)) && (! nlohmann::detail::is_basic_json::value)), int>::type = ]’ /usr/include/nlohmann/detail/conversions/to_json.hpp:393:24: required by substitution of ‘template decltype ((nlohmann::detail::to_json(j, forward(val)), void())) nlohmann::detail::to_json_fn::operator()(BasicJsonType&, T&&) const [with BasicJsonType = nlohmann::basic_json<>; T = std::filesystem::__cxx11::path]’ /usr/include/nlohmann/adl_serializer.hpp:68:36: required by substitution of ‘template static decltype ((nlohmann::{anonymous}::to_json(j, forward(val)), void())) nlohmann::adl_serializer::to_json(BasicJsonType&, TargetType&&) [with BasicJsonType = nlohmann::basic_json<>; TargetType = std::filesystem::__cxx11::path]’ /usr/include/nlohmann/detail/meta/type_traits.hpp:86:45: required by substitution of ‘template using to_json_function = decltype (T::to_json((declval)()...)) [with T = nlohmann::adl_serializer; Args = {nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer, std::vector > >&, std::filesystem::__cxx11::path}]’ /usr/include/nlohmann/detail/meta/detected.hpp:55:7: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /usr/include/nlohmann/adl_serializer.hpp:68:36: required by substitution of ‘template static decltype ((nlohmann::{anonymous}::to_json(j, forward(val)), void())) nlohmann::adl_serializer, void>::to_json(BasicJsonType&, TargetType&&) [with BasicJsonType = nlohmann::basic_json<>; TargetType = std::__cxx11::list]’ /usr/include/nlohmann/detail/meta/detected.hpp:55:7: recursively required by substitution of ‘template class Op, class ... Args> struct nlohmann::detail::detector >::type, Op, Args ...> [with Default = nlohmann::detail::nonesuch; Op = nlohmann::detail::to_json_function; Args = {nlohmann::adl_serializer >, void>, nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer, std::vector > >&, std::__cxx11::list >}]’ /usr/include/nlohmann/detail/meta/detected.hpp:55:7: required by substitution of ‘template class Op, class ... Args> using is_detected_exact = std::is_same::type> [with Expected = void; Op = nlohmann::detail::to_json_function; Args = {nlohmann::adl_serializer >, void>, nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer, std::vector > >&, std::__cxx11::list >}]’ /usr/include/nlohmann/detail/meta/type_traits.hpp:145:13: required from ‘constexpr const bool nlohmann::detail::has_to_json, std::__cxx11::list, void>::value’ /usr/include/nlohmann/detail/meta/type_traits.hpp:446:53: required from ‘constexpr const bool nlohmann::detail::is_compatible_type_impl, std::__cxx11::list, void>::value’ /usr/include/nlohmann/json.hpp:1569:53: required by substitution of ‘template::value) && nlohmann::detail::is_compatible_type, U>::value), int>::type > nlohmann::basic_json<>::basic_json(CompatibleType&&) [with CompatibleType = const std::__cxx11::list&; U = std::__cxx11::list; typename std::enable_if<((! nlohmann::detail::is_basic_json::value) && nlohmann::detail::is_compatible_type, U>::value), int>::type = ]’ /var/tmp/portage/dev-util/bear-3.0.16/work/Bear-3.0.16/source/citnames/source/Configuration.cc:58:41: required from here /usr/include/nlohmann/detail/meta/type_traits.hpp:362:46: error: incomplete type ‘nlohmann::detail::is_constructible, std::filesystem::__cxx11::path>’ used in nested name specifier 362 | range_value_t>::value; | ^~~~~ [20/61] Building CXX object intercept/CMakeFiles/events_db_a.dir/source/collect/db/EventsDatabaseReader.cc.o [21/61] Building CXX object intercept/proto/CMakeFiles/rpc_a.dir/supervise.grpc.pb.cc.o [22/61] Building CXX object libflags/CMakeFiles/flags_a.dir/source/Flags.cc.o [23/61] Building CXX object intercept/CMakeFiles/domain_a.dir/source/Domain.cc.o [24/61] Building CXX object citnames/CMakeFiles/citnames_json_a.dir/source/Output.cc.o FAILED: citnames/CMakeFiles/citnames_json_a.dir/source/Output.cc.o /usr/bin/x86_64-pc-linux-gnu-g++ -DFMT_LOCALE -DFMT_SHARED -DJSON_DIAGNOSTICS=0 -DJSON_USE_IMPLICIT_CONVERSIONS=1 -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -I/var/tmp/portage/dev-util/bear-3.0.16/work/bear-3.0.16_build/subprojects/Build/BearSource -I/var/tmp/portage/dev-util/bear-3.0.16/work/Bear-3.0.16/source/libresult/include -I/var/tmp/portage/dev-util/bear-3.0.16/work/Bear-3.0.16/source/libshell/include -I/var/tmp/portage/dev-util/bear-3.0.16/work/Bear-3.0.16/source/libsys/include -pipe -march=native -fno-diagnostics-color -O2 -fno-exceptions -DSPDLOG_NO_EXCEPTIONS -DGOOGLE_PROTOBUF_NO_RTTI -Wall -Wextra -fexceptions -std=c++17 -MD -MT citnames/CMakeFiles/citnames_json_a.dir/source/Output.cc.o -MF citnames/CMakeFiles/citnames_json_a.dir/source/Output.cc.o.d -o citnames/CMakeFiles/citnames_json_a.dir/source/Output.cc.o -c /var/tmp/portage/dev-util/bear-3.0.16/work/Bear-3.0.16/source/citnames/source/Output.cc In file included from /usr/include/nlohmann/detail/conversions/from_json.hpp:19, from /usr/include/nlohmann/adl_serializer.hpp:6, from /usr/include/nlohmann/json.hpp:51, from /var/tmp/portage/dev-util/bear-3.0.16/work/Bear-3.0.16/source/citnames/source/Output.cc:30: /usr/include/nlohmann/detail/meta/type_traits.hpp: In instantiation of ‘constexpr const bool nlohmann::detail::is_constructible_array_type_impl, std::filesystem::__cxx11::path, void>::value’: /usr/include/nlohmann/detail/conversions/from_json.hpp:245:84: required by substitution of ‘template::value && (! nlohmann::detail::is_constructible_object_type::value)) && (! nlohmann::detail::is_constructible_string_type::value)) && (! std::is_same::value)) && (! nlohmann::detail::is_basic_json::value)), int>::type > decltype (((nlohmann::detail::from_json_array_impl(j, arr, nlohmann::detail::priority_tag<3>{}), j.get()), void())) nlohmann::detail::from_json(const BasicJsonType&, ConstructibleArrayType&) [with BasicJsonType = nlohmann::basic_json<>; ConstructibleArrayType = std::filesystem::__cxx11::path; typename std::enable_if<((((nlohmann::detail::is_constructible_array_type::value && (! nlohmann::detail::is_constructible_object_type::value)) && (! nlohmann::detail::is_constructible_string_type::value)) && (! std::is_same::value)) && (! nlohmann::detail::is_basic_json::value)), int>::type = ]’ /usr/include/nlohmann/detail/conversions/from_json.hpp:452:26: required by substitution of ‘template decltype (nlohmann::detail::from_json(j, forward(val))) nlohmann::detail::from_json_fn::operator()(const BasicJsonType&, T&&) const [with BasicJsonType = nlohmann::basic_json<>; T = std::filesystem::__cxx11::path&]’ /usr/include/nlohmann/adl_serializer.hpp:31:38: required by substitution of ‘template static decltype ((nlohmann::{anonymous}::from_json(forward(j), val), void())) nlohmann::adl_serializer::from_json(BasicJsonType&&, TargetType&) [with BasicJsonType = const nlohmann::basic_json<>&; TargetType = std::filesystem::__cxx11::path]’ /usr/include/nlohmann/detail/meta/detected.hpp:55:7: recursively required by substitution of ‘template class Op, class ... Args> struct nlohmann::detail::detector >::type, Op, Args ...> [with Default = nlohmann::detail::nonesuch; Op = nlohmann::detail::from_json_function; Args = {nlohmann::adl_serializer, const nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer, std::vector > >&, std::filesystem::__cxx11::path&}]’ /usr/include/nlohmann/detail/meta/detected.hpp:55:7: required by substitution of ‘template class Op, class ... Args> using is_detected_exact = std::is_same::type> [with Expected = void; Op = nlohmann::detail::from_json_function; Args = {nlohmann::adl_serializer, const nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer, std::vector > >&, std::filesystem::__cxx11::path&}]’ /usr/include/nlohmann/detail/meta/type_traits.hpp:115:36: required from ‘constexpr const bool nlohmann::detail::has_from_json, std::filesystem::__cxx11::path, void>::value’ /usr/include/nlohmann/json.hpp:3289:60: required by substitution of ‘template::value) && nlohmann::detail::has_from_json, ValueType, void>::value), int>::type > ValueType& nlohmann::basic_json<>::get_to >(ValueType&) const [with ValueType = std::filesystem::__cxx11::path; typename std::enable_if<((! nlohmann::detail::is_basic_json::value) && nlohmann::detail::has_from_json, ValueType, void>::value), int>::type = ]’ /var/tmp/portage/dev-util/bear-3.0.16/work/Bear-3.0.16/source/citnames/source/Output.cc:164:28: required from here /usr/include/nlohmann/detail/meta/type_traits.hpp:400:22: error: the value of ‘nlohmann::detail::has_from_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, from /usr/include/nlohmann/json.hpp:51, from /var/tmp/portage/dev-util/bear-3.0.16/work/Bear-3.0.16/source/citnames/source/Output.cc:30: /usr/include/nlohmann/detail/meta/type_traits.hpp:113:27: note: ‘nlohmann::detail::has_from_json, std::filesystem::__cxx11::path, void>::value’ used in its own initializer 113 | static constexpr bool value = | ^~~~~ [25/61] Building CXX object intercept/proto/CMakeFiles/rpc_a.dir/supervise.pb.cc.o [26/61] Building CXX object intercept/CMakeFiles/domain_a.dir/source/Convert.cc.o [27/61] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/Parsers.cc.o /var/tmp/portage/dev-util/bear-3.0.16/work/Bear-3.0.16/source/citnames/source/semantic/Parsers.cc: In member function ‘std::tuple cs::semantic::ArgumentsView::take(size_t) const’: /var/tmp/portage/dev-util/bear-3.0.16/work/Bear-3.0.16/source/citnames/source/semantic/Parsers.cc:153:18: warning: comparison of integer expressions of different signedness: ‘const long int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare] 153 | if (size < count) { | ~~~~~^~~~~~~ [28/61] Building CXX object intercept/CMakeFiles/wrapper_a.dir/source/report/wrapper/EventFactory.cc.o [29/61] Building CXX object intercept/CMakeFiles/events_db_a.dir/source/collect/db/EventsDatabaseWriter.cc.o [30/61] Building CXX object intercept/proto/CMakeFiles/rpc_a.dir/intercept.pb.cc.o [31/61] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolAny.cc.o [32/61] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Process.cc.o [33/61] Building CXX object intercept/CMakeFiles/wrapper_a.dir/source/report/wrapper/EventReporter.cc.o [34/61] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/Semantic.cc.o [35/61] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/RpcServices.cc.o [36/61] Building CXX object intercept/CMakeFiles/wrapper.dir/source/report/wrapper/main.cc.o [37/61] Building CXX object bear/CMakeFiles/bear.dir/main.cc.o [38/61] Building CXX object citnames/CMakeFiles/citnames.dir/main.cc.o [39/61] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/Application.cc.o [40/61] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/Session.cc.o [41/61] Building CXX object libmain/CMakeFiles/main_a.dir/source/ApplicationLogConfig.cc.o [42/61] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/Build.cc.o [43/61] Building CXX object intercept/CMakeFiles/intercept.dir/source/collect/main.cc.o [44/61] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/Reporter.cc.o [45/61] Building CXX object libshell/CMakeFiles/shell_a.dir/source/Command.cc.o [46/61] Building CXX object libmain/CMakeFiles/main_a.dir/source/ApplicationFromArgs.cc.o [47/61] Building CXX object intercept/proto/CMakeFiles/rpc_a.dir/intercept.grpc.pb.cc.o [48/61] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/SessionWrapper.cc.o [49/61] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/SessionLibrary.cc.o [50/61] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/Application.cc.o [51/61] Building CXX object intercept/CMakeFiles/wrapper_a.dir/source/report/wrapper/RpcClients.cc.o [52/61] Building CXX object intercept/CMakeFiles/wrapper_a.dir/source/report/wrapper/Application.cc.o ninja: build stopped: subcommand failed. ninja: build stopped: subcommand failed. * ERROR: dev-util/bear-3.0.16::gentoo failed (compile phase): * ninja -v -j4 -l0 failed * * Call stack: * ebuild.sh, line 127: Called src_compile * environment, line 3003: Called cmake_src_compile * environment, line 1241: Called cmake_build * environment, line 1210: Called eninja * environment, line 1717: Called die * The specific snippet of code: * "$@" || die "${nonfatal_args[@]}" "${*} failed" * * If you need support, post the output of `emerge --info '=dev-util/bear-3.0.16::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-util/bear-3.0.16::gentoo'`. * The complete build log is located at '/var/log/portage/dev-util:bear-3.0.16:20211009-104130.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-util/bear-3.0.16/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/bear-3.0.16/temp/environment'. * Working directory: '/var/tmp/portage/dev-util/bear-3.0.16/work/bear-3.0.16_build' * S: '/var/tmp/portage/dev-util/bear-3.0.16/work/Bear-3.0.16'