From nobody Sun Jul 27 14:03:19 2025 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4bqjxj32Wmz62T1H for ; Sun, 27 Jul 2025 14:03:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bqjxj2psDz3LHQ for ; Sun, 27 Jul 2025 14:03:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753625001; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RKKrk1jNQW41JxWGh6zMpQWcFZEUJAMjNNGa5nNsiEw=; b=g1ujJbYE3BmMK5fii0eetApKqKY71qqd2NkK+8FX2I3kGy4f3KeZ/HBjiVofXvPgrDNmO9 Zyj/OmoO3+Y0MVLnLDZ5dGb3l6KrV2hAkK8Vf7t1i0C8QP76z/DAqEb7uxNXoC8HUHCNsm 9zBGGCqMaIxorBe//nGZjJZ9mOuVrR1nUjIKx/ZyqB7IxpKJu5/wxpbk+v23o9KLMor5gd wFjwuAxRSnNJROXW+qnkRk8My2pwsBPeoj2u67q7KgDOH7erw0LbBQf7c5XRRm0PyOI5qo TTX0sKsMSS+khkvWP04Kh/5EwxgeA214nXJztTIgV+S6NAIWwyBYg60vOz1JCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753625001; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RKKrk1jNQW41JxWGh6zMpQWcFZEUJAMjNNGa5nNsiEw=; b=dSCnshdHF35kbY+RM+HQVmR9NgjZ5+d2Vrmh4DeI+OMwvps2UCBXOqqcgUsx9tcUm96Fon zTGWyUa66PUmmM1JocbdA1TDZ0nYEWUw34Dh4nCDpXx/+f+pC000SydLqU84UouagkYMH9 2fKONn4PEUWfKGjMT3wBuoe63QcuK+iNo02XznpEUe8AVJaEAD0OOdxYdCBFACvvc0M3lF kTwWMHZjUTCdmimwJ08+JinpNtbSIVblTE89LSB5IW83WZrQgSkKKOQcJ16vudjd0LnW45 0PbDRwFzBYDWtTBzeYAmS3YAL86faSHYqD8Vp61Pbj+oFkLhGan3pVZoPZ4+1g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1753625001; a=rsa-sha256; cv=none; b=fRCuQLIQD4cAwrR/rElGSuowaZIqQiaMrdPEOKF5tj20Tk4UL0xWUbxk8nDGffcMt+eMiL YMmH375l6WWxwgs6a9xIe5Y2TkR8xfF2yBLpHCyS3s4eZsMen6xAed2bQA6vt5dc+sbvZ+ neHWAhHuDBgpiuXqWgjbkT2piqpJo3Sy0z6JsbR4HqMN+ey6Kt/hGd0XfVx7R5fKizSzYq S0sfsKCkZX3cMOzGe9RSrBiOcvM8/EbQ8yUJv3EvGyQd8lsyUXKxnPdt3MFzMIeKYjTXb/ IIzsg+LOfkKBTVgiEKBrKFa0vC/zxUs6zyPoGm71gvtOoWwFDaM5x4uqzwScfQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4bqjxj2LVrz1Hcf for ; Sun, 27 Jul 2025 14:03:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 56RE3Lgb089147 for ; Sun, 27 Jul 2025 14:03:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 56RE3Leh089146 for ports-bugs@FreeBSD.org; Sun, 27 Jul 2025 14:03:21 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 288492] databases/mongosh: fails to build on 13.5-RELEASE Date: Sun, 27 Jul 2025 14:03:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugene@zhegan.in X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D288492 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: =3D=3D=3DCut=3D=3D=3D =3D=3D=3D> Building for mongosh-2.3.8 cd /usr/ports/databases/mongosh/work/mongosh-2.3.8/node_modules/mongodb-client= -encryption && SEGMENT_API_KEY=3Ddummy GYP_DEFINES=3D"libmongocrypt_link_type=3Ddynamic= "=20 NODE_JS_VERSION=3Dfile:///usr/ports/distfiles//mongosh/node-v22.17.1.tar.gz= =20 BOXEDNODE_CONFIGURE_ARGS=3D"--shared-brotli,--shared-cares,--shared-libuv,-= -shared-nghttp2,--shared-zlib,--shared-openssl,--openssl-use-def-ca-store,-= -without-npm" OPENSSLBASE=3D/usr OPENSSLDIR=3D/etc/ssl OPENSSLINC=3D/usr/include OPENSSLLIB=3D/usr/lib XDG_DATA_HOME=3D/usr/ports/databases/mongosh/work=20 XDG_CONFIG_HOME=3D/usr/ports/databases/mongosh/work=20 XDG_CACHE_HOME=3D/usr/ports/databases/mongosh/work/.cache=20 HOME=3D/usr/ports/databases/mongosh/work TMPDIR=3D"/tmp" PATH=3D/usr/ports/databases/mongosh/work/.bin:/bin:/usr/bin:/sbin:/usr/sbin= :/usr/local/bin:/usr/local/sbin PKG_CONFIG_LIBDIR=3D/usr/ports/databases/mongosh/work/.pkgconfig:/usr/local= /libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=3Dno MK_KERNEL_SYMBOLS=3Dno SHELL=3D/bin/sh NO_LINT=3DYES PREFIX=3D/usr/local LOCALBASE=3D/usr/local CC=3D"cc" CFLAGS=3D"-O2 -pipe= =20 -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "= =20 CPP=3D"cpp" CPPFLAGS=3D"-isystem /usr/local/include" LDFLAGS=3D" -Wl,-rpath,/usr/local/lib:/usr/lib " LIBS=3D"-L/usr/local/lib" CXX=3D"c++" CXXFLAGS=3D"-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNODE_API_EXPERIMENTAL=20 -DNODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT -isystem /usr/include -isystem /usr/local/include " BSD_INSTALL_PROGRAM=3D"install -s -m 555"=20 BSD_INSTALL_LIB=3D"install -s -m 0644" BSD_INSTALL_SCRIPT=3D"install -m = 555"=20 BSD_INSTALL_DATA=3D"install -m 0644" BSD_INSTALL_MAN=3D"install -m 444" /usr/local/bin/gmake BUILDTYPE=3DRelease -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 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/a= ddon.gypi'. Looking for an implicit rule for '../../../../../../../../local/lib/node_modules/npm/node_modules/node-gyp/a= ddon.gypi'. No implicit rule found for '../../../../../../../../local/lib/node_modules/npm/node_modules/node-gyp/a= ddon.gypi'. Finished prerequisites of target file '../../../../../../../../local/lib/node_modules/npm/node_modules/node-gyp/a= ddon.gypi'. No need to remake target '../../../../../../../../local/lib/node_modules/npm/node_modules/node-gyp/a= ddon.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/a= ddon.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-clien= t-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) P= ID 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) P= ID 75071 Reaping winning child 0x822623600 PID 75071 c++ -o Release/obj.target/mongocrypt/addon/mongocrypt.o ../addon/mongocrypt= .cc '-DNODE_GYP_MODULE_NAME=3Dmongocrypt' '-DUSING_UV_SHARED=3D1' '-DUSING_V8_S= HARED=3D1' '-DV8_DEPRECATION_WARNINGS=3D1' '-D_GLIBCXX_USE_CXX11_ABI=3D1' '-D_FILE_OFFSET_BITS=3D64' '-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 -m= 64 -O3 -fno-omit-frame-pointer -fno-rtti -fno-strict-aliasing -std=3Dgnu++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=20 -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) P= ID 75072 In file included from ../addon/mongocrypt.cc:1: ../addon/mongocrypt.h:10:9: warning: 'NODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OU= T' macro redefined [-Wmacro-redefined] 10 | #define NODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT | ^ :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: tried including but didn't find libc++'s header. This usually means th= at your header search paths are not configured properly. The header search paths should contain the C++ Standard Library headers before=20=20= =20=20=20=20=20=20=20=20 any C Standard Library, and you are probably using compiler flags that make that not be the case. 45 | # error tried including but didn't find libc= ++'s 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: tried including but didn't find libc++'s header. This usually means th= at your header search paths are not configured properly. The header search paths should contain the C++ Standard Library headers before=20=20= =20=20=20=20=20=20=20=20 any C Standard Library, and you are probably using compiler flags that make that not be the case. 148 | # error tried including but didn't find libc= ++'s 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 : 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 : public true_type {}; | ^~~~~~~~~ /usr/include/c++/v1/__type_traits/is_null_pointer.h:23:17: note: template parameter is declared here 23 | template | ^ 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: tried including but didn't find libc++'s 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= =20=20=20=20=20 not be the case. 331 | # error tried including but didn't find libc++'s 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),= =20=20=20=20=20=20 \ | ^ 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),= =20=20=20=20=20=20 \ | ^ 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: tried including but didn't find libc++'s header. This usually means th= at your header search paths are not configured properly. The header search paths should contain the C++ Standard Library headers before=20=20= =20=20=20=20=20=20=20=20 any C Standard Library, and you are probably using compiler flags that make that not be the case. 89 | # error tried including but didn't find libc= ++'s header. \ | ^ /usr/include/c++/v1/cstdlib:139:9: error: target of using declaration confl= icts 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 |=20=20=20=20=20=20 __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 on your platform." 51 | # error "We don't know how to get the definition of mbstate_t with= out 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 streampos; | ^ /usr/include/c++/v1/__std_mbstate_t.h:25:1: note: using declaration annotat= ed 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 streampos; | ^ /usr/include/c++/v1/__std_mbstate_t.h:25:1: note: using declaration annotat= ed 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 wstreampos; | ^ /usr/include/c++/v1/__std_mbstate_t.h:25:1: note: using declaration annotat= ed with 'using_if_exists' here 25 | using ::mbstate_t _LIBCPP_USING_IF_EXISTS; | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=3D] 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-clien= t-encryption/build' *** Error code 2 Stop. make: stopped in /usr/ports/databases/mongosh =3D=3D=3D>>> make build failed for databases/mongosh =3D=3D=3D>>> Aborting update =3D=3D=3D>>> 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. =3D=3D=3DCut=3D=3D=3D --=20 You are receiving this mail because: You are the assignee for the bug.=