+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/WCMCommander-0.20.0nb3/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/WCMCommander-0.20.0nb3/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum BLAKE2s OK for WCMCommander-0.20.0.tar.gz
=> Checksum SHA512 OK for WCMCommander-0.20.0.tar.gz
===> Installing dependencies for WCMCommander-0.20.0nb3
==========================================================================
The following variables will affect the build process of this package,
WCMCommander-0.20.0nb3.  Their current value is shown below:

        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /usr/pkg/etc/openssl/certs
        * SSLDIR = /usr/pkg/etc/openssl
        * SSLKEYS = /usr/pkg/etc/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
`/usr/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.26.4
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2023.2
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.15.2nb2
=> Full dependency freetype2>=2.13.0: found freetype2-2.13.1
=> Full dependency libssh2>=1.9.0nb1: found libssh2-1.11.0
=> Full dependency libX11>=1.1: found libX11-1.8.6
===> Overriding tools for WCMCommander-0.20.0nb3
===> Extracting for WCMCommander-0.20.0nb3
===> Patching for WCMCommander-0.20.0nb3
=> Applying pkgsrc patches for WCMCommander-0.20.0nb3
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/WCMCommander/patches/patch-src_tcp__sock.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/WCMCommander/patches/patch-src_tcp__sock.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_tcp__sock.cpp,v 1.2 2015/09/08 13:21:46 wiz Exp $
|
|NetBSD does not have gethostbyname_r() either.
|https://github.com/corporateshark/WCMCommander/pull/509
|
|--- src/tcp_sock.cpp.orig	2015-04-24 21:50:22.000000000 +0000
|+++ src/tcp_sock.cpp
--------------------------
Patching file src/tcp_sock.cpp using Plan A...
Hunk #1 succeeded at 64.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/WCMCommander/patches/patch-src_vfs_vfs.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/WCMCommander/patches/patch-src_vfs_vfs.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_vfs_vfs.cpp,v 1.2 2015/09/08 13:21:46 wiz Exp $
|
|Use BSD headers on NetBSD, and use statvfs (statfs was removed).
|https://github.com/corporateshark/WCMCommander/pull/509
|
|--- src/vfs/vfs.cpp.orig	2015-04-24 21:50:22.000000000 +0000
|+++ src/vfs/vfs.cpp
--------------------------
Patching file src/vfs/vfs.cpp using Plan A...
Hunk #1 succeeded at 1113.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/WCMCommander/patches/patch-src_wal_wal__sys__api.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/WCMCommander/patches/patch-src_wal_wal__sys__api.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_wal_wal__sys__api.cpp,v 1.2 2015/09/08 13:21:46 wiz Exp $
|
|Handle NetBSD like the other BSDs.
|https://github.com/corporateshark/WCMCommander/pull/509
|
|--- src/wal/wal_sys_api.cpp.orig	2015-04-24 21:50:22.000000000 +0000
|+++ src/wal/wal_sys_api.cpp
--------------------------
Patching file src/wal/wal_sys_api.cpp using Plan A...
Hunk #1 succeeded at 394.
done
===> Creating toolchain wrappers for WCMCommander-0.20.0nb3
===> Configuring for WCMCommander-0.20.0nb3
=> Fixing CMAKE_MODULE_PATH 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 4.8.5
-- The CXX compiler identification is GNU 4.8.5
CMake Warning (dev) at /usr/pkg/share/cmake-3.26/Modules/Platform/Linux.cmake:86 (include):
  File /usr/pkg/share/cmake-3.26/Modules/Platform/Linux.cmake includes
  /home/pbulk/build/sysutils/WCMCommander/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.26/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):
  /usr/pkg/share/cmake-3.26/Modules/CMakeSystemSpecificInformation.cmake:45 (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/sysutils/WCMCommander/work/.cwrapper/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: /home/pbulk/build/sysutils/WCMCommander/work/.cwrapper/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at CMakeLists.txt:2 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 2.8.12 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 CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found X11: /home/pbulk/build/sysutils/WCMCommander/work/.buildlink/include   
-- Looking for XOpenDisplay in /home/pbulk/build/sysutils/WCMCommander/work/.buildlink/lib/libX11.so
-- Looking for XOpenDisplay in /home/pbulk/build/sysutils/WCMCommander/work/.buildlink/lib/libX11.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found Freetype: /home/pbulk/build/sysutils/WCMCommander/work/.buildlink/lib/libfreetype.so (found version "2.13.1") 
-- Freetype support enabled
-- Found SSH2: /home/pbulk/build/sysutils/WCMCommander/work/.buildlink/lib/libssh2.so  
-- libssh2 support enabled
-- smbclient support disabled
-- Configuring done (3.4s)
-- Generating done (0.0s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_MANDIR


-- Build files have been written to: /home/pbulk/build/sysutils/WCMCommander/work/WCMCommander-release-0.20.0
=> Rewrite cmake Dependencies files