=> 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-cryptkit-0.9nb1
(cd /scratch/security/py-cryptkit/work/cryptkit-0.9/ && /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/security/py-cryptkit/work/.wrapper/bin:/scratch/security/py-cryptkit/work/.buildlink/bin:/scratch/security/py-cryptkit/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/security/py-cryptkit/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/security/py-cryptkit/work/.tools/bin/makeinfo PKG_CONFIG= PKG_CONFIG_LIBDIR=/scratch/security/py-cryptkit/work/.buildlink/lib/pkgconfig:/scratch/security/py-cryptkit/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/scratch/security/py-cryptkit/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_py
creating build
creating build/lib.netbsd-5.99.55-amd64-3.1
creating build/lib.netbsd-5.99.55-amd64-3.1/ecc
copying ecc/src/elliptic.py -> build/lib.netbsd-5.99.55-amd64-3.1/ecc
copying ecc/src/ecc.py -> build/lib.netbsd-5.99.55-amd64-3.1/ecc
copying ecc/src/__init__.py -> build/lib.netbsd-5.99.55-amd64-3.1/ecc
creating build/lib.netbsd-5.99.55-amd64-3.1/aes
copying aes/src/aes.py -> build/lib.netbsd-5.99.55-amd64-3.1/aes
copying aes/src/__init__.py -> build/lib.netbsd-5.99.55-amd64-3.1/aes
creating build/lib.netbsd-5.99.55-amd64-3.1/sha256
copying sha256/src/sha256.py -> build/lib.netbsd-5.99.55-amd64-3.1/sha256
copying sha256/src/__init__.py -> build/lib.netbsd-5.99.55-amd64-3.1/sha256
creating build/lib.netbsd-5.99.55-amd64-3.1/entropy
copying entropy/src/__init__.py -> build/lib.netbsd-5.99.55-amd64-3.1/entropy
copying entropy/src/entropy.py -> build/lib.netbsd-5.99.55-amd64-3.1/entropy
creating build/lib.netbsd-5.99.55-amd64-3.1/cryptsock
copying cryptsock/src/cryptsock.py -> build/lib.netbsd-5.99.55-amd64-3.1/cryptsock
copying cryptsock/src/__init__.py -> build/lib.netbsd-5.99.55-amd64-3.1/cryptsock
running build_ext
building 'ellipticc' extension
creating build/temp.netbsd-5.99.55-amd64-3.1
creating build/temp.netbsd-5.99.55-amd64-3.1/ecc
creating build/temp.netbsd-5.99.55-amd64-3.1/ecc/src
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 -I/usr/pkg/include/python3.1 -c ecc/src/bigint.c -o build/temp.netbsd-5.99.55-amd64-3.1/ecc/src/bigint.o
ecc/src/bigint.c:290:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        while (ch = *instring++)
               ~~~^~~~~~~~~~~~~
ecc/src/bigint.c:290:12: note: place parentheses around the assignment to silence this warning
        while (ch = *instring++)
                  ^
               (               )
ecc/src/bigint.c:290:12: note: use '==' to turn this assignment into an equality comparison
        while (ch = *instring++)
                  ^
                  ==
1 warning generated.
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 -I/usr/pkg/include/python3.1 -c ecc/src/ecc_wrap.c -o build/temp.netbsd-5.99.55-amd64-3.1/ecc/src/ecc_wrap.o
ecc/src/ecc_wrap.c:227:10: warning: implicit declaration of function 'PyString_FromString' is invalid in C99 [-Wimplicit-function-declaration]
  return PyString_FromString("<Global variables>");
         ^
ecc/src/ecc_wrap.c:227:10: warning: incompatible integer to pointer conversion returning 'int' from a function with result type 'PyObject *' (aka 'struct _object *')
  return PyString_FromString("<Global variables>");
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ecc/src/ecc_wrap.c:269:1: error: unknown type name 'statichere'
statichere PyTypeObject varlinktype = {
^
ecc/src/ecc_wrap.c:269:24: error: expected ';' after top level declarator
statichere PyTypeObject varlinktype = {
                       ^
                       ;
ecc/src/ecc_wrap.c:291:3: error: use of undeclared identifier 'varlinktype'
  varlinktype.ob_type = &PyType_Type;    /* Patch varlinktype into a PyType */
  ^
ecc/src/ecc_wrap.c:292:11: error: no member named 'ob_type' in 'struct swig_varlinkobject'
  result->ob_type = &varlinktype;
  ~~~~~~  ^
ecc/src/ecc_wrap.c:292:22: error: use of undeclared identifier 'varlinktype'
  result->ob_type = &varlinktype;
                     ^
ecc/src/ecc_wrap.c:294:11: error: no member named 'ob_refcnt' in 'struct swig_varlinkobject'
  result->ob_refcnt = 0;
  ~~~~~~  ^
ecc/src/ecc_wrap.c:344:9: warning: implicit declaration of function 'PyString_Check' is invalid in C99 [-Wimplicit-function-declaration]
  if (!(PyString_Check(obj))) {
        ^
ecc/src/ecc_wrap.c:346:19: warning: implicit declaration of function 'PyString_InternFromString' is invalid in C99 [-Wimplicit-function-declaration]
      SWIG_this = PyString_InternFromString("this");
                  ^
ecc/src/ecc_wrap.c:346:17: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
      SWIG_this = PyString_InternFromString("this");
                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ecc/src/ecc_wrap.c:355:7: warning: implicit declaration of function 'PyString_AsString' is invalid in C99 [-Wimplicit-function-declaration]
  c = PyString_AsString(obj);
      ^
ecc/src/ecc_wrap.c:355:5: warning: incompatible integer to pointer conversion assigning to 'char *' from 'int'
  c = PyString_AsString(obj);
    ^ ~~~~~~~~~~~~~~~~~~~~~~
ecc/src/ecc_wrap.c:445:8: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
  robj = PyString_FromString(result);
       ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
ecc/src/ecc_wrap.c:458:13: warning: implicit declaration of function 'PyInt_FromLong' is invalid in C99 [-Wimplicit-function-declaration]
      obj = PyInt_FromLong(constants[i].lvalue);
            ^
ecc/src/ecc_wrap.c:458:11: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
      obj = PyInt_FromLong(constants[i].lvalue);
          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ecc/src/ecc_wrap.c:464:11: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
      obj = PyString_FromString((char *) constants[i].pvalue);
          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ecc/src/ecc_wrap.c:576:9: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
    obj = PyInt_FromLong((long) *(((int *) ptr) + index));
        ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ecc/src/ecc_wrap.c:580:9: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
    obj = PyInt_FromLong((long) *(((short *) ptr)+index));
        ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ecc/src/ecc_wrap.c:582:9: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
    obj = PyInt_FromLong((long) *(((long *) ptr)+index));
        ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ecc/src/ecc_wrap.c:586:9: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
    obj = PyString_FromString(((char *) ptr)+index);
        ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ecc/src/ecc_wrap.c:589:16: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
    if (c) obj = PyString_FromString(c);
               ^ ~~~~~~~~~~~~~~~~~~~~~~
ecc/src/ecc_wrap.c:590:14: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
    else obj = PyString_FromString("NULL");
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
ecc/src/ecc_wrap.c:653:22: warning: implicit declaration of function 'PyInt_AsLong' is invalid in C99 [-Wimplicit-function-declaration]
      ivalue = (int) PyInt_AsLong(_PYVALUE);
                     ^
ecc/src/ecc_wrap.c:767:11: warning: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'int'
    char *c = PyString_AsString(_PYVALUE);
          ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~
ecc/src/ecc_wrap.c:770:11: warning: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'int'
    char *c = PyString_AsString(_PYVALUE);
          ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~
ecc/src/ecc_wrap.c:1007:11: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
    pyobj = PyInt_FromLong((long) random_seed);
          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ecc/src/ecc_wrap.c:1082:25: warning: implicit declaration of function 'PyString_FromStringAndSize' is invalid in C99 [-Wimplicit-function-declaration]
            resultobj = PyString_FromStringAndSize(result->bytes, result->sz);
                        ^
ecc/src/ecc_wrap.c:1082:23: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
            resultobj = PyString_FromStringAndSize(result->bytes, result->sz);
                      ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ecc/src/ecc_wrap.c:1107:14: warning: incompatible integer to pointer conversion assigning to 'char *' from 'int'
        arg0 = PyString_AsString(obj0);
             ^ ~~~~~~~~~~~~~~~~~~~~~~~
ecc/src/ecc_wrap.c:1173:14: warning: incompatible integer to pointer conversion assigning to 'char *' from 'int'
        arg0 = PyString_AsString(obj0);
             ^ ~~~~~~~~~~~~~~~~~~~~~~~
ecc/src/ecc_wrap.c:1204:14: warning: incompatible integer to pointer conversion assigning to 'char *' from 'int'
        arg0 = PyString_AsString(obj0);
             ^ ~~~~~~~~~~~~~~~~~~~~~~~
ecc/src/ecc_wrap.c:1210:15: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
    resultobj = PyInt_FromLong((long)result);
              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ecc/src/ecc_wrap.c:1688:15: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
    resultobj = PyInt_FromLong((long)result);
              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ecc/src/ecc_wrap.c:1707:14: warning: incompatible integer to pointer conversion assigning to 'char *' from 'int'
        arg1 = PyString_AsString(obj1);
             ^ ~~~~~~~~~~~~~~~~~~~~~~~
ecc/src/ecc_wrap.c:1725:15: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
    resultobj = PyString_FromString(result);
              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
ecc/src/ecc_wrap.c:1841:9: warning: implicit declaration of function 'Py_InitModule' is invalid in C99 [-Wimplicit-function-declaration]
    m = Py_InitModule("ellipticc", ellipticcMethods);
        ^
ecc/src/ecc_wrap.c:1841:7: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
    m = Py_InitModule("ellipticc", ellipticcMethods);
      ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 warnings and 6 errors generated.
error: command 'gcc' failed with exit status 1
*** Error code 1

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

Stop.
make: stopped in /bulk-data/pkgsrc/security/py-cryptkit
