=> 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-py37-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.7 -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.7/config -lpython3.7 -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.7 -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) ? "" : 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) ? "" : 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:2619:5: warning: 'PyOS_AfterFork' is deprecated [-Wdeprecated-declarations] PyOS_AfterFork(); ^ /data/scratch/www/ap2-python/work/.buildlink/include/python3.7/intrcheck.h:18:39: note: 'PyOS_AfterFork' has been explicitly marked deprecated here PyAPI_FUNC(void) PyOS_AfterFork(void) Py_DEPRECATED(3.7); ^ /data/scratch/www/ap2-python/work/.buildlink/include/python3.7/pyport.h:493:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) ^ 3 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.7 -DNDEBUG -c -o _apachemodule.lo _apachemodule.c && touch _apachemodule.slo _apachemodule.c:854:49: error: too few arguments to function call, expected 4, have 3 _PyImport_FixupExtensionObject(m, name, name); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ /data/scratch/www/ap2-python/work/.buildlink/include/python3.7/import.h:120:12: note: '_PyImport_FixupExtensionObject' declared here PyAPI_FUNC(int) _PyImport_FixupExtensionObject(PyObject*, PyObject *, ^ 1 error generated. apxs:Error: Command failed with rc=65536 . *** Error code 1 Stop. make[1]: stopped in /data/scratch/www/ap2-python/work/mod_python-3.5.0/src *** Error code 1 Stop. make: stopped in /data/scratch/www/ap2-python/work/mod_python-3.5.0 *** Error code 1 Stop. make[1]: stopped in /data/pkgsrc/www/ap2-python *** Error code 1 Stop. make: stopped in /data/pkgsrc/www/ap2-python