+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/forked-daapd-27.4nb26/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/forked-daapd-27.4nb26/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for forked-daapd-27.4.tar.xz
=> Checksum SHA512 OK for forked-daapd-27.4.tar.xz
===> Installing dependencies for forked-daapd-27.4nb26
==========================================================================
The supported build options for forked-daapd are:

	alsa avahi pulseaudio

The currently selected options are:

	alsa

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.forked-daapd (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
forked-daapd-27.4nb26.  Their current value is shown below:

        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /usr/pkg/etc/openssl/certs
        * SSLDIR = /usr/pkg/etc/openssl
        * SSLKEYS = /usr/pkg/etc/openssl/private
        * VARBASE = /var

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
`/usr/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.78.1
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.0.3
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2023.2
=> Build dependency xcb-proto>=1.15.2nb3: found xcb-proto-1.16.0nb1
=> Full dependency alsa-lib>=1.2.7.2nb1: found alsa-lib-1.2.10
=> Full dependency confuse>=2.5: found confuse-3.3
=> Full dependency libantlr3c>=3.4: found libantlr3c-3.4
=> Full dependency libevent>=2.1.12nb1: found libevent-2.1.12nb1
=> Full dependency protobuf>=25.0: found protobuf-25.1
=> Full dependency zlib>=1.2.3: found zlib-1.2.13
=> Full dependency sqlite3>=3.44.0nb1: found sqlite3-3.44.2
=> Full dependency avahi>=0.8nb6: found avahi-0.8nb6
=> Full dependency ffmpeg4>=4.4.4nb6: found ffmpeg4-4.4.4nb6
=> Full dependency gnutls>=3.8.1nb2: found gnutls-3.8.2
=> Full dependency libunistring>=1.1: found libunistring-1.1
=> Full dependency libgcrypt>=1.6.0: found libgcrypt-1.10.3
=> Full dependency libsodium>=0.3: found libsodium-1.0.19
=> Full dependency json-c>=0.14: found json-c-0.17
=> Full dependency libplist>=2.2.0nb5: found libplist-2.2.0nb5
=> Full dependency mxml>=2.9: found mxml-2.10
=> Full dependency curl>=8.4.0nb1: found curl-8.5.0
=> Full dependency libwebsockets>=4.3.0nb1: found libwebsockets-4.3.0nb1
===> Overriding tools for forked-daapd-27.4nb26
===> Extracting for forked-daapd-27.4nb26
===> Patching for forked-daapd-27.4nb26
=> Applying pkgsrc patches for forked-daapd-27.4nb26
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/audio/forked-daapd/patches/patch-Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/audio/forked-daapd/patches/patch-Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile.in,v 1.1 2020/11/02 14:00:47 nia Exp $
|
|Install config files to examples.
|
|--- Makefile.in.orig	2020-07-23 22:52:00.000000000 +0000
|+++ Makefile.in
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 602 (offset 2 lines).
done
===> Creating toolchain wrappers for forked-daapd-27.4nb26
===> Configuring for forked-daapd-27.4nb26
=> 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
checking for a BSD-compatible install... /bin/install -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /home/pbulk/build/audio/forked-daapd/work/.tools/bin/mkdir -p
checking for gawk... /bin/gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
checking for x86_64-redhat-linux-gcc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/egrep
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for x86_64-redhat-linux-gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking whether cc understands -c and -o together... (cached) yes
checking dependency style of cc... (cached) gcc3
checking whether cc understands -c and -o together... yes
checking for a sed that does not truncate output... /bin/sed
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by cc... /home/pbulk/build/audio/forked-daapd/work/.cwrapper/bin/ld
checking if the linker (/home/pbulk/build/audio/forked-daapd/work/.cwrapper/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /bin/nm -B
checking the name lister (/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 2097152
checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /home/pbulk/build/audio/forked-daapd/work/.cwrapper/bin/ld option to reload object files... -r
checking for x86_64-redhat-linux-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-redhat-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-redhat-linux-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64-redhat-linux-strip... no
checking for strip... strip
checking for x86_64-redhat-linux-ranlib... no
checking for ranlib... ranlib
checking command to parse /bin/nm -B output from cc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for x86_64-redhat-linux-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... /bin/rm: cannot remove 'conftest*': No such file or directory
yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/home/pbulk/build/audio/forked-daapd/work/.cwrapper/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... /bin/rm: cannot remove 'conftest*': No such file or directory
no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gperf... no
configure:

GNU gperf not found, but it's output appears to be present.
If you modify any gperf or ANTLR grammar files (.g), you will need
to install it.
checking for antlr3... no
configure:

antlr3 not found, but it's output appears to be present.
If you modify any ANTLR grammar files (.g), you will need to install it.
checking for regex.h... yes
checking for pthread_np.h... no
checking for endian.h... yes
checking for sys/endian.h... no
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for stdint.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for posix_fadvise... yes
checking for pipe2... yes
checking for strptime... yes
checking for strtok_r... yes
checking for library containing clock_gettime... none required
checking for library containing timer_settime... none required
checking for library containing pthread_exit... none required
checking for library containing pthread_setname_np... none required
checking for two-parameter pthread_setname_np... yes
checking for library containing uuid_generate_random... no
checking for library containing log10... -lm
checking for library containing lrint... none required
checking for library containing fabs... none required
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for off_t... yes
checking for ld used by cc... /home/pbulk/build/audio/forked-daapd/work/.cwrapper/bin/ld -m elf_x86_64
checking if the linker (/home/pbulk/build/audio/forked-daapd/work/.cwrapper/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for library containing u8_strconv_from_locale...... -lunistring
checking uniconv.h usability... yes
checking uniconv.h presence... yes
checking for uniconv.h... yes
checking pkg-config is at least version 0.9.0... yes
checking for ZLIB... yes
checking for deflate... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for CONFUSE... yes
checking for cfg_init... yes
checking confuse.h usability... yes
checking confuse.h presence... yes
checking for confuse.h... yes
checking for LIBCURL... yes
checking for curl_global_init... yes
checking curl/curl.h usability... yes
checking curl/curl.h presence... yes
checking for curl/curl.h... yes
checking for LIBSODIUM... yes
checking for sodium_init... yes
checking sodium.h usability... yes
checking sodium.h presence... yes
checking for sodium.h... yes
checking for MINIXML... yes
checking for mxmlNewElement... yes
checking mxml.h usability... yes
checking mxml.h presence... yes
checking for mxml.h... yes
checking for mxmlGetOpaque... yes
checking for mxmlGetText... yes
checking for mxmlGetType... yes
checking for mxmlGetFirstChild... yes
checking for SQLITE3... yes
checking for sqlite3_initialize... yes
checking sqlite3.h usability... yes
checking sqlite3.h presence... yes
checking for sqlite3.h... yes
checking for sqlite3_unlock_notify... yes
checking for sqlite3_expanded_sql... yes
checking if SQLite3 was built with threadsafe operations support... yes
checking for LIBEVENT... yes
checking for event_base_new... yes
checking event2/event.h usability... yes
checking event2/event.h presence... yes
checking for event2/event.h... yes
checking for JSON_C... yes
checking for json_tokener_parse... yes
checking json.h usability... yes
checking json.h presence... yes
checking for json.h... yes
checking for LIBPLIST... yes
checking for plist_dict_get_item... yes
checking plist/plist.h usability... yes
checking plist/plist.h presence... yes
checking for plist/plist.h... yes
checking for library containing antlr3BaseRecognizerNew...... -lantlr3c
checking antlr3.h usability... yes
checking antlr3.h presence... yes
checking for antlr3.h... yes
checking for antlr3NewAsciiStringInPlaceStream... no
checking for libgcrypt-config... /usr/pkg/bin/libgcrypt-config
checking for LIBGCRYPT - version >= 1.2.0... yes (1.10.3)
checking LIBGCRYPT API version... okay
checking for gcry_control... yes
checking gcrypt.h usability... yes
checking gcrypt.h presence... yes
checking for gcrypt.h... yes
checking for gpg-error-config... /usr/pkg/bin/gpg-error-config
checking for gpgrt-config... /usr/pkg/bin/gpgrt-config
configure: Use gpgrt-config with /usr/pkg/lib as gpg-error-config
checking for GPG Error - version >= 1.6... yes (1.47)
checking for gpg_err_init... yes
checking gpg-error.h usability... yes
checking gpg-error.h presence... yes
checking for gpg-error.h... yes
checking sys/eventfd.h usability... yes
checking sys/eventfd.h presence... yes
checking for sys/eventfd.h... yes
checking for eventfd... yes
checking sys/timerfd.h usability... yes
checking sys/timerfd.h presence... yes
checking for sys/timerfd.h... yes
checking for timerfd_create... yes
checking for library containing inotify_add_watch...... none required
checking sys/inotify.h usability... yes
checking sys/inotify.h presence... yes
checking for sys/inotify.h... yes
checking sys/signalfd.h usability... yes
checking sys/signalfd.h presence... yes
checking for sys/signalfd.h... yes
checking for signalfd... yes
checking sys/event.h usability... no
checking sys/event.h presence... no
checking for sys/event.h... no
checking whether htobe16 is declared... yes
checking for LIBAV... yes
checking for av_init_packet... yes
checking libavcodec/avcodec.h usability... yes
checking libavcodec/avcodec.h presence... yes
checking for libavcodec/avcodec.h... yes
checking whether libav libraries are ffmpeg... yes
checking whether av_version_info is declared... yes
checking whether avformat_network_init is declared... yes
checking size of void *... 8
checking for ALSA... yes
checking for snd_mixer_open... yes
checking alsa/asoundlib.h usability... yes
checking alsa/asoundlib.h presence... yes
checking for alsa/asoundlib.h... yes
checking for LIBWEBSOCKETS... yes
checking for LIBEVENT_PTHREADS... yes
checking for evthread_use_pthreads... yes
checking event2/thread.h usability... yes
checking event2/thread.h presence... yes
checking for event2/thread.h... yes
checking for library containing DNSServiceGetAddrInfo...... no
configure: error: Avahi client or Bonjour DNS_SD required, please install one.
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/audio/forked-daapd
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/audio/forked-daapd