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

	gnutls openssl wolfssl

The currently selected options are:

	openssl

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

	PKG_OPTIONS.ircd-hybrid (not defined)

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

        * IRCD_HYBRID_IRC_GROUP = irc
        * IRCD_HYBRID_IRC_USER = irc
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/opt/pkg/openssl/certs
        * SSLDIR = /etc/opt/pkg/openssl
        * SSLKEYS = /etc/opt/pkg/openssl/private
        * VARBASE = /var/opt/pkg

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 libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency openssl>=3: found openssl-3.4.1
===> Overriding tools for ircd-hybrid-8.2.46
===> Extracting for ircd-hybrid-8.2.46
===> Patching for ircd-hybrid-8.2.46
=> Applying pkgsrc patches for ircd-hybrid-8.2.46
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/ircd-hybrid/patches/patch-doc_Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/ircd-hybrid/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 2019/02/08 13:09:35 fox Exp $
|
|Do not install files in $(sysconfdir), configuration files are
|handled via CONF_FILES*.
|
|--- doc/Makefile.in.orig	2018-04-04 22:33:34.000000000 +0000
|+++ doc/Makefile.in
--------------------------
Patching file doc/Makefile.in using Plan A...
Hunk #1 succeeded at 467 (offset 9 lines).
Hunk #2 succeeded at 526 (offset 9 lines).
Hunk #3 succeeded at 574 (offset 9 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/ircd-hybrid/patches/patch-libio_src_io__time.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/ircd-hybrid/patches/patch-libio_src_io__time.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libio_src_io__time.c,v 1.1 2025/01/23 11:22:24 fox Exp $
|
|CLOCK_MONOTONIC_RAW is linux specifc.
|
|--- libio/src/io_time.c.orig	2025-01-23 08:28:02.545767139 +0000
|+++ libio/src/io_time.c
--------------------------
Patching file libio/src/io_time.c using Plan A...
Hunk #1 succeeded at 205.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/ircd-hybrid/patches/patch-libio_src_misc.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/ircd-hybrid/patches/patch-libio_src_misc.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libio_src_misc.c,v 1.1 2024/06/29 01:10:14 fox Exp $
|
|Fix day-of-month format so that strftime(3) will recognize it.
|
|--- libio/src/misc.c.orig	2020-05-03 11:05:50.000000000 +0000
|+++ libio/src/misc.c	2020-07-13 13:05:57.180120719 +0000
--------------------------
Patching file libio/src/misc.c using Plan A...
Hunk #1 succeeded at 53 (offset 11 lines).
Hunk #2 succeeded at 130 (offset 40 lines).
done
===> Creating toolchain wrappers for ircd-hybrid-8.2.46
===> Configuring for ircd-hybrid-8.2.46
=> Fixing hardcoded paths in ircd(8)
=> Adjusting paths in reference.ircd.conf
=> 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
checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 2
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 xargs -n works... yes
checking whether to enable maintainer-specific portions of Makefiles... no
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 whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking for bison... no
checking for byacc... no
checking for flex... flex
checking for lex output file root... lex.yy
checking for lex library... none needed
checking whether yytext is a pointer... 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 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 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-ranlib... no
checking for ranlib... ranlib
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 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 crypt.h... yes
checking for socket.h... no
checking for sys/param.h... yes
checking for sys/wait.h... yes
checking for types.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 for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
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... no
checking for gcc options needed to detect all undeclared functions... none needed
checking what extension is used for runtime loadable modules... .so
checking what variable specifies run-time module search path... LD_LIBRARY_PATH
checking for the default library search path... /lib /usr/lib
checking for library containing dlopen... none required
checking for dlerror... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... no
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking for argz.h... no
checking for error_t... no
checking for argz_add... no
checking for argz_append... no
checking for argz_count... no
checking for argz_create_sep... no
checking for argz_insert... no
checking for argz_next... no
checking for argz_stringify... no
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for ltdl.h... no
checking where to find libltdl headers... -I$(top_srcdir)/libltdl
checking where to find libltdl library... $(top_build_prefix)libltdl/libltdlc.la
checking for unistd.h... (cached) yes
checking for dl.h... no
checking for sys/dl.h... yes
checking for dld.h... no
checking for mach-o/dyld.h... no
checking for dirent.h... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking for strlcat... yes
checking for strlcpy... yes
checking whether gcc accepts -fstack-protector-strong... yes
checking whether libssp exists... yes
checking for getaddrinfo... yes
checking for getnameinfo... yes
checking for library containing socket... none required
checking whether byte ordering is bigendian... no
checking for strlcat... (cached) yes
checking for strlcpy... (cached) yes
checking for library containing crypt... none required
checking whether C compiler accepts -Werror=unknown-warning-option... no
checking whether C compiler accepts -Wno-format-truncation... yes
checking for optimal/desired iopoll mechanism... epoll
checking for openssl/opensslv.h... yes
checking for RSA_free in -lcrypto... yes
checking for SSL_connect in -lssl... yes
checking for LibreSSL, or OpenSSL 1.1.1 and above... found
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating help/Makefile
config.status: creating libio/Makefile
config.status: creating libio/src/Makefile
config.status: creating libltdl/Makefile
config.status: creating modules/Makefile
config.status: creating src/Makefile
config.status: creating tools/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
###############################################################################
Configuration complete.  Type make (or gmake on some *BSD machines) to compile.

ircd-hybrid will be installed in /opt/pkg.  To change this, run:
   ./configure --prefix=DIRECTORY
###############################################################################
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp
=> Fixing hardcoded build paths.