+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/unicorn-2.1.1/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/unicorn-2.1.1/work.log
=> Checksum BLAKE2s OK for unicorn-2.1.1.tar.gz
=> Checksum SHA512 OK for unicorn-2.1.1.tar.gz
===> Installing dependencies for unicorn-2.1.1
=> Tool dependency cmake>=0: found cmake-3.31.1
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.82.2
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency gcc13>=13.1.0: found gcc13-13.3.0
=> Full dependency gcc13-libs>=13.2.0: found gcc13-libs-13.3.0
=> Full dependency glib2>=2.76.4nb1: found glib2-2.82.2
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5
=> Full dependency libiconv>=1.9.1: found libiconv-1.17
=> Full dependency libffi>=1.20: found libffi-3.4.6
=> Full dependency pcre2>=10.21: found pcre2-10.44
=> Full dependency zlib>=1.1.4: found zlib-1.3.1
===> Overriding tools for unicorn-2.1.1
===> Extracting for unicorn-2.1.1
===> Patching for unicorn-2.1.1
=> Applying pkgsrc patches for unicorn-2.1.1
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/emulators/unicorn/../../emulators/unicorn/patches/patch-cmake_bundle__static.cmake
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/emulators/unicorn/../../emulators/unicorn/patches/patch-cmake_bundle__static.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-cmake_bundle__static.cmake,v 1.1 2024/11/04 19:05:18 adam Exp $
|
|Use proper libtool on Darwin.
|
|--- cmake/bundle_static.cmake.orig	2023-05-10 19:31:11.000000000 +0000
|+++ cmake/bundle_static.cmake
--------------------------
Patching file cmake/bundle_static.cmake using Plan A...
Hunk #1 succeeded at 44.
Hunk #2 succeeded at 110.
done
===> Creating toolchain wrappers for unicorn-2.1.1
/usr/bin/sed  -e '/^#/d'  -e 's,@LINK_ARCH_DEFAULT@,link_arch64,g'  -e 's,@LINK_LIBGCC_DEFAULT@,link_libgcc_arch64,g'  -e 's,@LIBGCC_PREFIX@,/opt/local/gcc13/x86_64-sun-solaris2.11,g'  < ../../extra/gcc13-libs/files/specs.pkgsrc  > /home/pbulk/build-disk/emulators/unicorn/work/.cwrapper/specs.pkgsrc
===> Configuring for unicorn-2.1.1
CMake Deprecation Warning at CMakeLists.txt:4 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


-- The C compiler identification is GNU 13.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build-disk/emulators/unicorn/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
Disabling PIE due to missing toolchain support

ERROR: Solaris install program not found. Use --install=/usr/ucb/install or
       install fileutils from www.blastwave.org using pkg-get -i fileutils
       to get ginstall which is used by default (which lives in /opt/csw/bin)

-- Configuring done (19.0s)
-- Generating done (1.1s)
CMake Warning:
  Manually-specified variables were not used by the project:

    FETCHCONTENT_FULLY_DISCONNECTED


-- Build files have been written to: /home/pbulk/build-disk/emulators/unicorn/work/unicorn-2.1.1/cmake-pkgsrc-build