+ 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/ocsync-0.90.4nb30/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ocsync-0.90.4nb30/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for ocsync-0.90.4.tar.bz2
=> Checksum SHA512 OK for ocsync-0.90.4.tar.bz2
===> Installing dependencies for ocsync-0.90.4nb30
==========================================================================
The following variables will affect the build process of this package,
ocsync-0.90.4nb30.  Their current value is shown below:

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

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

        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = mit-krb5

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 bsdtar-[0-9]*: found bsdtar-3.7.2
=> Tool dependency cmake>=3.18: found cmake-3.28.3
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency sqlite3>=3.44.0nb1: found sqlite3-3.45.1
=> Full dependency iniparser>=3.1: found iniparser-3.1
=> Full dependency libssh>=0.105nb2: found libssh-0.106
=> Full dependency neon>=0.32.5nb3: found neon-0.33.0
===> Overriding tools for ocsync-0.90.4nb30
===> Extracting for ocsync-0.90.4nb30
===> Patching for ocsync-0.90.4nb30
=> Applying pkgsrc patches for ocsync-0.90.4nb30
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ocsync/patches/patch-cmake_Modules_DefineInstallationPaths.cmake
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ocsync/patches/patch-cmake_Modules_DefineInstallationPaths.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-cmake_Modules_DefineInstallationPaths.cmake,v 1.2 2017/08/19 00:23:36 jlam Exp $
|
|* Fix man pages destination
|
|--- cmake/Modules/DefineInstallationPaths.cmake.orig	2013-10-18 13:11:09.000000000 +0000
|+++ cmake/Modules/DefineInstallationPaths.cmake
--------------------------
Patching file cmake/Modules/DefineInstallationPaths.cmake using Plan A...
Hunk #1 succeeded at 83.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ocsync/patches/patch-cmake_Modules_FindLibSSH.cmake
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ocsync/patches/patch-cmake_Modules_FindLibSSH.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-cmake_Modules_FindLibSSH.cmake,v 1.1 2021/01/13 09:40:40 nia Exp $
|
|Fix detecting the libssh version in newer releases.
|
|--- cmake/Modules/FindLibSSH.cmake.orig	2013-10-18 13:11:09.000000000 +0000
|+++ cmake/Modules/FindLibSSH.cmake
--------------------------
Patching file cmake/Modules/FindLibSSH.cmake using Plan A...
Hunk #1 succeeded at 58.
Hunk #2 succeeded at 75.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ocsync/patches/patch-config_CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ocsync/patches/patch-config_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-config_CMakeLists.txt,v 1.1 2013/11/22 12:01:13 ryoon Exp $
|
|* Install config file with pkgsrc way
|
|--- config/CMakeLists.txt.orig	2013-10-18 13:11:09.000000000 +0000
|+++ config/CMakeLists.txt
--------------------------
Patching file config/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 3.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ocsync/patches/patch-src_csync__log.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ocsync/patches/patch-src_csync__log.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_csync__log.h,v 1.1 2021/01/13 09:40:40 nia Exp $
|
|Fix build with gcc>=5, use c99-compliant identifier.
|
|--- src/csync_log.h.orig	2013-10-18 13:11:09.000000000 +0000
|+++ src/csync_log.h
--------------------------
Patching file src/csync_log.h using Plan A...
Hunk #1 succeeded at 61.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ocsync/patches/patch-src_httpbf_src_httpbf.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ocsync/patches/patch-src_httpbf_src_httpbf.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_httpbf_src_httpbf.c,v 1.1 2021/01/13 09:40:40 nia Exp $
|
|Fix build with gcc>=5, use c99-compliant identifier.
|
|--- src/httpbf/src/httpbf.c.orig	2013-10-18 13:11:09.000000000 +0000
|+++ src/httpbf/src/httpbf.c
--------------------------
Patching file src/httpbf/src/httpbf.c using Plan A...
Hunk #1 succeeded at 42.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ocsync/patches/patch-src_std_c__string.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ocsync/patches/patch-src_std_c__string.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_std_c__string.c,v 1.2 2019/10/24 22:28:46 kamil Exp $
|
|* For NetBSD iconv(3), this should be fixed for GNU iconv and NetBSD case.
|
|--- src/std/c_string.c.orig	2013-10-18 13:11:09.000000000 +0000
|+++ src/std/c_string.c
--------------------------
Patching file src/std/c_string.c using Plan A...
Hunk #1 succeeded at 40.
Hunk #2 succeeded at 92.
done
===> Creating toolchain wrappers for ocsync-0.90.4nb30
===> Configuring for ocsync-0.90.4nb30
cd /home/pbulk/build/net/ocsync/work/ocsync-0.90.4 && mkdir ../build
cd /home/pbulk/build/net/ocsync/work/ocsync-0.90.4/config && /bin/cp ocsync.conf ocsync.conf.default
cd /home/pbulk/build/net/ocsync/work/ocsync-0.90.4/config && /bin/cp ocsync_exclude.conf  ocsync_exclude.conf.default
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt".
=> Checking for portability problems in extracted files
CMake Warning (dev) at CMakeLists.txt:1 (project):
  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
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/ocsync/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:1 (project)
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/ocsync/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Deprecation Warning at CMakeLists.txt:4 (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.


-- Performing Test WITH_FPIC
-- Performing Test WITH_FPIC - Success
-- Performing Test WITH_STACK_PROTECTOR
-- Performing Test WITH_STACK_PROTECTOR - Success
-- Performing Test ICONV_HAVE_WERROR
-- Performing Test ICONV_HAVE_WERROR - Success
-- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST
-- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST - Success
-- Found Iconv: /home/pbulk/build/net/ocsync/work/.buildlink/lib/libiconv.so
-- Could NOT find CMocka (missing: CMOCKA_LIBRARIES CMOCKA_INCLUDE_DIR) 
-- Looking for argp.h
-- Looking for argp.h - not found
-- Looking for nanosleep in rt
-- Looking for nanosleep in rt - found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Looking for asprintf
-- Looking for asprintf - found
-- Looking for fnmatch
-- Looking for fnmatch - found
-- Looking for timegm
-- Looking for timegm - found
-- Looking for strerror_r
-- Looking for strerror_r - found
-- Looking for utimes
-- Looking for utimes - found
-- Looking for lstat
-- Looking for lstat - found
-- The CXX compiler identification is GNU 13.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/pbulk/build/net/ocsync/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
    Reason given by package: The command
      "/home/pbulk/build/net/ocsync/work/.tools/bin/pkg-config" --version
    failed with output:

    stderr: 
      
    result: 
1

-- Found Neon: /opt/pkg/lib/libneon.so  
-- neon-config executable: /opt/pkg/bin/neon-config
-- libneon has not been compiled with LFS support, rely on OS
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
    Reason given by package: The command
      "/home/pbulk/build/net/ocsync/work/.tools/bin/pkg-config" --version
    failed with output:

    stderr: 
      
    result: 
1

-- Found SQLite3: /home/pbulk/build/net/ocsync/work/.buildlink/lib/libsqlite3.so
-- Found Iniparser: /opt/pkg/lib/libiniparser.so  
-- Found LibSSH: /home/pbulk/build/net/ocsync/work/.buildlink/lib/libssh.so (Required is at least version "0.4.0") 
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
    Reason given by package: The command
      "/home/pbulk/build/net/ocsync/work/.tools/bin/pkg-config" --version
    failed with output:

    stderr: 
      
    result: 
1

-- neon-config executable: /opt/pkg/bin/neon-config
-- libneon has not been compiled with LFS support, rely on OS
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- Configuring done (29.5s)
-- Generating done (0.1s)
-- Build files have been written to: /home/pbulk/build/net/ocsync/work/build
=> Rewrite cmake Dependencies files