=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Building for ap24-py37-python-3.5.0nb1
sh: git: not found

Building mod_python.so.

/usr/pkg/bin/apxs -I/tmp/pkgbuild/www/ap2-python/work.alpha/mod_python-3.5.0/src/include -I/usr/pkg/include/python3.7 -DNDEBUG -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2  -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.7/config -lpython3.7 -lcrypt -lintl -lpthread  -lutil
/tmp/pkgbuild/www/ap2-python/work.alpha/.cwrapper/bin/libtool --silent --mode=compile gcc -prefer-pic -O2 -mieee -D_FORTIFY_SOURCE=2 -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/tmp/pkgbuild/www/ap2-python/work.alpha/mod_python-3.5.0/src/include -I/usr/pkg/include/python3.7 -DNDEBUG -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2  -c -o mod_python.lo mod_python.c && touch mod_python.slo
mod_python.c: In function 'PythonChildInitHandler':
mod_python.c:2619:5: warning: 'PyOS_AfterFork' is deprecated [-Wdeprecated-declarations]
     PyOS_AfterFork();
     ^
In file included from /tmp/pkgbuild/www/ap2-python/work.alpha/.buildlink/include/python3.7/Python.h:144:0,
                 from /tmp/pkgbuild/www/ap2-python/work.alpha/mod_python-3.5.0/src/include/mod_python.h:46,
                 from mod_python.c:28:
/tmp/pkgbuild/www/ap2-python/work.alpha/.buildlink/include/python3.7/intrcheck.h:18:18: note: declared here
 PyAPI_FUNC(void) PyOS_AfterFork(void) Py_DEPRECATED(3.7);
                  ^
/tmp/pkgbuild/www/ap2-python/work.alpha/.cwrapper/bin/libtool --silent --mode=compile gcc -prefer-pic -O2 -mieee -D_FORTIFY_SOURCE=2 -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/tmp/pkgbuild/www/ap2-python/work.alpha/mod_python-3.5.0/src/include -I/usr/pkg/include/python3.7 -DNDEBUG -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2  -c -o _apachemodule.lo _apachemodule.c && touch _apachemodule.slo
_apachemodule.c: In function '_apache_module_init':
_apachemodule.c:854:5: error: too few arguments to function '_PyImport_FixupExtensionObject'
     _PyImport_FixupExtensionObject(m, name, name);
     ^
In file included from /tmp/pkgbuild/www/ap2-python/work.alpha/.buildlink/include/python3.7/Python.h:145:0,
                 from /tmp/pkgbuild/www/ap2-python/work.alpha/mod_python-3.5.0/src/include/mod_python.h:46,
                 from _apachemodule.c:25:
/tmp/pkgbuild/www/ap2-python/work.alpha/.buildlink/include/python3.7/import.h:117:17: note: declared here
 PyAPI_FUNC(int) _PyImport_FixupExtensionObject(PyObject*, PyObject *,
                 ^
apxs:Error: Command failed with rc=65536
.
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/www/ap2-python/work.alpha/mod_python-3.5.0/src
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/www/ap2-python/work.alpha/mod_python-3.5.0
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/www/ap2-python
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/ap2-python