+ 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/spek-0.8.2nb21/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/spek-0.8.2nb21/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for spek-0.8.2.tar.xz
=> Checksum SHA512 OK for spek-0.8.2.tar.xz
===> Installing dependencies for spek-0.8.2nb21
==========================================================================
The following variables will affect the build process of this package,
spek-0.8.2nb21.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg

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

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg

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 glib2-tools-[0-9]*: found glib2-tools-2.70.5
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency intltool>=0.40.0: found intltool-0.51.0nb6
=> Tool dependency gmake>=3.81: found gmake-4.3nb3
=> Tool dependency gettext-tools>=0.15: found gettext-tools-0.21nb3
=> Tool dependency perl>=5.0: found perl-5.34.1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2022.1
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.15.2
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency ffmpeg4>=4.4nb10: found ffmpeg4-4.4.2
=> Full dependency desktop-file-utils>=0.10nb1: found desktop-file-utils-0.26nb1
=> Full dependency wxGTK30>=3.0.5.1nb4: found wxGTK30-3.0.5.1nb5
===> Overriding tools for spek-0.8.2nb21
===> Extracting for spek-0.8.2nb21
===> Patching for spek-0.8.2nb21
=> Applying pkgsrc patches for spek-0.8.2nb21
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/spek/patches/patch-src_spek-audio.cc
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/spek/patches/patch-src_spek-audio.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_spek-audio.cc,v 1.1 2020/04/23 16:12:57 nia Exp $
|
|Fix build with ffmpeg>3.
|
|From FreeBSD Ports.
|
|--- src/spek-audio.cc.orig	2013-02-23 02:58:12.000000000 +0000
|+++ src/spek-audio.cc
--------------------------
Patching file src/spek-audio.cc using Plan A...
Hunk #1 succeeded at 199.
Hunk #2 succeeded at 215.
Hunk #3 succeeded at 224.
Hunk #4 succeeded at 255.
Hunk #5 succeeded at 299.
Hunk #6 succeeded at 307.
done
===> Creating toolchain wrappers for spek-0.8.2nb21
===> Configuring for spek-0.8.2nb21
=> 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
WARNING: [check-portability.awk] => Found $RANDOM:
WARNING: [check-portability.awk] configure:3712:       INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'

Explanation:
===========================================================================
The variable $RANDOM is not required for a POSIX-conforming shell, and
many implementations of /bin/sh do not support it. It should therefore
not be used in shell programs that are meant to be portable across a
large number of POSIX-like systems.
===========================================================================

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... ./install-sh -c -d
checking for gawk... /opt/pkg/bin/nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking whether NLS is requested... yes
checking for intltool >= 0.40.0... 0.51.0 found
checking for intltool-update... /home/pbulk/build/audio/spek/work/.tools/bin/intltool-update
checking for intltool-merge... /home/pbulk/build/audio/spek/work/.tools/bin/intltool-merge
checking for intltool-extract... /home/pbulk/build/audio/spek/work/.tools/bin/intltool-extract
checking for xgettext... /home/pbulk/build/audio/spek/work/.tools/bin/xgettext
checking for msgmerge... /home/pbulk/build/audio/spek/work/.tools/bin/msgmerge
checking for msgfmt... /home/pbulk/build/audio/spek/work/.tools/bin/msgfmt
checking for gmsgfmt... /home/pbulk/build/audio/spek/work/.tools/bin/msgfmt
checking for perl... /opt/pkg/bin/perl
checking for perl >= 5.8.1... 5.34.1
checking for XML::Parser... ok
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking the OS... UNIX
checking for valgrind... no
checking for log10 in -lm... yes
checking pkg-config is at least version 0.9.0... yes
checking for FFMPEG... yes
checking for wx-config... /opt/pkg/libexec/wx-3.0/wx-config
checking for wxWidgets version >= 2.8.0... yes (version 3.0.5)
checking for wxWidgets static library... no
checking for msgfmt... (cached) /home/pbulk/build/audio/spek/work/.tools/bin/msgfmt
checking for gmsgfmt... (cached) /home/pbulk/build/audio/spek/work/.tools/bin/msgfmt
checking for xgettext... (cached) /home/pbulk/build/audio/spek/work/.tools/bin/xgettext
checking for msgmerge... (cached) /home/pbulk/build/audio/spek/work/.tools/bin/msgmerge
configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/spek.desktop.in
config.status: creating data/Makefile
config.status: creating data/icons/Makefile
config.status: creating data/icons/16x16/Makefile
config.status: creating data/icons/22x22/Makefile
config.status: creating data/icons/24x24/Makefile
config.status: creating data/icons/32x32/Makefile
config.status: creating data/icons/48x48/Makefile
config.status: creating data/icons/scalable/Makefile
config.status: creating dist/osx/Info.plist
config.status: creating dist/win/spek.wxs
config.status: creating man/Makefile
config.status: creating man/spek.1
config.status: creating po/Makefile.in
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating web/version
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing po/stamp-it commands
configure: WARNING: unrecognized options: --with-libiconv-prefix
=> Overriding intltool.