+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/grive2-0.5.1nb11/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/grive2-0.5.1nb11/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for grive2-0.5.1.tar.gz
=> Checksum SHA512 OK for grive2-0.5.1.tar.gz
===> Installing dependencies for grive2-0.5.1nb11
==========================================================================
The following variables will affect the build process of this package,
grive2-0.5.1nb11.  Their current value is shown below:

        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/opt/pkg/openssl/certs
        * SSLDIR = /etc/opt/pkg/openssl
        * SSLKEYS = /etc/opt/pkg/openssl/private

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/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=3.18: found cmake-3.28.3
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.1.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency boost-headers-1.84.*: found boost-headers-1.84.0
=> Full dependency libgcrypt>=1.6.0: found libgcrypt-1.10.3
=> Full dependency expat>=2.0.0nb1: found expat-2.6.0
=> Full dependency boost-libs-1.84.*: found boost-libs-1.84.0
=> Full dependency boost-libs>=1.84.0: found boost-libs-1.84.0
=> Full dependency cppunit>=1.10.2nb5: found cppunit-1.15.1
=> Full dependency yajl>=1.0.9: found yajl-2.1.0
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Full dependency curl>=8.4.0nb1: found curl-8.6.0
===> Overriding tools for grive2-0.5.1nb11
===> Extracting for grive2-0.5.1nb11
===> Patching for grive2-0.5.1nb11
=> Applying pkgsrc patches for grive2-0.5.1nb11
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/grive2/patches/patch-libgrive_CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/grive2/patches/patch-libgrive_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libgrive_CMakeLists.txt,v 1.1.1.1 2015/06/16 16:15:37 abs Exp $
|
|currently unit tests are broken
|
|--- libgrive/CMakeLists.txt.orig	2015-06-16 13:59:21.000000000 +0000
|+++ libgrive/CMakeLists.txt
--------------------------
Patching file libgrive/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 104 (offset -7 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/grive2/patches/patch-libgrive_src_util_OS.cc
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/grive2/patches/patch-libgrive_src_util_OS.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libgrive_src_util_OS.cc,v 1.3 2021/04/15 10:43:01 wiz Exp $
|
|Add __NetBSD__ to the 64bit Apple ctimespec stat case
|https://github.com/vitalif/grive2/pull/342
|
|--- libgrive/src/util/OS.cc.orig	2019-11-12 22:05:31.000000000 +0000
|+++ libgrive/src/util/OS.cc
--------------------------
Patching file libgrive/src/util/OS.cc using Plan A...
Hunk #1 succeeded at 59.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/grive2/patches/patch-libgrive_src_util_OS.hh
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/grive2/patches/patch-libgrive_src_util_OS.hh
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libgrive_src_util_OS.hh,v 1.2 2021/04/15 10:43:01 wiz Exp $
|
|off64_t is not universally available.
|https://github.com/vitalif/grive2/pull/342
|
|--- libgrive/src/util/OS.hh.orig	2019-11-12 22:05:31.000000000 +0000
|+++ libgrive/src/util/OS.hh
--------------------------
Patching file libgrive/src/util/OS.hh using Plan A...
Hunk #1 succeeded at 31.
done
===> Creating toolchain wrappers for grive2-0.5.1nb11
===> Configuring for grive2-0.5.1nb11
=> Fix manpath
=> Replacing bash interpreter in systemd/grive-sync.sh.
INFO: [replace-interpreter] Nothing changed in systemd/grive-sync.sh.
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
=> Checking for portability problems in extracted files
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in CMakeLists.txt:
  cmake_minimum_required() should be called prior to this top-level project()
  call.  Please see the cmake-commands(7) manual for usage documentation of
  both commands.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
CMake Warning (dev) at /opt/pkg/share/cmake-3.28/Modules/Platform/SunOS.cmake:34 (include):
  File /opt/pkg/share/cmake-3.28/Modules/Platform/SunOS.cmake includes
  /home/pbulk/build/net/grive2/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /opt/pkg/share/cmake-3.28/Modules/Platform/UnixPaths.cmake.  This may cause
  errors later on .

  Policy CMP0017 is not set: Prefer files from the CMake module directory
  when including from there.  Run "cmake --help-policy CMP0017" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  /opt/pkg/share/cmake-3.28/Modules/CMakeSystemSpecificInformation.cmake:32 (include)
  CMakeLists.txt
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/net/grive2/work/.cwrapper/bin/gcc - 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: /home/pbulk/build/net/grive2/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Warning (dev) at cmake/Modules/FindLibGcrypt.cmake:26 (EXEC_PROGRAM):
  Policy CMP0153 is not set: The exec_program command should not be called.
  Run "cmake --help-policy CMP0153" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  Use execute_process() instead.
Call Stack (most recent call first):
  libgrive/CMakeLists.txt:5 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/Modules/FindLibGcrypt.cmake:28 (EXEC_PROGRAM):
  Policy CMP0153 is not set: The exec_program command should not be called.
  Run "cmake --help-policy CMP0153" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  Use execute_process() instead.
Call Stack (most recent call first):
  libgrive/CMakeLists.txt:5 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found libgcrypt: -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lgcrypt -lgpg-error -lsocket
-- Found CURL: /opt/pkg/lib/libcurl.so (found version "8.6.0")  
-- Found Boost: /home/pbulk/build/net/grive2/work/.buildlink/include (found suitable version "1.84.0", minimum required is "1.40.0") found components: program_options filesystem unit_test_framework regex system 
-- Found CppUnit: /home/pbulk/build/net/grive2/work/.buildlink/lib/libcppunit.so
-- Found PkgConfig: /home/pbulk/build/net/grive2/work/.tools/bin/pkg-config (found version "2.1.1") 
-- Checking for module 'yajl'
--   Found yajl, version 2.1.0
CMake Warning (dev) in libgrive/CMakeLists.txt:
  A logical block opening on the line

    /home/pbulk/build/net/grive2/work/grive2-0.5.1/libgrive/CMakeLists.txt:107 (IF)

  closes on the line

    /home/pbulk/build/net/grive2/work/grive2-0.5.1/libgrive/CMakeLists.txt:127 (ENDIF)

  with mis-matching arguments.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found Boost: /home/pbulk/build/net/grive2/work/.buildlink/include (found version "1.84.0") found components: program_options 
-- Configuring done (6.5s)
-- Generating done (0.0s)
-- Build files have been written to: /home/pbulk/build/net/grive2/work/grive2-0.5.1
=> Rewrite cmake Dependencies files