+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=310 WRKLOG=/tmp/bulklog/mongodb-3.0.11/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=310 WRKLOG=/tmp/bulklog/mongodb-3.0.11/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum SHA1 OK for mongodb-src-r3.0.11.tar.gz
=> Checksum RMD160 OK for mongodb-src-r3.0.11.tar.gz
=> Checksum SHA512 OK for mongodb-src-r3.0.11.tar.gz
===> Installing dependencies for mongodb-3.0.11
==========================================================================
The supported build options for mongodb are:

	ssl

The currently selected options are:

	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.mongodb (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
mongodb-3.0.11.  Their current value is shown below:

        * MONGODB_DBPATH = /var/mongodb
        * MONGODB_GROUP = mongodb
        * MONGODB_LOGPATH = /var/log/mongodb
        * MONGODB_USER = mongodb
        * PYTHON_VERSION_DEFAULT = 310
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /opt/local/etc/openssl/certs
        * SSLDIR = /opt/local/etc/openssl
        * SSLKEYS = /opt/local/etc/openssl/private
        * VARBASE = /var

Based on these variables, the following variables have been set:

        * PYPACKAGE = python310

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/opt/local/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency py310-scons>=3.0.2: found py310-scons-3.1.2nb4
=> Build dependency boost-headers-1.78.*: found boost-headers-1.78.0
=> Build dependency gcc12>=12.2.0: found gcc12-12.2.0
=> Full dependency python310>=3.10: found python310-3.10.9
=> Full dependency openssl>=1.1.1pnb1: found openssl-1.1.1u
=> Full dependency boost-libs-1.78.*: found boost-libs-1.78.0nb3
=> Full dependency py310-boost-1.78.*: found py310-boost-1.78.0
=> Full dependency pcre>=8.30nb1: found pcre-8.45
=> Full dependency snappy>=1.0.5: found snappy-1.1.9
=> Full dependency libpcap>=1.3.0nb1: found libpcap-1.10.1
=> Full dependency gcc12-libs>=12.2.0: found gcc12-libs-12.2.0
===> Overriding tools for mongodb-3.0.11
===> Extracting for mongodb-3.0.11
chmod -R g-w /home/pbulk/build/joyent/mongodb30/work/mongodb-src-r3.0.11
===> Patching for mongodb-3.0.11
=> Applying pkgsrc patches for mongodb-3.0.11
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/joyent/mongodb30/patches/patch-debian_mongod.conf
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/joyent/mongodb30/patches/patch-debian_mongod.conf
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-debian_mongod.conf,v 1.2 2015/10/18 05:45:37 ryoon Exp $
|
|Use proper paths in default config file.
|--- debian/mongod.conf.orig	2015-10-12 20:46:18.000000000 +0000
|+++ debian/mongod.conf
--------------------------
Patching file debian/mongod.conf using Plan A...
Hunk #1 succeeded at 5.
Hunk #2 succeeded at 16.
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/joyent/mongodb30/patches/patch-SConstruct
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/joyent/mongodb30/patches/patch-SConstruct
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-SConstruct,v 1.2 2015/05/05 15:54:49 joerg Exp $
|
|Add support for NetBSD/Dragonfly, fix locations.
|--- SConstruct.orig	2015-04-08 20:28:08.000000000 +0000
|+++ SConstruct
--------------------------
Patching file SConstruct using Plan A...
Hunk #1 succeeded at 55 (offset 2 lines).
Hunk #2 succeeded at 69 (offset 2 lines).
Hunk #3 succeeded at 640 (offset 63 lines).
Hunk #4 succeeded at 859 (offset 4 lines).
Hunk #5 succeeded at 931 (offset 63 lines).
Hunk #6 succeeded at 1050 (offset 11 lines).
Hunk #7 succeeded at 2314 (offset 129 lines).
Hunk #8 succeeded at 2447 (offset 16 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/joyent/mongodb30/patches/patch-src_mongo_base_initializer.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/joyent/mongodb30/patches/patch-src_mongo_base_initializer.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_mongo_base_initializer.h,v 1.1 2015/05/02 08:10:33 ryoon Exp $
|
|Fixes at least SunOS.
|--- src/mongo/base/initializer.h.orig	2014-04-07 00:36:57.000000000 +0000
|+++ src/mongo/base/initializer.h
--------------------------
Patching file src/mongo/base/initializer.h using Plan A...
Hunk #1 succeeded at 29 (offset 12 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/joyent/mongodb30/patches/patch-src_mongo_db_repl_isself.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/joyent/mongodb30/patches/patch-src_mongo_db_repl_isself.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_mongo_db_repl_isself.c,v 1.2 2015/08/26 05:03:00 fhajny Exp $
|
|* Add NetBSD support.
|
|--- src/mongo/db/repl/isself.cpp.orig	2015-08-24 00:39:52.000000000 +0000
|+++ src/mongo/db/repl/isself.cpp
--------------------------
Patching file src/mongo/db/repl/isself.cpp using Plan A...
Hunk #1 succeeded at 48.
Hunk #2 succeeded at 61.
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/joyent/mongodb30/patches/patch-src_mongo_platform_random.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/joyent/mongodb30/patches/patch-src_mongo_platform_random.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_mongo_platform_random.cpp,v 1.2 2015/08/26 05:03:00 fhajny Exp $
|
|Add NetBSD support.
|--- src/mongo/platform/random.cpp.orig	2015-08-24 00:39:52.000000000 +0000
|+++ src/mongo/platform/random.cpp
--------------------------
Patching file src/mongo/platform/random.cpp using Plan A...
Hunk #1 succeeded at 108 (offset -8 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/joyent/mongodb30/patches/patch-src_mongo_shell_linenoise__utf8.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/joyent/mongodb30/patches/patch-src_mongo_shell_linenoise__utf8.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_mongo_shell_linenoise__utf8.h,v 1.2 2015/08/26 05:03:00 fhajny Exp $
|
|Use Boost swap instead of std. Fixes build on SunOS.
|--- src/mongo/shell/linenoise_utf8.h.orig	2015-08-24 00:39:52.000000000 +0000
|+++ src/mongo/shell/linenoise_utf8.h
--------------------------
Patching file src/mongo/shell/linenoise_utf8.h using Plan A...
Hunk #1 succeeded at 27.
Hunk #2 succeeded at 174.
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/joyent/mongodb30/patches/patch-src_third__party_s2_base_port.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/joyent/mongodb30/patches/patch-src_third__party_s2_base_port.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_third__party_s2_base_port.h,v 1.1 2015/05/02 08:10:33 ryoon Exp $
|
|* Add NetBSD support.
|
|--- src/third_party/s2/base/port.h.orig	2015-04-08 20:28:08.000000000 +0000
|+++ src/third_party/s2/base/port.h
--------------------------
Patching file src/third_party/s2/base/port.h using Plan A...
Hunk #1 succeeded at 102.
Hunk #2 succeeded at 139.
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/joyent/mongodb30/patches/patch-src_third__party_v8-3.25_SConscript
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/joyent/mongodb30/patches/patch-src_third__party_v8-3.25_SConscript
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_third__party_v8-3.25_SConscript,v 1.1 2015/05/02 08:10:33 ryoon Exp $
|
|* Treat NetBSD like OpenBSD.
|
|--- src/third_party/v8-3.25/SConscript.orig	2015-04-08 20:28:08.000000000 +0000
|+++ src/third_party/v8-3.25/SConscript
--------------------------
Patching file src/third_party/v8-3.25/SConscript using Plan A...
Hunk #1 succeeded at 32.
Hunk #2 succeeded at 313.
Hunk #3 succeeded at 379.
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/joyent/mongodb30/patches/patch-src_third__party_v8-3.25_src_platform_semaphore.cc
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/joyent/mongodb30/patches/patch-src_third__party_v8-3.25_src_platform_semaphore.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_third__party_v8-3.25_src_platform_semaphore.cc,v 1.2 2015/09/08 07:48:19 fhajny Exp $
|
|Work around lack of sem_timedwait(3) in NetBSD < 6.99.4.
|Adapted from d4f11c0cf476dd854eaebec1cbacb1afc7bea18e of the Chromium V8 sources.
|
|--- src/third_party/v8-3.25/src/platform/semaphore.cc.orig	2015-08-24 00:39:52.000000000 +0000
|+++ src/third_party/v8-3.25/src/platform/semaphore.cc
--------------------------
Patching file src/third_party/v8-3.25/src/platform/semaphore.cc using Plan A...
Hunk #1 succeeded at 32.
Hunk #2 succeeded at 134.
Hunk #3 succeeded at 168.
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/joyent/mongodb30/patches/patch-src_third__party_v8-3.25_src_platform-posix.cc
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/joyent/mongodb30/patches/patch-src_third__party_v8-3.25_src_platform-posix.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_third__party_v8-3.25_src_platform-posix.cc,v 1.1 2015/05/02 08:10:33 ryoon Exp $
|
|* Add NetBSD support from lang/nodejs.
|
|--- src/third_party/v8-3.25/src/platform-posix.cc.orig	2015-04-08 20:28:08.000000000 +0000
|+++ src/third_party/v8-3.25/src/platform-posix.cc
--------------------------
Patching file src/third_party/v8-3.25/src/platform-posix.cc using Plan A...
Hunk #1 succeeded at 588.
Hunk #2 succeeded at 610.
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/joyent/mongodb30/patches/patch-src_third__party_wiredtiger_build__netbsd_wiredtiger__config.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/joyent/mongodb30/patches/patch-src_third__party_wiredtiger_build__netbsd_wiredtiger__config.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_third__party_wiredtiger_build__netbsd_wiredtiger__config.h,v 1.1 2015/05/02 08:10:33 ryoon Exp $
|
|* Copy from OpenBSD case.
|
|--- src/third_party/wiredtiger/build_netbsd/wiredtiger_config.h.orig	2015-05-02 04:35:05.000000000 +0000
|+++ src/third_party/wiredtiger/build_netbsd/wiredtiger_config.h
--------------------------
(Creating file src/third_party/wiredtiger/build_netbsd/wiredtiger_config.h...)
Patching file src/third_party/wiredtiger/build_netbsd/wiredtiger_config.h using Plan A...
Empty context always matches.
Hunk #1 succeeded at 1.
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/joyent/mongodb30/patches/patch-src_third__party_wiredtiger_SConscript
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/joyent/mongodb30/patches/patch-src_third__party_wiredtiger_SConscript
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_third__party_wiredtiger_SConscript,v 1.2 2015/06/23 13:31:24 ryoon Exp $
|
|* Add NetBSD case.
|
|--- src/third_party/wiredtiger/SConscript.orig	2015-06-15 15:43:51.000000000 +0000
|+++ src/third_party/wiredtiger/SConscript
--------------------------
Patching file src/third_party/wiredtiger/SConscript using Plan A...
Hunk #1 succeeded at 2.
Hunk #2 succeeded at 32.
done
===> Creating toolchain wrappers for mongodb-3.0.11