Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Oct 2021 08:59:15 GMT
From:      pkg-fallout@FreeBSD.org
To:        jrm@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - main-i386-default][devel/bear] Failed for bear-3.0.16 in build
Message-ID:  <202110100859.19A8xFQZ045806@beefy17.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://beefy17.nyi.freebsd.org/data/main-i386-default/p11c06749049e_s1c64959bff/logs/bear-3.0.16.log
Build URL:      http://beefy17.nyi.freebsd.org/build.html?mastername=main-i386-default&build=p11c06749049e_s1c64959bff
Log:

=>> Building devel/bear
build started at Sun Oct 10 08:57:59 UTC 2021
port directory: /usr/ports/devel/bear
package name: bear-3.0.16
building for: FreeBSD main-i386-default-job-03 14.0-CURRENT FreeBSD 14.0-CURRENT 1400036 i386
maintained by: jrm@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400008
Jail OSVERSION: 1400036
Job Id: 03




!!! Jail is newer than host. (Jail: 1400036, Host: 1400008) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1400036
UNAME_v=FreeBSD 14.0-CURRENT 1400036
UNAME_r=14.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
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=/usr/local/poudriere/data/.m/main-i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-i386-default/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=14.0 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
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: i386-unknown-freebsd14.0 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" "-m" "elf_i386_fbsd" "-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 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400036
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
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.2.pkg
[main-i386-default-job-03] Installing pkg-1.17.2...
[main-i386-default-job-03] Extracting pkg-1.17.2: .......... 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
<snip>
[ 19% 56/61] Building CXX object intercept/CMakeFiles/exec.dir/source/report/libexec/lib.cc.o
[ 21% 56/61] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Resolver.cc.o
[ 22% 57/61] Linking CXX shared library intercept/libexec.so
[ 24% 57/61] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Guard.cc.o
[ 26% 57/61] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Os.cc.o
[ 27% 57/61] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Path.cc.o
[ 29% 57/61] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Signal.cc.o
[ 31% 57/61] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolAny.cc.o
[ 32% 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 int' and 'const size_t' (aka 'const unsigned int') [-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' creates a copy from type 'const std::pair<const std::string_view, 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::pair<const std::string_view, cs::semantic::FlagDefinition> &' to prevent copying
        for (const auto candidate : flags_) {
             ^~~~~~~~~~~~~~~~~~~~~~
                        &
2 warnings generated.
[ 34% 57/61] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolExtendingWrapper.cc.o
[ 36% 57/61] Building CXX object intercept/CMakeFiles/wrapper_a.dir/source/report/wrapper/EventFactory.cc.o
[ 37% 57/61] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolWrapper.cc.o
[ 39% 57/61] Building CXX object intercept/CMakeFiles/events_db_a.dir/source/collect/db/EventsDatabaseWriter.cc.o
[ 40% 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:396:27: error: constexpr variable 'value' must be initialized by a constant expression
    static constexpr bool value =
                          ^
/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::filesystem::path>::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<>, ConstructibleArrayType = std::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<>, ConstructibleArrayType = std::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<>, T = std::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<> &, TargetType = std::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::filesystem::path>::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::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::filesystem::path, $1 = (no value)]
        j.at("file").get_to(entry.file);
                     ^
/usr/local/include/nlohmann/detail/meta/type_traits.hpp:399:9: note: initializer of 'value' is unknown
        has_from_json<BasicJsonType,
        ^
/usr/local/include/nlohmann/detail/meta/type_traits.hpp:113:27: note: declared here
    static constexpr bool value =
                          ^
1 error generated.
[ 42% 57/61] Building CXX object intercept/CMakeFiles/domain_a.dir/source/Domain.cc.o
[ 44% 57/61] Building CXX object intercept/proto/CMakeFiles/rpc_a.dir/intercept.pb.cc.o
[ 45% 57/61] Building CXX object intercept/CMakeFiles/events_db_a.dir/source/collect/db/EventsDatabaseReader.cc.o
[ 47% 57/61] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/Semantic.cc.o
[ 49% 57/61] Building CXX object intercept/CMakeFiles/wrapper_a.dir/source/report/wrapper/EventReporter.cc.o
[ 50% 57/61] Building CXX object intercept/CMakeFiles/domain_a.dir/source/Convert.cc.o
[ 52% 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:396:27: error: constexpr variable 'value' must be initialized by a constant expression
    static constexpr bool value =
                          ^
/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::filesystem::path>::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<>, ConstructibleArrayType = std::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<>, ConstructibleArrayType = std::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<>, T = std::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<> &, TargetType = std::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::list<std::filesystem::path>>::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::list<std::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::list<std::filesystem::path>, $1 = (no value)]
            j.at("paths_to_include").get_to(rhs.paths_to_include);
                                     ^
/usr/local/include/nlohmann/detail/meta/type_traits.hpp:399:9: note: initializer of 'value' is unknown
        has_from_json<BasicJsonType,
        ^
/usr/local/include/nlohmann/detail/meta/type_traits.hpp:113:27: note: declared here
    static constexpr bool value =
                          ^
/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::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::filesystem::path>::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<>, CompatibleArrayType = std::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<>, CompatibleArrayType = std::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<>, T = std::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<>, TargetType = std::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::list<std::filesystem::path>>::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::list<std::filesystem::path>>::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::list<std::filesystem::path> &, U = std::list<std::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::list<std::filesystem::path> &, U = (no value), $2 = (no value)]
            j["paths_to_include"] = rhs.paths_to_include;
                                        ^
2 errors generated.
[ 54% 57/61] Building CXX object intercept/proto/CMakeFiles/rpc_a.dir/supervise.pb.cc.o
[ 55% 57/61] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolCuda.cc.o
[ 57% 57/61] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/RpcServices.cc.o
[ 59% 57/61] Building CXX object libflags/CMakeFiles/flags_a.dir/source/Flags.cc.o
[ 60% 57/61] Building CXX object libmain/CMakeFiles/main_a.dir/source/ApplicationLogConfig.cc.o
[ 62% 57/61] Building CXX object libshell/CMakeFiles/shell_a.dir/source/Command.cc.o
[ 63% 57/61] Building CXX object intercept/CMakeFiles/wrapper.dir/source/report/wrapper/main.cc.o
[ 65% 57/61] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolClang.cc.o
[ 67% 57/61] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/Reporter.cc.o
[ 68% 57/61] Building CXX object libmain/CMakeFiles/main_a.dir/source/ApplicationFromArgs.cc.o
[ 70% 57/61] Building CXX object citnames/CMakeFiles/citnames.dir/main.cc.o
[ 72% 57/61] Building CXX object intercept/CMakeFiles/intercept.dir/source/collect/main.cc.o
[ 73% 57/61] Building CXX object intercept/proto/CMakeFiles/rpc_a.dir/supervise.grpc.pb.cc.o
[ 75% 57/61] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/Session.cc.o
[ 77% 57/61] Building CXX object intercept/proto/CMakeFiles/rpc_a.dir/intercept.grpc.pb.cc.o
[ 78% 57/61] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/Build.cc.o
[ 80% 57/61] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/SessionLibrary.cc.o
[ 81% 57/61] Building CXX object intercept/CMakeFiles/wrapper_a.dir/source/report/wrapper/RpcClients.cc.o
[ 83% 57/61] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolGcc.cc.o
[ 85% 57/61] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Process.cc.o
[ 86% 57/61] Building CXX object bear/CMakeFiles/bear.dir/main.cc.o
[ 88% 57/61] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/SessionWrapper.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?202110100859.19A8xFQZ045806>