+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=52 WRKLOG=/tmp/bulklog/ossec-agent-2.9.3/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=52 WRKLOG=/tmp/bulklog/ossec-agent-2.9.3/work.log
=> Checksum SHA1 OK for ossec-hids-2.9.3.tar.gz
=> Checksum RMD160 OK for ossec-hids-2.9.3.tar.gz
=> Checksum SHA512 OK for ossec-hids-2.9.3.tar.gz
===> Installing dependencies for ossec-agent-2.9.3
==========================================================================
The following variables will affect the build process of this package,
ossec-agent-2.9.3.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses
        * LUA_VERSION_DEFAULT = 54
        * READLINE_DEFAULT = readline
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /opt/local/etc/openssl/certs
        * SSLDIR = /opt/local/etc/openssl
        * SSLKEYS = /opt/local/etc/openssl/private

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

        * CURSES_TYPE = ncurses
        * LUA_PACKAGE = lua52
        * READLINE_TYPE = readline
        * TERMCAP_TYPE = curses

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/local/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0
=> 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 lua52>=5.2.0<5.3: found lua52-5.2.4nb1
=> Full dependency openssl>=3: found openssl-3.3.2
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Full dependency ncurses>=5.3nb1: found ncurses-6.5
=> Full dependency readline>=2.2: found readline-8.2nb2
===> Overriding tools for ossec-agent-2.9.3
===> Extracting for ossec-agent-2.9.3
/opt/local/bin/bsdinstall -c -o pbulk -g pbulk -m 644 /data/jenkins/workspace/pkgsrc-trunk-x86_64/joyent/ossec-agent/../../joyent/ossec-server/files/Config.OS /home/pbulk/build/joyent/ossec-agent/work/ossec-hids-2.9.3/src/Config.OS
===> Patching for ossec-agent-2.9.3
=> Applying pkgsrc patches for ossec-agent-2.9.3
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/joyent/ossec-agent/../../joyent/ossec-server/patches/patch-etc_ossec-local.conf
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/joyent/ossec-agent/../../joyent/ossec-server/patches/patch-etc_ossec-local.conf
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD$
|
|--- etc/ossec-local.conf.orig	2017-08-09 12:15:46.000000000 +0000
|+++ etc/ossec-local.conf
--------------------------
Patching file etc/ossec-local.conf using Plan A...
Hunk #1 succeeded at 2.
done
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/joyent/ossec-agent/../../joyent/ossec-server/patches/patch-etc_ossec-server.conf
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/joyent/ossec-agent/../../joyent/ossec-server/patches/patch-etc_ossec-server.conf
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD$
|
|--- etc/ossec-server.conf.orig	2017-08-09 12:15:46.000000000 +0000
|+++ etc/ossec-server.conf
--------------------------
Patching file etc/ossec-server.conf using Plan A...
Hunk #1 succeeded at 2.
done
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/joyent/ossec-agent/../../joyent/ossec-server/patches/patch-src_Makefile
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/joyent/ossec-agent/../../joyent/ossec-server/patches/patch-src_Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD$
|
|--- src/Makefile.orig	2017-08-09 12:15:46.000000000 +0000
|+++ src/Makefile
--------------------------
Patching file src/Makefile using Plan A...
Hunk #1 succeeded at 41.
Hunk #2 succeeded at 53.
Hunk #3 succeeded at 343.
Hunk #4 succeeded at 355.
Hunk #5 succeeded at 615.
Hunk #6 succeeded at 628.
done
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/joyent/ossec-agent/../../joyent/ossec-server/patches/patch-src_os__dbd_dbmake.sh
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/joyent/ossec-agent/../../joyent/ossec-server/patches/patch-src_os__dbd_dbmake.sh
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD$
|
|Let us control MySQL & PostgreSQL support.
|--- src/os_dbd/dbmake.sh.orig	2017-08-09 12:15:46.000000000 +0000
|+++ src/os_dbd/dbmake.sh
--------------------------
Patching file src/os_dbd/dbmake.sh using Plan A...
Hunk #1 succeeded at 7.
Hunk #2 succeeded at 44.
done
===> Creating toolchain wrappers for ossec-agent-2.9.3
/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/joyent/ossec-agent/work/.cwrapper/specs.pkgsrc
===> Configuring for ossec-agent-2.9.3
=> Fixing default paths