+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=39 WRKLOG=/tmp/bulklog/ntpsec-1.1.9nb5/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=39 WRKLOG=/tmp/bulklog/ntpsec-1.1.9nb5/work.log
=> Bootstrap dependency digest>=20211023: found digest-20211023
=> Checksum BLAKE2s OK for ntpsec-1.1.9.tar.gz
=> Checksum SHA512 OK for ntpsec-1.1.9.tar.gz
===> Installing dependencies for ntpsec-1.1.9nb5
==========================================================================
The following variables will affect the build process of this package,
ntpsec-1.1.9nb5.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 39
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /opt/local/etc/openssl/certs
        * SSLDIR = /opt/local/etc/openssl
        * SSLKEYS = /opt/local/etc/openssl/private

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

        * PYPACKAGE = python39

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 bison>=1.0: found bison-3.8.2
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency asciidoc-[0-9]*: found asciidoc-9.1.1nb1
=> Build dependency waf-[0-9]*: found waf-2.0.23
=> Build dependency libxslt>=1.1.34nb6: found libxslt-1.1.34nb7
=> Build dependency gcc10>=10.4.0: found gcc10-10.4.0
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency py39-curses-[0-9]*: found py39-curses-3.9.9nb6
=> Full dependency python39>=3.9.0: found python39-3.9.9nb1
=> Full dependency gpsd>=3.19: found gpsd-3.23.1nb1
=> Full dependency openssl>=1.1.1dnb2: found openssl-1.1.1t
=> Full dependency gcc10-libs>=10.4.0: found gcc10-libs-10.4.0
===> Overriding tools for ntpsec-1.1.9nb5
===> Extracting for ntpsec-1.1.9nb5
===> Patching for ntpsec-1.1.9nb5
=> Applying pkgsrc patches for ntpsec-1.1.9nb5
=> Verifying /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/time/ntpsec/patches/patch-wscript
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/time/ntpsec/patches/patch-wscript
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-wscript,v 1.2 2020/08/15 02:31:28 tnn Exp $
|
|- don't hardcode PREFIX
|
|--- wscript.orig	2020-05-24 03:00:19.000000000 +0000
|+++ wscript
--------------------------
Patching file wscript using Plan A...
Hunk #1 succeeded at 497.
done
===> Creating toolchain wrappers for ntpsec-1.1.9nb5
===> Configuring for ntpsec-1.1.9nb5
=> Replacing python interpreter in ntpclients/*.py.
=> Checking for portability problems in extracted files
cd /home/pbulk/build/time/ntpsec/work/ntpsec-1.1.9 && /usr/bin/env PYTHON_CONFIG=/opt/local/bin/python3.9-config BIN_A2X=/opt/local/bin/a2x BIN_XSLTPROC=/opt/local/bin/xsltproc CC=gcc CFLAGS=\ -pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -I/usr/include\ -I/opt/local/include/python3.9\ -I/opt/local/include CXX=g++ CXXFLAGS=\ -pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -I/usr/include\ -I/opt/local/include/python3.9\ -I/opt/local/include DESTDIR=/home/pbulk/build/time/ntpsec/work/.destdir LINKFLAGS=\ \ \ -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.4.0\ -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.4.0\ -L/usr/lib/amd64\ -Wl,-R/usr/lib/amd64\ -L/opt/local/lib\ -Wl,-R/opt/local/lib PATH=/home/pbulk/build/time/ntpsec/work/.cwrapper/bin:/home/pbulk/build/time/ntpsec/work/.buildlink/bin:/home/pbulk/build/time/ntpsec/work/.gcc/bin:/home/pbulk/build/time/ntpsec/work/.tools/bin:/opt/local/bin:/sbin:/usr/sbin:/usr/bin:/opt/tools/bin PREFIX=/opt/local ./waf --mandir=/opt/local/man --libdir=/opt/local/lib --python=/opt/local/bin/python3.9 --nopyc --nopyo --refclock=all configure
Setting top to                           : /home/pbulk/build/time/ntpsec/work/ntpsec-1.1.9 
Setting out to                           : /home/pbulk/build/time/ntpsec/work/ntpsec-1.1.9/build 
Checking for program 'asciidoctor'       : not found 
Checking for program 'asciidoc'          : /opt/local/bin/asciidoc 
Checking for program 'a2x'               : /opt/local/bin/a2x 
Checking for program 'xsltproc'          : /opt/local/bin/xsltproc 
Checking for asciidoc version >= 8.6.8   : 9.1.1 
--- Configuring host --- 
Checking for 'suncc' (C compiler)        : not found 
Checking for 'gcc' (C compiler)          : gcc 
Checking compiler version                : 10.4.0 
Checking for program 'm4'                : /home/pbulk/build/time/ntpsec/work/.tools/bin/m4 
Checking for program 'bison'             : /home/pbulk/build/time/ntpsec/work/.tools/bin/bison 
Checking for program 'awk'               : /home/pbulk/build/time/ntpsec/work/.tools/bin/awk 
Checking for program 'sh'                : /home/pbulk/build/time/ntpsec/work/.tools/bin/sh 
Checking for program 'pkg-config'        : /home/pbulk/build/time/ntpsec/work/.tools/bin/pkg-config 
Checking for systemd                     : not found 
--- Configuring main --- 
Checking for endianness                  : little 
Checking for library m                   : yes 
Checking for library rt                  : yes 
Checking for library pthread             : yes 
Checking for library execinfo            : not found 
Checking for library bsd                 : not found 
Checking for library ssp                 : yes 
Checking for library ssp_nonshared       : yes 
Checking if C compiler supports -fstack-protector-all : yes 
Checking if C compiler supports -fPIC                 : yes 
Checking if C compiler supports -pie -fPIE            : yes 
Checking if C compiler supports -Qunused-arguments    : no 
Checking if C compiler supports -Wcast-qual           : yes 
Checking if C compiler supports -Wdisabled-optimization : yes 
Checking if C compiler supports -Wfloat-equal           : yes 
Checking if C compiler supports -Wformat                : yes 
Checking if C compiler supports -Wformat-security       : yes 
Checking if C compiler supports -Wformat-signedness     : yes 
Checking if C compiler supports -Wimplicit-function-declaration : yes 
Checking if C compiler supports -Winit-self                     : yes 
Checking if C compiler supports -Winvalid-pch                   : yes 
Checking if C compiler supports -Wmissing-declarations          : yes 
Checking if C compiler supports -Wmultichar                     : yes 
Checking if C compiler supports -Wpacked                        : yes 
Checking if C compiler supports -Wpointer-arith                 : yes 
Checking if C compiler supports -Wshadow                        : yes 
Checking if C compiler supports -Wsuggest-attribute=noreturn    : yes 
Checking if C compiler supports -Wwrite-strings                 : yes 
Checking if C compiler supports -flto                           : yes 
Checking if linker supports -Wl,-z,now                          : yes 
Checking if linker supports -Wl,--strip-all                     : yes 
Checking if linker supports -Wl,-z,relro                        : no 
Checking for type struct if_laddrconf                           : no 
Checking for type struct if_laddrreq                            : no 
Checking for type struct timex                                  : yes 
Checking for type struct ntptimeval                             : yes 
Checking for field time_tick in struct timex                    : no 
Checking for field modes in struct timex                        : yes 
Checking for field time.tv_nsec in struct ntptimeval            : no 
Checking for field tai in struct ntptimeval                     : no 
Checking sizeof long                                            : 8 
Checking sizeof time_t (time.h)                                 : 8 
Checking for OpenSSL/libssl (via pkg-config)                    : yes 
Checking for OpenSSL/libcrypto (via pkg-config)                 : yes 
Checking for function _Unwind_Backtrace                         : yes 
Checking for function adjtimex                                  : no 
Checking for function backtrace_symbols_fd                      : yes 
Checking for function closefrom                                 : yes 
Checking for function ntp_adjtime                               : yes 
Checking for function ntp_gettime                               : yes 
Checking for function res_init                                  : no 
Checking for function sched_setscheduler                        : yes 
Checking for function strlcpy                                   : yes 
Checking for function strlcat                                   : yes 
Checking for function PRIV_NTP_ADJTIME                          : no 
Checking for function timer_create                              : yes 
Checking for function CMAC_CTX_new                              : yes 
Checking for header stdbool.h                                   : yes 
Checking for header alloca.h                                    : yes 
Checking for header arpa/nameser.h                              : yes 
Checking for header bsd/string.h                                : not found 
Checking for header ifaddrs.h                                   : yes 
Checking for header linux/if_addr.h                             : no 
Checking for header linux/rtnetlink.h                           : no 
Checking for header linux/serial.h                              : not found 
Checking for header net/if6.h                                   : not found 
Checking for header net/route.h                                 : yes 
Checking for header priv.h                                      : yes 
Checking for header stdatomic.h                                 : yes 
Checking for header sys/clockctl.h                              : not found 
Checking for header sys/ioctl.h                                 : yes 
Checking for header sys/modem.h                                 : not found 
Checking for header sys/sockio.h                                : yes 
Checking for header sys/sysctl.h                                : no 
Checking for header timepps.h                                   : no 
Checking for header sys/timepps.h                               : no 
Checking for header sys/timex.h                                 : yes 
Checking for sockaddr->sa_len                                   : no 
Checking if strerror_r returns char*                            : no 
Checking for header libscf.h                                    : yes 
Enabling Refclock Undisciplined Local Clock (local):            : Yes 
Enabling Refclock Spectracom GPS Receivers (spectracom):        : Yes 
Enabling Refclock TrueTime GPS/GOES/OMEGA Receivers (truetime): : Yes 
Enabling Refclock Generic Reference Driver (Parse) (generic):   : Yes 
Enabling Refclock Arbiter 1088A/B GPS Receiver (arbiter):       : Yes 
Enabling Refclock NIST/USNO/PTB Modem Time Services (modem):    : Yes 
Enabling Refclock Generic NMEA GPS Receiver (nmea):             : Yes 
Enabling Refclock PPS Clock Discipline (pps):                   : No 
Refclock "PPS Clock Discipline" disabled, PPS API has not been detected as working. 
Enabling Refclock Hewlett Packard 58503A GPS Receiver (hpgps):  : Yes 
Enabling Refclock Shared Memory Driver (shm):                   : Yes 
Enabling Refclock Trimble Navigation GPSes (trimble):           : Yes 
Enabling Refclock Motorola UT Oncore GPS (oncore):              : No 
Refclock "Motorola UT Oncore GPS" disabled, PPS API has not been detected as working. 
Enabling Refclock JJY Receivers (jjy):                          : Yes 
Enabling Refclock Zyfer GPStarplus Receiver (zyfer):            : Yes 
Enabling Refclock GPSD NG client protocol (gpsd):               : Yes 
Checking for header dns_sd.h                                    : yes 
Checking for library socket                                     : yes 
Checking for library nsl                                        : yes 
Checking for OpenSSL with TLSv1.3 support                       : yes 
Checking for OpenSSL != 1.1.1a                                  : yes 
Writing configuration header:                                   : config.h 
 
Build Options 
  CC                            :  gcc 
  CFLAGS                        :  -DUNITY_EXCLUDE_FLOAT_PRINT -fstack-protector-all -Wshadow -Wpacked -Wcast-qual -Wmissing-declarations -Wdisabled-optimization -Wimplicit-function-declaration -Winvalid-pch -Wpointer-arith -Wwrite-strings -Winit-self -Wfloat-equal -Wformat -Wformat-signedness -Wformat-security -Wsuggest-attribute=noreturn -fPIC -O1 -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wundef -Wunused -std=c99 -D_GNU_SOURCE -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/local/include/python3.9 -I/opt/local/include 
  LDFLAGS                       :  -lssp -lssp_nonshared -Wl,-z,now -Wl,--strip-all 
  LINKFLAGS_NTPD                :  -pie 
  PREFIX                        :  /opt/local 
  Droproot Support              :  Solaris 
  Debug Support                 :  No 
  Refclocks                     :  arbiter, generic, gpsd, hpgps, jjy, local, modem, nmea, shm, spectracom, trimble, truetime, zyfer 
  Build Docs                    :  Yes 
  Build Manpages                :  Yes 
Checking for program 'python'                                   : /opt/local/bin/python3.9 
Checking for python version >= 2.6.0                            : 3.9.9 
python-config                                                   : /opt/local/bin/python3.9-config 
Asking python-config for pyext '--cflags --libs --ldflags' flags : yes 
Testing pyext configuration                                      : yes 
Checking for python module 'curses'                              : ok 
Checking for python module 'argparse'                            : 1.1 
Checking for python module 'gps' (ver >= num(3, 18))             : 3.23.1 
  PYTHONDIR                     :  /opt/local/lib/python3.9/site-packages 
  PYTHONARCHDIR                 :  /opt/local/lib/python3.9/site-packages 
'configure' finished successfully (12.553s)