=> Bootstrap dependency digest>=20010302: found digest-20190127
=> Checksum SHA1 OK for nanomsgxx-0.2.tar.gz
=> Checksum RMD160 OK for nanomsgxx-0.2.tar.gz
=> Checksum SHA512 OK for nanomsgxx-0.2.tar.gz
===> Installing dependencies for nanomsgxx-0.2
==========================================================================
The following variables will affect the build process of this package,
nanomsgxx-0.2.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 37

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 checkperms>=1.1: found checkperms-1.12
=> Build dependency waf>=1.8.4: found waf-2.0.20
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency nanomsg>=1.0.0: found nanomsg-1.0.0nb1
=> Full dependency python37>=3.7.0: found python37-3.7.9
===> 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 nanomsgxx-0.2
===> Extracting for nanomsgxx-0.2
===> Patching for nanomsgxx-0.2
=> Applying pkgsrc patches for nanomsgxx-0.2
=> Verifying /data/pkgsrc/net/nanomsgxx/patches/patch-src_nnxx_wscript
=> Applying pkgsrc patch /data/pkgsrc/net/nanomsgxx/patches/patch-src_nnxx_wscript
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_nnxx_wscript,v 1.1 2016/09/30 15:01:11 wiz Exp $
|
|Python-3.x fix. Already merged upstream.
|
|--- src/nnxx/wscript.orig	2016-05-16 02:33:55.000000000 +0000
|+++ src/nnxx/wscript
--------------------------
Patching file src/nnxx/wscript using Plan A...
Hunk #1 succeeded at 9.
done
=> Verifying /data/pkgsrc/net/nanomsgxx/patches/patch-tests_wscript
=> Applying pkgsrc patch /data/pkgsrc/net/nanomsgxx/patches/patch-tests_wscript
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-tests_wscript,v 1.1 2016/09/30 22:44:38 wiz Exp $
|
|Fix build with waf-1.9.x.
|https://github.com/achille-roussel/nanomsgxx/issues/10
|
|--- tests/wscript.orig	2016-05-16 02:33:55.000000000 +0000
|+++ tests/wscript
--------------------------
Patching file tests/wscript using Plan A...
Hunk #1 succeeded at 12.
done
===> Creating toolchain wrappers for nanomsgxx-0.2
===> Configuring for nanomsgxx-0.2
=> Adding run-time search paths to pkg-config files.
=> Checking for portability problems in extracted files
cd /data/scratch/net/nanomsgxx/work/nanomsgxx-0.2 && /usr/bin/env CC=clang CFLAGS=-O2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/python3.7 CXX=clang++ CXXFLAGS=-O2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/python3.7 DESTDIR=/data/scratch/net/nanomsgxx/work/.destdir LINKFLAGS=\ \ \ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib PATH=/data/scratch/net/nanomsgxx/work/.cwrapper/bin:/data/scratch/net/nanomsgxx/work/.buildlink/bin:/data/scratch/net/nanomsgxx/work/.tools/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin PREFIX=/usr/pkg ./waf --libdir=/usr/pkg/lib  configure
Traceback (most recent call last):
  File "/data/scratch/net/nanomsgxx/work/nanomsgxx-0.2/.waf3-1.7.11-edc6ccb516c5e3f9b892efc9f53a610f/waflib/Node.py", line 282, in ant_iter
    raise StopIteration
StopIteration

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/data/scratch/net/nanomsgxx/work/nanomsgxx-0.2/.waf3-1.7.11-edc6ccb516c5e3f9b892efc9f53a610f/waflib/Scripting.py", line 97, in waf_entry_point
    run_commands()
  File "/data/scratch/net/nanomsgxx/work/nanomsgxx-0.2/.waf3-1.7.11-edc6ccb516c5e3f9b892efc9f53a610f/waflib/Scripting.py", line 149, in run_commands
    parse_options()
  File "/data/scratch/net/nanomsgxx/work/nanomsgxx-0.2/.waf3-1.7.11-edc6ccb516c5e3f9b892efc9f53a610f/waflib/Scripting.py", line 127, in parse_options
    Context.create_context('options').execute()
  File "/data/scratch/net/nanomsgxx/work/nanomsgxx-0.2/.waf3-1.7.11-edc6ccb516c5e3f9b892efc9f53a610f/waflib/Options.py", line 134, in execute
    super(OptionsContext,self).execute()
  File "/data/scratch/net/nanomsgxx/work/nanomsgxx-0.2/.waf3-1.7.11-edc6ccb516c5e3f9b892efc9f53a610f/waflib/Context.py", line 87, in execute
    self.recurse([os.path.dirname(g_module.root_path)])
  File "/data/scratch/net/nanomsgxx/work/nanomsgxx-0.2/.waf3-1.7.11-edc6ccb516c5e3f9b892efc9f53a610f/waflib/Context.py", line 128, in recurse
    user_function(self)
  File "/data/scratch/net/nanomsgxx/work/nanomsgxx-0.2/wscript", line 74, in options
    waf.load('compiler_c compiler_cxx waf_unit_test')
  File "/data/scratch/net/nanomsgxx/work/nanomsgxx-0.2/.waf3-1.7.11-edc6ccb516c5e3f9b892efc9f53a610f/waflib/Context.py", line 84, in load
    fun(self)
  File "/data/scratch/net/nanomsgxx/work/nanomsgxx-0.2/.waf3-1.7.11-edc6ccb516c5e3f9b892efc9f53a610f/waflib/Tools/compiler_c.py", line 31, in options
    opt.load_special_tools('c_*.py',ban=['c_dumbpreproc.py'])
  File "/data/scratch/net/nanomsgxx/work/nanomsgxx-0.2/.waf3-1.7.11-edc6ccb516c5e3f9b892efc9f53a610f/waflib/Context.py", line 264, in load_special_tools
    lst=self.root.find_node(waf_dir).find_node('waflib/extras').ant_glob(var)
  File "/data/scratch/net/nanomsgxx/work/nanomsgxx-0.2/.waf3-1.7.11-edc6ccb516c5e3f9b892efc9f53a610f/waflib/Node.py", line 331, in ant_glob
    ret=[x for x in self.ant_iter(accept=accept,pats=[to_pat(incl),to_pat(excl)],maxdepth=25,dir=dir,src=src,remove=kw.get('remove',True))]
  File "/data/scratch/net/nanomsgxx/work/nanomsgxx-0.2/.waf3-1.7.11-edc6ccb516c5e3f9b892efc9f53a610f/waflib/Node.py", line 331, in <listcomp>
    ret=[x for x in self.ant_iter(accept=accept,pats=[to_pat(incl),to_pat(excl)],maxdepth=25,dir=dir,src=src,remove=kw.get('remove',True))]
RuntimeError: generator raised StopIteration
*** Error code 2

Stop.
make[1]: stopped in /data/pkgsrc/net/nanomsgxx
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/net/nanomsgxx