=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for mongodb-3.4.4 => Substituting "scons" in SConstruct => Substituting "path" in src/mongo/db/flushtest.cpp debian/mongod.conf debian/mongod.1 debian/mongo.1 src/mongo/shell/dbshell.cpp WARNING: [subst.mk:path] Ignoring non-existent file "./src/mongo/db/flushtest.cpp". INFO: [subst.mk:path] Nothing changed in ./debian/mongod.conf. cd /data/scratch/databases/mongodb/work/mongodb-src-r3.4.4 && /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\ -pthread\ -I/usr/pkg/include\ -I/usr/include CPPFLAGS=-fno-jump-tables\ -I/usr/pkg/include\ -I/usr/include CXX=c++ CXXFLAGS=-O2\ -pthread\ -I/usr/pkg/include\ -I/usr/include 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/gcc5/lib/gcc/x86_64--netbsd/5.4.0\ -Wl,-R/usr/pkg/gcc5/lib/gcc/x86_64--netbsd/5.4.0\ -L/usr/pkg/gcc5/lib\ -Wl,-R/usr/pkg/gcc5/lib\ -L/usr/pkg/lib\ -pthread\ -L/usr/lib\ -Wl,-R/usr/lib\ -lexecinfo LINKER_RPATH_FLAG=-R PATH=/data/scratch/databases/mongodb/work/.cwrapper/bin:/data/scratch/databases/mongodb/work/.buildlink/bin:/data/scratch/databases/mongodb/work/.gcc/bin:/data/scratch/databases/mongodb/work/.tools/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/data/scratch/databases/mongodb/work/.home CWRAPPERS_CONFIG_DIR=/data/scratch/databases/mongodb/work/.cwrapper/config CPP=cpp LINK_ALL_LIBGCC_HACK= 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\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulkXXX\ -g\ users\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulkXXX\ -g\ users\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulkXXX\ -g\ users\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulkXXX\ -g\ users\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 775 INSTALL_INFO= MAKEINFO=/data/scratch/databases/mongodb/work/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG= PKG_CONFIG_LIBDIR=/data/scratch/databases/mongodb/work/.buildlink/lib/pkgconfig:/data/scratch/databases/mongodb/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/data/scratch/databases/mongodb/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/data/scratch/databases/mongodb/work/.cwrapper/config /usr/pkg/bin/scons -j4 --use-system-boost --use-system-pcre --use-system-snappy --use-system-tcmalloc --use-system-yaml --use-system-zlib --js-engine=mozjs --release --wiredtiger=on core scons: Reading SConscript files ... Mkdir("build/scons") scons version: 2.5.1 python version: 2 7 13 '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 "g++" is GCC... yes Checking if C compiler "gcc" is GCC... yes Detected a x86_64 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-unused-const-variable... no 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 -Wnon-virtual-dtor for false positives... no Checking if C compiler supports -fstack-protector-strong... yes Checking if we are using libstdc++... yes Checking if C++ compiler supports -std=c++11... yes Checking if C compiler supports -std=c11... yes WARNING: System versions of C++ libraries must be compiled with C++11/14 support Checking for C++11... 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 linker supports -fuse-ld=gold... yes Checking if linker supports -Wl,--build-id... yes Checking if linker supports -Wl,-z,noexecstack... yes Checking if linker supports -Wl,--warn-execstack... no Checking if linker supports -Wl,-z,relro... yes Checking for glibc with non-broken _FORTIFY_SOURCE...no Checking if C compiler supports -fno-builtin-memcmp... yes Checking for storage class thread_local yes Checking for storage class __thread yes Checking for storage class __declspec(thread) no Checking for C++11 is_trivially_copyable support... yes Checking for C++14 std::enable_if_t support...no Checking for C++14 std::make_unique support... no Checking for C++11 std::align support... 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++ header file boost/filesystem/operations.hpp... yes Checking if system boost version is 1.49 or newer...yes Checking for C++ library boost_thread-mt... no Checking for C++ library boost_thread... no Checking for C++ library boost_filesystem-mt... no Checking for C++ library boost_filesystem... no Checking for C++ library boost_program_options-mt... no Checking for C++ library boost_program_options... no Checking for C++ library boost_system-mt... no Checking for C++ library boost_system... no Checking for C++ library boost_regex-mt... no Checking for C++ library boost_regex... no Checking for C++ library boost_chrono-mt... no Checking for C++ library boost_chrono... no Checking for C++ library boost_iostreams-mt... no Checking for C++ library boost_iostreams... no 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 C function fallocate()... no Checking for C function sync_file_range()... no Checking for C header file x86intrin.h... yes scons: done reading SConscript files. scons: Building targets ... Target 'build/opt/mongo/mongo' depends on the availability of a system provided library for 'boost_program_options', but no suitable library was found during configuration. Target 'build/opt/mongo/mongo' depends on the availability of a system provided library for 'boost_program_options', but no suitable library was found during configuration. scons: *** [build/opt/mongo/mongo] Error 1 scons: building terminated because of errors. build/opt/mongo/mongo failed: Error 1 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc-current/databases/mongodb *** Error code 1 Stop. make: stopped in /data/pkgsrc-current/databases/mongodb