+ 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/guile-commonmark-0.1.2nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/guile-commonmark-0.1.2nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> 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/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.2.0nb1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency guile30>=3.0.8nb1: found guile30-3.0.9nb1
===> 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-upstream-bulktest/textproc/guile-commonmark/patches/patch-configure
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/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
===> 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
=> Checking for portability problems in extracted files
configure: WARNING: unrecognized options: --with-libiconv-prefix
checking for a BSD-compatible install... /opt/pkg/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 in /data/jenkins/workspace/pkgsrc-upstream-bulktest/textproc/guile-commonmark
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/textproc/guile-commonmark