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

        * CURSES_DEFAULT = ncurses

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

        * CURSES_TYPE = ncurses

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 help2man-[0-9]*: found help2man-1.49.3
=> Tool dependency p5-Locale-Msgfmt-[0-9]*: found p5-Locale-Msgfmt-0.15nb12
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.82.2
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency gtexinfo>=3.12: found gtexinfo-7.1.1
=> Tool dependency perl>=5.0: found perl-5.38.2
=> 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 vala>=0.56.13nb1: found vala-0.56.17nb1
=> Full dependency pkg_install-info-[0-9]*: found pkg_install-info-4.5nb3
=> Full dependency boehm-gc>=7.4: found boehm-gc-8.2.4
=> Full dependency glib2>=2.76.4nb1: found glib2-2.82.2
=> Full dependency libgee>=0.20.3nb4: found libgee-0.20.6
=> Full dependency ncurses>=6.5: found ncurses-6.5
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5
=> 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 pcre2>=10.21: found pcre2-10.44
=> Full dependency zlib>=1.1.4: found zlib-1.3.1
===> Overriding tools for zile-2.6.2
===> Extracting for zile-2.6.2
===> Patching for zile-2.6.2
=> Applying pkgsrc patches for zile-2.6.2
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/zile/patches/patch-ab
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/zile/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.6 2012/02/11 09:54:21 hiramatsu Exp $
|
|Include stdlib.h when zile is not build with glibc.
|
|--- lib/wchar.in.h.orig	2012-02-11 05:51:54.000000000 +0000
|+++ lib/wchar.in.h
--------------------------
Patching file lib/wchar.in.h using Plan A...
Hunk #1 succeeded at 75 (offset 7 lines).
done
===> Creating toolchain wrappers for zile-2.6.2
===> Configuring for zile-2.6.2
=> 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 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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
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 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 whether _XOPEN_SOURCE should be defined... no
checking for Minix Amsterdam compiler... no
checking for x86_64-sun-solaris2.11-ar... no
checking for x86_64-sun-solaris2.11-lib... no
checking for x86_64-sun-solaris2.11-link... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking for x86_64-sun-solaris2.11-ar... ar
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking for x86_64-sun-solaris2.11-ar... (cached) ar
checking the archiver (ar) interface... (cached) ar
checking pkg-config is at least version 0.9.0... yes
checking for gawk... (cached) /usr/bin/nawk
checking for GNU make... make
checking for valac... /opt/pkg/bin/valac-0.56
checking whether /opt/pkg/bin/valac-0.56 supports at least API version 0.52... yes
checking for GLIB... yes
checking for help2man... /opt/pkg/bin/help2man
checking for ANSI C header files... (cached) yes
configure: WARNING: Forcing --with-included-regex, to use our patched version
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether <wchar.h> uses 'inline' correctly... yes
checking for btowc... yes
checking for faccessat... yes
checking for symlink... yes
checking for mbsinit... yes
checking for mbrtowc... yes
checking for mprotect... yes
checking for nl_langinfo... yes
checking for isblank... yes
checking for iswctype... yes
checking for lstat... yes
checking for wcrtomb... yes
checking for iswcntrl... yes
checking for nl_langinfo and CODESET... yes
checking for a traditional french locale... fr_FR.ISO8859-1
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking for complete errno.h... yes
checking for uid_t in sys/types.h... yes
checking type of array argument to getgroups... gid_t
checking for unistd.h... (cached) yes
checking for getopt.h... yes
checking for sys/cdefs.h... no
checking for langinfo.h... yes
checking for limits.h... yes
checking for xlocale.h... yes
checking for sys/mman.h... yes
checking for sys/param.h... yes
checking for malloc.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/time.h... yes
checking for wchar.h... yes
checking for stdint.h... (cached) yes
checking for features.h... no
checking for crtdefs.h... no
checking for wctype.h... yes
checking for working fcntl.h... yes
checking for pid_t... yes
checking for mode_t... yes
checking for getopt.h... (cached) yes
checking for getopt_long_only... yes
checking whether getopt is POSIX compatible... yes
checking for working GNU getopt function... no
checking whether limits.h has LLONG_MAX, WORD_BIT, ULLONG_WIDTH etc.... yes
checking for wchar_t... yes
checking for good max_align_t... yes
checking whether NULL can be used in arbitrary expressions... yes
checking for ld used by gcc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... no
checking for shared library run path origin... done
checking 32-bit host C ABI... no
checking for 64-bit host... yes
checking for the common suffixes of directories in the library search path... lib/64,lib/amd64
checking whether imported symbols can be declared weak... yes
checking whether the linker supports --as-needed... no
checking whether the linker supports --push-state... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_kill in -lpthread... yes
checking for multithread API to use... posix
checking for a sed that does not truncate output... /usr/bin/sed
checking whether malloc, realloc, calloc are POSIX compliant... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking for mbstate_t... yes
checking for a traditional japanese locale... none
checking for a transitional chinese locale... zh_CN.GB18030
checking for a french Unicode locale... fr_FR.UTF-8
checking for inline... inline
checking for mmap... yes
checking for MAP_ANONYMOUS... yes
checking whether memchr works... yes
checking whether memmem is declared... yes
checking for memmem... yes
checking whether memmem works... no
checking whether alarm is declared... yes
checking for C/C++ restrict keyword... __restrict
checking whether we are using the GNU C Library >= 2.1 or uClibc... no
checking whether stat file-mode macros are broken... no
checking for nlink_t... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for wint_t... yes
checking whether wint_t is too small... no
checking whether stdint.h conforms to C99... no
checking sys/inttypes.h usability... yes
checking sys/inttypes.h presence... yes
checking for sys/inttypes.h... yes
checking sys/bitypes.h usability... no
checking sys/bitypes.h presence... no
checking for sys/bitypes.h... no
checking for bit size of ptrdiff_t... 64
checking for bit size of size_t... 64
checking for bit size of sig_atomic_t... 32
checking for bit size of wchar_t... 32
checking for bit size of wint_t... 32
checking whether sig_atomic_t is signed... yes
checking whether wchar_t is signed... yes
checking whether wint_t is signed... yes
checking for ptrdiff_t integer literal suffix... l
checking for size_t integer literal suffix... ul
checking for sig_atomic_t integer literal suffix... 
checking for wchar_t integer literal suffix... 
checking for wint_t integer literal suffix... 
checking for struct timespec in <time.h>... yes
checking for alloca as a compiler built-in... yes
checking whether btowc(0) is correct... yes
checking whether btowc(EOF) is correct... yes
checking for __builtin_expect... yes
checking for euidaccess... no
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking for getgroups... yes
checking for working getgroups... yes
checking for library containing eaccess... -lgen
checking for eaccess... yes
checking for getgroups... (cached) yes
checking for working getgroups... (cached) yes
checking whether getgroups handles negative values... yes
checking for group_member... no
checking whether langinfo.h defines CODESET... yes
checking whether langinfo.h defines T_FMT_AMPM... yes
checking whether langinfo.h defines ALTMON_1... no
checking whether langinfo.h defines ERA... yes
checking whether langinfo.h defines YESEXPR... yes
checking whether the compiler supports the __inline keyword... yes
checking whether locale.h conforms to POSIX:2001... yes
checking whether locale.h defines locale_t... yes
checking whether struct lconv is properly defined... yes
checking for pthread_rwlock_t... yes
checking whether pthread_rwlock_rdlock prefers a writer to a reader... yes
checking whether mbrtowc handles incomplete characters... guessing yes
checking whether mbrtowc works as well as mbtowc... yes
checking whether mbrtowc handles a NULL pwc argument... yes
checking whether mbrtowc handles a NULL string argument... yes
checking whether mbrtowc has a correct return value... yes
checking whether mbrtowc returns 0 when parsing a NUL character... yes
checking whether mbrtowc works on empty input... yes
checking whether the C locale is free of encoding errors... yes
checking whether mbrtowc handles incomplete characters... (cached) guessing yes
checking whether mbrtowc works as well as mbtowc... (cached) yes
checking for memmem... (cached) yes
checking whether memmem works... (cached) no
checking whether YESEXPR works... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking whether isblank is declared... yes
checking for ssize_t... yes
checking whether stat handles trailing slashes on files... yes
checking for struct stat.st_atim.tv_nsec... yes
checking whether struct stat.st_atim is of type struct timespec... yes
checking for struct stat.st_birthtimespec.tv_nsec... no
checking for struct stat.st_birthtimensec... no
checking for struct stat.st_birthtim.tv_nsec... no
checking for good max_align_t... (cached) yes
checking whether NULL can be used in arbitrary expressions... (cached) yes
checking for nlink_t... (cached) yes
checking whether mbrtowc handles incomplete characters... (cached) guessing yes
checking whether mbrtowc works as well as mbtowc... (cached) yes
checking whether wcrtomb return value is correct... yes
checking whether iswcntrl works... yes
checking for towlower... yes
checking for wctype_t... yes
checking for wctrans_t... yes
checking for NcursesW wide-character library... yes
checking for working ncursesw/curses.h... no
checking for working ncursesw.h... no
checking for working ncurses.h... yes
checking for perl... /opt/pkg/bin/perl
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating config.h
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --with-libiconv-prefix