[package - 123amd64-default][devel/mongo-c-driver] Failed for mongo-c-driver-1.8.1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 12 Feb 2023 20:22:53 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     ports@bsdserwis.com
Log URL:        https://pkg-status.freebsd.org/beefy6/data/123amd64-default/b64d2f1e5acf/logs/mongo-c-driver-1.8.1.log
Build URL:      https://pkg-status.freebsd.org/beefy6/build.html?mastername=123amd64-default&build=b64d2f1e5acf
Log:

=>> Building devel/mongo-c-driver
build started at Sun Feb 12 20:22:44 UTC 2023
port directory: /usr/ports/devel/mongo-c-driver
package name: mongo-c-driver-1.8.1
building for: FreeBSD 123amd64-default-job-06 12.3-RELEASE-p11 FreeBSD 12.3-RELEASE-p11 amd64
maintained by: ports@bsdserwis.com
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1203000
Job Id: 06

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1203000
UNAME_v=FreeBSD 12.3-RELEASE-p11
UNAME_r=12.3-RELEASE-p11
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/123amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/123amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=123amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/123amd64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
ports@bsdserwis.com
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/devel/mongo-c-driver/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/mongo-c-driver/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/mongo-c-driver/work/.cache  HOME=/wrkdirs/usr/ports/devel/mongo-c-driver/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/mongo-c-driver/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/mongo-c-driver/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
NINJA_STATUS="[%p %s/%t] " XDG_DATA_HOME=/wrkdirs/usr/ports/devel/mongo-c-driver/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/mongo-c-driver/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/mongo-c-driver/work/.cache  HOME=/wrkdirs/usr/ports/devel/mongo-c-driver/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/mongo-c-driver/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/mongo-c-driver/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 DESTDIR=/wrkdirs/usr/ports/devel/mongo-c-driver/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -pthread -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROG
 RAM="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"
--End MAKE_ENV--

--PLIST_SUB--
CMAKE_BUILD_TYPE="release" OSREL=12.3 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/mongo-c-driver"  EXAMPLESDIR="share/examples/mongo-c-driver"  DATADIR="share/mongo-c-driver"  WWWDIR="www/mongo-c-driver"  ETCDIR="etc/mongo-c-driver"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/mongo-c-driver DOCSDIR=/usr/local/share/doc/mongo-c-driver EXAMPLESDIR=/usr/local/share/examples/mongo-c-driver  WWWDIR=/usr/local/www/mongo-c-driver ETCDIR=/usr/local/etc/mongo-c-driver
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=error: invalid value 'c++2b' in '-std=c++2b' note: use 'c++98' or 'c++03' for 'ISO C++ 1998 with amendments' standard note: use 'gnu++98' or 'gnu++03' for 'ISO C++ 1998 with amendments and GNU extensions' standard note: use 'c++11' for 'ISO C++ 2011 with amendments' standard note: use 'gnu++11' for 'ISO C++ 2011 with amendments and GNU extensions' standard note: use 'c++14' for 'ISO C++ 2014 with amendments' standard note: use 'gnu++14' for 'ISO C++ 2014 with amendments and GNU extensions' standard note: use 'c++17' for 'ISO C++ 2017 with amendments' standard note: use 'gnu++17' for 'ISO C++ 2017 with amendments and GNU extensions' standard note: use 'c++20' for 'ISO C++ 2020 DIS' standard note: use 'gnu++20' for 'ISO C++ 2020 DIS with GNU extensions' standard
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=error: invalid value 'gnu++2b' in '-std=gnu++2b' note: use 'c++98' or 'c++03' for 'ISO C++ 1998 with amendments' standard note: use 'gnu++98' or 'gnu++03' for 'ISO C++ 1998 with amendments and GNU extensions' standard note: use 'c++11' for 'ISO C++ 2011 with amendments' standard note: use 'gnu++11' for 'ISO C++ 2011 with amendments and GNU extensions' standard note: use 'c++14' for 'ISO C++ 2014 with amendments' standard note: use 'gnu++14' for 'ISO C++ 2014 with amendments and GNU extensions' standard note: use 'c++17' for 'ISO C++ 2017 with amendments' standard note: use 'gnu++17' for 'ISO C++ 2017 with amendments and GNU extensions' standard note: use 'c++20' for 'ISO C++ 2020 DIS' standard note: use 'gnu++20' for 'ISO C++ 2020 DIS with GNU extensions' standard
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=12.3-RELEASE-p11
OSREL=12.3
OSVERSION=1203000
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   mongo-c-driver-1.8.1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1.pkg
[123amd64-default-job-06] Installing pkg-1.19.1...
[123amd64-default-job-06] Extracting pkg-1.19.1: .......... done
===>   mongo-c-driver-1.8.1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of mongo-c-driver-1.8.1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by mongo-c-driver-1.8.1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by mongo-c-driver-1.8.1 for building
=> SHA256 Checksum OK for mongodb-mongo-c-driver-1.8.1_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by mongo-c-driver-1.8.1 for building
===>  Extracting for mongo-c-driver-1.8.1
=> SHA256 Checksum OK for mongodb-mongo-c-driver-1.8.1_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for mongo-c-driver-1.8.1
===>  Applying FreeBSD patches for mongo-c-driver-1.8.1 from /usr/ports/devel/mongo-c-driver/files
===========================================================================
=======================<phase: build-depends  >============================
===>   mongo-c-driver-1.8.1 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-core-3.25.1.pkg
[123amd64-default-job-06] Installing cmake-core-3.25.1...
[123amd64-default-job-06] `-- Installing expat-2.5.0...
[123amd64-default-job-06] `-- Extracting expat-2.5.0: .......... done
[123amd64-default-job-06] `-- Installing jsoncpp-1.9.5...
[123amd64-default-job-06] `-- Extracting jsoncpp-1.9.5: .......... done
[123amd64-default-job-06] `-- Installing libuv-1.44.2...
[123amd64-default-job-06] `-- Extracting libuv-1.44.2: .......... done
[123amd64-default-job-06] `-- Installing rhash-1.4.3...
[123amd64-default-job-06] |   `-- Installing gettext-runtime-0.21.1...
[123amd64-default-job-06] |   | `-- Installing indexinfo-0.3.1...
[123amd64-default-job-06] |   | `-- Extracting indexinfo-0.3.1: .... done
[123amd64-default-job-06] |   `-- Extracting gettext-runtime-0.21.1: .......... done
[123amd64-default-job-06] `-- Extracting rhash-1.4.3: .......... done
<snip>
===>   mongo-c-driver-1.8.1 depends on package: pkgconf>=1.3.0_1 - not found
===>   Installing existing package /packages/All/pkgconf-1.8.1,1.pkg
[123amd64-default-job-06] Installing pkgconf-1.8.1,1...
[123amd64-default-job-06] Extracting pkgconf-1.8.1,1: .......... done
===>   mongo-c-driver-1.8.1 depends on package: pkgconf>=1.3.0_1 - found
===>   Returning to build of mongo-c-driver-1.8.1
===========================================================================
=======================<phase: lib-depends    >============================
===>   mongo-c-driver-1.8.1 depends on shared library: libsasl2.so - not found
===>   Installing existing package /packages/All/cyrus-sasl-2.1.28.pkg
[123amd64-default-job-06] Installing cyrus-sasl-2.1.28...
*** Added group `cyrus' (id 60)
*** Added user `cyrus' (id 60)
[123amd64-default-job-06] Extracting cyrus-sasl-2.1.28: .......... done
=====
Message from cyrus-sasl-2.1.28:

--
You can use sasldb2 for authentication, to add users use:

	saslpasswd2 -c username

If you want to enable SMTP AUTH with the system Sendmail, read
Sendmail.README

NOTE: This port has been compiled with a default pwcheck_method of
      auxprop.  If you want to authenticate your user by /etc/passwd,
      PAM or LDAP, install ports/security/cyrus-sasl2-saslauthd and
      set sasl_pwcheck_method to saslauthd after installing the
      Cyrus-IMAPd 2.X port.  You should also check the
      /usr/local/lib/sasl2/*.conf files for the correct
      pwcheck_method.
      If you want to use GSSAPI mechanism, install
      ports/security/cyrus-sasl2-gssapi.
      If you want to use SRP mechanism, install
      ports/security/cyrus-sasl2-srp.
      If you want to use LDAP auxprop plugin, install
      ports/security/cyrus-sasl2-ldapdb.
===>   mongo-c-driver-1.8.1 depends on shared library: libsasl2.so - found (/usr/local/lib/libsasl2.so)
===>   Returning to build of mongo-c-driver-1.8.1
===>   mongo-c-driver-1.8.1 depends on shared library: libbson-1.0.so - not found
===>   Installing existing package /packages/All/libbson-1.23.2_1.pkg
[123amd64-default-job-06] Installing libbson-1.23.2_1...
[123amd64-default-job-06] Extracting libbson-1.23.2_1: .......... done
===>   mongo-c-driver-1.8.1 depends on shared library: libbson-1.0.so - found (/usr/local/lib/libbson-1.0.so)
===>   Returning to build of mongo-c-driver-1.8.1
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for mongo-c-driver-1.8.1
===>  Performing out-of-source build
/bin/mkdir -p /wrkdirs/usr/ports/devel/mongo-c-driver/work/.build
CMake Warning at CMakeLists.txt:9 (_message):
  CMake support is experimental and may not produce production quality
  artifacts
Call Stack (most recent call first):
  CMakeLists.txt:36 (message)


-- The C compiler identification is ;Clang 10.0.1
-- The CXX compiler identification is ;Clang 10.0.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
Current version (from VERSION_CURRENT file): 1.8.1
-- Searching for libbson CMake packages
CMake Warning at CMakeLists.txt:9 (_message):
  This CMake target is deprecated.  Use 'mongo::bson_shared' instead.
  Consult the example projects for further details.
Call Stack (most recent call first):
  /usr/local/lib/cmake/libbson-1.0/libbson-1.0-config.cmake:15 (message)
  CMakeLists.txt:64 (find_package)


--   libbson found version "1.23.2"
--   libbson include path "/usr/local/include/libbson-1.0"
--   libbson libraries "/usr/local/lib/libbson-1.0.so"
CMake Warning at CMakeLists.txt:9 (_message):
  This CMake target is deprecated.  Use 'mongo::bson_static' instead.
  Consult the example projects for further details.
Call Stack (most recent call first):
  /usr/local/lib/cmake/libbson-static-1.0/libbson-static-1.0-config.cmake:15 (message)
  CMakeLists.txt:75 (find_package)


--   libbson-static found version "1.23.2"
--   libbson-static include path "/usr/local/include/libbson-1.0"
--   libbson-static libraries "/usr/local/lib/libbson-static-1.0.a/usr/lib/librt.so;-pthread"
-- Found OpenSSL: /usr/lib/libcrypto.so (found version "1.1.1l")  
-- Looking for ASN1_STRING_get0_data in ssl
-- Looking for ASN1_STRING_get0_data in ssl - not found
-- Searching for sasl/sasl.h
--   Found in /usr/local/include
-- Searching for libsasl2
--   Found /usr/local/lib/libsasl2.so
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of socklen_t
-- Check size of socklen_t - done
-- Detected parameters: accept (int, struct sockaddr *, socklen_t *)
-- Compiling against OpenSSL
-- Compiling against Cyrus SASL
-- Looking for include file byteswap.h
-- Looking for include file byteswap.h - not found
-- Looking for include file dlfcn.h
-- Looking for include file dlfcn.h - found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include file memory.h
-- Looking for include file memory.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file sys/byteswap.h
-- Looking for include file sys/byteswap.h - not found
-- Looking for include file sys/endian.h
-- Looking for include file sys/endian.h - found
-- Looking for include file sys/mman.h
-- Looking for include file sys/mman.h - found
-- Looking for include file sys/resource.h
-- Looking for include file sys/resource.h - found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file windows.h
-- Looking for include file windows.h - not found
-- Performing Test HAVE_BUILTIN_EXPECT
-- Performing Test HAVE_BUILTIN_EXPECT - Success
-- Performing Test HAVE_BUILTIN_CTZ
-- Performing Test HAVE_BUILTIN_CTZ - Success
-- Enabling snappy compression (bundled)
-- Enabling zlib compression (bundled)
-- Looking for include file stdarg.h
-- Looking for include file stdarg.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Found Threads: TRUE  
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COLOR_MAKEFILE
    CMAKE_CXX_FLAGS_DEBUG
    CMAKE_C_FLAGS_DEBUG
    CMAKE_MODULE_LINKER_FLAGS
    CMAKE_VERBOSE_MAKEFILE
    FETCHCONTENT_FULLY_DISCONNECTED


-- Build files have been written to: /wrkdirs/usr/ports/devel/mongo-c-driver/work/.build
===========================================================================
=======================<phase: build          >============================
===>  Building for mongo-c-driver-1.8.1
[  0% 1/266] /usr/bin/cc -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE -Dmongoc_shared_EXPORTS -I/usr/local/include/libbson-1.0 -I/wrkdirs/usr/ports/devel/mongo-c-driver/work/mongo-c-driver-1.8.1/src/snappy-1.1.3 -I/wrkdirs/usr/ports/devel/mongo-c-driver/work/.build/src/snappy-1.1.3 -I/wrkdirs/usr/ports/devel/mongo-c-driver/work/mongo-c-driver-1.8.1/src/zlib-1.2.11 -I/wrkdirs/usr/ports/devel/mongo-c-driver/work/.build/src/zlib-1.2.11 -I/wrkdirs/usr/ports/devel/mongo-c-driver/work/.build/src/mongoc -I/wrkdirs/usr/ports/devel/mongo-c-driver/work/mongo-c-driver-1.8.1/src/mongoc -I/usr/local/include -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DNDEBUG -fPIC -pthread -MD -MT CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-apm.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-apm.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-apm.c.o -c /wrkdirs/usr/ports/devel/mongo-c-driver/work/mongo
 -c-driver-1.8.1/src/mongoc/mongoc-apm.c
[  0% 2/266] /usr/bin/cc -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE -Dmongoc_shared_EXPORTS -I/usr/local/include/libbson-1.0 -I/wrkdirs/usr/ports/devel/mongo-c-driver/work/mongo-c-driver-1.8.1/src/snappy-1.1.3 -I/wrkdirs/usr/ports/devel/mongo-c-driver/work/.build/src/snappy-1.1.3 -I/wrkdirs/usr/ports/devel/mongo-c-driver/work/mongo-c-driver-1.8.1/src/zlib-1.2.11 -I/wrkdirs/usr/ports/devel/mongo-c-driver/work/.build/src/zlib-1.2.11 -I/wrkdirs/usr/ports/devel/mongo-c-driver/work/.build/src/mongoc -I/wrkdirs/usr/ports/devel/mongo-c-driver/work/mongo-c-driver-1.8.1/src/mongoc -I/usr/local/include -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DNDEBUG -fPIC -pthread -MD -MT CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-array.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-array.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-array.c.o -c /wrkdirs/usr/ports/devel/mongo-c-driver/work
 /mongo-c-driver-1.8.1/src/mongoc/mongoc-array.c
[  1% 3/266] /usr/bin/cc -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE -Dmongoc_shared_EXPORTS -I/usr/local/include/libbson-1.0 -I/wrkdirs/usr/ports/devel/mongo-c-driver/work/mongo-c-driver-1.8.1/src/snappy-1.1.3 -I/wrkdirs/usr/ports/devel/mongo-c-driver/work/.build/src/snappy-1.1.3 -I/wrkdirs/usr/ports/devel/mongo-c-driver/work/mongo-c-driver-1.8.1/src/zlib-1.2.11 -I/wrkdirs/usr/ports/devel/mongo-c-driver/work/.build/src/zlib-1.2.11 -I/wrkdirs/usr/ports/devel/mongo-c-driver/work/.build/src/mongoc -I/wrkdirs/usr/ports/devel/mongo-c-driver/work/mongo-c-driver-1.8.1/src/mongoc -I/usr/local/include -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DNDEBUG -fPIC -pthread -MD -MT CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-async.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-async.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-async.c.o -c /wrkdirs/usr/ports/devel/mongo-c-driver/work
 /mongo-c-driver-1.8.1/src/mongoc/mongoc-async.c
FAILED: CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-async.c.o 
/usr/bin/cc -DMONGOC_COMPILATION -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE -Dmongoc_shared_EXPORTS -I/usr/local/include/libbson-1.0 -I/wrkdirs/usr/ports/devel/mongo-c-driver/work/mongo-c-driver-1.8.1/src/snappy-1.1.3 -I/wrkdirs/usr/ports/devel/mongo-c-driver/work/.build/src/snappy-1.1.3 -I/wrkdirs/usr/ports/devel/mongo-c-driver/work/mongo-c-driver-1.8.1/src/zlib-1.2.11 -I/wrkdirs/usr/ports/devel/mongo-c-driver/work/.build/src/zlib-1.2.11 -I/wrkdirs/usr/ports/devel/mongo-c-driver/work/.build/src/mongoc -I/wrkdirs/usr/ports/devel/mongo-c-driver/work/mongo-c-driver-1.8.1/src/mongoc -I/usr/local/include -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DNDEBUG -fPIC -pthread -MD -MT CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-async.c.o -MF CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-async.c.o.d -o CMakeFiles/mongoc_shared.dir/src/mongoc/mongoc-async.c.o -c /wrkdirs/usr/ports/devel/mongo-c-driver/work/mongo-c-driv
 er-1.8.1/src/mongoc/mongoc-async.c
In file included from /wrkdirs/usr/ports/devel/mongo-c-driver/work/mongo-c-driver-1.8.1/src/mongoc/mongoc-async.c:21:
In file included from /wrkdirs/usr/ports/devel/mongo-c-driver/work/mongo-c-driver-1.8.1/src/mongoc/mongoc-async-cmd-private.h:26:
In file included from /wrkdirs/usr/ports/devel/mongo-c-driver/work/mongo-c-driver-1.8.1/src/mongoc/mongoc-client.h:28:
In file included from /wrkdirs/usr/ports/devel/mongo-c-driver/work/mongo-c-driver-1.8.1/src/mongoc/mongoc-collection.h:30:
/wrkdirs/usr/ports/devel/mongo-c-driver/work/mongo-c-driver-1.8.1/src/mongoc/mongoc-index.h:76:37: error: expected function body after function declarator
mongoc_index_opt_get_default (void) BSON_GNUC_CONST;
                                    ^
/wrkdirs/usr/ports/devel/mongo-c-driver/work/mongo-c-driver-1.8.1/src/mongoc/mongoc-index.h:78:41: error: expected function body after function declarator
mongoc_index_opt_geo_get_default (void) BSON_GNUC_CONST;
                                        ^
/wrkdirs/usr/ports/devel/mongo-c-driver/work/mongo-c-driver-1.8.1/src/mongoc/mongoc-index.h:80:40: error: expected function body after function declarator
mongoc_index_opt_wt_get_default (void) BSON_GNUC_CONST;
                                       ^
In file included from /wrkdirs/usr/ports/devel/mongo-c-driver/work/mongo-c-driver-1.8.1/src/mongoc/mongoc-async.c:21:
In file included from /wrkdirs/usr/ports/devel/mongo-c-driver/work/mongo-c-driver-1.8.1/src/mongoc/mongoc-async-cmd-private.h:26:
In file included from /wrkdirs/usr/ports/devel/mongo-c-driver/work/mongo-c-driver-1.8.1/src/mongoc/mongoc-client.h:36:
/wrkdirs/usr/ports/devel/mongo-c-driver/work/mongo-c-driver-1.8.1/src/mongoc/mongoc-ssl.h:47:35: error: expected function body after function declarator
mongoc_ssl_opt_get_default (void) BSON_GNUC_CONST;
                                  ^
4 errors generated.
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/mongo-c-driver