+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ngircd-27nb3/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ngircd-27nb3/work.log
=> Checksum BLAKE2s OK for ngircd-27.tar.gz
=> Checksum SHA512 OK for ngircd-27.tar.gz
===> Installing dependencies for ngircd-27nb3
==========================================================================
The supported build options for ngircd are:

	gnutls iconv ident ngircd-sniffer ngircd-strictrfc
	openssl pam tcpwrappers zlib

The currently selected options are:

	ident openssl pam zlib

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

	PKG_OPTIONS.ngircd (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
ngircd-27nb3.  Their current value is shown below:

        * PAM_DEFAULT = solaris-pam
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /opt/local/etc/openssl/certs
        * SSLDIR = /opt/local/etc/openssl
        * SSLKEYS = /opt/local/etc/openssl/private
        * VARBASE = /var

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

        * PAMBASE (defined, but empty)

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/local/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency gcc13>=13.1.0: found gcc13-13.3.0
=> Full dependency gcc13-libs>=13.2.0: found gcc13-libs-13.3.0
=> Full dependency libident>=0.22nb1: found libident-0.32
=> Full dependency openssl>=3: found openssl-3.3.2
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
===> Overriding tools for ngircd-27nb3
===> Extracting for ngircd-27nb3
===> Patching for ngircd-27nb3
=> Applying pkgsrc patches for ngircd-27nb3
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/chat/ngircd/patches/patch-doc_Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/chat/ngircd/patches/patch-doc_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-doc_Makefile.in,v 1.1 2024/10/14 21:12:55 nia Exp $
|
|Let pkgsrc handle configuration files.
|
|--- doc/Makefile.in.orig	2024-04-26 14:54:22.000000000 +0000
|+++ doc/Makefile.in
--------------------------
Patching file doc/Makefile.in using Plan A...
Hunk #1 succeeded at 618.
Hunk #2 succeeded at 631.
done
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/chat/ngircd/patches/patch-doc_sample-ngircd.conf.tmpl
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/chat/ngircd/patches/patch-doc_sample-ngircd.conf.tmpl
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-doc_sample-ngircd.conf.tmpl,v 1.1 2024/10/14 21:12:55 nia Exp $
|
|Run as ngircd user by default.
|
|--- doc/sample-ngircd.conf.tmpl.orig	2024-10-14 19:52:39.281302704 +0000
|+++ doc/sample-ngircd.conf.tmpl
--------------------------
Patching file doc/sample-ngircd.conf.tmpl using Plan A...
Hunk #1 succeeded at 72.
Hunk #2 succeeded at 81.
done
===> Creating toolchain wrappers for ngircd-27nb3
/usr/bin/sed  -e '/^#/d'  -e 's,@LINK_ARCH_DEFAULT@,link_arch64,g'  -e 's,@LINK_LIBGCC_DEFAULT@,link_libgcc_arch64,g'  -e 's,@LIBGCC_PREFIX@,/opt/local/gcc13/x86_64-sun-solaris2.11,g'  < ../../extra/gcc13-libs/files/specs.pkgsrc  > /home/pbulk/build/chat/ngircd/work/.cwrapper/specs.pkgsrc
===> Configuring for ngircd-27nb3
=> Substituting "vars" in doc/sample-ngircd.conf.tmpl
=> 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 build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking for a BSD-compatible install... /opt/local/bin/bsdinstall -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for a race-free mkdir -p... ./install-sh -c -d
checking for gawk... /usr/bin/nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
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 gawk... (cached) /usr/bin/nawk
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking for an ANSI C-conforming const... yes
checking for inline... inline
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 sys/time.h... yes
checking for arpa/inet.h... yes
checking for malloc.h... yes
checking for netinet/in_systm.h... yes
checking for netinet/ip.h... no
checking for stdbool.h... yes
checking for stddef.h... yes
checking for sys/resource.h... yes
checking for sys/un.h... yes
checking for varargs.h... no
checking for vfork.h... no
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 string.h... (cached) yes
checking whether gcc accepts -fstack-protector... yes
checking whether gcc accepts -Wno-format-truncation... yes
checking for egrep... (cached) /usr/xpg4/bin/grep -E
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for fcntl.h... yes
checking for netdb.h... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/socket.h... yes
checking for sys/time.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking whether socklen_t exists... yes
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking how to run the C preprocessor... gcc -E
checking for uid_t in sys/types.h... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint8_t... yes
checking for struct sockaddr_in.sin_len... no
checking for library containing memmove... none required
checking for library containing gethostbyname... -lnsl
checking for library containing bind... -lsocket
checking for fork... yes
checking for vfork... yes
checking for arc4random... yes
checking for arc4random_stir... no
checking for gai_strerror... yes
checking for getnameinfo... yes
checking for inet_aton... yes
checking for setgroups... yes
checking for setrlimit... yes
checking for sigaction... yes
checking for sigprocmask... yes
checking for snprintf... yes
checking for strdup... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for strndup... yes
checking for strsignal... yes
checking for strtok_r... yes
checking for unsetenv... yes
checking for vsnprintf... yes
checking for waitpid... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for strftime... yes
checking for alarm... yes
checking for dup2... yes
checking for endpwent... yes
checking for gethostbyaddr... yes
checking for gethostbyname... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memmove... yes
checking for memset... yes
checking for setsid... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strcspn... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strspn... yes
checking for strstr... yes
checking for getaddrinfo... yes
checking whether getaddrinfo() works... yes
checking for library containing syslog... none required
checking for syslog.h... yes
checking for deflate in -lz... yes
checking for deflate... yes
checking for zlib.h... yes
checking for select... yes
checking for poll... yes
checking for poll.h... yes
checking for sys/devpoll.h... yes
checking for epoll_create... yes
checking for kqueue... no
checking pkg-config is at least version 0.9.0... no
checking for libssl libcrypto... no
checking for BIO_s_mem in -lcrypto... yes
checking for SSL_new in -lssl... yes
checking for SSL_new... yes
checking for ident_id in -lident... yes
checking for ident_id... yes
checking for ident.h... yes
checking for pam_authenticate in -lpam... yes
checking for pam_authenticate... yes
checking for security/pam_appl.h... yes
checking for getaddrinfo... (cached) yes
checking for getnameinfo... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating contrib/Debian/Makefile
config.status: creating contrib/Makefile
config.status: creating doc/Makefile
config.status: creating doc/src/Makefile
config.status: creating man/Makefile
config.status: creating src/ipaddr/Makefile
config.status: creating src/Makefile
config.status: creating src/ngircd/Makefile
config.status: creating src/portab/Makefile
config.status: creating src/testsuite/Makefile
config.status: creating src/tool/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands

ngIRCd 27 has been configured with the following options:

               Host: x86_64-sun-solaris2.11
           Compiler: gcc
     Compiler flags: -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -pipe -W -Wall -Wpointer-arith -Wstrict-prototypes -fstack-protector -Wno-format-truncation -DSYSCONFDIR='"$(sysconfdir)"' -DDOCDIR='"$(docdir)"'
 Preprocessor flags: -I/opt/local/include -I/usr/include
       Linker flags: -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64
          Libraries: -lpam -lident -lssl -lcrypto -lz -lsocket -lnsl 

    'ngircd' binary: /opt/local/sbin
 Configuration file: /opt/local/etc
       Manual pages: /opt/local/man
      Documentation: /opt/local/share/doc/ngircd

     Syslog support: yes     Enable debug code: no
   zlib compression: yes           IRC sniffer: no
   Use TCP Wrappers: no        Strict RFC mode: no
      IDENT support: yes         IRC+ protocol: yes
      IPv6 protocol: yes           I/O backend: epoll(), select()
        PAM support: yes           SSL support: openssl
   libiconv support: no