Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Oct 2021 22:21:57 GMT
From:      pkg-fallout@FreeBSD.org
To:        jrm@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [exp - 122amd64-default-build-as-user][devel/bear] Failed for bear-3.0.16 in build
Message-ID:  <202110222221.19MMLvKu071323@package19.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     jrm@FreeBSD.org
Log URL:        http://package19.nyi.freebsd.org/data/122amd64-default-build-as-user/479c5b288a6e/logs/bear-3.0.16.log
Build URL:      http://package19.nyi.freebsd.org/build.html?mastername=122amd64-default-build-as-user&build=479c5b288a6e
Log:

=>> Building devel/bear
build started at Fri Oct 22 22:20:36 UTC 2021
port directory: /usr/ports/devel/bear
package name: bear-3.0.16
building for: FreeBSD 122amd64-default-build-as-user-job-06 12.2-RELEASE-p10 FreeBSD 12.2-RELEASE-p10 amd64
maintained by: jrm@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400008
Jail OSVERSION: 1202000
Job Id: 06

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1202000
UNAME_v=FreeBSD 12.2-RELEASE-p10
UNAME_r=12.2-RELEASE-p10
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-21-g883afb07
MASTERMNT=/poudriere/data/.m/122amd64-default-build-as-user/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
GID=0
UID=0
PWD=/poudriere/data/.m/122amd64-default-build-as-user/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=122amd64-default-build-as-user
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/poudriere/data/.m/122amd64-default-build-as-user/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for bear-3.0.16:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
jrm@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/devel/bear/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/bear/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/bear/work/.cache  HOME=/wrkdirs/usr/ports/devel/bear/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/bear/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
NINJA_STATUS="[%p %s/%t] " XDG_DATA_HOME=/wrkdirs/usr/ports/devel/bear/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/bear/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/bear/work/.cache  HOME=/wrkdirs/usr/ports/devel/bear/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/bear/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES DESTDIR=/wrkdirs/usr/ports/devel/bear/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" CMAKE_BUILD_TYPE="release" OSREL=12.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/bear"  EXAMPLESDIR="share/examples/bear"  DATADIR="share/bear"  WWWDIR="www/bear"  ETCDIR="etc/bear"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/bear DOCSDIR=/usr/local/share/doc/bear EXAMPLESDIR=/usr/local/share/examples/bear  WWWDIR=/usr/local/www/bear ETCDIR=/usr/local/etc/bear
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
FORCE_PACKAGE=yes
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.2 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.2 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.2 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=12.2-RELEASE-p10
OSREL=12.2
OSVERSION=1202000
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License GPLv3+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   bear-3.0.16 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.17.3.pkg
[122amd64-default-build-as-user-job-06] Installing pkg-1.17.3...
[122amd64-default-build-as-user-job-06] Extracting pkg-1.17.3: .......... done
===>   bear-3.0.16 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of bear-3.0.16
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by bear-3.0.16 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by bear-3.0.16 for building
=> SHA256 Checksum OK for rizsotto-Bear-3.0.16_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by bear-3.0.16 for building
===>  Extracting for bear-3.0.16
=> SHA256 Checksum OK for rizsotto-Bear-3.0.16_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for bear-3.0.16
===========================================================================
=======================<phase: build-depends  >============================
===>   bear-3.0.16 depends on package: nlohmann-json>0 - not found
===>   Installing existing package /packages/All/nlohmann-json-3.10.3.pkg
[122amd64-default-build-as-user-job-06] Installing nlohmann-json-3.10.3...
[122amd64-default-build-as-user-job-06] Extracting nlohmann-json-3.10.3: .......... done
===>   bear-3.0.16 depends on package: nlohmann-json>0 - found
===>   Returning to build of bear-3.0.16
===>   bear-3.0.16 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-3.21.3.pkg
[122amd64-default-build-as-user-job-06] Installing cmake-3.21.3...
[122amd64-default-build-as-user-job-06] `-- Installing curl-7.79.1...
[122amd64-default-build-as-user-job-06] |   `-- Installing ca_root_nss-3.71...
[122amd64-default-build-as-user-job-06] |   `-- Extracting ca_root_nss-3.71: ........ done
[122amd64-default-build-as-user-job-06] |   `-- Installing libnghttp2-1.45.1...
[122amd64-default-build-as-user-job-06] |   `-- Extracting libnghttp2-1.45.1: .......... done
[122amd64-default-build-as-user-job-06] |   `-- Installing libssh2-1.9.0_3,3...
[122amd64-default-build-as-user-job-06] |   `-- Extracting libssh2-1.9.0_3,3: .......... done
[122amd64-default-build-as-user-job-06] `-- Extracting curl-7.79.1: .......... done
[122amd64-default-build-as-user-job-06] `-- Installing expat-2.4.1...
[122amd64-default-build-as-user-job-06] `-- Extracting expat-2.4.1: .......... done
[122amd64-default-build-as-user-job-06] `-- Installing jsoncpp-1.9.4...
[122amd64-default-build-as-user-job-06] `-- Extracting jsoncpp-1.9.4: .......... done
[122amd64-default-build-as-user-job-06] `-- Installing libarchive-3.5.1,1...
<snip>
[  6% 37/61] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Buffer.cc.o
[  8% 38/61] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Environment.cc.o
[  9% 39/61] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Logger.cc.o
[ 11% 40/61] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Session.cc.o
[ 13% 41/61] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Paths.cc.o
[ 14% 42/61] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Linker.cc.o
[ 16% 43/61] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Resolver.cc.o
[ 18% 44/61] Building CXX object intercept/CMakeFiles/exec.dir/source/report/libexec/lib.cc.o
[ 19% 45/61] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Executor.cc.o
[ 21% 46/61] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Errors.cc.o
[ 22% 47/61] Linking CXX shared library intercept/libexec.so
[ 24% 48/61] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Os.cc.o
[ 26% 49/61] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Guard.cc.o
[ 27% 50/61] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Path.cc.o
[ 29% 51/61] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Signal.cc.o
[ 31% 52/61] Building CXX object intercept/CMakeFiles/domain_a.dir/source/Domain.cc.o
[ 32% 53/61] Building CXX object intercept/CMakeFiles/wrapper_a.dir/source/report/wrapper/EventFactory.cc.o
[ 34% 54/61] Building CXX object intercept/CMakeFiles/events_db_a.dir/source/collect/db/EventsDatabaseWriter.cc.o
[ 36% 55/61] Building CXX object libshell/CMakeFiles/shell_a.dir/source/Command.cc.o
[ 37% 56/61] Building CXX object intercept/proto/CMakeFiles/rpc_a.dir/intercept.pb.cc.o
[ 39% 57/61] Building CXX object intercept/CMakeFiles/events_db_a.dir/source/collect/db/EventsDatabaseReader.cc.o
[ 40% 57/61] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/Parsers.cc.o
/wrkdirs/usr/ports/devel/bear/work/Bear-3.0.16/source/citnames/source/semantic/Parsers.cc:153:18: warning: comparison of integers of different signs: 'const long' and 'const size_t' (aka 'const unsigned long') [-Wsign-compare]
        if (size < count) {
            ~~~~ ^ ~~~~~
/wrkdirs/usr/ports/devel/bear/work/Bear-3.0.16/source/citnames/source/semantic/Parsers.cc:210:25: warning: loop variable 'candidate' of type 'const std::__1::pair<const std::__1::basic_string_view<char, std::__1::char_traits<char> >, cs::semantic::FlagDefinition>' creates a copy from type 'const std::__1::pair<const std::__1::basic_string_view<char, std::__1::char_traits<char> >, cs::semantic::FlagDefinition>' [-Wrange-loop-construct]
        for (const auto candidate : flags_) {
                        ^
/wrkdirs/usr/ports/devel/bear/work/Bear-3.0.16/source/citnames/source/semantic/Parsers.cc:210:14: note: use reference type 'const std::__1::pair<const std::__1::basic_string_view<char, std::__1::char_traits<char> >, cs::semantic::FlagDefinition> &' to prevent copying
        for (const auto candidate : flags_) {
             ^~~~~~~~~~~~~~~~~~~~~~
                        &
2 warnings generated.
[ 42% 57/61] Building CXX object intercept/CMakeFiles/domain_a.dir/source/Convert.cc.o
[ 44% 57/61] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolAny.cc.o
[ 45% 57/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/c++ -DFMT_SHARED -DJSON_DIAGNOSTICS=0 -DJSON_USE_IMPLICIT_CONVERSIONS=1 -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -I/wrkdirs/usr/ports/devel/bear/work/.build/subprojects/Build/BearSource -I/wrkdirs/usr/ports/devel/bear/work/Bear-3.0.16/source/libresult/include -I/wrkdirs/usr/ports/devel/bear/work/Bear-3.0.16/source/libshell/include -I/wrkdirs/usr/ports/devel/bear/work/Bear-3.0.16/source/libsys/include -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fno-exceptions -DSPDLOG_NO_EXCEPTIONS -DGOOGLE_PROTOBUF_NO_RTTI -Wall -Wextra -O3 -DNDEBUG -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 /wrkdirs/usr/ports/devel/bear/work/Bear-3.0.16/source/citnames/source/Configuration.cc
In file included from /wrkdirs/usr/ports/devel/bear/work/Bear-3.0.16/source/citnames/source/Configuration.cc:26:
In file included from /usr/local/include/nlohmann/json.hpp:51:
In file included from /usr/local/include/nlohmann/adl_serializer.hpp:6:
In file included from /usr/local/include/nlohmann/detail/conversions/from_json.hpp:19:
/usr/local/include/nlohmann/detail/meta/type_traits.hpp:399:9: error: constexpr variable 'value' must be initialized by a constant expression
        has_from_json<BasicJsonType,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/nlohmann/detail/conversions/from_json.hpp:245:84: note: in instantiation of static data member 'nlohmann::detail::is_constructible_array_type_impl<nlohmann::basic_json<std::map, std::vector, std::__1::basic_string<char>, bool, long, unsigned long, double, std::allocator, adl_serializer, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > >, std::__1::__fs::filesystem::path, void>::value' requested here
               is_constructible_array_type<BasicJsonType, ConstructibleArrayType>::value&&
                                                                                   ^
/usr/local/include/nlohmann/detail/conversions/from_json.hpp:251:6: note: while substituting prior template arguments into non-type template parameter [with BasicJsonType = nlohmann::basic_json<std::map, std::vector, std::__1::basic_string<char>, bool, long, unsigned long, double, std::allocator, adl_serializer, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > >, ConstructibleArrayType = std::__1::__fs::filesystem::path]
auto from_json(const BasicJsonType& j, ConstructibleArrayType& arr)
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/nlohmann/detail/conversions/from_json.hpp:452:17: note: while substituting deduced template arguments into function template 'from_json' [with BasicJsonType = nlohmann::basic_json<std::map, std::vector, std::__1::basic_string<char>, bool, long, unsigned long, double, std::allocator, adl_serializer, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > >, ConstructibleArrayType = std::__1::__fs::filesystem::path, $2 = (no value)]
    -> decltype(from_json(j, std::forward<T>(val)))
                ^
/usr/local/include/nlohmann/adl_serializer.hpp:31:17: note: while substituting deduced template arguments into function template 'operator()' [with BasicJsonType = nlohmann::basic_json<std::map, std::vector, std::__1::basic_string<char>, bool, long, unsigned long, double, std::allocator, adl_serializer, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > >, T = std::__1::__fs::filesystem::path &]
    -> decltype(::nlohmann::from_json(std::forward<BasicJsonType>(j), val), void())
                ^
/usr/local/include/nlohmann/detail/meta/type_traits.hpp:89:37: note: while substituting deduced template arguments into function template 'from_json' [with BasicJsonType = const nlohmann::basic_json<std::map, std::vector, std::__1::basic_string<char>, bool, long, unsigned long, double, std::allocator, adl_serializer, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > > &, TargetType = std::__1::__fs::filesystem::path]
using from_json_function = decltype(T::from_json(std::declval<Args>()...));
                                    ^
/usr/local/include/nlohmann/detail/meta/detected.hpp:33:33: note: (skipping 14 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
struct detector<Default, void_t<Op<Args...>>, Op, Args...>
                                ^
/usr/local/include/nlohmann/detail/meta/detected.hpp:55:1: note: in instantiation of template type alias 'detected_t' requested here
using is_detected_exact = std::is_same<Expected, detected_t<Op, Args...>>;
^
/usr/local/include/nlohmann/detail/meta/type_traits.hpp:114:9: note: in instantiation of template type alias 'is_detected_exact' requested here
        is_detected_exact<void, from_json_function, serializer,
        ^
/usr/local/include/nlohmann/json.hpp:3290:68: note: in instantiation of static data member 'nlohmann::detail::has_from_json<nlohmann::basic_json<std::map, std::vector, std::__1::basic_string<char>, bool, long, unsigned long, double, std::allocator, adl_serializer, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > >, std::__1::list<std::__1::__fs::filesystem::path, std::__1::allocator<std::__1::__fs::filesystem::path> >, void>::value' requested here
                   detail::has_from_json<basic_json_t, ValueType>::value,
                                                                   ^
/usr/local/include/nlohmann/json.hpp:3292:17: note: while substituting prior template arguments into non-type template parameter [with ValueType = std::__1::list<std::__1::__fs::filesystem::path, std::__1::allocator<std::__1::__fs::filesystem::path> >]
    ValueType & get_to(ValueType& v) const noexcept(noexcept(
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/devel/bear/work/Bear-3.0.16/source/citnames/source/Configuration.cc:46:38: note: while substituting deduced template arguments into function template 'get_to' [with ValueType = std::__1::list<std::__1::__fs::filesystem::path, std::__1::allocator<std::__1::__fs::filesystem::path> >, $1 = (no value)]
            j.at("paths_to_include").get_to(rhs.paths_to_include);
                                     ^
In file included from /wrkdirs/usr/ports/devel/bear/work/Bear-3.0.16/source/citnames/source/Configuration.cc:26:
In file included from /usr/local/include/nlohmann/json.hpp:51:
In file included from /usr/local/include/nlohmann/adl_serializer.hpp:6:
In file included from /usr/local/include/nlohmann/detail/conversions/from_json.hpp:19:
/usr/local/include/nlohmann/detail/meta/type_traits.hpp:362:46: error: no member named 'value' in 'nlohmann::detail::is_constructible<nlohmann::basic_json<std::map, std::vector, std::__1::basic_string<char>, bool, long, unsigned long, double, std::allocator, adl_serializer, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > >, std::__1::__fs::filesystem::path>'
        range_value_t<CompatibleArrayType>>::value;
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/local/include/nlohmann/detail/conversions/to_json.hpp:310:48: note: in instantiation of static data member 'nlohmann::detail::is_compatible_array_type_impl<nlohmann::basic_json<std::map, std::vector, std::__1::basic_string<char>, bool, long, unsigned long, double, std::allocator, adl_serializer, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > >, std::__1::__fs::filesystem::path, void>::value' requested here
                         CompatibleArrayType>::value&&
                                               ^
/usr/local/include/nlohmann/detail/conversions/to_json.hpp:316:6: note: while substituting prior template arguments into non-type template parameter [with BasicJsonType = nlohmann::basic_json<std::map, std::vector, std::__1::basic_string<char>, bool, long, unsigned long, double, std::allocator, adl_serializer, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > >, CompatibleArrayType = std::__1::__fs::filesystem::path]
void to_json(BasicJsonType& j, const CompatibleArrayType& arr)
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/nlohmann/detail/conversions/to_json.hpp:393:17: note: while substituting deduced template arguments into function template 'to_json' [with BasicJsonType = nlohmann::basic_json<std::map, std::vector, std::__1::basic_string<char>, bool, long, unsigned long, double, std::allocator, adl_serializer, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > >, CompatibleArrayType = std::__1::__fs::filesystem::path, $2 = (no value)]
    -> decltype(to_json(j, std::forward<T>(val)), void())
                ^
/usr/local/include/nlohmann/adl_serializer.hpp:68:17: note: while substituting deduced template arguments into function template 'operator()' [with BasicJsonType = nlohmann::basic_json<std::map, std::vector, std::__1::basic_string<char>, bool, long, unsigned long, double, std::allocator, adl_serializer, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > >, T = std::__1::__fs::filesystem::path]
    -> decltype(::nlohmann::to_json(j, std::forward<TargetType>(val)), void())
                ^
/usr/local/include/nlohmann/detail/meta/type_traits.hpp:86:35: note: while substituting deduced template arguments into function template 'to_json' [with BasicJsonType = nlohmann::basic_json<std::map, std::vector, std::__1::basic_string<char>, bool, long, unsigned long, double, std::allocator, adl_serializer, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > >, TargetType = std::__1::__fs::filesystem::path]
using to_json_function = decltype(T::to_json(std::declval<Args>()...));
                                  ^
/usr/local/include/nlohmann/detail/meta/detected.hpp:33:33: note: (skipping 20 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
struct detector<Default, void_t<Op<Args...>>, Op, Args...>
                                ^
/usr/local/include/nlohmann/detail/meta/type_traits.hpp:144:9: note: in instantiation of template type alias 'is_detected_exact' requested here
        is_detected_exact<void, to_json_function, serializer, BasicJsonType&,
        ^
/usr/local/include/nlohmann/detail/meta/type_traits.hpp:446:53: note: in instantiation of static data member 'nlohmann::detail::has_to_json<nlohmann::basic_json<std::map, std::vector, std::__1::basic_string<char>, bool, long, unsigned long, double, std::allocator, adl_serializer, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > >, std::__1::list<std::__1::__fs::filesystem::path, std::__1::allocator<std::__1::__fs::filesystem::path> >, void>::value' requested here
        has_to_json<BasicJsonType, CompatibleType>::value;
                                                    ^
/usr/local/include/nlohmann/json.hpp:1569:101: note: in instantiation of static data member 'nlohmann::detail::is_compatible_type_impl<nlohmann::basic_json<std::map, std::vector, std::__1::basic_string<char>, bool, long, unsigned long, double, std::allocator, adl_serializer, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > >, std::__1::list<std::__1::__fs::filesystem::path, std::__1::allocator<std::__1::__fs::filesystem::path> >, void>::value' requested here
                   !detail::is_basic_json<U>::value && detail::is_compatible_type<basic_json_t, U>::value, int > = 0 >
                                                                                                    ^
/usr/local/include/nlohmann/json.hpp:1570:5: note: while substituting prior template arguments into non-type template parameter [with CompatibleType = const std::__1::list<std::__1::__fs::filesystem::path, std::__1::allocator<std::__1::__fs::filesystem::path> > &, U = std::__1::list<std::__1::__fs::filesystem::path, std::__1::allocator<std::__1::__fs::filesystem::path> >]
    basic_json(CompatibleType && val) noexcept(noexcept( // NOLINT(bugprone-forwarding-reference-overload,bugprone-exception-escape)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/devel/bear/work/Bear-3.0.16/source/citnames/source/Configuration.cc:58:41: note: while substituting deduced template arguments into function template 'basic_json' [with CompatibleType = const std::__1::list<std::__1::__fs::filesystem::path, std::__1::allocator<std::__1::__fs::filesystem::path> > &, U = (no value), $2 = (no value)]
            j["paths_to_include"] = rhs.paths_to_include;
                                        ^
2 errors generated.
[ 47% 57/61] Building CXX object libflags/CMakeFiles/flags_a.dir/source/Flags.cc.o
[ 49% 57/61] Building CXX object intercept/proto/CMakeFiles/rpc_a.dir/supervise.pb.cc.o
[ 50% 57/61] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/Semantic.cc.o
[ 52% 57/61] Building CXX object intercept/CMakeFiles/wrapper_a.dir/source/report/wrapper/EventReporter.cc.o
[ 54% 57/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/c++ -DFMT_SHARED -DJSON_DIAGNOSTICS=0 -DJSON_USE_IMPLICIT_CONVERSIONS=1 -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -I/wrkdirs/usr/ports/devel/bear/work/.build/subprojects/Build/BearSource -I/wrkdirs/usr/ports/devel/bear/work/Bear-3.0.16/source/libresult/include -I/wrkdirs/usr/ports/devel/bear/work/Bear-3.0.16/source/libshell/include -I/wrkdirs/usr/ports/devel/bear/work/Bear-3.0.16/source/libsys/include -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fno-exceptions -DSPDLOG_NO_EXCEPTIONS -DGOOGLE_PROTOBUF_NO_RTTI -Wall -Wextra -O3 -DNDEBUG -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 /wrkdirs/usr/ports/devel/bear/work/Bear-3.0.16/source/citnames/source/Output.cc
In file included from /wrkdirs/usr/ports/devel/bear/work/Bear-3.0.16/source/citnames/source/Output.cc:30:
In file included from /usr/local/include/nlohmann/json.hpp:51:
In file included from /usr/local/include/nlohmann/adl_serializer.hpp:6:
In file included from /usr/local/include/nlohmann/detail/conversions/from_json.hpp:19:
/usr/local/include/nlohmann/detail/meta/type_traits.hpp:399:9: error: constexpr variable 'value' must be initialized by a constant expression
        has_from_json<BasicJsonType,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/nlohmann/detail/conversions/from_json.hpp:245:84: note: in instantiation of static data member 'nlohmann::detail::is_constructible_array_type_impl<nlohmann::basic_json<std::map, std::vector, std::__1::basic_string<char>, bool, long, unsigned long, double, std::allocator, adl_serializer, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > >, std::__1::__fs::filesystem::path, void>::value' requested here
               is_constructible_array_type<BasicJsonType, ConstructibleArrayType>::value&&
                                                                                   ^
/usr/local/include/nlohmann/detail/conversions/from_json.hpp:251:6: note: while substituting prior template arguments into non-type template parameter [with BasicJsonType = nlohmann::basic_json<std::map, std::vector, std::__1::basic_string<char>, bool, long, unsigned long, double, std::allocator, adl_serializer, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > >, ConstructibleArrayType = std::__1::__fs::filesystem::path]
auto from_json(const BasicJsonType& j, ConstructibleArrayType& arr)
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/nlohmann/detail/conversions/from_json.hpp:452:17: note: while substituting deduced template arguments into function template 'from_json' [with BasicJsonType = nlohmann::basic_json<std::map, std::vector, std::__1::basic_string<char>, bool, long, unsigned long, double, std::allocator, adl_serializer, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > >, ConstructibleArrayType = std::__1::__fs::filesystem::path, $2 = (no value)]
    -> decltype(from_json(j, std::forward<T>(val)))
                ^
/usr/local/include/nlohmann/adl_serializer.hpp:31:17: note: while substituting deduced template arguments into function template 'operator()' [with BasicJsonType = nlohmann::basic_json<std::map, std::vector, std::__1::basic_string<char>, bool, long, unsigned long, double, std::allocator, adl_serializer, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > >, T = std::__1::__fs::filesystem::path &]
    -> decltype(::nlohmann::from_json(std::forward<BasicJsonType>(j), val), void())
                ^
/usr/local/include/nlohmann/detail/meta/type_traits.hpp:89:37: note: while substituting deduced template arguments into function template 'from_json' [with BasicJsonType = const nlohmann::basic_json<std::map, std::vector, std::__1::basic_string<char>, bool, long, unsigned long, double, std::allocator, adl_serializer, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > > &, TargetType = std::__1::__fs::filesystem::path]
using from_json_function = decltype(T::from_json(std::declval<Args>()...));
                                    ^
/usr/local/include/nlohmann/detail/meta/detected.hpp:33:33: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
struct detector<Default, void_t<Op<Args...>>, Op, Args...>
                                ^
/usr/local/include/nlohmann/detail/meta/detected.hpp:55:1: note: in instantiation of template type alias 'detected_t' requested here
using is_detected_exact = std::is_same<Expected, detected_t<Op, Args...>>;
^
/usr/local/include/nlohmann/detail/meta/type_traits.hpp:114:9: note: in instantiation of template type alias 'is_detected_exact' requested here
        is_detected_exact<void, from_json_function, serializer,
        ^
/usr/local/include/nlohmann/json.hpp:3290:68: note: in instantiation of static data member 'nlohmann::detail::has_from_json<nlohmann::basic_json<std::map, std::vector, std::__1::basic_string<char>, bool, long, unsigned long, double, std::allocator, adl_serializer, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > >, std::__1::__fs::filesystem::path, void>::value' requested here
                   detail::has_from_json<basic_json_t, ValueType>::value,
                                                                   ^
/usr/local/include/nlohmann/json.hpp:3292:17: note: while substituting prior template arguments into non-type template parameter [with ValueType = std::__1::__fs::filesystem::path]
    ValueType & get_to(ValueType& v) const noexcept(noexcept(
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/devel/bear/work/Bear-3.0.16/source/citnames/source/Output.cc:164:22: note: while substituting deduced template arguments into function template 'get_to' [with ValueType = std::__1::__fs::filesystem::path, $1 = (no value)]
        j.at("file").get_to(entry.file);
                     ^
1 error generated.
[ 55% 57/61] Building CXX object libmain/CMakeFiles/main_a.dir/source/ApplicationLogConfig.cc.o
[ 57% 57/61] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolExtendingWrapper.cc.o
[ 59% 57/61] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/RpcServices.cc.o
[ 60% 57/61] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolWrapper.cc.o
[ 62% 57/61] Building CXX object libmain/CMakeFiles/main_a.dir/source/ApplicationFromArgs.cc.o
[ 63% 57/61] Building CXX object intercept/CMakeFiles/wrapper.dir/source/report/wrapper/main.cc.o
[ 65% 57/61] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/Session.cc.o
[ 67% 57/61] Building CXX object citnames/CMakeFiles/citnames.dir/main.cc.o
[ 68% 57/61] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/Reporter.cc.o
[ 70% 57/61] Building CXX object intercept/CMakeFiles/intercept.dir/source/collect/main.cc.o
[ 72% 57/61] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolCuda.cc.o
[ 73% 57/61] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/SessionLibrary.cc.o
[ 75% 57/61] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolClang.cc.o
[ 77% 57/61] Building CXX object intercept/proto/CMakeFiles/rpc_a.dir/supervise.grpc.pb.cc.o
[ 78% 57/61] Building CXX object intercept/proto/CMakeFiles/rpc_a.dir/intercept.grpc.pb.cc.o
[ 80% 57/61] Building CXX object intercept/CMakeFiles/wrapper_a.dir/source/report/wrapper/RpcClients.cc.o
[ 81% 57/61] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Process.cc.o
[ 83% 57/61] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/SessionWrapper.cc.o
[ 85% 57/61] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolGcc.cc.o
[ 86% 57/61] Building CXX object bear/CMakeFiles/bear.dir/main.cc.o
[ 88% 57/61] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/Build.cc.o
[ 90% 57/61] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/Application.cc.o
[ 91% 57/61] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/Application.cc.o
[ 93% 57/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.
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/bear



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110222221.19MMLvKu071323>