=> 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-usb-0.4.2
(cd /scratch/devel/py-usb/work/pyusb-0.4.2/ && /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/pkg/include\ -I/usr/include\ -I/usr/pkg/include/python3.1 CPPFLAGS=-I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/python3.1 CXX=c++ CXXFLAGS=-O2\ -I/usr/pkg/include\ -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/pkg/lib\ -Wl,-rpath,/usr/pkg/lib\ -L/usr/lib\ -Wl,-rpath,/usr/lib\ -L/usr/pkg/lib/python3.1/config\ -Wl,-rpath,/usr/pkg/lib/python3.1/config LINKER_RPATH_FLAG=-rpath PATH=/scratch/devel/py-usb/work/.wrapper/bin:/scratch/devel/py-usb/work/.buildlink/bin:/scratch/devel/py-usb/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-usb/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-usb/work/.tools/bin/makeinfo PKG_CONFIG= PKG_CONFIG_LIBDIR=/scratch/devel/py-usb/work/.buildlink/lib/pkgconfig:/scratch/devel/py-usb/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/scratch/devel/py-usb/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 'usb' 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/pkg/include -I/usr/include -I/usr/pkg/include/python3.1 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.1 -fPIC -I/usr/pkg/include/python3.1 -c pyusb.c -o build/temp.netbsd-5.99.55-amd64-3.1/pyusb.o -I/usr/pkg/include
pyusb.c:88:21: warning: implicit declaration of function 'PyNumber_Int' is invalid in C99 [-Wimplicit-function-declaration]
        PyObject *number = PyNumber_Int(obj);
                           ^
pyusb.c:88:12: warning: incompatible integer to pointer conversion initializing 'PyObject *' (aka 'struct _object *') with an expression of type 'int'
        PyObject *number = PyNumber_Int(obj);
                  ^        ~~~~~~~~~~~~~~~~~
pyusb.c:90:13: warning: implicit declaration of function 'PyInt_AS_LONG' is invalid in C99 [-Wimplicit-function-declaration]
                int ret = PyInt_AS_LONG(number);
                          ^
pyusb.c:112:13: warning: implicit declaration of function 'PyString_Check' is invalid in C99 [-Wimplicit-function-declaration]
        } else if (PyString_Check(obj) || PyUnicode_Check(obj)) {
                   ^
pyusb.c:113:21: warning: implicit declaration of function 'PyString_AsString' is invalid in C99 [-Wimplicit-function-declaration]
                return (u_int8_t) PyString_AsString(obj)[0];
                                  ^
pyusb.c:113:43: error: subscripted value is not an array, pointer, or vector
                return (u_int8_t) PyString_AsString(obj)[0];
                                  ~~~~~~~~~~~~~~~~~~~~~~^~
pyusb.c:155:13: warning: implicit declaration of function 'PyString_AsStringAndSize' is invalid in C99 [-Wimplicit-function-declaration]
                if (-1 != PyString_AsStringAndSize(obj, &tmp, size)) {
                          ^
pyusb.c:212:29: warning: implicit declaration of function 'PyInt_FromLong' is invalid in C99 [-Wimplicit-function-declaration]
                        PyTuple_SET_ITEM(ret, i, PyInt_FromLong((u_int8_t) buffer[i]));
                                                 ^
/scratch/devel/py-usb/work/.buildlink/include/python3.1/tupleobject.h:55:75: note: expanded from:
#define PyTuple_SET_ITEM(op, i, v) (((PyTupleObject *)(op))->ob_item[i] = v)
                                                                          ^
pyusb.c:212:4: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
                        PyTuple_SET_ITEM(ret, i, PyInt_FromLong((u_int8_t) buffer[i]));
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/devel/py-usb/work/.buildlink/include/python3.1/tupleobject.h:55:73: note: expanded from:
#define PyTuple_SET_ITEM(op, i, v) (((PyTupleObject *)(op))->ob_item[i] = v)
                                                                        ^
pyusb.c:229:6: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
        val = PyInt_FromLong(value); 
            ^ ~~~~~~~~~~~~~~~~~~~~~
pyusb.c:357:5: warning: incompatible pointer to integer conversion initializing 'Py_ssize_t' (aka 'long') with an expression of type 'char [13]'
    "usb.Endpoint",  /*tp_name*/
    ^~~~~~~~~~~~~~
pyusb.c:375:5: warning: incompatible integer to pointer conversion initializing 'const char *' with an expression of type 'long'
    Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,        /*tp_flags*/
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/devel/py-usb/work/.buildlink/include/python3.1/object.h:545:29: note: expanded from:
#define Py_TPFLAGS_DEFAULT  ( \
                            ^
pyusb.c:376:5: warning: incompatible pointer types initializing 'traverseproc' (aka 'int (*)(PyObject *, visitproc, void *)') with an expression of type 'char [27]' [-Wincompatible-pointer-types]
    "Endpoint descriptor object", /* tp_doc */
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
pyusb.c:383:5: warning: incompatible pointer types initializing 'struct PyMemberDef *' with an expression of type 'PyMethodDef [1]' [-Wincompatible-pointer-types]
    Py_usb_Endpoint_Methods,   /* tp_methods */
    ^~~~~~~~~~~~~~~~~~~~~~~
pyusb.c:384:5: warning: incompatible pointer types initializing 'struct PyGetSetDef *' with an expression of type 'PyMemberDef [5]' [-Wincompatible-pointer-types]
    Py_usb_Endpoint_Members,   /* tp_members */
    ^~~~~~~~~~~~~~~~~~~~~~~
pyusb.c:393:5: warning: incompatible pointer types initializing 'freefunc' (aka 'void (*)(void *)') with an expression of type 'PyObject *(PyTypeObject *, PyObject *, PyObject *)' [-Wincompatible-pointer-types]
    PyType_GenericNew,         /* tp_new */
    ^~~~~~~~~~~~~~~~~
pyusb.c:497:5: warning: incompatible pointer to integer conversion initializing 'Py_ssize_t' (aka 'long') with an expression of type 'char [14]'
    "usb.Interface",               /*tp_name*/
    ^~~~~~~~~~~~~~~
pyusb.c:500:5: warning: incompatible pointer types initializing 'printfunc' (aka 'int (*)(PyObject *, FILE *, int)') with an expression of type 'void (PyObject *)' [-Wincompatible-pointer-types]
    Py_usb_Interface_del,     /*tp_dealloc*/
    ^~~~~~~~~~~~~~~~~~~~
pyusb.c:515:5: warning: incompatible integer to pointer conversion initializing 'const char *' with an expression of type 'long'
    Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,        /*tp_flags*/
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/devel/py-usb/work/.buildlink/include/python3.1/object.h:545:29: note: expanded from:
#define Py_TPFLAGS_DEFAULT  ( \
                            ^
pyusb.c:516:5: warning: incompatible pointer types initializing 'traverseproc' (aka 'int (*)(PyObject *, visitproc, void *)') with an expression of type 'char [28]' [-Wincompatible-pointer-types]
    "Interface descriptor object",         /* tp_doc */
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pyusb.c:523:5: warning: incompatible pointer types initializing 'struct PyMemberDef *' with an expression of type 'PyMethodDef [1]' [-Wincompatible-pointer-types]
    Py_usb_Interface_Methods,  /* tp_methods */
    ^~~~~~~~~~~~~~~~~~~~~~~~
pyusb.c:524:5: warning: incompatible pointer types initializing 'struct PyGetSetDef *' with an expression of type 'PyMemberDef [8]' [-Wincompatible-pointer-types]
    Py_usb_Interface_Members,  /* tp_members */
    ^~~~~~~~~~~~~~~~~~~~~~~~
pyusb.c:533:5: warning: incompatible pointer types initializing 'freefunc' (aka 'void (*)(void *)') with an expression of type 'PyObject *(PyTypeObject *, PyObject *, PyObject *)' [-Wincompatible-pointer-types]
    PyType_GenericNew,         /* tp_new */
    ^~~~~~~~~~~~~~~~~
pyusb.c:634:3: error: use of undeclared identifier 'RO'
         RO,
         ^
pyusb.c:656:5: warning: incompatible pointer to integer conversion initializing 'Py_ssize_t' (aka 'long') with an expression of type 'char [18]'
    "usb.Configuration",           /*tp_name*/
    ^~~~~~~~~~~~~~~~~~~
pyusb.c:659:5: warning: incompatible pointer types initializing 'printfunc' (aka 'int (*)(PyObject *, FILE *, int)') with an expression of type 'void (PyObject *)' [-Wincompatible-pointer-types]
    Py_usb_Configuration_del,  /*tp_dealloc*/
    ^~~~~~~~~~~~~~~~~~~~~~~~
pyusb.c:674:5: warning: incompatible integer to pointer conversion initializing 'const char *' with an expression of type 'long'
    Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,        /*tp_flags*/
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/devel/py-usb/work/.buildlink/include/python3.1/object.h:545:29: note: expanded from:
#define Py_TPFLAGS_DEFAULT  ( \
                            ^
pyusb.c:675:5: warning: incompatible pointer types initializing 'traverseproc' (aka 'int (*)(PyObject *, visitproc, void *)') with an expression of type 'char [32]' [-Wincompatible-pointer-types]
    "Configuration descriptor object",    /* tp_doc */
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pyusb.c:682:5: warning: incompatible pointer types initializing 'struct PyMemberDef *' with an expression of type 'PyMethodDef [1]' [-Wincompatible-pointer-types]
    Py_usb_Configuration_Methods,  /* tp_methods */
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
pyusb.c:683:5: warning: incompatible pointer types initializing 'struct PyGetSetDef *' with an expression of type 'PyMemberDef []' [-Wincompatible-pointer-types]
    Py_usb_Configuration_Members,  /* tp_members */
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
pyusb.c:692:5: warning: incompatible pointer types initializing 'freefunc' (aka 'void (*)(void *)') with an expression of type 'PyObject *(PyTypeObject *, PyObject *, PyObject *)' [-Wincompatible-pointer-types]
    PyType_GenericNew,         /* tp_new */
    ^~~~~~~~~~~~~~~~~
pyusb.c:825:3: error: use of undeclared identifier 'RO'
         RO,
         ^
pyusb.c:832:3: error: use of undeclared identifier 'RO'
         RO,
         ^
pyusb.c:838:3: error: use of undeclared identifier 'RO'
         RO,
         ^
pyusb.c:845:4: error: use of undeclared identifier 'RO'
         RO,
         ^
pyusb.c:881:5: warning: incompatible pointer to integer conversion initializing 'Py_ssize_t' (aka 'long') with an expression of type 'char [11]'
    "usb.Device",                  /*tp_name*/
    ^~~~~~~~~~~~
pyusb.c:884:5: warning: incompatible pointer types initializing 'printfunc' (aka 'int (*)(PyObject *, FILE *, int)') with an expression of type 'void (PyObject *)' [-Wincompatible-pointer-types]
    Py_usb_Device_del,         /*tp_dealloc*/
    ^~~~~~~~~~~~~~~~~
pyusb.c:899:5: warning: incompatible integer to pointer conversion initializing 'const char *' with an expression of type 'long'
    Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,        /*tp_flags*/
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/devel/py-usb/work/.buildlink/include/python3.1/object.h:545:29: note: expanded from:
#define Py_TPFLAGS_DEFAULT  ( \
                            ^
pyusb.c:900:5: warning: incompatible pointer types initializing 'traverseproc' (aka 'int (*)(PyObject *, visitproc, void *)') with an expression of type 'char [25]' [-Wincompatible-pointer-types]
    "Device descriptor object",            /* tp_doc */
    ^~~~~~~~~~~~~~~~~~~~~~~~~~
pyusb.c:907:5: warning: incompatible pointer types initializing 'struct PyMemberDef *' with an expression of type 'PyMethodDef [2]' [-Wincompatible-pointer-types]
    Py_usb_Device_Methods,     /* tp_methods */
    ^~~~~~~~~~~~~~~~~~~~~
pyusb.c:908:5: warning: incompatible pointer types initializing 'struct PyGetSetDef *' with an expression of type 'PyMemberDef []' [-Wincompatible-pointer-types]
    Py_usb_Device_Members,         /* tp_members */
    ^~~~~~~~~~~~~~~~~~~~~
pyusb.c:917:5: warning: incompatible pointer types initializing 'freefunc' (aka 'void (*)(void *)') with an expression of type 'PyObject *(PyTypeObject *, PyObject *, PyObject *)' [-Wincompatible-pointer-types]
    PyType_GenericNew,         /* tp_new */
    ^~~~~~~~~~~~~~~~~
pyusb.c:1033:5: warning: incompatible pointer to integer conversion initializing 'Py_ssize_t' (aka 'long') with an expression of type 'char [8]'
    "usb.Bus",                             /*tp_name*/
    ^~~~~~~~~
pyusb.c:1036:5: warning: incompatible pointer types initializing 'printfunc' (aka 'int (*)(PyObject *, FILE *, int)') with an expression of type 'void (PyObject *)' [-Wincompatible-pointer-types]
    Py_usb_Bus_del,            /*tp_dealloc*/
    ^~~~~~~~~~~~~~
pyusb.c:1051:5: warning: incompatible integer to pointer conversion initializing 'const char *' with an expression of type 'long'
    Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,        /*tp_flags*/
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/devel/py-usb/work/.buildlink/include/python3.1/object.h:545:29: note: expanded from:
#define Py_TPFLAGS_DEFAULT  ( \
                            ^
pyusb.c:1052:5: warning: incompatible pointer types initializing 'traverseproc' (aka 'int (*)(PyObject *, visitproc, void *)') with an expression of type 'char [11]' [-Wincompatible-pointer-types]
    "Bus object",                  /* tp_doc */
    ^~~~~~~~~~~~
pyusb.c:1059:5: warning: incompatible pointer types initializing 'struct PyMemberDef *' with an expression of type 'PyMethodDef [1]' [-Wincompatible-pointer-types]
    Py_usb_Bus_Methods,        /* tp_methods */
    ^~~~~~~~~~~~~~~~~~
pyusb.c:1060:5: warning: incompatible pointer types initializing 'struct PyGetSetDef *' with an expression of type 'PyMemberDef [4]' [-Wincompatible-pointer-types]
    Py_usb_Bus_Members,            /* tp_members */
    ^~~~~~~~~~~~~~~~~~
pyusb.c:1069:5: warning: incompatible pointer types initializing 'freefunc' (aka 'void (*)(void *)') with an expression of type 'PyObject *(PyTypeObject *, PyObject *, PyObject *)' [-Wincompatible-pointer-types]
    PyType_GenericNew,         /* tp_new */
    ^~~~~~~~~~~~~~~~~
pyusb.c:1220:10: warning: incompatible integer to pointer conversion returning 'int' from a function with result type 'PyObject *' (aka 'struct _object *')
                return PyInt_FromLong(ret);
                       ^~~~~~~~~~~~~~~~~~~
pyusb.c:1458:10: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
                retObj = PyInt_FromLong(ret);
                       ^ ~~~~~~~~~~~~~~~~~~~
pyusb.c:1565:10: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
                retObj = PyInt_FromLong(ret);
                       ^ ~~~~~~~~~~~~~~~~~~~
pyusb.c:1761:11: warning: implicit declaration of function 'PyString_FromStringAndSize' is invalid in C99 [-Wimplicit-function-declaration]
        retStr = PyString_FromStringAndSize(buffer, ret);
                 ^
pyusb.c:1761:9: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
        retStr = PyString_FromStringAndSize(buffer, ret);
               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pyusb.c:2005:5: warning: incompatible pointer to integer conversion initializing 'Py_ssize_t' (aka 'long') with an expression of type 'char [17]'
    "usb.DeviceHandle",            /*tp_name*/
    ^~~~~~~~~~~~~~~~~~
pyusb.c:2008:5: warning: incompatible pointer types initializing 'printfunc' (aka 'int (*)(PyObject *, FILE *, int)') with an expression of type 'void (PyObject *)' [-Wincompatible-pointer-types]
    Py_usb_DeviceHandle_del,   /*tp_dealloc*/
    ^~~~~~~~~~~~~~~~~~~~~~~
pyusb.c:2023:5: warning: incompatible integer to pointer conversion initializing 'const char *' with an expression of type 'long'
    Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,        /*tp_flags*/
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/devel/py-usb/work/.buildlink/include/python3.1/object.h:545:29: note: expanded from:
#define Py_TPFLAGS_DEFAULT  ( \
                            ^
pyusb.c:2024:5: warning: incompatible pointer types initializing 'traverseproc' (aka 'int (*)(PyObject *, visitproc, void *)') with an expression of type 'char [20]' [-Wincompatible-pointer-types]
    "DeviceHandle object",     /* tp_doc */
    ^~~~~~~~~~~~~~~~~~~~~
pyusb.c:2031:5: warning: incompatible pointer types initializing 'struct PyMemberDef *' with an expression of type 'PyMethodDef [16]' [-Wincompatible-pointer-types]
    Py_usb_DeviceHandle_Methods, /* tp_methods */
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
pyusb.c:2032:5: warning: incompatible pointer types initializing 'struct PyGetSetDef *' with an expression of type 'PyMemberDef [1]' [-Wincompatible-pointer-types]
    Py_usb_DeviceHandle_Members, /* tp_members */
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
pyusb.c:2041:5: warning: incompatible pointer types initializing 'freefunc' (aka 'void (*)(void *)') with an expression of type 'PyObject *(PyTypeObject *, PyObject *, PyObject *)' [-Wincompatible-pointer-types]
    PyType_GenericNew,         /* tp_new */
    ^~~~~~~~~~~~~~~~~
pyusb.c:2138:11: warning: implicit declaration of function 'Py_InitModule3' is invalid in C99 [-Wimplicit-function-declaration]
        module = Py_InitModule3("usb", usb_Methods,"USB access module");
                 ^
pyusb.c:2138:9: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
        module = Py_InitModule3("usb", usb_Methods,"USB access module");
               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pyusb.c:2139:15: error: non-void function 'initusb' should return a value [-Wreturn-type]
        if (!module) return;
                     ^
pyusb.c:2142:23: error: non-void function 'initusb' should return a value [-Wreturn-type]
        if (!PyExc_USBError) return;
                             ^
pyusb.c:2146:47: error: non-void function 'initusb' should return a value [-Wreturn-type]
        if (PyType_Ready(&Py_usb_Endpoint_Type) < 0) return;
                                                     ^
pyusb.c:2150:48: error: non-void function 'initusb' should return a value [-Wreturn-type]
        if (PyType_Ready(&Py_usb_Interface_Type) < 0) return;
                                                      ^
pyusb.c:2154:52: error: non-void function 'initusb' should return a value [-Wreturn-type]
        if (PyType_Ready(&Py_usb_Configuration_Type) < 0) return;
                                                          ^
pyusb.c:2158:45: error: non-void function 'initusb' should return a value [-Wreturn-type]
        if (PyType_Ready(&Py_usb_Device_Type) < 0) return;
                                                   ^
pyusb.c:2162:42: error: non-void function 'initusb' should return a value [-Wreturn-type]
        if (PyType_Ready(&Py_usb_Bus_Type) < 0) return;
                                                ^
pyusb.c:2166:51: error: non-void function 'initusb' should return a value [-Wreturn-type]
        if (PyType_Ready(&Py_usb_DeviceHandle_Type) < 0) return;
                                                         ^
57 warnings and 14 errors generated.
error: command 'gcc' failed with exit status 1
*** Error code 1

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

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