=> Bootstrap dependency digest>=20010302: found digest-20190127
===> 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 py37-pysendfile-2.0.1
(cd /data/scratch/net/py-pysendfile/work/pysendfile-2.0.1/ && /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS=\ -pthread\  DL_LDFLAGS=\ -pthread DL_LIBS= PYTHON=/usr/pkg/bin/python3.7 CC=clang CFLAGS=-O2\ -I/usr/include\ -I/usr/pkg/include/python3.7 CPPFLAGS=-I/usr/include\ -I/usr/pkg/include/python3.7 CXX=clang++ CXXFLAGS=-O2\ -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/lib\ -Wl,-R/usr/lib\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/data/scratch/net/py-pysendfile/work/.cwrapper/bin:/data/scratch/net/py-pysendfile/work/.buildlink/bin:/data/scratch/net/py-pysendfile/work/.tools/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin:/usr/pkg/bin:/usr/pkg/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc CXXCPP=clang-cpp HOME=/data/scratch/net/py-pysendfile/work/.home CWRAPPERS_CONFIG_DIR=/data/scratch/net/py-pysendfile/work/.cwrapper/config CPP=clang-cpp LOCALBASE=/usr/pkg X11BASE=/usr/pkg PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulkXXX\ -g\ users\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulkXXX\ -g\ users\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulkXXX\ -g\ users\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulkXXX\ -g\ users\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 775 INSTALL_INFO= MAKEINFO=/data/scratch/net/py-pysendfile/work/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG= PKG_CONFIG_LIBDIR=/data/scratch/net/py-pysendfile/work/.buildlink/lib/pkgconfig:/data/scratch/net/py-pysendfile/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/data/scratch/net/py-pysendfile/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/data/scratch/net/py-pysendfile/work/.cwrapper/config /usr/pkg/bin/python3.7  setup.py  build  -j8)
running build
running build_ext
building 'sendfile' extension
creating build
creating build/temp.netbsd-9.99.60-amd64-3.7
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -I/usr/include -I/usr/pkg/include -O2 -I/usr/include -I/usr/pkg/include -O2 -I/usr/include -I/usr/pkg/include -O2 -I/usr/include -I/usr/pkg/include/python3.7 -I/usr/include -I/usr/pkg/include/python3.7 -fPIC -I/usr/pkg/include/python3.7 -c sendfilemodule.c -o build/temp.netbsd-9.99.60-amd64-3.7/sendfilemodule.o
sendfilemodule.c:49:2: error: platfom not supported
#error platfom not supported
 ^
sendfilemodule.c:300:2: error: platfom not supported
#error platfom not supported
 ^
sendfilemodule.c:319:31: error: use of undeclared identifier 'method_sendfile'
    {"sendfile", (PyCFunction)method_sendfile, METH_VARARGS | METH_KEYWORDS,
                              ^
3 errors generated.
error: command 'clang' failed with exit status 1
*** Error code 1

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

Stop.
make: stopped in /data/pkgsrc/net/py-pysendfile