+ 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/espeak-ng-1.52.0/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/espeak-ng-1.52.0/work.log
=> Checksum BLAKE2s OK for espeak-ng-1.52.0.tar.gz
=> Checksum SHA512 OK for espeak-ng-1.52.0.tar.gz
===> Installing dependencies for espeak-ng-1.52.0
==========================================================================
The supported build options for espeak-ng are:

	sonic

The currently selected options are:

	sonic

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

	PKG_OPTIONS.espeak-ng (not defined)

==========================================================================
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency automake>=1.9: found automake-1.16.5nb3
=> Tool dependency autoconf>=2.58: found autoconf-2.72
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency mbrola-[0-9]*: found mbrola-3.3
=> Full dependency pcaudiolib>=1.2: found pcaudiolib-1.3
=> Full dependency sonic>=0.0.0.225: found sonic-0.0.0.225
===> Overriding tools for espeak-ng-1.52.0
===> Extracting for espeak-ng-1.52.0
===> Patching for espeak-ng-1.52.0
=> Applying pkgsrc patches for espeak-ng-1.52.0
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/espeak-ng/patches/patch-Makefile.am
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/espeak-ng/patches/patch-Makefile.am
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile.am,v 1.1 2024/03/25 17:18:08 jperkin Exp $
|
|ln -v is not portable.
|
|--- Makefile.am.orig	2024-03-25 17:02:18.086717013 +0000
|+++ Makefile.am
--------------------------
Patching file Makefile.am using Plan A...
Hunk #1 succeeded at 846 (offset -49 lines).
Hunk #2 succeeded at 987 (offset 6 lines).
No such line 995 in input file, ignoring
Hunk #3 succeeded at 941 (offset -49 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/espeak-ng/patches/patch-src_include_compat_wctype.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/espeak-ng/patches/patch-src_include_compat_wctype.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_include_compat_wctype.h,v 1.2 2024/12/26 11:45:00 wiz Exp $
|
|Avoid breaking wctypes on illumos.
|
|--- src/include/compat/wctype.h.orig	2024-12-12 13:28:01.000000000 +0000
|+++ src/include/compat/wctype.h
--------------------------
Patching file src/include/compat/wctype.h using Plan A...
Hunk #1 succeeded at 32.
Hunk #2 succeeded at 45.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/espeak-ng/patches/patch-src_libespeak-ng_speech.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/espeak-ng/patches/patch-src_libespeak-ng_speech.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_libespeak-ng_speech.c,v 1.2 2024/12/26 11:45:00 wiz Exp $
|
|* fifo_stop() creates a noticeable delay, call audio_object_flush() first.
|
|--- src/libespeak-ng/speech.c.orig	2024-12-12 13:28:01.000000000 +0000
|+++ src/libespeak-ng/speech.c
--------------------------
Patching file src/libespeak-ng/speech.c using Plan A...
Hunk #1 succeeded at 872.
done
===> Creating toolchain wrappers for espeak-ng-1.52.0
===> Configuring for espeak-ng-1.52.0
set -e; cd /home/pbulk/build/audio/espeak-ng/work/espeak-ng-1.52.0 && touch AUTHORS NEWS && autoreconf -fi
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:78: warning: The macro 'AC_PROG_LIBTOOL' is obsolete.
configure.ac:78: You should run autoupdate.
m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
configure.ac:78: the top level
configure.ac:4: installing './compile'
configure.ac:4: installing './config.guess'
configure.ac:4: installing './config.sub'
configure.ac:3: installing './install-sh'
configure.ac:3: installing './missing'
Makefile.am:112: warning: shell dirname $@: non-POSIX variable name
Makefile.am:112: (probably a GNU make extension)
Makefile.am:115: warning: shell dirname $@: non-POSIX variable name
Makefile.am:115: (probably a GNU make extension)
Makefile.am:117: warning: wildcard docs/*.md: non-POSIX variable name
Makefile.am:117: (probably a GNU make extension)
Makefile.am:117: warning: wildcard docs/*/*.md: non-POSIX variable name
Makefile.am:117: (probably a GNU make extension)
Makefile.am:117: warning: wildcard docs/*/*/*.md: non-POSIX variable name
Makefile.am:117: (probably a GNU make extension)
Makefile.am:324: warning: filter-out tests/windows-data.test,$(wildcard tests/*.test: non-POSIX variable name
Makefile.am:324: (probably a GNU make extension)
Makefile.am:366: warning: wildcard tests/ssml/*.ssml tests/ssml-fuzzer/*.ssml: non-POSIX variable name
Makefile.am:366: (probably a GNU make extension)
Makefile.am:373: warning: wildcard tests/ssml/*.expected: non-POSIX variable name
Makefile.am:373: (probably a GNU make extension)
Makefile.am:383: warning: wildcard phsource/*: non-POSIX variable name
Makefile.am:383: (probably a GNU make extension)
Makefile.am:383: warning: wildcard phsource/*/*: non-POSIX variable name
Makefile.am:383: (probably a GNU make extension)
Makefile.am:383: warning: wildcard phsource/*/*/*: non-POSIX variable name
Makefile.am:383: (probably a GNU make extension)
Makefile.am:388: warning: wildcard espeak-ng-data/lang/*: non-POSIX variable name
Makefile.am:388: (probably a GNU make extension)
Makefile.am:388: warning: wildcard espeak-ng-data/lang/*/*: non-POSIX variable name
Makefile.am:388: (probably a GNU make extension)
Makefile.am:388: warning: wildcard espeak-ng-data/voices/*/*: non-POSIX variable name
Makefile.am:388: (probably a GNU make extension)
Makefile.am:393: warning: filter-out phsource/phonemes.stamp,$(PHSOURCE: non-POSIX variable name
Makefile.am:393: (probably a GNU make extension)
Makefile.am:393: warning: filter-out espeak-ng-data/voices/!v/Mr serious,$(LANGDATA: non-POSIX variable name
Makefile.am:393: (probably a GNU make extension)
Makefile.am:418: warning: '%'-style pattern rules are a GNU make extension
Makefile.am:429: warning: '%'-style pattern rules are a GNU make extension
Makefile.am:440: warning: '%'-style pattern rules are a GNU make extension
Makefile.am:443: warning: *F: non-POSIX variable name
Makefile.am:564: warning: wildcard dictsource/*_emoji: non-POSIX variable name
Makefile.am:564: (probably a GNU make extension)
Makefile.am:564: warning: wildcard dictsource/*_extra: non-POSIX variable name
Makefile.am:564: (probably a GNU make extension)
Makefile.am:564: warning: wildcard dictsource/*_list: non-POSIX variable name
Makefile.am:564: (probably a GNU make extension)
Makefile.am:564: warning: wildcard dictsource/*_rules: non-POSIX variable name
Makefile.am:564: (probably a GNU make extension)
Makefile.am:564: warning: wildcard dictsource/extra/*: non-POSIX variable name
Makefile.am:564: (probably a GNU make extension)
Makefile.am:974: warning: wildcard phsource/mbrola/*: non-POSIX variable name
Makefile.am:974: (probably a GNU make extension)
Makefile.am:980: warning: '%'-style pattern rules are a GNU make extension
Makefile.am:986: warning: all-local was already defined in condition TRUE, which includes condition OPT_MBROLA ...
Makefile.am:51: ... 'all-local' previously defined here
Makefile.am: installing './INSTALL'
Makefile.am: installing './depcomp'
=> 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
=> Adding run-time search paths to pkg-config files.
=> Checking for portability problems in extracted files
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 race-free mkdir -p... mkdir -p
checking for gawk... /usr/bin/nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
checking for x86_64-sun-solaris2.11-gcc... gcc
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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/xpg4/bin/grep
checking for egrep... (cached) /usr/xpg4/bin/grep -E
checking for fgrep... /usr/xpg4/bin/grep -F
checking for ld used by gcc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p
checking the name lister (/usr/bin/nm -p) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786240
checking how to convert x86_64-sun-solaris2.11 file names to x86_64-sun-solaris2.11 format... func_convert_file_noop
checking how to convert x86_64-sun-solaris2.11 file names to toolchain format... func_convert_file_noop
checking for /bin/ld option to reload object files... -r
checking for x86_64-sun-solaris2.11-file... no
checking for file... file
checking for x86_64-sun-solaris2.11-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-sun-solaris2.11-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-sun-solaris2.11-ar... no
checking for ar... ar
checking for archiver @FILE support... no
checking for x86_64-sun-solaris2.11-strip... no
checking for strip... strip
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-sun-solaris2.11-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for vfork.h... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/bin/ld -64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory
no
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether make supports nested variables... (cached) yes
checking whether make supports nested variables... (cached) yes
checking for x86_64-sun-solaris2.11-gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /bin/ld -64
checking if the linker (/bin/ld -64) is GNU ld... no
checking whether the g++ linker (/bin/ld -64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/bin/ld -64) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for gradle... no
checking if gcc supports C99 without any flags... yes
checking if gcc supports C99 with the -std=c99 flag... yes
checking if gcc supports C99... -std=c99
checking if targeting FreeBSD... no
checking for endian.h... yes
checking for fcntl.h... yes
checking for getopt.h... yes
checking for locale.h... yes
checking for stddef.h... yes
checking for stdbool.h... yes
checking for sys/endian.h... no
checking for sys/time.h... yes
checking for wchar.h... yes
checking for wctype.h... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for pid_t... yes
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for working strcoll... yes
checking for error_at_line... no
checking for dup2... yes
checking for getopt_long... yes
checking for gettimeofday... yes
checking for malloc... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for mkstemp... yes
checking for pow... no
checking for realloc... yes
checking for setlocale... yes
checking for sqrt... no
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strrchr... yes
checking for strstr... yes
checking for pcaudiolib/audio.h... yes
checking for sonic.h... yes
checking for sonicCreateStream in -lsonic... yes
checking for valgrind/memcheck.h... no
checking for ronn... no
checking for kramdown... no
checking whether C compiler accepts -Wimplicit... yes
checking whether C compiler accepts -Wint-conversion... yes
checking whether C compiler accepts -Wmissing-prototypes... yes
checking whether C compiler accepts -Wreturn-type... yes
checking whether C compiler accepts -Wuninitialized... yes
checking whether C compiler accepts -Wunused... yes
checking whether C compiler accepts -Wunused-parameter... yes
checking whether C compiler accepts -fwrapv... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating espeak-ng.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
configure:

    Configuration for eSpeak NG complete.

        Source code location:          .

        C99 Compiler:                  gcc
        C99 Compiler flags:            -fwrapv -Wunused-parameter -Wunused -Wuninitialized -Wreturn-type -Wmissing-prototypes -Wint-conversion -Wimplicit -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/pcaudiolib -std=c99

        Sonic:                         yes
        PCAudioLib:                    yes

        gradle (Android):              

        Klatt:                         yes
        speechPlayer:                  yes
        MBROLA:                        yes
        Async:                         yes

        Extended Dictionaries:
            Russian:                   yes
            Chinese (Mandarin):        yes
            Chinese (Cantonese):       yes

=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp