=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for ntpsec-1.1.3.tar.gz
=> Checksum RMD160 OK for ntpsec-1.1.3.tar.gz
=> Checksum SHA512 OK for ntpsec-1.1.3.tar.gz
===> Installing dependencies for ntpsec-1.1.3nb3
==========================================================================
The following variables will affect the build process of this package,
ntpsec-1.1.3nb3.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 37
        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private

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

        * PYPACKAGE = python37

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Tool dependency bison>=1.0: found bison-3.4.2
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.6.0
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency asciidoc-[0-9]*: found asciidoc-9.0.0rc2nb1
=> Build dependency waf-[0-9]*: found waf-2.0.20
=> Build dependency libxslt>=1.1.34nb2: found libxslt-1.1.34nb2
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency py37-curses-[0-9]*: found py37-curses-3.7.7nb5
=> Full dependency python37>=3.7.0: found python37-3.7.7
=> Full dependency gpsd>=3.19: found gpsd-3.20nb2
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Overriding tools for ntpsec-1.1.3nb3
===> Extracting for ntpsec-1.1.3nb3
===> Patching for ntpsec-1.1.3nb3
=> Applying pkgsrc patches for ntpsec-1.1.3nb3
=> Verifying /data/pkgsrc/time/ntpsec/patches/patch-pylib_poly.py
=> Applying pkgsrc patch /data/pkgsrc/time/ntpsec/patches/patch-pylib_poly.py
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-pylib_poly.py,v 1.1 2019/03/25 15:40:35 tnn Exp $
|
|- NetBSD fix from upstream:
|  https://gitlab.com/NTPsec/ntpsec/commit/a4453ee5a4edf87cf081fe69f5c214a8b2a82b58
|
|--- pylib/poly.py.orig	2019-01-14 05:40:59.000000000 +0000
|+++ pylib/poly.py
--------------------------
Patching file pylib/poly.py using Plan A...
Hunk #1 succeeded at 103.
done
=> Verifying /data/pkgsrc/time/ntpsec/patches/patch-wafhelpers_waf.py
=> Applying pkgsrc patch /data/pkgsrc/time/ntpsec/patches/patch-wafhelpers_waf.py
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-wafhelpers_waf.py,v 1.1 2019/03/25 15:40:35 tnn Exp $
|
|Kludge for waf 2.0. Added include paths in CFLAGS in pkgsrc Makefile instead.
|
|--- wafhelpers/waf.py.orig	2019-01-14 05:40:59.000000000 +0000
|+++ wafhelpers/waf.py
--------------------------
Patching file wafhelpers/waf.py using Plan A...
Hunk #1 succeeded at 6.
done
=> Verifying /data/pkgsrc/time/ntpsec/patches/patch-wscript
=> Applying pkgsrc patch /data/pkgsrc/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.1 2019/03/25 15:40:35 tnn Exp $
|
|- don't hardcode PREFIX
|- waf-2.x support from upstream:
|  https://gitlab.com/NTPsec/ntpsec/commit/ff6f50b1ce7d7c2a552b27c6e8fb19639a7bf82a
|
|--- wscript.orig	2019-01-14 05:40:59.000000000 +0000
|+++ wscript
--------------------------
Patching file wscript using Plan A...
Hunk #1 succeeded at 536.
Hunk #2 succeeded at 550.
Hunk #3 succeeded at 580.
Hunk #4 succeeded at 595.
done
===> Creating toolchain wrappers for ntpsec-1.1.3nb3
===> Configuring for ntpsec-1.1.3nb3
=> Generating pkg-config files for builtin xz package.
=> Replacing python interpreter in ntpclients/*.py.
=> Checking for portability problems in extracted files
cd /data/scratch/time/ntpsec/work/ntpsec-1.1.3 && /usr/bin/env PYTHON_CONFIG=/usr/pkg/bin/python3.7-config BIN_A2X=/usr/pkg/bin/a2x BIN_XSLTPROC=/usr/pkg/bin/xsltproc CC=clang CFLAGS=-O2\ -I../../build\ -I../../include\ -I/usr/include\ -I/usr/pkg/include/python3.7\ -I/usr/pkg/include CXX=clang++ CXXFLAGS=-O2\ -I../../build\ -I../../include\ -I/usr/include\ -I/usr/pkg/include/python3.7\ -I/usr/pkg/include DESTDIR=/data/scratch/time/ntpsec/work/.destdir LINKFLAGS=\ \ \ -L/usr/lib\ -Wl,-R/usr/lib\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib PATH=/data/scratch/time/ntpsec/work/.cwrapper/bin:/data/scratch/time/ntpsec/work/.buildlink/bin:/data/scratch/time/ntpsec/work/.tools/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin PREFIX=/usr/pkg ./waf --mandir=/usr/pkg/man --libdir=/usr/pkg/lib --python=/usr/pkg/bin/python3.7 --nopyc --nopyo --refclock=all configure
Setting top to                           : /data/scratch/time/ntpsec/work/ntpsec-1.1.3 
Setting out to                           : /data/scratch/time/ntpsec/work/ntpsec-1.1.3/build 
--- Configuring host --- 
Checking for 'clang' (C compiler)        : clang 
Checking compiler version                : 10.0.10 
Checking for program 'm4'                : /data/scratch/time/ntpsec/work/.tools/bin/m4 
Checking for program 'bison'             : /data/scratch/time/ntpsec/work/.tools/bin/bison 
Checking for program 'awk'               : /data/scratch/time/ntpsec/work/.tools/bin/awk 
Checking for program 'sh'                : /data/scratch/time/ntpsec/work/.tools/bin/sh 
Checking for program 'asciidoc'          : /usr/pkg/bin/asciidoc 
Traceback (most recent call last):
  File "/data/scratch/time/ntpsec/work/ntpsec-1.1.3/.waf3-1.9.15-7481b2b5d90177d4bb747dbff06bef90/waflib/Scripting.py", line 122, in waf_entry_point
    run_commands()
  File "/data/scratch/time/ntpsec/work/ntpsec-1.1.3/.waf3-1.9.15-7481b2b5d90177d4bb747dbff06bef90/waflib/Scripting.py", line 183, in run_commands
    ctx=run_command(cmd_name)
  File "/data/scratch/time/ntpsec/work/ntpsec-1.1.3/.waf3-1.9.15-7481b2b5d90177d4bb747dbff06bef90/waflib/Scripting.py", line 174, in run_command
    ctx.execute()
  File "/data/scratch/time/ntpsec/work/ntpsec-1.1.3/.waf3-1.9.15-7481b2b5d90177d4bb747dbff06bef90/waflib/Configure.py", line 85, in execute
    super(ConfigurationContext,self).execute()
  File "/data/scratch/time/ntpsec/work/ntpsec-1.1.3/.waf3-1.9.15-7481b2b5d90177d4bb747dbff06bef90/waflib/Context.py", line 88, in execute
    self.recurse([os.path.dirname(g_module.root_path)])
  File "/data/scratch/time/ntpsec/work/ntpsec-1.1.3/.waf3-1.9.15-7481b2b5d90177d4bb747dbff06bef90/waflib/Context.py", line 129, in recurse
    user_function(self)
  File "/data/scratch/time/ntpsec/work/ntpsec-1.1.3/wscript", line 164, in configure
    asciidocver_tuple = (int(lines[0]), int(lines[1]), int(lines[2]))
ValueError: invalid literal for int() with base 10: '0rc2'
*** Error code 2

Stop.
make[1]: stopped in /data/pkgsrc/time/ntpsec
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/time/ntpsec