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

        * CURSES_DEFAULT = ncurses

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

        * CURSES_TYPE = ncurses
        * 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 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 guile30>=3.0.8nb1: found guile30-3.0.10
=> Full dependency boehm-gc>=7.4: found boehm-gc-8.2.4
=> Full dependency gmp>=4.2.1: found gmp-6.3.0
=> Full dependency libiconv>=1.9.1: found libiconv-1.17
=> Full dependency libatomic_ops>=7.4.0<2000: found libatomic_ops-7.8.2
=> Full dependency libffi>=1.20: found libffi-3.4.6
=> Full dependency libltdl>=2.4.2: found libltdl-2.4.7
=> Full dependency libunistring>=0.9.3: found libunistring-1.2
=> Full dependency ncurses>=5.3nb1: found ncurses-6.5
=> Full dependency readline>=2.2: found readline-8.2nb2
===> Overriding tools for guile-commonmark-0.1.2nb1
===> Extracting for guile-commonmark-0.1.2nb1
===> Patching for guile-commonmark-0.1.2nb1
=> Applying pkgsrc patches for guile-commonmark-0.1.2nb1
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/textproc/guile-commonmark/patches/patch-configure
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/textproc/guile-commonmark/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.1 2022/03/14 11:46:29 nikita Exp $
|
|Fix Guile 3.0 detection.
|
|--- configure.orig	2022-03-14 12:42:00.824030369 +0100
|+++ configure	2022-03-14 12:42:23.915545954 +0100
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 2455.
done
===> Creating toolchain wrappers for guile-commonmark-0.1.2nb1
/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/textproc/guile-commonmark/work/.cwrapper/specs.pkgsrc
===> Configuring for guile-commonmark-0.1.2nb1
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
configure: WARNING: unrecognized options: --with-libiconv-prefix
checking for a BSD-compatible install... /opt/local/bin/bsdinstall -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... /usr/bin/nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking pkg-config is at least version 0.9.0... yes
configure: checking for guile 3.0
configure: found guile 3.0
checking for guile-3.0... no
checking for guile3.0... no
checking for guile-3... no
checking for guile3... no
checking for guile... /home/pbulk/build/textproc/guile-commonmark/work/.buildlink/bin/guile
configure: error: found development files for Guile 3.0, but /home/pbulk/build/textproc/guile-commonmark/work/.buildlink/bin/guile has effective version 
*** Error code 1

Stop.
bmake[1]: stopped making "configure" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/textproc/guile-commonmark
*** Error code 1

Stop.
bmake: stopped making "configure" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/textproc/guile-commonmark