=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Building for mongodb-4.0.6nb8 => Replacing database paths. => Changing /var to /var. => Replacing Python interpreter. cd /tmp/pkgbuild/databases/mongodb/work.aarch64/mongodb-src-r4.0.6 && /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\ PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS=\ -pthread\ DL_LDFLAGS=\ -pthread DL_LIBS= PYTHON=/usr/pkg/bin/python2.7 CC=gcc CFLAGS=-O2\ -fomit-frame-pointer\ -D_FORTIFY_SOURCE=2\ -pthread\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/include/krb5 CPPFLAGS=-fno-jump-tables\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/include/krb5 CXX=c++ CXXFLAGS=-O2\ -fomit-frame-pointer\ -D_FORTIFY_SOURCE=2\ -pthread\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/include/krb5 COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-Wl,-R/usr/pkg/lib\ -L/usr/pkg/lib\ -L/usr/pkg/gcc8/lib/gcc/aarch64--netbsd/8.3.0\ -Wl,-R/usr/pkg/gcc8/lib/gcc/aarch64--netbsd/8.3.0\ -L/usr/pkg/gcc8/lib\ -Wl,-R/usr/pkg/gcc8/lib\ -L/usr/lib\ -Wl,-R/usr/lib\ -pthread\ -lexecinfo LINKER_RPATH_FLAG=-R PATH=/tmp/pkgbuild/databases/mongodb/work.aarch64/.cwrapper/bin:/tmp/pkgbuild/databases/mongodb/work.aarch64/.buildlink/bin:/tmp/pkgbuild/databases/mongodb/work.aarch64/.distcc/bin:/tmp/pkgbuild/databases/mongodb/work.aarch64/.gcc/bin:/tmp/pkgbuild/databases/mongodb/work.aarch64/.tools/bin:/usr/pkg/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/local/sbin:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/tmp/pkgbuild/databases/mongodb/work.aarch64/.home CWRAPPERS_CONFIG_DIR=/tmp/pkgbuild/databases/mongodb/work.aarch64/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 775 INSTALL_INFO= MAKEINFO=/tmp/pkgbuild/databases/mongodb/work.aarch64/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG=/tmp/pkgbuild/databases/mongodb/work.aarch64/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/tmp/pkgbuild/databases/mongodb/work.aarch64/.buildlink/lib/pkgconfig:/tmp/pkgbuild/databases/mongodb/work.aarch64/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/tmp/pkgbuild/databases/mongodb/work.aarch64/.pkg-config.log PKG_CONFIG_PATH= KRB5_CONFIG=/usr/bin/krb5-config CWRAPPERS_CONFIG_DIR=/tmp/pkgbuild/databases/mongodb/work.aarch64/.cwrapper/config /usr/pkg/bin/scons -j4 --disable-warnings-as-errors --release --runtime-hardening=off --use-system-boost --use-system-icu --use-system-mongo-c --use-system-pcre --use-system-snappy --use-system-sqlite --use-system-tcmalloc --use-system-yaml --use-system-zlib --wiredtiger=off CC=gcc CXX=c++ CFLAGS=-O2\ \ -fomit-frame-pointer\ -D_FORTIFY_SOURCE=2\ -pthread\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/include/krb5 CXXFLAGS=-O2\ -fomit-frame-pointer\ -D_FORTIFY_SOURCE=2\ -pthread\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/include/krb5 LINKFLAGS=\ -Wl,-R/usr/pkg/lib\ -L/usr/pkg/lib\ \ \ -L/usr/pkg/gcc8/lib/gcc/aarch64--netbsd/8.3.0\ -Wl,-R/usr/pkg/gcc8/lib/gcc/aarch64--netbsd/8.3.0\ -L/usr/pkg/gcc8/lib\ -Wl,-R/usr/pkg/gcc8/lib\ -L/usr/lib\ -Wl,-R/usr/lib\ -pthread\ -lexecinfo CPPPATH=/usr/pkg/include/libbson-1.0\ /usr/pkg/include/libmongoc-1.0 VERBOSE=1 core scons: Reading SConscript files ... Mkdir("build/scons") scons version: 3.1.1 python version: 2 7 17 'final' 0 Checking whether the C compiler works... yes Checking whether the C++ compiler works... yes Checking that the C++ compiler can link a C++ program... yes Checking if C++ compiler "c++" is GCC... yes Checking if C compiler "gcc" is GCC... yes Detected a aarch64 processor Checking if target OS netbsd is supported by the toolchain... yes Checking if C compiler is GCC 5.3.0 or newer...yes Checking if C++ compiler is GCC 5.3.0 or newer...yes Checking if C compiler supports -Wno-unused-local-typedefs... yes Checking if C compiler supports -Wno-unused-function... yes Checking if C compiler supports -Wno-unused-private-field... no Checking if C compiler supports -Wno-deprecated-declarations... yes Checking if C compiler supports -Wno-tautological-constant-out-of-range-compare... no Checking if C compiler supports -Wno-tautological-constant-compare... no Checking if C compiler supports -Wno-tautological-unsigned-zero-compare... no Checking if C compiler supports -Wno-tautological-unsigned-enum-zero-compare... no Checking if C compiler supports -Wno-unused-const-variable... yes Checking if C compiler supports -Wno-unused-but-set-variable... yes Checking if C compiler supports -Wno-missing-braces... yes Checking if C compiler supports -Wno-inconsistent-missing-override... no Checking if C compiler supports -Wno-potentially-evaluated-expression... no Checking if C++ compiler supports -Wpessimizing-move... no Checking if C++ compiler supports -Wredundant-move... no Checking if C++ compiler supports -Wno-maybe-uninitialized... yes Checking if C++ compiler supports -Wno-undefined-var-template... no Checking if C++ compiler supports -Wno-instantiation-after-specialization... no Checking if C compiler supports -Wno-unused-lambda-capture... no Checking if C compiler supports -Wno-exceptions... no Checking -Wnon-virtual-dtor for false positives... no Checking if we are using libstdc++... yes Checking if C++ compiler supports -std=c++14... yes Checking if C compiler supports -std=c11... yes WARNING: System versions of C++ libraries must be compiled with C++14 support Checking for C++14... yes Checking for memset_s... no Checking for C function strnlen()... yes Checking for libstdc++ 5.3.0 or better... yes Checking if we are on a POSIX system... yes Checking if the POSIX monotonic clock is supported... yes Checking off_t is 8 bytes... yes Checking if C compiler supports -fno-builtin-memcmp... yes Checking for storage class thread_local yes Checking for C++14 std::enable_if_t support...yes Checking for C++14 std::make_unique support... yes Checking if pthread_setname_np is supported... no Checking for curl_global_init(0) in C library curl... yes Checking for C library pcre... yes Checking for C library pcrecpp... yes Checking for C library snappy... yes Checking for C library z... yes Checking for C library yaml-cpp... yes Checking for C library icudata... yes Checking for C++ header file sqlite3.h... yes Checking for C library sqlite3... yes Checking for C++ header file boost/filesystem/operations.hpp... yes Checking if system boost version is 1.49 or newer...yes Checking for C++ library boost_filesystem-mt... no Checking for C++ library boost_filesystem... yes Checking for C++ library boost_program_options-mt... no Checking for C++ library boost_program_options... yes Checking for C++ library boost_system-mt... no Checking for C++ library boost_system... yes Checking for C++ library boost_iostreams-mt... no Checking for C++ library boost_iostreams... yes Checking for C library rt... yes Checking for C library dl... no Checking for C++ header file execinfo.h... yes Checking whether backtrace is declared... yes Checking whether backtrace_symbols is declared... yes Checking whether backtrace_symbols_fd is declared... yes Checking for C library pcap... yes Checking for C library execinfo... yes Checking if std::atomic works... yes Checking if std::atomic works... yes Checking if std::atomic works... yes Checking if std::atomic works... yes Checking for extended alignment 64 for concurrency types... yes Checking for mongoc_get_major_version() in C library mongoc-1.0... yes Checking if mongoc version is 1.13.0 or newer...yes scons: done reading SConscript files. scons: Building targets ... Creating 'build/opt/mongo/config.h' /usr/pkg/bin/python2.7 src/mongo/base/generate_error_codes.py src/mongo/base/error_codes.err src/mongo/base/error_codes.tpl.h=build/opt/mongo/base/error_codes.h src/mongo/base/error_codes.tpl.cpp=build/opt/mongo/base/error_codes.cpp /usr/pkg/bin/python2.7 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/query/tailable_mode_gen.h --output build/opt/mongo/db/query/tailable_mode_gen.cpp src/mongo/db/query/tailable_mode.idl /usr/pkg/bin/python2.7 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/logical_session_id_gen.h --output build/opt/mongo/db/logical_session_id_gen.cpp src/mongo/db/logical_session_id.idl c++ -o build/opt/third_party/s2/s2regioncoverer.o -c -O2 -fomit-frame-pointer -D_FORTIFY_SOURCE=2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DDEBUG_MODE=false -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/third_party/s2/s2regioncoverer.cc distcc[23857] (dcc_build_somewhere) Warning: failed to distribute, running locally instead /usr/pkg/bin/python2.7 src/mongo/db/auth/generate_action_types.py src/mongo/db/auth/action_types.txt build/opt/mongo/db/auth/action_type.h build/opt/mongo/db/auth/action_type.cpp /usr/pkg/bin/python2.7 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/generic_cursor_gen.h --output build/opt/mongo/db/generic_cursor_gen.cpp src/mongo/db/generic_cursor.idl c++ -o build/opt/mongo/db/query/collation/collator_interface.o -c -O2 -fomit-frame-pointer -D_FORTIFY_SOURCE=2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/query/collation/collator_interface.cpp distcc[17819] (dcc_build_somewhere) Warning: failed to distribute, running locally instead gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int64.o -c -O2 -fomit-frame-pointer -D_FORTIFY_SOURCE=2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -w -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int64.c distcc[10824] (dcc_build_somewhere) Warning: failed to distribute, running locally instead c++ -o build/opt/mongo/db/query/view_response_formatter.o -c -O2 -fomit-frame-pointer -D_FORTIFY_SOURCE=2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/query/view_response_formatter.cpp distcc[27659] (dcc_build_somewhere) Warning: failed to distribute, running locally instead gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp2.o -c -O2 -fomit-frame-pointer -D_FORTIFY_SOURCE=2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -w -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DDECIMAL_CALL_BY_REFERENCE=0 -DUSE_COMPILER_F80_TYPE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp2.c distcc[9330] (dcc_build_somewhere) Warning: failed to distribute, running locally instead src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp2.c: In function '__bid128_exp2': src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp2.c:71:21: warning: unused variable 't' [-Wunused-variable] BID_UINT128 m, n, t; ^ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp2.c:71:18: warning: unused variable 'n' [-Wunused-variable] BID_UINT128 m, n, t; ^ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp2.c:71:15: warning: unused variable 'm' [-Wunused-variable] BID_UINT128 m, n, t; ^ c++ -o build/opt/mongo/base/secure_allocator.o -c -O2 -fomit-frame-pointer -D_FORTIFY_SOURCE=2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/base/secure_allocator.cpp distcc[340] (dcc_build_somewhere) Warning: failed to distribute, running locally instead c++ -o build/opt/mongo/util/secure_compare_memory.o -c -O2 -fomit-frame-pointer -D_FORTIFY_SOURCE=2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/util/secure_compare_memory.cpp c++ -o build/opt/mongo/util/summation.o -c -O2 -fomit-frame-pointer -D_FORTIFY_SOURCE=2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/util/summation.cpp c++ -o build/opt/mongo/db/query/count_request.o -c -O2 -fomit-frame-pointer -D_FORTIFY_SOURCE=2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/db/query/count_request.cpp distcc[17605] ERROR: compile src/mongo/util/summation.cpp on 10.0.20.122:3640 failed distcc[17605] (dcc_build_somewhere) Warning: remote compilation of 'src/mongo/util/summation.cpp' failed, retrying locally distcc[17605] Warning: failed to distribute src/mongo/util/summation.cpp to 10.0.20.122:3640, running locally instead In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/query/cursor_response.h:38, from src/mongo/db/query/view_response_formatter.cpp:38: src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:196:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:205:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:215:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/query/cursor_response.h:38, from src/mongo/db/query/view_response_formatter.cpp:38: src/mongo/db/pipeline/document_internal.h: In member function 'void mongo::DocumentStorage::hashTabInit()': src/mongo/db/pipeline/document_internal.h:351:44: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class mongo::Position'; use assignment instead [-Wclass-memaccess] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ distcc[24850] ERROR: compile src/mongo/db/query/count_request.cpp on 10.0.20.122:3640 failed distcc[24850] (dcc_build_somewhere) Warning: remote compilation of 'src/mongo/db/query/count_request.cpp' failed, retrying locally distcc[24850] Warning: failed to distribute src/mongo/db/query/count_request.cpp to 10.0.20.122:3640, running locally instead ar rcsTD build/opt/mongo/base/libsecure_allocator.a build/opt/mongo/base/secure_allocator.o Skipping ranlib for thin archive build/opt/mongo/base/libsecure_allocator.a c++ -o build/opt/mongo/scripting/mozjs/error.o -c -O2 -fomit-frame-pointer -D_FORTIFY_SOURCE=2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/aarch64/netbsd/include -I/usr/pkg/include/libbson-1.0 -I/usr/pkg/include/libmongoc-1.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/error.cpp distcc[20727] (dcc_build_somewhere) Warning: failed to distribute, running locally instead cc1plus: fatal error: js-config.h: No such file or directory compilation terminated. distcc[20727] ERROR: compile src/mongo/scripting/mozjs/error.cpp on localhost failed scons: *** [build/opt/mongo/scripting/mozjs/error.o] Error 1 distcc[17605] (dcc_please_send_email_after_investigation) Warning: remote compilation of 'src/mongo/util/summation.cpp' failed, retried locally and got a different result. distcc[24850] (dcc_please_send_email_after_investigation) Warning: remote compilation of 'src/mongo/db/query/count_request.cpp' failed, retried locally and got a different result. scons: building terminated because of errors. build/opt/mongo/scripting/mozjs/error.o failed: Error 1 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/databases/mongodb *** Error code 1 Stop. make: stopped in /usr/pkgsrc/databases/mongodb