+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=54 WRKLOG=/tmp/bulklog/prosody-0.12.4/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=54 WRKLOG=/tmp/bulklog/prosody-0.12.4/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for prosody-0.12.4.tar.gz
=> Checksum SHA512 OK for prosody-0.12.4.tar.gz
===> Installing dependencies for prosody-0.12.4
==========================================================================
The following variables will affect the build process of this package,
prosody-0.12.4.  Their current value is shown below:

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

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

        * CURSES_TYPE = ncurses
        * LUA_PACKAGE = lua54
        * 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/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency lua54-expat>=1.2: found lua54-expat-1.5.1
=> Full dependency lua54-filesystem>=1.6.2: found lua54-filesystem-1.8.0
=> Full dependency lua54-sec>=0.3.3: found lua54-sec-1.3.1nb1
=> Full dependency lua54-socket>=2.0: found lua54-socket-3.0rc1nb5
=> Full dependency lua54-unbound-[0-9]*: found lua54-unbound-1.0.0nb3
=> Full dependency libidn>=1.38nb1: found libidn-1.42
=> Full dependency lua54>=5.4.0<5.5: found lua54-5.4.6nb1
=> Full dependency openssl>=3: found openssl-3.1.5
=> Full dependency icu>=74.1: found icu-74.2
===> Overriding tools for prosody-0.12.4
===> Extracting for prosody-0.12.4
===> Patching for prosody-0.12.4
=> Applying pkgsrc patches for prosody-0.12.4
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/prosody/patches/patch-makefile
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/prosody/patches/patch-makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-makefile,v 1.2 2022/05/08 21:24:12 khorben Exp $
|
|Fix installation directories and scripts
|
|--- makefile.orig	2022-03-08 12:34:39.594708341 +0000
|+++ makefile
--------------------------
Patching file makefile using Plan A...
Hunk #1 succeeded at 6.
Hunk #2 succeeded at 33.
Hunk #3 succeeded at 65.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/prosody/patches/patch-prosody.cfg.lua.dist
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/prosody/patches/patch-prosody.cfg.lua.dist
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-prosody.cfg.lua.dist,v 1.2 2022/05/08 21:24:12 khorben Exp $
|
|set the logging paths
|set up the pid files
|
|--- prosody.cfg.lua.dist.orig	2022-03-08 12:34:39.594708341 +0000
|+++ prosody.cfg.lua.dist
--------------------------
Patching file prosody.cfg.lua.dist using Plan A...
Hunk #1 succeeded at 183.
Hunk #2 succeeded at 205.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/prosody/patches/patch-util-src_pposix.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/prosody/patches/patch-util-src_pposix.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-util-src_pposix.c,v 1.1 2022/05/08 21:24:12 khorben Exp $
|
|--- util-src/pposix.c.orig	2022-03-08 12:34:39.594708341 +0000
|+++ util-src/pposix.c
--------------------------
Patching file util-src/pposix.c using Plan A...
Hunk #1 succeeded at 38.
done
===> Creating toolchain wrappers for prosody-0.12.4
/usr/bin/ln -s /home/pbulk/build/chat/prosody/work/.buildlink/lib/pkgconfig/lua-5.4.pc /home/pbulk/build/chat/prosody/work/.buildlink/lib/pkgconfig/lua.pc
===> Configuring for prosody-0.12.4
=> Fixing default paths
=> Replacing lua interpreter in prosody prosodyctl.
=> Checking for portability problems in extracted files
Lua version detected: 5.4
Lua interpreter found: /home/pbulk/build/chat/prosody/work/.buildlink/bin/lua...
Looking for lua.h at /opt/pkg/include/lua-5.4/lua.h...found
Checking if Lua header version matches that of the interpreter... yes
Writing configuration...

Installation prefix: /opt/pkg
Prosody configuration directory: /etc/opt/pkg/prosody
Using Lua from: /home/pbulk/build/chat/prosody/work/.buildlink

Done. You can now run 'make' to build.