=> 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'. => Checksum SHA1 OK for mongo-c-driver-1.8.0.tar.gz => Checksum RMD160 OK for mongo-c-driver-1.8.0.tar.gz => Checksum SHA512 OK for mongo-c-driver-1.8.0.tar.gz ===> Installing dependencies for mongo-c-driver-1.8.0 ========================================================================== The supported build options for mongo-c-driver are: sasl ssl You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.mongo-c-driver (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, mongo-c-driver-1.8.0. Their current value is shown below: * PYTHON_VERSION_DEFAULT = 27 Based on these variables, the following variables have been set: * PYPACKAGE = python27 You may want to abort the process now with CTRL-C and change their value before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6 => Tool dependency gmake>=3.81: found gmake-4.1nb3 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.3.5 => Tool dependency checkperms>=1.1: found checkperms-1.11nb1 => Build dependency py27-expat-[0-9]*: found py27-expat-2.7.14 => Build dependency py27-sphinx-[0-9]*: found py27-sphinx-1.6.4 => Build dependency python27>=2.7.1nb2: found python27-2.7.14 => Build dependency cwrappers>=20150314: found cwrappers-20170611 => Full dependency libbson>=1.8.0: found libbson-1.8.0 ===> Overriding tools for mongo-c-driver-1.8.0 ===> Extracting for mongo-c-driver-1.8.0 ===> Patching for mongo-c-driver-1.8.0 => Applying pkgsrc patches for mongo-c-driver-1.8.0 => Verifying /data/pkgsrc/databases/mongo-c-driver/patches/patch-configure => Applying pkgsrc patch /data/pkgsrc/databases/mongo-c-driver/patches/patch-configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configure,v 1.3 2017/09/09 16:15:45 dholland Exp $ | |Fix illegal shell syntax. | |--- configure~ 2017-08-09 16:16:15.000000000 +0000 |+++ configure -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 2713 (offset 5 lines). done => Verifying /data/pkgsrc/databases/mongo-c-driver/patches/patch-src_mongoc_mongoc-cursor.c => Applying pkgsrc patch /data/pkgsrc/databases/mongo-c-driver/patches/patch-src_mongoc_mongoc-cursor.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_mongoc_mongoc-cursor.c,v 1.1 2016/12/17 14:25:31 joerg Exp $ | |MAX/MIN overlap with NetBSD sys/param.h's macros, so make sure to get the |local version defined last. | |--- src/mongoc/mongoc-cursor.c.orig 2016-12-17 13:38:09.957899312 +0000 |+++ src/mongoc/mongoc-cursor.c -------------------------- Patching file src/mongoc/mongoc-cursor.c using Plan A... Hunk #1 succeeded at 16. Hunk #2 succeeded at 25. done => Verifying /data/pkgsrc/databases/mongo-c-driver/patches/patch-tests_test-mongoc-stream-tls-error.c => Applying pkgsrc patch /data/pkgsrc/databases/mongo-c-driver/patches/patch-tests_test-mongoc-stream-tls-error.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-tests_test-mongoc-stream-tls-error.c,v 1.1 2017/09/26 14:18:21 fhajny Exp $ | |Match conditioning on usage and definition. | |--- tests/test-mongoc-stream-tls-error.c.orig 2017-09-07 23:03:30.000000000 +0000 |+++ tests/test-mongoc-stream-tls-error.c -------------------------- Patching file tests/test-mongoc-stream-tls-error.c using Plan A... Hunk #1 succeeded at 338. done ===> Creating toolchain wrappers for mongo-c-driver-1.8.0 ===> Configuring for mongo-c-driver-1.8.0 => Modifying GNU configure scripts to avoid --recheck => Replacing config-guess with pkgsrc versions => Replacing config-sub with pkgsrc versions => Replacing install-sh with pkgsrc version => Adding run-time search paths to pkg-config files. INFO: [subst.mk:_pkgconfig] Nothing changed in ./src/libmongoc-ssl-1.0.pc.in. => Checking for portability problems in extracted files configure: Current version (from VERSION_CURRENT file): 1.8.0 checking for x86_64--netbsd-gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking whether clang understands -c and -o together... yes checking whether we are using the GNU C++ compiler... no checking whether clang++ accepts -g... no checking accept ARG2 => struct sockaddr ARG3 => socklen_t ... ok checking for an ANSI C-conforming const... yes checking for inline... inline checking for typeof syntax and keyword spelling... typeof checking for perl... /data/scratch/databases/mongo-c-driver/work/.tools/bin/perl checking for mv... /bin/mv checking for grep... (cached) /usr/bin/grep checking how to run the C preprocessor... clang -E checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for strings.h... (cached) yes checking for unistd.h... (cached) yes checking for stdarg.h... yes checking for sphinx-build... /usr/pkg/bin/sphinx-build2.7 checking for a BSD-compatible install... /usr/bin/install -c -o pbulkXXX -g users checking build system type... x86_64--netbsd checking host system type... x86_64--netbsd checking target system type... x86_64--netbsd checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by clang... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... (cached) 262144 checking how to convert x86_64--netbsd file names to x86_64--netbsd format... func_convert_file_noop checking how to convert x86_64--netbsd file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64--netbsd-objdump... objdump checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$ checking for x86_64--netbsd-dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for x86_64--netbsd-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64--netbsd-strip... no checking for strip... strip checking for x86_64--netbsd-ranlib... no checking for ranlib... ranlib checking for gawk... /usr/bin/awk checking command to parse /usr/bin/nm -B output from clang object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64--netbsd-mt... no checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if clang supports -fno-rtti -fno-exceptions... yes checking for clang option to produce PIC... -fPIC -DPIC checking if clang PIC flag -fPIC -DPIC works... yes checking if clang static flag -static works... yes checking if clang supports -c -o file.o... rm: conftest*: No such file or directory yes checking if clang supports -c -o file.o... (cached) yes checking whether the clang linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory no checking dynamic linker characteristics... NetBSD ld.elf_so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... clang-cpp checking whether the clang++ linker (/usr/bin/ld) supports shared libraries... PKGSRC-WARNING: Something is trying to run the c++ compiler, PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile. yes libtool.m4: error: problem compiling CXX test program checking for clang++ option to produce PIC... -DPIC checking if clang++ PIC flag -DPIC works... no checking if clang++ static flag works... no checking if clang++ supports -c -o file.o... rm: conftest*: No such file or directory no checking if clang++ supports -c -o file.o... (cached) no checking whether the clang++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... PKGSRC-WARNING: Something is trying to run the c++ compiler, PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile. NetBSD ld.elf_so checking how to hardcode library paths into programs... unsupported checking whether to do a debug build... no checking whether to enable tracing... no checking whether to automatic init and cleanup... yes checking whether to enable optimized builds... yes checking whether to enable shared memory performance counters... yes checking whether to enable code coverage support... no checking whether to enable debug symbols... no checking pkg-config is at least version 0.9.0... yes checking for SNAPPY... no checking for snappy_uncompress in -lsnappy... no checking whether to enable bundled snappy... yes checking for stdint.h... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking byteswap.h usability... no checking byteswap.h presence... no checking for byteswap.h... no checking sys/byteswap.h usability... no checking sys/byteswap.h presence... no checking for sys/byteswap.h... no checking sys/endian.h usability... yes checking sys/endian.h presence... yes checking for sys/endian.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking if the compiler supports __builtin_expect... yes checking if the compiler supports __builtin_ctzll... yes checking for ZLIB... yes checking whether to enable crypto and TLS... no checking whether to use system crypto profile... no checking for shm_open... no checking for shm_open in -lrt... yes checking for sched_getcpu... no checking for socklen_t... yes checking for pthread_join in LIBS= with CFLAGS= -pthread ... yes checking if compiler needs -Werror to reject unknown flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking whether the linker accepts -Wl,-Bsymbolic... yes checking if weak symbols are supported... yes checking whether build environment is sane... yes checking for a thread-safe mkdir -p... build/autotools/install-sh -c -d checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking whether make supports nested variables... yes checking whether UID '1000' is supported by ustar format... yes checking whether GID '100' is supported by ustar format... yes checking how to create a ustar tar archive... plaintar checking dependency style of clang... gcc3 checking dependency style of clang++... none checking whether make supports nested variables... (cached) yes checking for BSON... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/libmongoc-1.0.pc config.status: creating src/libmongoc-static-1.0.pc config.status: creating src/libmongoc-ssl-1.0.pc config.status: creating build/cmake/libmongoc-1.0-config-version.cmake config.status: creating build/cmake/libmongoc-static-1.0-config.cmake config.status: creating build/cmake/libmongoc-1.0-config.cmake config.status: creating build/cmake/libmongoc-static-1.0-config-version.cmake config.status: creating src/mongoc/mongoc-config.h config.status: creating src/mongoc/mongoc-version.h config.status: creating src/snappy-1.1.3/snappy-stubs-public.h config.status: creating src/zlib-1.2.11/zconf.h config.status: executing libtool commands rm: libtoolT: No such file or directory config.status: executing depfiles commands libmongoc 1.8.0 was configured with the following options: Build configuration: Enable debugging (slow) : no Compile with debug symbols (slow) : no Enable GCC build optimization : yes Enable automatic init and cleanup : yes DEPRECATED: use --disable-automatic-init-and-cleanup Enable maintainer flags : no Code coverage support : no Cross Compiling : no Fast counters : no Shared memory performance counters : yes SASL : no SSL : no Snappy Compression : bundled Zlib Compression : system Libbson : system Documentation: man : yes HTML : no => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile.