=> Bootstrap dependency digest>=20010302: found digest-20160304
===> 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'.
===> Building for ap24-py36-python-3.5.0nb1
git: not found

Building mod_python.so.

/usr/pkg/bin/apxs -I/data/scratch/www/ap2-python/work/mod_python-3.5.0/src/include -I/usr/pkg/include/python3.6 -DNDEBUG  -c mod_python.c _apachemodule.c requestobject.c tableobject.c util.c  serverobject.c connobject.c filterobject.c hlist.c  hlistobject.c finfoobject.c version.c  include/_apachemodule.h  include/filterobject.h  include/hlist.h  include/mod_python.h  include/psp_flex.h include/psp_parser.h   include/requestobject.h include/tableobject.h include/connobject.h  include/finfoobject.h include/hlistobject.h include/mp_version.h  include/_pspmodule.h  include/psp_string.h  include/serverobject.h  include/util.h -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib/python3.6/config -lpython3.6 -lintl -lpthread  -lutil
/data/scratch/www/ap2-python/work/.cwrapper/bin/libtool --silent --mode=compile clang -prefer-pic -O2 -I/usr/pkg/include/apr-1 -I/usr/pkg/include -I/usr/include  -DNETBSD -pthread -I/usr/pkg/include/httpd  -I/usr/pkg/include/apr-1   -I/usr/pkg/include/apr-1  -I/data/scratch/www/ap2-python/work/mod_python-3.5.0/src/include -I/usr/pkg/include/python3.6 -DNDEBUG  -c -o mod_python.lo mod_python.c && touch mod_python.slo
mod_python.c:505:38: warning: address of array 'fname' will always evaluate to 'true' [-Wpointer-bool-conversion]
                         n, locks, (!fname) ? "<null>" : fname);
                                    ~^~~~~
/data/scratch/www/ap2-python/work/.buildlink/include/httpd/http_log.h:363:42: note: expanded from macro 'ap_log_error'
#define ap_log_error(...) ap_log_error__(__VA_ARGS__)
                                         ^~~~~~~~~~~
/data/scratch/www/ap2-python/work/.buildlink/include/httpd/http_log.h:367:65: note: expanded from macro 'ap_log_error__'
             ap_log_error_(file, line, mi, level, status, sr__, __VA_ARGS__);    \
                                                                ^~~~~~~~~~~
mod_python.c:581:28: warning: address of array 'fname' will always evaluate to 'true' [-Wpointer-bool-conversion]
                         (!fname) ? "<null>" : fname);
                          ~^~~~~
/data/scratch/www/ap2-python/work/.buildlink/include/httpd/http_log.h:363:42: note: expanded from macro 'ap_log_error'
#define ap_log_error(...) ap_log_error__(__VA_ARGS__)
                                         ^~~~~~~~~~~
/data/scratch/www/ap2-python/work/.buildlink/include/httpd/http_log.h:367:65: note: expanded from macro 'ap_log_error__'
             ap_log_error_(file, line, mi, level, status, sr__, __VA_ARGS__);    \
                                                                ^~~~~~~~~~~
2 warnings generated.
/data/scratch/www/ap2-python/work/.cwrapper/bin/libtool --silent --mode=compile clang -prefer-pic -O2 -I/usr/pkg/include/apr-1 -I/usr/pkg/include -I/usr/include  -DNETBSD -pthread -I/usr/pkg/include/httpd  -I/usr/pkg/include/apr-1   -I/usr/pkg/include/apr-1  -I/data/scratch/www/ap2-python/work/mod_python-3.5.0/src/include -I/usr/pkg/include/python3.6 -DNDEBUG  -c -o _apachemodule.lo _apachemodule.c && touch _apachemodule.slo
/data/scratch/www/ap2-python/work/.cwrapper/bin/libtool --silent --mode=compile clang -prefer-pic -O2 -I/usr/pkg/include/apr-1 -I/usr/pkg/include -I/usr/include  -DNETBSD -pthread -I/usr/pkg/include/httpd  -I/usr/pkg/include/apr-1   -I/usr/pkg/include/apr-1  -I/data/scratch/www/ap2-python/work/mod_python-3.5.0/src/include -I/usr/pkg/include/python3.6 -DNDEBUG  -c -o requestobject.lo requestobject.c && touch requestobject.slo
/data/scratch/www/ap2-python/work/.cwrapper/bin/libtool --silent --mode=compile clang -prefer-pic -O2 -I/usr/pkg/include/apr-1 -I/usr/pkg/include -I/usr/include  -DNETBSD -pthread -I/usr/pkg/include/httpd  -I/usr/pkg/include/apr-1   -I/usr/pkg/include/apr-1  -I/data/scratch/www/ap2-python/work/mod_python-3.5.0/src/include -I/usr/pkg/include/python3.6 -DNDEBUG  -c -o tableobject.lo tableobject.c && touch tableobject.slo
/data/scratch/www/ap2-python/work/.cwrapper/bin/libtool --silent --mode=compile clang -prefer-pic -O2 -I/usr/pkg/include/apr-1 -I/usr/pkg/include -I/usr/include  -DNETBSD -pthread -I/usr/pkg/include/httpd  -I/usr/pkg/include/apr-1   -I/usr/pkg/include/apr-1  -I/data/scratch/www/ap2-python/work/mod_python-3.5.0/src/include -I/usr/pkg/include/python3.6 -DNDEBUG  -c -o util.lo util.c && touch util.slo
/data/scratch/www/ap2-python/work/.cwrapper/bin/libtool --silent --mode=compile clang -prefer-pic -O2 -I/usr/pkg/include/apr-1 -I/usr/pkg/include -I/usr/include  -DNETBSD -pthread -I/usr/pkg/include/httpd  -I/usr/pkg/include/apr-1   -I/usr/pkg/include/apr-1  -I/data/scratch/www/ap2-python/work/mod_python-3.5.0/src/include -I/usr/pkg/include/python3.6 -DNDEBUG  -c -o serverobject.lo serverobject.c && touch serverobject.slo
/data/scratch/www/ap2-python/work/.cwrapper/bin/libtool --silent --mode=compile clang -prefer-pic -O2 -I/usr/pkg/include/apr-1 -I/usr/pkg/include -I/usr/include  -DNETBSD -pthread -I/usr/pkg/include/httpd  -I/usr/pkg/include/apr-1   -I/usr/pkg/include/apr-1  -I/data/scratch/www/ap2-python/work/mod_python-3.5.0/src/include -I/usr/pkg/include/python3.6 -DNDEBUG  -c -o connobject.lo connobject.c && touch connobject.slo
/data/scratch/www/ap2-python/work/.cwrapper/bin/libtool --silent --mode=compile clang -prefer-pic -O2 -I/usr/pkg/include/apr-1 -I/usr/pkg/include -I/usr/include  -DNETBSD -pthread -I/usr/pkg/include/httpd  -I/usr/pkg/include/apr-1   -I/usr/pkg/include/apr-1  -I/data/scratch/www/ap2-python/work/mod_python-3.5.0/src/include -I/usr/pkg/include/python3.6 -DNDEBUG  -c -o filterobject.lo filterobject.c && touch filterobject.slo
/data/scratch/www/ap2-python/work/.cwrapper/bin/libtool --silent --mode=compile clang -prefer-pic -O2 -I/usr/pkg/include/apr-1 -I/usr/pkg/include -I/usr/include  -DNETBSD -pthread -I/usr/pkg/include/httpd  -I/usr/pkg/include/apr-1   -I/usr/pkg/include/apr-1  -I/data/scratch/www/ap2-python/work/mod_python-3.5.0/src/include -I/usr/pkg/include/python3.6 -DNDEBUG  -c -o hlist.lo hlist.c && touch hlist.slo
/data/scratch/www/ap2-python/work/.cwrapper/bin/libtool --silent --mode=compile clang -prefer-pic -O2 -I/usr/pkg/include/apr-1 -I/usr/pkg/include -I/usr/include  -DNETBSD -pthread -I/usr/pkg/include/httpd  -I/usr/pkg/include/apr-1   -I/usr/pkg/include/apr-1  -I/data/scratch/www/ap2-python/work/mod_python-3.5.0/src/include -I/usr/pkg/include/python3.6 -DNDEBUG  -c -o hlistobject.lo hlistobject.c && touch hlistobject.slo
/data/scratch/www/ap2-python/work/.cwrapper/bin/libtool --silent --mode=compile clang -prefer-pic -O2 -I/usr/pkg/include/apr-1 -I/usr/pkg/include -I/usr/include  -DNETBSD -pthread -I/usr/pkg/include/httpd  -I/usr/pkg/include/apr-1   -I/usr/pkg/include/apr-1  -I/data/scratch/www/ap2-python/work/mod_python-3.5.0/src/include -I/usr/pkg/include/python3.6 -DNDEBUG  -c -o finfoobject.lo finfoobject.c && touch finfoobject.slo
/data/scratch/www/ap2-python/work/.cwrapper/bin/libtool --silent --mode=compile clang -prefer-pic -O2 -I/usr/pkg/include/apr-1 -I/usr/pkg/include -I/usr/include  -DNETBSD -pthread -I/usr/pkg/include/httpd  -I/usr/pkg/include/apr-1   -I/usr/pkg/include/apr-1  -I/data/scratch/www/ap2-python/work/mod_python-3.5.0/src/include -I/usr/pkg/include/python3.6 -DNDEBUG  -c -o version.lo version.c && touch version.slo
/data/scratch/www/ap2-python/work/.cwrapper/bin/libtool --silent --mode=link clang -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib   -o mod_python.la  -rpath /usr/pkg/lib/httpd -module -avoid-version    version.lo finfoobject.lo hlistobject.lo hlist.lo filterobject.lo connobject.lo serverobject.lo util.lo tableobject.lo requestobject.lo _apachemodule.lo mod_python.lo include/_apachemodule.h include/filterobject.h include/hlist.h include/mod_python.h include/psp_flex.h include/psp_parser.h include/requestobject.h include/tableobject.h include/connobject.h include/finfoobject.h include/hlistobject.h include/mp_version.h include/_pspmodule.h include/psp_string.h include/serverobject.h include/util.h -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib/python3.6/config -lpython3.6 -lintl -lpthread -lutil
ln -s ../lib/python/mod_python mod_python
ln -s ../src src
`psp_parser.c' is up to date.
/usr/pkg/bin/python3.6 setup.py build
running build
running build_py
creating build
creating build/lib.netbsd-8.99.14-amd64-3.6
creating build/lib.netbsd-8.99.14-amd64-3.6/mod_python
copying /data/scratch/www/ap2-python/work/mod_python-3.5.0/lib/python/mod_python/httpdconf.py -> build/lib.netbsd-8.99.14-amd64-3.6/mod_python
copying /data/scratch/www/ap2-python/work/mod_python-3.5.0/lib/python/mod_python/testhandler.py -> build/lib.netbsd-8.99.14-amd64-3.6/mod_python
copying /data/scratch/www/ap2-python/work/mod_python-3.5.0/lib/python/mod_python/psp.py -> build/lib.netbsd-8.99.14-amd64-3.6/mod_python
copying /data/scratch/www/ap2-python/work/mod_python-3.5.0/lib/python/mod_python/python22.py -> build/lib.netbsd-8.99.14-amd64-3.6/mod_python
copying /data/scratch/www/ap2-python/work/mod_python-3.5.0/lib/python/mod_python/publisher.py -> build/lib.netbsd-8.99.14-amd64-3.6/mod_python
copying /data/scratch/www/ap2-python/work/mod_python-3.5.0/lib/python/mod_python/__init__.py -> build/lib.netbsd-8.99.14-amd64-3.6/mod_python
copying /data/scratch/www/ap2-python/work/mod_python-3.5.0/lib/python/mod_python/Cookie.py -> build/lib.netbsd-8.99.14-amd64-3.6/mod_python
copying /data/scratch/www/ap2-python/work/mod_python-3.5.0/lib/python/mod_python/cache.py -> build/lib.netbsd-8.99.14-amd64-3.6/mod_python
copying /data/scratch/www/ap2-python/work/mod_python-3.5.0/lib/python/mod_python/apache.py -> build/lib.netbsd-8.99.14-amd64-3.6/mod_python
copying /data/scratch/www/ap2-python/work/mod_python-3.5.0/lib/python/mod_python/wsgi.py -> build/lib.netbsd-8.99.14-amd64-3.6/mod_python
copying /data/scratch/www/ap2-python/work/mod_python-3.5.0/lib/python/mod_python/cgihandler.py -> build/lib.netbsd-8.99.14-amd64-3.6/mod_python
copying /data/scratch/www/ap2-python/work/mod_python-3.5.0/lib/python/mod_python/util.py -> build/lib.netbsd-8.99.14-amd64-3.6/mod_python
copying /data/scratch/www/ap2-python/work/mod_python-3.5.0/lib/python/mod_python/Session.py -> build/lib.netbsd-8.99.14-amd64-3.6/mod_python
copying /data/scratch/www/ap2-python/work/mod_python-3.5.0/lib/python/mod_python/version.py -> build/lib.netbsd-8.99.14-amd64-3.6/mod_python
running build_ext
building 'mod_python._psp' extension
creating build/temp.netbsd-8.99.14-amd64-3.6
creating build/temp.netbsd-8.99.14-amd64-3.6/data
creating build/temp.netbsd-8.99.14-amd64-3.6/data/scratch
creating build/temp.netbsd-8.99.14-amd64-3.6/data/scratch/www
creating build/temp.netbsd-8.99.14-amd64-3.6/data/scratch/www/ap2-python
creating build/temp.netbsd-8.99.14-amd64-3.6/data/scratch/www/ap2-python/work
creating build/temp.netbsd-8.99.14-amd64-3.6/data/scratch/www/ap2-python/work/mod_python-3.5.0
creating build/temp.netbsd-8.99.14-amd64-3.6/data/scratch/www/ap2-python/work/mod_python-3.5.0/src
clang -DNDEBUG -O2 -I/usr/include -I/usr/pkg/include -O2 -I/usr/include -I/usr/pkg/include/python3.6 -I/usr/pkg/include -I/usr/pkg/include/apr-1 -I/usr/include -I/usr/pkg/include/python3.6 -I/usr/pkg/include -I/usr/pkg/include/apr-1 -fPIC -I/data/scratch/www/ap2-python/work/mod_python-3.5.0/src/include -I/usr/pkg/include/python3.6 -c /data/scratch/www/ap2-python/work/mod_python-3.5.0/src/psp_string.c -o build/temp.netbsd-8.99.14-amd64-3.6/data/scratch/www/ap2-python/work/mod_python-3.5.0/src/psp_string.o
clang -DNDEBUG -O2 -I/usr/include -I/usr/pkg/include -O2 -I/usr/include -I/usr/pkg/include/python3.6 -I/usr/pkg/include -I/usr/pkg/include/apr-1 -I/usr/include -I/usr/pkg/include/python3.6 -I/usr/pkg/include -I/usr/pkg/include/apr-1 -fPIC -I/data/scratch/www/ap2-python/work/mod_python-3.5.0/src/include -I/usr/pkg/include/python3.6 -c /data/scratch/www/ap2-python/work/mod_python-3.5.0/src/psp_parser.c -o build/temp.netbsd-8.99.14-amd64-3.6/data/scratch/www/ap2-python/work/mod_python-3.5.0/src/psp_parser.o
clang -DNDEBUG -O2 -I/usr/include -I/usr/pkg/include -O2 -I/usr/include -I/usr/pkg/include/python3.6 -I/usr/pkg/include -I/usr/pkg/include/apr-1 -I/usr/include -I/usr/pkg/include/python3.6 -I/usr/pkg/include -I/usr/pkg/include/apr-1 -fPIC -I/data/scratch/www/ap2-python/work/mod_python-3.5.0/src/include -I/usr/pkg/include/python3.6 -c /data/scratch/www/ap2-python/work/mod_python-3.5.0/src/_pspmodule.c -o build/temp.netbsd-8.99.14-amd64-3.6/data/scratch/www/ap2-python/work/mod_python-3.5.0/src/_pspmodule.o
clang -pthread -shared -L. -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -O2 -I/usr/include -I/usr/pkg/include/python3.6 -I/usr/pkg/include -I/usr/pkg/include/apr-1 -I/usr/include -I/usr/pkg/include/python3.6 -I/usr/pkg/include -I/usr/pkg/include/apr-1 build/temp.netbsd-8.99.14-amd64-3.6/data/scratch/www/ap2-python/work/mod_python-3.5.0/src/psp_string.o build/temp.netbsd-8.99.14-amd64-3.6/data/scratch/www/ap2-python/work/mod_python-3.5.0/src/psp_parser.o build/temp.netbsd-8.99.14-amd64-3.6/data/scratch/www/ap2-python/work/mod_python-3.5.0/src/_pspmodule.o -L/usr/pkg/lib -lpython3.6 -o build/lib.netbsd-8.99.14-amd64-3.6/mod_python/_psp.so

Now run sudo make install
  (or, if you only want to perform a partial install,
   you can use make install_dso and make install_py_lib)