=> Bootstrap dependency digest>=20010302: found digest-20080510
WARNING: [license.mk] Every package should define a LICENSE.
===> 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 py31-kqueue-2.0nb1
(cd /scratch/devel/py-kqueue/work/py-kqueue-2.0/ && /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.1 CC=gcc CFLAGS=-O2\ -I/usr/include\ -I/usr/pkg/include/python3.1 CPPFLAGS=-I/usr/include\ -I/usr/pkg/include/python3.1 CXX=c++ CXXFLAGS=-O2\ -I/usr/include\ -I/usr/pkg/include/python3.1 COMPILER_RPATH_FLAG=-Wl,-rpath, F77=g77 FC=g77 FFLAGS=-O LANG=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/lib\ -Wl,-rpath,/usr/lib\ -L/usr/pkg/lib/python3.1/config\ -Wl,-rpath,/usr/pkg/lib/python3.1/config\ -Wl,-rpath,/usr/pkg/lib LINKER_RPATH_FLAG=-rpath PATH=/scratch/devel/py-kqueue/work/.wrapper/bin:/scratch/devel/py-kqueue/work/.buildlink/bin:/scratch/devel/py-kqueue/work/.tools/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin:/usr/pkg/bin:/usr/pkg/bin PREFIX=/usr/pkg PKG_SYSCONFDIR=/usr/pkg/etc CXXCPP=cpp HOME=/scratch/devel/py-kqueue/work/.home CPP=cpp LINK_ALL_LIBGCC_HACK= LOCALBASE=/usr/pkg NO_WHOLE_ARCHIVE_FLAG=-Wl,--no-whole-archive WHOLE_ARCHIVE_FLAG=-Wl,--whole-archive X11BASE=/usr/pkg X11PREFIX=/usr/pkg PKGMANDIR=man PKGINFODIR=info 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=/scratch/devel/py-kqueue/work/.tools/bin/makeinfo PKG_CONFIG= PKG_CONFIG_LIBDIR=/scratch/devel/py-kqueue/work/.buildlink/lib/pkgconfig:/scratch/devel/py-kqueue/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/scratch/devel/py-kqueue/work/.pkg-config.log PKG_CONFIG_PATH= WRAPPER_DEBUG=no WRAPPER_UPDATE_CACHE=yes VIEWBASE=/usr/pkg /usr/pkg/bin/python3.1  setup.py  build )
running build
running build_ext
building 'kqueuemodule' extension
creating build
creating build/temp.netbsd-5.99.55-amd64-3.1
gcc -DNDEBUG -O2 -I/usr/include -I/usr/pkg/include -O2 -I/usr/include -I/usr/pkg/include/python3.1 -I/usr/include -I/usr/pkg/include/python3.1 -fPIC -I/usr/pkg/include/python3.1 -c kqueuemodule.c -o build/temp.netbsd-5.99.55-amd64-3.1/kqueuemodule.o
kqueuemodule.c:40:1: error: unknown type name 'staticforward'
staticforward PyTypeObject kqueue_keventType;
^
kqueuemodule.c:40:27: error: expected ';' after top level declarator
staticforward PyTypeObject kqueue_keventType;
                          ^
                          ;
kqueuemodule.c:61:43: error: use of undeclared identifier 'kqueue_keventType'; did you mean 'kqueue_keventObject'?
        keo = PyObject_New(kqueue_keventObject, &kqueue_keventType);
                                                 ^
/scratch/devel/py-kqueue/work/.buildlink/include/python3.1/objimpl.h:147:42: note: expanded from:
                ( (type *) _PyObject_New(typeobj) )
                                         ^
kqueuemodule.c:111:7: warning: implicit declaration of function 'PyInt_FromLong' is invalid in C99 [-Wimplicit-function-declaration]
                v = PyInt_FromLong((long) keo->kev.filter);
                    ^
kqueuemodule.c:111:5: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
                v = PyInt_FromLong((long) keo->kev.filter);
                  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kqueuemodule.c:113:5: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
                v = PyInt_FromLong((long) keo->kev.flags);
                  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kqueuemodule.c:115:5: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
                v = PyInt_FromLong((long) keo->kev.fflags);
                  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kqueuemodule.c:131:8: warning: implicit declaration of function 'PyString_FromString' is invalid in C99 [-Wimplicit-function-declaration]
                        v = PyString_FromString(members[i]);
                            ^
kqueuemodule.c:131:6: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
                        v = PyString_FromString(members[i]);
                          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kqueuemodule.c:167:12: warning: implicit declaration of function 'PyInt_Check' is invalid in C99 [-Wimplicit-function-declaration]
                else if (PyInt_Check(v))
                         ^
kqueuemodule.c:168:32: warning: implicit declaration of function 'PyInt_AsLong' is invalid in C99 [-Wimplicit-function-declaration]
                        keo->kev.ident = (intptr_t) PyInt_AsLong(v);
                                                    ^
kqueuemodule.c:238:9: warning: implicit declaration of function 'PyString_AsString' is invalid in C99 [-Wimplicit-function-declaration]
        urep = PyString_AsString(uo);
               ^
kqueuemodule.c:238:7: warning: incompatible integer to pointer conversion assigning to 'char *' from 'int'
        urep = PyString_AsString(uo);
             ^ ~~~~~~~~~~~~~~~~~~~~~
kqueuemodule.c:249:9: warning: incompatible integer to pointer conversion returning 'int' from a function with result type 'PyObject *' (aka 'struct _object *')
        return PyString_FromString(buf);
               ^~~~~~~~~~~~~~~~~~~~~~~~
kqueuemodule.c:252:8: error: unknown type name 'PyTypeObject'
static PyTypeObject kqueue_keventType = {
       ^
kqueuemodule.c:271:1: error: unknown type name 'staticforward'
staticforward PyTypeObject kqueue_kqueueType;
^
kqueuemodule.c:271:27: error: expected ';' after top level declarator
staticforward PyTypeObject kqueue_kqueueType;
                          ^
                          ;
kqueuemodule.c:292:43: error: use of undeclared identifier 'kqueue_kqueueType'; did you mean 'kqueue_keventType'?
        kqo = PyObject_New(kqueue_kqueueObject, &kqueue_kqueueType);
                                                 ^
/scratch/devel/py-kqueue/work/.buildlink/include/python3.1/objimpl.h:147:42: note: expanded from:
                ( (type *) _PyObject_New(typeobj) )
                                         ^
kqueuemodule.c:252:21: note: 'kqueue_keventType' declared here
static PyTypeObject kqueue_keventType = {
                    ^
kqueuemodule.c:326:9: warning: incompatible integer to pointer conversion returning 'int' from a function with result type 'PyObject *' (aka 'struct _object *')
        return PyInt_FromLong((long) kq->kq);
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kqueuemodule.c:559:9: warning: incompatible integer to pointer conversion returning 'int' from a function with result type 'PyObject *' (aka 'struct _object *')
        return PyString_FromString(buf);
               ^~~~~~~~~~~~~~~~~~~~~~~~
kqueuemodule.c:609:9: warning: implicit declaration of function 'Py_FindMethod' is invalid in C99 [-Wimplicit-function-declaration]
        return Py_FindMethod(kqueue_kqueueType_methods, obj, name);
               ^
kqueuemodule.c:609:9: warning: incompatible integer to pointer conversion returning 'int' from a function with result type 'PyObject *' (aka 'struct _object *')
        return Py_FindMethod(kqueue_kqueueType_methods, obj, name);
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kqueuemodule.c:612:8: error: unknown type name 'PyTypeObject'
static PyTypeObject kqueue_kqueueType = {
       ^
kqueuemodule.c:709:6: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
                        v = PyInt_FromLong(kqueue_symbols[i].value);
                          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kqueuemodule.c:723:4: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
        v = PyString_FromString(pykq_version);
          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kqueuemodule.c:731:1: error: expected function body after function declarator
initkqueue(void)
^
17 warnings and 9 errors generated.
error: command 'gcc' failed with exit status 1
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/devel/py-kqueue
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/devel/py-kqueue
