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

	pam pkcs11

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

	PKG_OPTIONS.openvpn (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
openvpn-2.6.12nb3.  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

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 pkgconf-[0-9]*: found pkgconf-2.3.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency lz4>=1.7.3<100: found lz4-1.10.0
=> Full dependency lzo>=2.01: found lzo-2.10
=> Full dependency openssl>=3: found openssl-3.3.2
===> Overriding tools for openvpn-2.6.12nb3
===> Extracting for openvpn-2.6.12nb3
===> Patching for openvpn-2.6.12nb3
=> Applying pkgsrc patches for openvpn-2.6.12nb3
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/openvpn/patches/patch-src_compat_compat-basename.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/openvpn/patches/patch-src_compat_compat-basename.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_compat_compat-basename.c,v 1.2 2023/11/10 00:17:47 gdt Exp $
|
|Sun ld needs at least one symbol.  This is as good a place to put
|one as any..
|
|\todo File this upstream.
|
|--- src/compat/compat-basename.c.orig	2023-11-08 15:49:40.000000000 +0000
|+++ src/compat/compat-basename.c
--------------------------
Patching file src/compat/compat-basename.c using Plan A...
Hunk #1 succeeded at 25.
done
===> Creating toolchain wrappers for openvpn-2.6.12nb3
===> Configuring for openvpn-2.6.12nb3
=> 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 a BSD-compatible install... /bin/install -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /home/pbulk/build/net/openvpn/work/.tools/bin/mkdir -p
checking for gawk... /bin/gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
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 the compiler supports GNU C... yes
checking whether cc accepts -g... yes
checking for cc option to enable C11 features... none needed
checking whether cc understands -c and -o together... yes
checking dependency style of cc... none
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 pkg-config is at least version 0.9.0... yes
checking how to run the C preprocessor... cc -E
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking whether make sets $(MAKE)... (cached) yes
checking for ifconfig... no
checking for route... no
checking for ip... /sbin/ip
checking for systemd-ask-password... /bin/systemd-ask-password
checking for netstat... no
checking for git... git
checking for rst2man... (cached) no
checking for rst2man.py... (cached) no
checking for rst2html... (cached) no
checking for rst2html.py... (cached) no
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by cc... /home/pbulk/build/net/openvpn/work/.cwrapper/bin/ld
checking if the linker (/home/pbulk/build/net/openvpn/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 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/net/openvpn/work/.cwrapper/bin/ld option to reload object files... -r
checking for x86_64-redhat-linux-file... no
checking for file... file
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/net/openvpn/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... yes
checking for x86_64-redhat-linux-windres... no
checking for windres... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working volatile... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for socklen_t... yes
checking size of unsigned int... 4
checking size of unsigned long... 8
checking for fcntl.h... yes
checking for io.h... no
checking for sys/types.h... (cached) yes
checking for sys/socket.h... yes
checking for unistd.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for netinet/in.h... yes
checking for netinet/in_systm.h... yes
checking for netinet/tcp.h... yes
checking for arpa/inet.h... yes
checking for netdb.h... yes
checking for sys/time.h... yes
checking for sys/ioctl.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/mman.h... yes
checking for sys/file.h... yes
checking for sys/wait.h... yes
checking for unistd.h... (cached) yes
checking for libgen.h... yes
checking for stropts.h... no
checking for syslog.h... yes
checking for pwd.h... yes
checking for grp.h... yes
checking for termios.h... yes
checking for sys/sockio.h... no
checking for sys/uio.h... yes
checking for linux/sockios.h... yes
checking for linux/types.h... yes
checking for linux/errqueue.h... yes
checking for poll.h... yes
checking for sys/epoll.h... yes
checking for err.h... yes
checking for net/if.h... yes
checking for netinet/ip.h... yes
checking for resolv.h... yes
checking for sys/un.h... yes
checking for net/if_utun.h... no
checking for sys/kern_control.h... no
checking for in_addr_t... yes
checking for in_port_t... yes
checking for struct iphdr... yes
checking for struct msghdr... yes
checking for struct cmsghdr... yes
checking for struct in_pktinfo... yes
checking for sa_family_t... yes
checking for struct in_pktinfo.ipi_spec_dst... yes
checking for struct sockaddr_in6... yes
checking for cc options needed to detect all undeclared functions... none needed
checking whether SO_MARK is declared... yes
checking anonymous union support... yes
checking linker supports --wrap... yes
checking whether SIGHUP is declared... yes
checking whether SIGINT is declared... yes
checking whether SIGUSR1 is declared... yes
checking whether SIGUSR2 is declared... yes
checking whether SIGTERM is declared... yes
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for daemon... yes
checking for chroot... yes
checking for getpwnam... yes
checking for setuid... yes
checking for nice... yes
checking for system... yes
checking for dup... yes
checking for dup2... yes
checking for syslog... yes
checking for openlog... yes
checking for mlockall... yes
checking for getrlimit... yes
checking for getgrnam... yes
checking for setgid... yes
checking for setgroups... yes
checking for flock... yes
checking for readv... yes
checking for writev... yes
checking for time... yes
checking for gettimeofday... yes
checking for setsid... yes
checking for chdir... yes
checking for chsize... no
checking for ftruncate... yes
checking for execve... yes
checking for getpeereid... no
checking for basename... yes
checking for dirname... yes
checking for access... yes
checking for epoll_create... yes
checking for strsep... yes
checking for dlopen in -ldl... yes
checking for inet_ntoa in -lnsl... no
checking for socket in -lsocket... no
checking for gethostbyname in -lresolv... yes
checking for sendmsg... yes
checking for recvmsg... yes
checking for library containing __res_init... none required
checking for net/if_tun.h... no
checking for net/tun/if_tun.h... no
checking for linux/if_tun.h... yes
checking for tap-windows.h... no
checking whether TUNSETPERSIST is declared... yes
checking for setcon in -lselinux... no
checking for pam_start in -lpam... no
checking for PKCS11_HELPER... no
checking for LIBCAPNG... no
configure: error: libcap-ng package not found. Is the development package and pkg-config (/home/pbulk/build/net/openvpn/work/.tools/bin/pkg-config) installed?
*** Error code 1

Stop.
bmake[1]: stopped making "configure" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/openvpn
*** Error code 1

Stop.
bmake: stopped making "configure" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/openvpn