=> Bootstrap dependency digest>=20211023: found digest-20211023
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for py37-numpy-1.21.5
(cd /work/math/py-numpy/work/numpy-1.21.5/ && /usr/bin/env NPY_BLAS_LIBS=-lblas NPY_LAPACK_LIBS=-llapack\ -lblas NPY_CBLAS_LIBS=-lcblas\ -lblas USETOOLS=no DL_CFLAGS=\ -pthread\  DL_LDFLAGS=\ -pthread DL_LIBS= PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr PYTHON=/usr/pkg/bin/python3.7 CC=gcc CFLAGS=-O2\ -fPIC\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/python3.7 CPPFLAGS=-I/usr/pkg/include/netlib\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/python3.7 CXX=c++ CXXFLAGS=-O2\ -fPIC\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/python3.7 COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib LINKER_RPATH_FLAG=-R PATH=/work/math/py-numpy/work/.cwrapper/bin:/work/math/py-numpy/work/.buildlink/bin:/work/math/py-numpy/work/.tools/bin:/work/math/py-numpy/work/.gfortran/bin:/work/math/py-numpy/work/.gcc/bin:/usr/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/work/math/py-numpy/work/.home CWRAPPERS_CONFIG_DIR=/work/math/py-numpy/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 775 INSTALL_INFO= MAKEINFO=/work/math/py-numpy/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/work/math/py-numpy/work/.tools/bin/itstool GDBUS_CODEGEN=/work/math/py-numpy/work/.tools/bin/gdbus-codegen PKG_CONFIG= PKG_CONFIG_LIBDIR=/work/math/py-numpy/work/.buildlink/lib/pkgconfig:/work/math/py-numpy/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/work/math/py-numpy/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/work/math/py-numpy/work/.cwrapper/config /usr/pkg/bin/python3.7  setup.py  build --fcompiler=gnu95 -j4)
Processing numpy/random/_bounded_integers.pxd.in
Processing numpy/random/_mt19937.pyx
Processing numpy/random/_generator.pyx
Processing numpy/random/_philox.pyx
Processing numpy/random/_bounded_integers.pyx.in
Processing numpy/random/_common.pyx
Processing numpy/random/_sfc64.pyx
Processing numpy/random/bit_generator.pyx
Processing numpy/random/_pcg64.pyx
Processing numpy/random/mtrand.pyx
Cythonizing sources
blas_opt_info:
  FOUND:
    language = f77
    libraries = []
    include_dirs = []
    define_macros = [('HAVE_CBLAS', None)]
    extra_link_args = ['-lblas', '-lcblas', '-lblas']

non-existing path in 'numpy/distutils': 'site.cfg'
lapack_opt_info:
  FOUND:
    language = f77
    libraries = []
    include_dirs = []
    define_macros = []
    extra_link_args = ['-llapack', '-lblas']

running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
creating build
creating build/src.netbsd-8.0-amd64-3.7
creating build/src.netbsd-8.0-amd64-3.7/numpy
creating build/src.netbsd-8.0-amd64-3.7/numpy/distutils
building library "npymath" sources
_configtest.cxx: In function 'int main()':
_configtest.cxx:1:22: error: 'x' does not name a type
 int main(void){ auto x = 0.0; return static_cast<int>(x); }
                      ^
_configtest.cxx:1:55: error: 'x' was not declared in this scope
 int main(void){ auto x = 0.0; return static_cast<int>(x); }
                                                       ^
Running from numpy source directory.
Warning: attempted relative import with no known parent package
/usr/pkg/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
  warnings.warn(msg)
Traceback (most recent call last):
  File "setup.py", line 448, in <module>
    setup_package()
  File "setup.py", line 440, in setup_package
    setup(**metadata)
  File "/work/math/py-numpy/work/numpy-1.21.5/numpy/distutils/core.py", line 169, in setup
    return old_setup(**new_attr)
  File "/usr/pkg/lib/python3.7/site-packages/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/usr/pkg/lib/python3.7/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/pkg/lib/python3.7/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/usr/pkg/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/work/math/py-numpy/work/numpy-1.21.5/numpy/distutils/command/build.py", line 61, in run
    old_build.run(self)
  File "/usr/pkg/lib/python3.7/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/usr/pkg/lib/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/pkg/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/work/math/py-numpy/work/numpy-1.21.5/numpy/distutils/command/build_src.py", line 144, in run
    self.build_sources()
  File "/work/math/py-numpy/work/numpy-1.21.5/numpy/distutils/command/build_src.py", line 155, in build_sources
    self.build_library_sources(*libname_info)
  File "/work/math/py-numpy/work/numpy-1.21.5/numpy/distutils/command/build_src.py", line 288, in build_library_sources
    sources = self.generate_sources(sources, (lib_name, build_info))
  File "/work/math/py-numpy/work/numpy-1.21.5/numpy/distutils/command/build_src.py", line 378, in generate_sources
    source = func(extension, build_dir)
  File "numpy/core/setup.py", line 684, in get_mathlib_info
    f"Broken toolchain: cannot link a simple {lang.upper()} "
RuntimeError: Broken toolchain: cannot link a simple C++ program. note: A compiler with support for C++11 language features is required.
*** Error code 1

Stop.
make[1]: stopped in /tree/pkgsrc/math/py-numpy
*** Error code 1

Stop.
make: stopped in /tree/pkgsrc/math/py-numpy