+ 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/nsd-4.10.1/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/nsd-4.10.1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for nsd-4.10.1.tar.gz
=> Checksum SHA512 OK for nsd-4.10.1.tar.gz
===> Installing dependencies for nsd-4.10.1
==========================================================================
The supported build options for nsd are:

	inet6 rrl

The currently selected options are:

	inet6

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

	PKG_OPTIONS.nsd (not defined)

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

        * NSD_GROUP = nsd
        * NSD_USER = nsd
        * 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 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 cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency libevent>=2.1.12nb1: found libevent-2.1.12nb2
=> Full dependency openssl>=3: found openssl-3.3.2
===> Overriding tools for nsd-4.10.1
===> Extracting for nsd-4.10.1
===> Patching for nsd-4.10.1
=> Applying pkgsrc patches for nsd-4.10.1
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/nsd/patches/patch-aa
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/nsd/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.14 2014/09/27 20:11:38 pettai Exp $
|
|Install nsd.conf.sample in examples directory
|
|--- Makefile.in.orig	2014-08-29 06:24:27.000000000 +0000
|+++ Makefile.in
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 149 (offset 17 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/nsd/patches/patch-simdzone_src_generic_endian.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/nsd/patches/patch-simdzone_src_generic_endian.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-simdzone_src_generic_endian.h,v 1.2 2024/09/21 16:37:31 he Exp $
|
|WHen borrowing code from NetBSD, make it build
|*on* NetBSD, and don't cause redefinition issues...
|
|Pull request
|https://github.com/NLnetLabs/simdzone/pull/233
|
|--- simdzone/src/generic/endian.h.orig	2024-09-21 15:58:37.017604378 +0000
|+++ simdzone/src/generic/endian.h
--------------------------
Patching file simdzone/src/generic/endian.h using Plan A...
Hunk #1 succeeded at 87.
Hunk #2 succeeded at 127.
Hunk #3 succeeded at 161.
done
===> Creating toolchain wrappers for nsd-4.10.1
===> Configuring for nsd-4.10.1
=> 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 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 the compiler supports GNU C... yes
checking whether cc accepts -g... yes
checking for cc option to enable C11 features... none needed
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 wchar.h... yes
checking for minix/config.h... no
checking for vfork.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for x86_64-redhat-linux-gcc... (cached) cc
checking whether the compiler supports GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to enable C11 features... (cached) none needed
checking for a sed that does not truncate output... /bin/sed
checking for gawk... /bin/gawk
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking for flex... no
checking for lex... no
checking for bison... no
checking for byacc... no
checking whether ln -s works... yes
checking for a BSD-compatible install... /bin/install -c -o pbulk -g pbulk
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking how to run the C preprocessor... cc -E
checking for uid_t in sys/types.h... yes
checking for pid_t... yes
checking for size_t... yes
checking for off_t... yes
checking whether the C compiler (cc) accepts the "format" attribute... yes
checking whether the C compiler (cc) accepts the "unused" attribute... yes
checking whether the C compiler (cc) accepts the "weak" attribute... yes
checking whether the C compiler (cc) accepts the "noreturn" attribute... yes
checking if memcmp compares unsigned... yes
checking whether ctime_r works with two arguments... yes
checking for libevent... found in /usr/pkg
checking for library containing clock_gettime... none required
checking for event.h... yes
checking for cc options needed to detect all undeclared functions... none needed
checking whether EV_VERSION_MAJOR is declared... no
checking for library containing event_set... -levent
checking for event_base_free... yes
checking for event_base_once... yes
checking for event_base_new... yes
checking for event_base_get_method... yes
checking for ev_loop... no
checking for ev_default_loop... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for time.h... yes
checking for arpa/inet.h... yes
checking for signal.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for netinet/in.h... yes
checking for netinet/tcp.h... yes
checking for stddef.h... yes
checking for sys/param.h... yes
checking for sys/socket.h... yes
checking for sys/un.h... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for sys/select.h... yes
checking for stdarg.h... yes
checking for stdint.h... (cached) yes
checking for netdb.h... yes
checking for sys/bitypes.h... yes
checking for tcpd.h... no
checking for glob.h... yes
checking for grp.h... yes
checking for endian.h... yes
checking for sys/random.h... yes
checking for ifaddrs.h... yes
checking for double definition of struct va_list... yes
checking whether strptime needs defines... yes
checking for library containing inet_pton... none required
checking for library containing socket... none required
checking whether strptime works... yes
checking if nonblocking sockets work... yes
checking whether mkdir has one arg... no
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for socklen_t... yes
checking for sig_atomic_t... yes
checking for ssize_t... yes
checking for suseconds_t... yes
checking for in_addr_t... yes
checking for struct sockaddr_storage.ss_family... yes
checking for struct stat.st_mtimensec... no
checking for struct stat.st_mtim.tv_nsec... yes
checking for struct sockaddr_un.sun_len... no
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking for working chown... yes
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for GNU libc compatible malloc... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking size of void*... 8
checking size of off_t... 8
checking for getrandom... yes
checking for arc4random... no
checking for arc4random_uniform... no
checking for library containing setusercontext... no
checking for tzset... yes
checking for alarm... yes
checking for chroot... yes
checking for dup2... yes
checking for endpwent... yes
checking for gethostname... yes
checking for memset... yes
checking for memcpy... yes
checking for pwrite... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strtol... yes
checking for writev... yes
checking for getaddrinfo... yes
checking for getnameinfo... yes
checking for freeaddrinfo... yes
checking for gai_strerror... yes
checking for sigaction... yes
checking for sigprocmask... yes
checking for strptime... yes
checking for strftime... yes
checking for localtime_r... yes
checking for setusercontext... no
checking for glob... yes
checking for initgroups... yes
checking for setresuid... yes
checking for setreuid... yes
checking for setresgid... yes
checking for setregid... yes
checking for getpwnam... yes
checking for mmap... yes
checking for ppoll... yes
checking for clock_gettime... yes
checking for accept4... yes
checking for getifaddrs... yes
checking for struct mmsghdr... yes
checking for sched.h... yes
checking for sys/cpuset.h... no
checking for cpu_set_t... yes
checking for cpuset_t... no
checking for cpuid_t... no
checking for cpuset_create... no
checking for cpuset_destroy... no
checking for cpuset_zero... no
checking for cpuset_set... no
checking for cpuset_clr... no
checking for cpuset_isset... no
checking for cpuset_size... no
checking for sysconf... yes
checking whether CPU_OR works with three arguments... yes
checking for sched_setaffinity... yes
checking for basename... yes
checking for inet_aton... yes
checking for inet_pton... yes
checking for inet_ntop... yes
checking for snprintf... yes
checking for strlcat... no
checking for strlcpy... no
checking for strptime... (cached) yes
checking for b64_pton... no
checking for b64_ntop... no
checking for pselect... yes
checking for memmove... yes
checking for setproctitle... no
checking for explicit_bzero... yes
checking for reallocarray... yes
checking whether reallocarray is declared... yes
checking for pselect prototype in sys/select.h... yes
checking for ctime_r prototype in time.h... yes
checking for struct timespec... yes
checking for SSL... found in /usr/pkg
checking if libssl needs libdl... no
checking for EVP_sha256 in -lcrypto... yes
checking for openssl/ssl.h... yes
checking for openssl/err.h... yes
checking for openssl/rand.h... yes
checking for openssl/ocsp.h... yes
checking for openssl/core_names.h... yes
checking for openssl/x509v3.h... yes
checking for HMAC_CTX_reset... yes
checking for HMAC_CTX_new... yes
checking for EVP_cleanup... no
checking for ERR_load_crypto_strings... no
checking for OPENSSL_init_crypto... yes
checking for CRYPTO_memcmp... yes
checking for EC_KEY_new_by_curve_name... yes
checking for EVP_MAC_CTX_new... yes
checking for EVP_MAC_CTX_set_params... yes
checking for EVP_MAC_CTX_get_mac_size... yes
checking for SHA1_Init... yes
checking for ASN1_STRING_get0_data... yes
checking if SHA1_Init is deprecated... yes
checking whether SSL_CTX_set_ecdh_auto is declared... yes
checking whether SSL_CTX_set_tmp_ecdh is declared... yes
checking whether TLS1_3_VERSION is declared... yes
checking for OPENSSL_init_ssl... yes
checking for SSL_get1_peer_certificate... yes
checking for SSL_CTX_set_security_level... yes
checking for ERR_load_SSL_strings... yes
checking if ERR_load_SSL_strings is deprecated... yes
checking pkg-config is at least version 0.9.0... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
=== configuring in simdzone (/home/pbulk/build/net/nsd/work/nsd-4.10.1/simdzone)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/pkg'  '--localstatedir=/var' '--with-configdir=/usr/pkg/etc/nsd' '--enable-ipv6' '--disable-ratelimit' '--disable-dnstap' '--with-pidfile=/var/run/nsd/nsd.pid' '--with-user=nsd' '--with-dbfile=/var/nsd/nsd.db' '--with-xfrdfile=/var/nsd/nsd-xfrd.state' '--with-libevent=/usr/pkg' '--with-ssl=/usr/pkg' '--build=x86_64-redhat-linux' '--host=x86_64-redhat-linux' '--mandir=/usr/pkg/man' '--enable-option-checking=yes' 'build_alias=x86_64-redhat-linux' 'host_alias=x86_64-redhat-linux' 'SED=/bin/sed' 'AWK=/bin/gawk' 'GREP=/bin/grep' 'EGREP=/bin/grep -E' 'CC=cc' 'CFLAGS=-pipe -O2 -I/usr/pkg/include' 'LDFLAGS=-Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib' 'LIBS=' 'CPPFLAGS=-I/usr/pkg/include' 'PKG_CONFIG=/home/pbulk/build/net/nsd/work/.tools/bin/pkg-config' 'PKG_CONFIG_PATH=' 'PKG_CONFIG_LIBDIR=/home/pbulk/build/net/nsd/work/.buildlink/lib64/pkgconfig:/home/pbulk/build/net/nsd/work/.buildlink/lib/pkgconfig:/home/pbulk/build/net/nsd/work/.buildlink/share/pkgconfig' --cache-file=/dev/null --srcdir=.
configure: WARNING: unrecognized options: --with-configdir, --enable-ipv6, --disable-ratelimit, --disable-dnstap, --with-pidfile, --with-user, --with-dbfile, --with-xfrdfile, --with-libevent, --with-ssl
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 the compiler supports GNU C... yes
checking whether cc accepts -g... yes
checking for cc option to enable C11 features... none needed
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 endian.h... yes
checking whether C compiler accepts -MMD... yes
checking whether C compiler accepts -xMMD... no
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking target system type... x86_64-redhat-linux-gnu
checking for immintrin.h... yes
checking whether C compiler accepts -march=westmere... yes
checking whether C compiler accepts -march=haswell... yes
checking whether -march=westmere works... yes
checking whether -march=haswell works... yes
checking for realpath... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
configure: WARNING: unrecognized options: --with-configdir, --enable-ipv6, --disable-ratelimit, --disable-dnstap, --with-pidfile, --with-user, --with-dbfile, --with-xfrdfile, --with-libevent, --with-ssl
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp