=> 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 py27-libdnet-1.12nb2 (cd /tmp/net/py-libdnet/work/libdnet-1.12/python && /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/python2.7 CC=gcc CFLAGS=-O2\ -fPIC\ -D_FORTIFY_SOURCE=2\ -I/usr/include\ -I/usr/pkg/include CPPFLAGS=-I/usr/include\ -I/usr/pkg/include CXX=c++ CXXFLAGS=-O2\ -fPIC\ -D_FORTIFY_SOURCE=2\ -I/usr/include\ -I/usr/pkg/include 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\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/tmp/net/py-libdnet/work/.cwrapper/bin:/tmp/net/py-libdnet/work/.buildlink/bin:/tmp/net/py-libdnet/work/.gcc/bin:/tmp/net/py-libdnet/work/.tools/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc CXXCPP=cpp HOME=/tmp/net/py-libdnet/work/.home CWRAPPERS_CONFIG_DIR=/tmp/net/py-libdnet/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\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ wheel\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 775 INSTALL_INFO= MAKEINFO=/tmp/net/py-libdnet/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/tmp/net/py-libdnet/work/.tools/bin/itstool GDBUS_CODEGEN=/tmp/net/py-libdnet/work/.tools/bin/gdbus-codegen PKG_CONFIG= PKG_CONFIG_LIBDIR=/tmp/net/py-libdnet/work/.buildlink/lib/pkgconfig:/tmp/net/py-libdnet/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/tmp/net/py-libdnet/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/tmp/net/py-libdnet/work/.cwrapper/config /usr/pkg/bin/python2.7 setup.py build ) running build running build_ext building 'dnet' extension creating build creating build/temp.netbsd-9.0-amd64-2.7 gcc -fno-strict-aliasing -O2 -fPIC -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -I/usr/pkg/include -DNDEBUG -O2 -fPIC -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -I/usr/pkg/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -fPIC -I../include -I/usr/pkg/include/python2.7 -c ./dnet.c -o build/temp.netbsd-9.0-amd64-2.7/./dnet.o ./dnet.c: In function '__pyx_f_4dnet_ip_checksum': ./dnet.c:1043:48: warning: passing argument 2 of 'PyObject_AsReadBuffer' from incompatible pointer type [-Wincompatible-pointer-types] __pyx_1 = (PyObject_AsReadBuffer(__pyx_v_pkt,(&__pyx_v_p),(&__pyx_v_n)) == 0); ^ In file included from /tmp/net/py-libdnet/work/.buildlink/include/python2.7/Python.h:136:0, from ./dnet.c:4: /tmp/net/py-libdnet/work/.buildlink/include/python2.7/abstract.h:501:22: note: expected 'const void **' but argument is of type 'char **' PyAPI_FUNC(int) PyObject_AsReadBuffer(PyObject *obj, ^~~~~~~~~~~~~~~~~~~~~ ./dnet.c:1043:61: warning: passing argument 3 of 'PyObject_AsReadBuffer' from incompatible pointer type [-Wincompatible-pointer-types] __pyx_1 = (PyObject_AsReadBuffer(__pyx_v_pkt,(&__pyx_v_p),(&__pyx_v_n)) == 0); ^ In file included from /tmp/net/py-libdnet/work/.buildlink/include/python2.7/Python.h:136:0, from ./dnet.c:4: /tmp/net/py-libdnet/work/.buildlink/include/python2.7/abstract.h:501:22: note: expected 'Py_ssize_t * {aka long int *}' but argument is of type 'int *' PyAPI_FUNC(int) PyObject_AsReadBuffer(PyObject *obj, ^~~~~~~~~~~~~~~~~~~~~ ./dnet.c: In function '__pyx_f_4dnet_ip_cksum_add': ./dnet.c:1124:48: warning: passing argument 2 of 'PyObject_AsReadBuffer' from incompatible pointer type [-Wincompatible-pointer-types] __pyx_1 = (PyObject_AsReadBuffer(__pyx_v_buf,(&__pyx_v_p),(&__pyx_v_n)) == 0); ^ In file included from /tmp/net/py-libdnet/work/.buildlink/include/python2.7/Python.h:136:0, from ./dnet.c:4: /tmp/net/py-libdnet/work/.buildlink/include/python2.7/abstract.h:501:22: note: expected 'const void **' but argument is of type 'char **' PyAPI_FUNC(int) PyObject_AsReadBuffer(PyObject *obj, ^~~~~~~~~~~~~~~~~~~~~ ./dnet.c:1124:61: warning: passing argument 3 of 'PyObject_AsReadBuffer' from incompatible pointer type [-Wincompatible-pointer-types] __pyx_1 = (PyObject_AsReadBuffer(__pyx_v_buf,(&__pyx_v_p),(&__pyx_v_n)) == 0); ^ In file included from /tmp/net/py-libdnet/work/.buildlink/include/python2.7/Python.h:136:0, from ./dnet.c:4: /tmp/net/py-libdnet/work/.buildlink/include/python2.7/abstract.h:501:22: note: expected 'Py_ssize_t * {aka long int *}' but argument is of type 'int *' PyAPI_FUNC(int) PyObject_AsReadBuffer(PyObject *obj, ^~~~~~~~~~~~~~~~~~~~~ ./dnet.c: In function '__pyx_f_4dnet_3arp_loop': ./dnet.c:3117:87: warning: passing argument 2 of 'arp_loop' from incompatible pointer type [-Wincompatible-pointer-types] __pyx_1 = PyInt_FromLong(arp_loop(((struct __pyx_obj_4dnet_arp *)__pyx_v_self)->arp,__pyx_f_4dnet___arp_callback,((void (*))__pyx_v__arg))); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 749; goto __pyx_L1;} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/py-libdnet/work/.buildlink/include/dnet.h:18:0, from ./dnet.c:22: /tmp/net/py-libdnet/work/.buildlink/include/dnet/arp.h:99:6: note: expected 'arp_handler {aka int (*)(const struct arp_entry *, void *)}' but argument is of type 'int (*)(struct arp_entry *, void *)' int arp_loop(arp_t *arp, arp_handler callback, void *arg); ^~~~~~~~ ./dnet.c: In function '__pyx_f_4dnet_4intf_loop': ./dnet.c:4134:90: warning: passing argument 2 of 'intf_loop' from incompatible pointer type [-Wincompatible-pointer-types] __pyx_1 = PyInt_FromLong(intf_loop(((struct __pyx_obj_4dnet_intf *)__pyx_v_self)->intf,__pyx_f_4dnet___intf_callback,((void (*))__pyx_v__arg))); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1049; goto __pyx_L1;} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/py-libdnet/work/.buildlink/include/dnet.h:23:0, from ./dnet.c:22: /tmp/net/py-libdnet/work/.buildlink/include/dnet/intf.h:64:6: note: expected 'intf_handler {aka int (*)(const struct intf_entry *, void *)}' but argument is of type 'int (*)(struct intf_entry *, void *)' int intf_loop(intf_t *i, intf_handler callback, void *arg); ^~~~~~~~~ ./dnet.c: In function '__pyx_f_4dnet_5route_loop': ./dnet.c:4555:93: warning: passing argument 2 of 'route_loop' from incompatible pointer type [-Wincompatible-pointer-types] __pyx_1 = PyInt_FromLong(route_loop(((struct __pyx_obj_4dnet_route *)__pyx_v_self)->route,__pyx_f_4dnet___route_callback,((void (*))__pyx_v__arg))); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1148; goto __pyx_L1;} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/py-libdnet/work/.buildlink/include/dnet.h:24:0, from ./dnet.c:22: /tmp/net/py-libdnet/work/.buildlink/include/dnet/route.h:31:6: note: expected 'route_handler {aka int (*)(const struct route_entry *, void *)}' but argument is of type 'int (*)(struct route_entry *, void *)' int route_loop(route_t *r, route_handler callback, void *arg); ^~~~~~~~~~ ./dnet.c: In function '__pyx_f_4dnet_2fw_loop': ./dnet.c:5215:84: warning: passing argument 2 of 'fw_loop' from incompatible pointer type [-Wincompatible-pointer-types] __pyx_1 = PyInt_FromLong(fw_loop(((struct __pyx_obj_4dnet_fw *)__pyx_v_self)->fw,__pyx_f_4dnet___fw_callback,((void (*))__pyx_v__arg))); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1284; goto __pyx_L1;} ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/py-libdnet/work/.buildlink/include/dnet.h:25:0, from ./dnet.c:22: /tmp/net/py-libdnet/work/.buildlink/include/dnet/fw.h:50:6: note: expected 'fw_handler {aka int (*)(const struct fw_rule *, void *)}' but argument is of type 'int (*)(struct fw_rule *, void *)' int fw_loop(fw_t *f, fw_handler callback, void *arg); ^~~~~~~ creating build/lib.netbsd-9.0-amd64-2.7 gcc -shared -L/tmp/lang/python27/work/Python-2.7.18 -pthread -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include build/temp.netbsd-9.0-amd64-2.7/./dnet.o -L/usr/pkg/lib -ldnet -lpython2.7 -o build/lib.netbsd-9.0-amd64-2.7/dnet.so -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib ld: /tmp/net/py-libdnet/work/.buildlink/lib/libpython2.7.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() ld: /tmp/net/py-libdnet/work/.buildlink/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp()