[Bug 288492] databases/mongosh: fails to build on 13.5-RELEASE

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 27 Jul 2025 14:03:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288492

            Bug ID: 288492
           Summary: databases/mongosh: fails to build on 13.5-RELEASE
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: eugene@zhegan.in
                CC: fabien.amelinck+freebsd@advens.fr
             Flags: maintainer-feedback?(fabien.amelinck+freebsd@advens.fr
                    )
                CC: fabien.amelinck+freebsd@advens.fr

FreeBSD 13.5, freshly installed jail:

# uname -a
FreeBSD protected2-pristine 13.5-RELEASE-p2 FreeBSD 13.5-RELEASE-p2
releng/13.5-n259172-341d92aef027 GENERIC amd64

Build fails:

===Cut===
===>  Building for mongosh-2.3.8
cd
/usr/ports/databases/mongosh/work/mongosh-2.3.8/node_modules/mongodb-client-encryption
&& SEGMENT_API_KEY=dummy GYP_DEFINES="libmongocrypt_link_type=dynamic" 
NODE_JS_VERSION=file:///usr/ports/distfiles//mongosh/node-v22.17.1.tar.gz 
BOXEDNODE_CONFIGURE_ARGS="--shared-brotli,--shared-cares,--shared-libuv,--shared-nghttp2,--shared-zlib,--shared-openssl,--openssl-use-def-ca-store,--without-npm"
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include
OPENSSLLIB=/usr/lib XDG_DATA_HOME=/usr/ports/databases/mongosh/work 
XDG_CONFIG_HOME=/usr/ports/databases/mongosh/work 
XDG_CACHE_HOME=/usr/ports/databases/mongosh/work/.cache 
HOME=/usr/ports/databases/mongosh/work TMPDIR="/tmp"
PATH=/usr/ports/databases/mongosh/work/.bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
PKG_CONFIG_LIBDIR=/usr/ports/databases/mongosh/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig
MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES
PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe 
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing " 
CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS="
-Wl,-rpath,/usr/local/lib:/usr/lib  " LIBS="-L/usr/local/lib"  CXX="c++"
CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing  -DNODE_API_EXPERIMENTAL 
-DNODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT  -isystem /usr/include -isystem
/usr/local/include " 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"
/usr/local/bin/gmake BUILDTYPE=Release -C build -d
GNU Make 4.4.1
Built for amd64-portbld-freebsd13.5
Copyright (C) 1988-2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
Reading makefile 'Makefile'...
Reading makefile 'mongocrypt.target.mk' (search path) (no ~ expansion)...
Updating makefiles....
 Considering target file 'Makefile'.
  Considering target file '../binding.gyp'.
   Looking for an implicit rule for '../binding.gyp'.
   No implicit rule found for '../binding.gyp'.
  Finished prerequisites of target file '../binding.gyp'.
  No need to remake target '../binding.gyp'.
  Considering target file '../build/config.gypi'.
   Looking for an implicit rule for '../build/config.gypi'.
   No implicit rule found for '../build/config.gypi'.
  Finished prerequisites of target file '../build/config.gypi'.
  No need to remake target '../build/config.gypi'.
  Considering target file
'../../../../../../../../local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi'.
   Looking for an implicit rule for
'../../../../../../../../local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi'.
   No implicit rule found for
'../../../../../../../../local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi'.
  Finished prerequisites of target file
'../../../../../../../../local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi'.
  No need to remake target
'../../../../../../../../local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi'.
  Considering target file
'../../../../../../../../local/include/node/common.gypi'.
   Looking for an implicit rule for
'../../../../../../../../local/include/node/common.gypi'.
   No implicit rule found for
'../../../../../../../../local/include/node/common.gypi'.
  Finished prerequisites of target file
'../../../../../../../../local/include/node/common.gypi'.
  No need to remake target
'../../../../../../../../local/include/node/common.gypi'.
 Finished prerequisites of target file 'Makefile'.
  Prerequisite '../binding.gyp' is older than target 'Makefile'.
  Prerequisite '../build/config.gypi' is older than target 'Makefile'.
  Prerequisite
'../../../../../../../../local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi'
is older than target 'Makefile'.
  Prerequisite '../../../../../../../../local/include/node/common.gypi' is
older than target 'Makefile'.
 No need to remake target 'Makefile'.
 Considering target file 'mongocrypt.target.mk'.
  Looking for an implicit rule for 'mongocrypt.target.mk'.
  No implicit rule found for 'mongocrypt.target.mk'.
 Finished prerequisites of target file 'mongocrypt.target.mk'.
 No need to remake target 'mongocrypt.target.mk'.
Updating goal targets....
Considering target file 'all'.
 File 'all' does not exist.
 Considering target file 'Release/mongocrypt.node'.
  File 'Release/mongocrypt.node' does not exist.
  Considering target file 'Release/obj.target/mongocrypt.node'.
   File 'Release/obj.target/mongocrypt.node' does not exist.
   Considering target file 'Release/obj.target/mongocrypt/addon/mongocrypt.o'.
    File 'Release/obj.target/mongocrypt/addon/mongocrypt.o' does not exist.
    Looking for an implicit rule for
'Release/obj.target/mongocrypt/addon/mongocrypt.o'.
     Trying pattern rule 'Release/obj.target/mongocrypt/%.o: ../%.cc
FORCE_DO_CMD' with stem 'addon/mongocrypt'.
     Trying implicit prerequisite '../addon/mongocrypt.cc'.
     Found '../addon/mongocrypt.cc'.
     Trying rule prerequisite 'FORCE_DO_CMD'.
     'FORCE_DO_CMD' ought to exist.
    Found implicit rule 'Release/obj.target/mongocrypt/%.o: ../%.cc
FORCE_DO_CMD' for 'Release/obj.target/mongocrypt/addon/mongocrypt.o'.
    Considering target file '../addon/mongocrypt.cc'.
     Looking for an implicit rule for '../addon/mongocrypt.cc'.
     No implicit rule found for '../addon/mongocrypt.cc'.
    Finished prerequisites of target file '../addon/mongocrypt.cc'.
    No need to remake target '../addon/mongocrypt.cc'.
    Considering target file 'FORCE_DO_CMD'.
     File 'FORCE_DO_CMD' does not exist.
    Finished prerequisites of target file 'FORCE_DO_CMD'.
    Must remake target 'FORCE_DO_CMD'.
    Successfully remade target file 'FORCE_DO_CMD'.
   Finished prerequisites of target file
'Release/obj.target/mongocrypt/addon/mongocrypt.o'.
   Must remake target 'Release/obj.target/mongocrypt/addon/mongocrypt.o'.
gmake[1]: Entering directory
'/usr/ports/databases/mongosh/work/mongosh-2.3.8/node_modules/mongodb-client-encryption/build'
mongocrypt.target.mk:109: update target
'Release/obj.target/mongocrypt/addon/mongocrypt.o' due to: target does not
exist
printf '%s\n' '  CXX(target) Release/obj.target/mongocrypt/addon/mongocrypt.o'
Putting child 0x822623600 (Release/obj.target/mongocrypt/addon/mongocrypt.o)
PID 75070 on the chain.
Live child 0x822623600 (Release/obj.target/mongocrypt/addon/mongocrypt.o) PID
75070
  CXX(target) Release/obj.target/mongocrypt/addon/mongocrypt.o
Reaping winning child 0x822623600 PID 75070
mkdir -p "Release/obj.target/mongocrypt/addon/"
"./Release/.deps/Release/obj.target/mongocrypt/addon/"
Live child 0x822623600 (Release/obj.target/mongocrypt/addon/mongocrypt.o) PID
75071
Reaping winning child 0x822623600 PID 75071
c++ -o Release/obj.target/mongocrypt/addon/mongocrypt.o ../addon/mongocrypt.cc
'-DNODE_GYP_MODULE_NAME=mongocrypt' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1'
'-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1'
'-D_FILE_OFFSET_BITS=64' '-D_LARGEFILE_SOURCE' '-D__STDC_FORMAT_MACROS'
'-DBUILDING_NODE_EXTENSION' -I/usr/local/include/node -I/usr/local/src
-I/usr/local/deps/openssl/config -I/usr/local/deps/openssl/openssl/include
-I/usr/local/deps/uv/include -I/usr/local/deps/zlib
-I/usr/local/deps/v8/include -I../node_modules/node-addon-api -I/usr/include
-I/usr/local/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64
-O3 -fno-omit-frame-pointer -fno-rtti -fno-strict-aliasing -std=gnu++17 -MMD
-MF ./Release/.deps/Release/obj.target/mongocrypt/addon/mongocrypt.o.d.raw
-isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing  -DNODE_API_EXPERIMENTAL 
-DNODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT  -isystem /usr/include -isystem
/usr/local/include  -c
Live child 0x822623600 (Release/obj.target/mongocrypt/addon/mongocrypt.o) PID
75072
In file included from ../addon/mongocrypt.cc:1:
../addon/mongocrypt.h:10:9: warning: 'NODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT'
macro redefined [-Wmacro-redefined]
   10 | #define NODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT
      |         ^
<command line>:11:9: note: previous definition is here
   11 | #define NODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT 1
      |         ^
In file included from ../addon/mongocrypt.cc:1:
In file included from ../addon/mongocrypt.h:12:
In file included from ../node_modules/node-addon-api/napi.h:5:
In file included from /usr/include/c++/v1/functional:534:
In file included from /usr/include/c++/v1/__functional/bind.h:14:
In file included from /usr/include/c++/v1/__functional/invoke.h:14:
In file included from /usr/include/c++/v1/__type_traits/invoke.h:15:
In file included from /usr/include/c++/v1/__type_traits/decay.h:13:
In file included from /usr/include/c++/v1/__type_traits/add_pointer.h:15:
In file included from /usr/include/c++/v1/__type_traits/remove_reference.h:13:
/usr/include/c++/v1/cstddef:45:5: error: <cstddef> tried including <stddef.h>
but didn't find libc++'s <stddef.h> header.           This usually means that
your header search paths are not configured properly.           The header
search paths should contain the C++ Standard Library headers before          
any C Standard Library, and you are probably using compiler flags that make
that           not be the case.
   45 | #   error <cstddef> tried including <stddef.h> but didn't find libc++'s
<stddef.h> header. \
      |     ^
/usr/include/c++/v1/cstddef:58:9: error: no member named 'nullptr_t' in the
global namespace
   58 | using ::nullptr_t;
      |       ~~^
In file included from ../addon/mongocrypt.cc:1:
In file included from ../addon/mongocrypt.h:12:
In file included from ../node_modules/node-addon-api/napi.h:5:
In file included from /usr/include/c++/v1/functional:534:
In file included from /usr/include/c++/v1/__functional/bind.h:21:
In file included from /usr/include/c++/v1/tuple:249:
In file included from
/usr/include/c++/v1/__type_traits/is_trivially_relocatable.h:16:
In file included from
/usr/include/c++/v1/__type_traits/is_trivially_copyable.h:14:
/usr/include/c++/v1/cstdint:148:5: error: <cstdint> tried including <stdint.h>
but didn't find libc++'s <stdint.h> header.           This usually means that
your header search paths are not configured properly.           The header
search paths should contain the C++ Standard Library headers before          
any C Standard Library, and you are probably using compiler flags that make
that           not be the case.
  148 | #   error <cstdint> tried including <stdint.h> but didn't find libc++'s
<stdint.h> header. \
      |     ^
In file included from ../addon/mongocrypt.cc:1:
In file included from ../addon/mongocrypt.h:12:
In file included from ../node_modules/node-addon-api/napi.h:5:
In file included from /usr/include/c++/v1/functional:534:
In file included from /usr/include/c++/v1/__functional/bind.h:21:
In file included from /usr/include/c++/v1/tuple:268:
In file included from /usr/include/c++/v1/compare:170:
In file included from /usr/include/c++/v1/limits:581:
In file included from /usr/include/c++/v1/type_traits:444:
In file included from /usr/include/c++/v1/__type_traits/is_compound.h:14:
In file included from /usr/include/c++/v1/__type_traits/is_fundamental.h:14:
/usr/include/c++/v1/__type_traits/is_null_pointer.h:26:28: error: use of
undeclared identifier 'nullptr_t'; did you mean 'nullptr'?
   26 | struct __is_nullptr_t_impl<nullptr_t> : public true_type {};
      |                            ^
/usr/include/c++/v1/__type_traits/is_null_pointer.h:26:28: error: template
argument for template type parameter must be a type
   26 | struct __is_nullptr_t_impl<nullptr_t> : public true_type {};
      |                            ^~~~~~~~~
/usr/include/c++/v1/__type_traits/is_null_pointer.h:23:17: note: template
parameter is declared here
   23 | template <class _Tp>
      |                 ^
In file included from ../addon/mongocrypt.cc:1:
In file included from ../addon/mongocrypt.h:12:
In file included from ../node_modules/node-addon-api/napi.h:5:
In file included from /usr/include/c++/v1/functional:534:
In file included from /usr/include/c++/v1/__functional/bind.h:21:
In file included from /usr/include/c++/v1/tuple:268:
In file included from /usr/include/c++/v1/compare:174:
/usr/include/c++/v1/cmath:331:5: error: <cmath> tried including <math.h> but
didn't find libc++'s <math.h> header.           This usually means that your
header search paths are not configured properly.           The header search
paths should contain the C++ Standard Library headers before           any C
Standard Library, and you are probably using compiler flags that make that     
     not be the case.
  331 | #   error <cmath> tried including <math.h> but didn't find libc++'s
<math.h> header. \
      |     ^
/usr/include/c++/v1/cmath:568:15: error: expected unqualified-id
  568 |   return std::isnan(__lcpp_x);
      |               ^
/usr/include/math.h:103:2: note: expanded from macro 'isnan'
  103 |         __fp_type_select(x, __inline_isnanf, __inline_isnan,
__inline_isnanl)
      |         ^
/usr/include/math.h:80:39: note: expanded from macro '__fp_type_select'
   80 | #define __fp_type_select(x, f, d, ld) __extension__ _Generic((x),      
\
      |                                       ^
In file included from ../addon/mongocrypt.cc:1:
In file included from ../addon/mongocrypt.h:12:
In file included from ../node_modules/node-addon-api/napi.h:5:
In file included from /usr/include/c++/v1/functional:534:
In file included from /usr/include/c++/v1/__functional/bind.h:21:
In file included from /usr/include/c++/v1/tuple:268:
In file included from /usr/include/c++/v1/compare:174:
/usr/include/c++/v1/cmath:567:46: error: no return statement in constexpr
function
  567 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR bool __constexpr_isnan(_A1
__lcpp_x) _NOEXCEPT {
      |                                              ^
/usr/include/c++/v1/cmath:582:15: error: expected unqualified-id
  582 |   return std::isinf(__lcpp_x);
      |               ^
/usr/include/math.h:101:18: note: expanded from macro 'isinf'
  101 | #define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl)
      |                  ^
/usr/include/math.h:80:39: note: expanded from macro '__fp_type_select'
   80 | #define __fp_type_select(x, f, d, ld) __extension__ _Generic((x),      
\
      |                                       ^
In file included from ../addon/mongocrypt.cc:1:
In file included from ../addon/mongocrypt.h:12:
In file included from ../node_modules/node-addon-api/napi.h:5:
In file included from /usr/include/c++/v1/functional:534:
In file included from /usr/include/c++/v1/__functional/bind.h:21:
In file included from /usr/include/c++/v1/tuple:268:
In file included from /usr/include/c++/v1/compare:174:
/usr/include/c++/v1/cmath:581:46: error: no return statement in constexpr
function
  581 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR bool __constexpr_isinf(_A1
__lcpp_x) _NOEXCEPT {
      |                                              ^
In file included from ../addon/mongocrypt.cc:1:
In file included from ../addon/mongocrypt.h:12:
In file included from ../node_modules/node-addon-api/napi.h:5:
In file included from /usr/include/c++/v1/functional:534:
In file included from /usr/include/c++/v1/__functional/bind.h:21:
In file included from /usr/include/c++/v1/tuple:1411:
In file included from /usr/include/c++/v1/exception:81:
In file included from /usr/include/c++/v1/__exception/exception_ptr.h:15:
In file included from /usr/include/c++/v1/__memory/construct_at.h:23:
In file included from /usr/include/c++/v1/new:358:
/usr/include/c++/v1/cstdlib:89:5: error: <cstdlib> tried including <stdlib.h>
but didn't find libc++'s <stdlib.h> header.           This usually means that
your header search paths are not configured properly.           The header
search paths should contain the C++ Standard Library headers before          
any C Standard Library, and you are probably using compiler flags that make
that           not be the case.
   89 | #   error <cstdlib> tried including <stdlib.h> but didn't find libc++'s
<stdlib.h> header. \
      |     ^
/usr/include/c++/v1/cstdlib:139:9: error: target of using declaration conflicts
with declaration already in scope
  139 | using ::abs _LIBCPP_USING_IF_EXISTS;
      |         ^
/usr/include/stdlib.h:90:6: note: target of using declaration
   90 | int      abs(int) __pure2;
      |          ^
/usr/include/c++/v1/cmath:364:1: note: conflicting declaration
  364 | using ::abs _LIBCPP_USING_IF_EXISTS;
      | ^
In file included from ../addon/mongocrypt.cc:1:
In file included from ../addon/mongocrypt.h:12:
In file included from ../node_modules/node-addon-api/napi.h:5:
In file included from /usr/include/c++/v1/functional:534:
In file included from /usr/include/c++/v1/__functional/bind.h:21:
In file included from /usr/include/c++/v1/tuple:1411:
In file included from /usr/include/c++/v1/exception:81:
/usr/include/c++/v1/__exception/exception_ptr.h:73:39: error: field has
incomplete type 'exception_ptr'
   73 |   _LIBCPP_HIDE_FROM_ABI exception_ptr(nullptr_t) _NOEXCEPT : __ptr_()
{}
      |                                       ^
/usr/include/c++/v1/__exception/exception_ptr.h:60:33: note: definition of
'std::exception_ptr' is not complete until the closing '}'
   60 | class _LIBCPP_EXPORTED_FROM_ABI exception_ptr {
      |                                 ^
/usr/include/c++/v1/__exception/exception_ptr.h:73:3: error: '__abi_tag__'
attribute only applies to structs, variables, functions, and namespaces
   73 |   _LIBCPP_HIDE_FROM_ABI exception_ptr(nullptr_t) _NOEXCEPT : __ptr_()
{}
      |   ^
/usr/include/c++/v1/__config:570:22: note: expanded from macro
'_LIBCPP_HIDE_FROM_ABI'
  570 |      
__attribute__((__abi_tag__(_LIBCPP_TOSTRING(_LIBCPP_ODR_SIGNATURE))))
      |                      ^
In file included from ../addon/mongocrypt.cc:1:
In file included from ../addon/mongocrypt.h:12:
In file included from ../node_modules/node-addon-api/napi.h:5:
In file included from /usr/include/c++/v1/functional:534:
In file included from /usr/include/c++/v1/__functional/bind.h:21:
In file included from /usr/include/c++/v1/tuple:1411:
In file included from /usr/include/c++/v1/exception:81:
/usr/include/c++/v1/__exception/exception_ptr.h:73:49: error: expected ';' at
end of declaration list
   73 |   _LIBCPP_HIDE_FROM_ABI exception_ptr(nullptr_t) _NOEXCEPT : __ptr_()
{}
      |                                                 ^
In file included from ../addon/mongocrypt.cc:1:
In file included from ../addon/mongocrypt.h:12:
In file included from ../node_modules/node-addon-api/napi.h:5:
In file included from /usr/include/c++/v1/functional:534:
In file included from /usr/include/c++/v1/__functional/bind.h:21:
In file included from /usr/include/c++/v1/tuple:1412:
In file included from /usr/include/c++/v1/iosfwd:117:
In file included from /usr/include/c++/v1/__std_mbstate_t.h:14:
/usr/include/c++/v1/__mbstate_t.h:51:4: error: "We don't know how to get the
definition of mbstate_t without <wchar.h> on your platform."
   51 | #  error "We don't know how to get the definition of mbstate_t without
<wchar.h> on your platform."
      |    ^
In file included from ../addon/mongocrypt.cc:1:
In file included from ../addon/mongocrypt.h:12:
In file included from ../node_modules/node-addon-api/napi.h:5:
In file included from /usr/include/c++/v1/functional:534:
In file included from /usr/include/c++/v1/__functional/bind.h:21:
In file included from /usr/include/c++/v1/tuple:1412:
/usr/include/c++/v1/iosfwd:133:14: error: reference to unresolved using
declaration
  133 | typedef fpos<mbstate_t> streampos;
      |              ^
/usr/include/c++/v1/__std_mbstate_t.h:25:1: note: using declaration annotated
with 'using_if_exists' here
   25 | using ::mbstate_t _LIBCPP_USING_IF_EXISTS;
      | ^
In file included from ../addon/mongocrypt.cc:1:
In file included from ../addon/mongocrypt.h:12:
In file included from ../node_modules/node-addon-api/napi.h:5:
In file included from /usr/include/c++/v1/functional:534:
In file included from /usr/include/c++/v1/__functional/bind.h:21:
In file included from /usr/include/c++/v1/tuple:1412:
/usr/include/c++/v1/iosfwd:133:14: error: reference to unresolved using
declaration
  133 | typedef fpos<mbstate_t> streampos;
      |              ^
/usr/include/c++/v1/__std_mbstate_t.h:25:1: note: using declaration annotated
with 'using_if_exists' here
   25 | using ::mbstate_t _LIBCPP_USING_IF_EXISTS;
      | ^
In file included from ../addon/mongocrypt.cc:1:
In file included from ../addon/mongocrypt.h:12:
In file included from ../node_modules/node-addon-api/napi.h:5:
In file included from /usr/include/c++/v1/functional:534:
In file included from /usr/include/c++/v1/__functional/bind.h:21:
In file included from /usr/include/c++/v1/tuple:1412:
/usr/include/c++/v1/iosfwd:135:14: error: reference to unresolved using
declaration
  135 | typedef fpos<mbstate_t> wstreampos;
      |              ^
/usr/include/c++/v1/__std_mbstate_t.h:25:1: note: using declaration annotated
with 'using_if_exists' here
   25 | using ::mbstate_t _LIBCPP_USING_IF_EXISTS;
      | ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
Reaping losing child 0x822623600 PID 75072
gmake[1]: *** [mongocrypt.target.mk:109:
Release/obj.target/mongocrypt/addon/mongocrypt.o] Error 1
Removing child 0x822623600 PID 75072 from chain.
gmake[1]: Leaving directory
'/usr/ports/databases/mongosh/work/mongosh-2.3.8/node_modules/mongodb-client-encryption/build'
*** Error code 2

Stop.
make: stopped in /usr/ports/databases/mongosh

===>>> make build failed for databases/mongosh
===>>> Aborting update

===>>> There are messages from installed ports to display,
       but first take a moment to review the error messages
       above.  Then press Enter when ready to proceed.
===Cut===

-- 
You are receiving this mail because:
You are the assignee for the bug.