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

        * JPEG_DEFAULT = jpeg

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

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg

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 glib2-tools-[0-9]*: found glib2-tools-2.78.4
=> 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 xorgproto>=2016.1: found xorgproto-2023.2
=> Build dependency xcb-proto>=1.15.2nb3: found xcb-proto-1.16.0nb1
=> Full dependency bzip2>=1.0.3: found bzip2-1.0.8
=> Full dependency SDL_mixer>=1.2.12nb6: found SDL_mixer-1.2.12nb7
=> Full dependency SDL>=1.2.15nb17: found SDL-1.2.15nb43
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Full dependency gtk2+>=2.24.33nb16: found gtk2+-2.24.33nb16
=> Full dependency jpeg>=9: found jpeg-9e
===> Overriding tools for ecwolf-1.3.3nb7
===> Extracting for ecwolf-1.3.3nb7
===> Patching for ecwolf-1.3.3nb7
=> Applying pkgsrc patches for ecwolf-1.3.3nb7
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/ecwolf/patches/patch-docs_ecwolf.6
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/ecwolf/patches/patch-docs_ecwolf.6
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-docs_ecwolf.6,v 1.1 2021/09/04 10:36:29 nia Exp $
|
|Backport man page from git repository.
|
|--- docs/ecwolf.6.orig	2021-09-04 10:14:48.201844947 +0000
|+++ docs/ecwolf.6
--------------------------
(Creating file docs/ecwolf.6...)
Patching file docs/ecwolf.6 using Plan A...
Empty context always matches.
Hunk #1 succeeded at 1.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/ecwolf/patches/patch-src_wl__iwad__picker.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/ecwolf/patches/patch-src_wl__iwad__picker.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_wl__iwad__picker.cpp,v 1.1 2021/09/04 10:36:29 nia Exp $
|
|Missing include for WIFEXITED.
|
|--- src/wl_iwad_picker.cpp.orig	2016-10-01 04:13:53.000000000 +0000
|+++ src/wl_iwad_picker.cpp
--------------------------
Patching file src/wl_iwad_picker.cpp using Plan A...
Hunk #1 succeeded at 1.
done
===> Creating toolchain wrappers for ecwolf-1.3.3nb7
===> Configuring for ecwolf-1.3.3nb7
=> Substituting "paths" in docs/ecwolf.6 src/wl_iwad.cpp
/usr/bin/sed -e 's,@PREFIX@,/opt/pkg,g' < /data/jenkins/workspace/pkgsrc-upstream-trunk/games/ecwolf/files/ecwolf.sh.in >  /home/pbulk/build/games/ecwolf/work/ecwolf-ecwolf-d715e0a2f8d4/ecwolf.sh
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt".
=> Checking for portability problems in extracted files
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.


-- 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/games/ecwolf/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:2 (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/games/ecwolf/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/games/ecwolf/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found ZLIB: /home/pbulk/build/games/ecwolf/work/.buildlink/lib/libz.so (found version "1.3.1")  
-- Found BZip2: /home/pbulk/build/games/ecwolf/work/.buildlink/lib/libbz2.so (found version "1.0.8") 
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- Found JPEG: /home/pbulk/build/games/ecwolf/work/.buildlink/lib/libjpeg.so (found version "90") 
CMake Deprecation Warning at tools/zipdir/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.


-- /home/pbulk/build/games/ecwolf/work/.buildlink/include
-- /home/pbulk/build/games/ecwolf/work/.buildlink/include
-- /home/pbulk/build/games/ecwolf/work/ecwolf-ecwolf-d715e0a2f8d4/lzma/C
CMake Deprecation Warning at tools/updaterevision/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 Deprecation Warning at wadsrc/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 CMakeLists.txt:27 (get_target_property):
  Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The LOCATION property should not be read from target "zipdir".  Use the
  target name directly with add_custom_command, or use the generator
  expression $<TARGET_FILE>, as appropriate.

Call Stack (most recent call first):
  wadsrc/CMakeLists.txt:3 (add_pk3)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Deprecation Warning at gdtoa/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 gdtoa/CMakeLists.txt:22 (get_target_property):
  Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The LOCATION property should not be read from target "arithchk".  Use the
  target name directly with add_custom_command, or use the generator
  expression $<TARGET_FILE>, as appropriate.

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at gdtoa/CMakeLists.txt:31 (get_target_property):
  Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The LOCATION property should not be read from target "qnan".  Use the
  target name directly with add_custom_command, or use the generator
  expression $<TARGET_FILE>, as appropriate.

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Deprecation Warning at lzma/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 src/CMakeLists.txt:5 (get_target_property):
  Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The LOCATION property should not be read from target "updaterevision".  Use
  the target name directly with add_custom_command, or use the generator
  expression $<TARGET_FILE>, as appropriate.

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found PkgConfig: /home/pbulk/build/games/ecwolf/work/.tools/bin/pkg-config (found version "2.1.1") 
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Found SDL: /home/pbulk/build/games/ecwolf/work/.buildlink/lib/libSDLmain.a;/home/pbulk/build/games/ecwolf/work/.buildlink/lib/libSDL.so (found version "1.2.15") 
-- Found SDL_mixer: /home/pbulk/build/games/ecwolf/work/.buildlink/lib/libSDL_mixer.so (found version "1.2.12") 
-- Looking for stricmp
-- Looking for stricmp - not found
-- Looking for strnicmp
-- Looking for strnicmp - not found
-- Looking for atoll
-- Looking for atoll - found
-- Performing Test HAS_VA_COPY
-- Performing Test HAS_VA_COPY - Success
-- Checking for module 'gtk+-2.0'
--   Found gtk+-2.0, version 2.24.33
-- Configuring done (15.0s)
CMake Warning (dev) at gdtoa/CMakeLists.txt:48 (add_dependencies):
  Policy CMP0046 is not set: Error on non-existent dependency in
  add_dependencies.  Run "cmake --help-policy CMP0046" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  The dependency target "/gd_qnan.h" of target "gdtoa" does not exist.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at gdtoa/CMakeLists.txt:48 (add_dependencies):
  Policy CMP0046 is not set: Error on non-existent dependency in
  add_dependencies.  Run "cmake --help-policy CMP0046" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  The dependency target
  "/home/pbulk/build/games/ecwolf/work/ecwolf-ecwolf-d715e0a2f8d4/gdtoa/arith.h"
  of target "gdtoa" does not exist.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done (0.1s)
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/games/ecwolf/work/ecwolf-ecwolf-d715e0a2f8d4
=> Rewrite cmake Dependencies files