=> 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-jpCodecs-1.4.11nb1
(cd /scratch/converters/py-jpCodecs/work/JapaneseCodecs-1.4.11/ && /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/converters/py-jpCodecs/work/.wrapper/bin:/scratch/converters/py-jpCodecs/work/.buildlink/bin:/scratch/converters/py-jpCodecs/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/converters/py-jpCodecs/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/converters/py-jpCodecs/work/.tools/bin/makeinfo PKG_CONFIG= PKG_CONFIG_LIBDIR=/scratch/converters/py-jpCodecs/work/.buildlink/lib/pkgconfig:/scratch/converters/py-jpCodecs/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/scratch/converters/py-jpCodecs/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/japanese
copying japanese/iso_2022_jp.py -> build/lib.netbsd-5.99.55-amd64-3.1/japanese
copying japanese/__init__.py -> build/lib.netbsd-5.99.55-amd64-3.1/japanese
copying japanese/euc_jp.py -> build/lib.netbsd-5.99.55-amd64-3.1/japanese
copying japanese/iso_2022_jp_ext.py -> build/lib.netbsd-5.99.55-amd64-3.1/japanese
copying japanese/iso_2022_jp_1.py -> build/lib.netbsd-5.99.55-amd64-3.1/japanese
copying japanese/shift_jis.py -> build/lib.netbsd-5.99.55-amd64-3.1/japanese
copying japanese/jis_7.py -> build/lib.netbsd-5.99.55-amd64-3.1/japanese
copying japanese/ms932.py -> build/lib.netbsd-5.99.55-amd64-3.1/japanese
copying japanese/sjis.py -> build/lib.netbsd-5.99.55-amd64-3.1/japanese
copying japanese/jis_x_0201_katakana.py -> build/lib.netbsd-5.99.55-amd64-3.1/japanese
copying japanese/jis_x_0201_roman.py -> build/lib.netbsd-5.99.55-amd64-3.1/japanese
copying japanese/windows_31j.py -> build/lib.netbsd-5.99.55-amd64-3.1/japanese
copying japanese/ujis.py -> build/lib.netbsd-5.99.55-amd64-3.1/japanese
creating build/lib.netbsd-5.99.55-amd64-3.1/japanese/python
copying japanese/python/iso_2022_jp.py -> build/lib.netbsd-5.99.55-amd64-3.1/japanese/python
copying japanese/python/__init__.py -> build/lib.netbsd-5.99.55-amd64-3.1/japanese/python
copying japanese/python/euc_jp.py -> build/lib.netbsd-5.99.55-amd64-3.1/japanese/python
copying japanese/python/iso_2022_jp_ext.py -> build/lib.netbsd-5.99.55-amd64-3.1/japanese/python
copying japanese/python/iso_2022_jp_1.py -> build/lib.netbsd-5.99.55-amd64-3.1/japanese/python
copying japanese/python/shift_jis.py -> build/lib.netbsd-5.99.55-amd64-3.1/japanese/python
creating build/lib.netbsd-5.99.55-amd64-3.1/japanese/c
copying japanese/c/iso_2022_jp.py -> build/lib.netbsd-5.99.55-amd64-3.1/japanese/c
copying japanese/c/__init__.py -> build/lib.netbsd-5.99.55-amd64-3.1/japanese/c
copying japanese/c/euc_jp.py -> build/lib.netbsd-5.99.55-amd64-3.1/japanese/c
copying japanese/c/iso_2022_jp_ext.py -> build/lib.netbsd-5.99.55-amd64-3.1/japanese/c
copying japanese/c/iso_2022_jp_1.py -> build/lib.netbsd-5.99.55-amd64-3.1/japanese/c
copying japanese/c/shift_jis.py -> build/lib.netbsd-5.99.55-amd64-3.1/japanese/c
copying japanese/c/ms932.py -> build/lib.netbsd-5.99.55-amd64-3.1/japanese/c
creating build/lib.netbsd-5.99.55-amd64-3.1/japanese/mappings
copying japanese/mappings/jis_x_0208.py -> build/lib.netbsd-5.99.55-amd64-3.1/japanese/mappings
copying japanese/mappings/__init__.py -> build/lib.netbsd-5.99.55-amd64-3.1/japanese/mappings
copying japanese/mappings/euc_jp.py -> build/lib.netbsd-5.99.55-amd64-3.1/japanese/mappings
copying japanese/mappings/jis_x_0212.py -> build/lib.netbsd-5.99.55-amd64-3.1/japanese/mappings
copying japanese/mappings/shift_jis.py -> build/lib.netbsd-5.99.55-amd64-3.1/japanese/mappings
creating build/lib.netbsd-5.99.55-amd64-3.1/japanese/aliases
copying japanese/aliases/__init__.py -> build/lib.netbsd-5.99.55-amd64-3.1/japanese/aliases
running build_ext
building 'japanese.c._japanese_codecs' extension
creating build/temp.netbsd-5.99.55-amd64-3.1
creating build/temp.netbsd-5.99.55-amd64-3.1/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 -c src/_japanese_codecs.c -o build/temp.netbsd-5.99.55-amd64-3.1/src/_japanese_codecs.o
src/_japanese_codecs.c:33:7: warning: implicit declaration of function 'PyInt_FromLong' is invalid in C99 [-Wimplicit-function-declaration]
  w = PyInt_FromLong(len);
      ^
src/_japanese_codecs.c:33:5: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
  w = PyInt_FromLong(len);
    ^ ~~~~~~~~~~~~~~~~~~~
src/_japanese_codecs.c:38:3: warning: array index of '1' indexes past the end of an array (that contains 1 elements) [-Warray-bounds]
  PyTuple_SET_ITEM(v, 1, w);
  ^~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/converters/py-jpCodecs/work/.buildlink/include/python3.1/tupleobject.h:55:37: note: expanded from:
#define PyTuple_SET_ITEM(op, i, v) (((PyTupleObject *)(op))->ob_item[i] = v)
                                    ^
/scratch/converters/py-jpCodecs/work/.buildlink/include/python3.1/tupleobject.h:26:5: note: array 'ob_item' declared here
    PyObject *ob_item[1];
    ^
src/_japanese_codecs.c:141:7: warning: implicit declaration of function 'PyString_FromStringAndSize' is invalid in C99 [-Wimplicit-function-declaration]
  v = PyString_FromStringAndSize(NULL, size * 3);
      ^
src/_japanese_codecs.c:141:5: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
  v = PyString_FromStringAndSize(NULL, size * 3);
    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_japanese_codecs.c:147:13: warning: implicit declaration of function 'PyString_AS_STRING' is invalid in C99 [-Wimplicit-function-declaration]
  p = buf = PyString_AS_STRING(v);
            ^
src/_japanese_codecs.c:147:11: warning: incompatible integer to pointer conversion assigning to 'unsigned char *' from 'int'
  p = buf = PyString_AS_STRING(v);
          ^ ~~~~~~~~~~~~~~~~~~~~~
src/_japanese_codecs.c:196:7: warning: implicit declaration of function '_PyString_Resize' is invalid in C99 [-Wimplicit-function-declaration]
  if (_PyString_Resize(&v, (int)(p - buf)))
      ^
src/_japanese_codecs.c:375:5: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
  v = PyString_FromStringAndSize(NULL, size * 2);
    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_japanese_codecs.c:381:11: warning: incompatible integer to pointer conversion assigning to 'unsigned char *' from 'int'
  p = buf = PyString_AS_STRING(v);
          ^ ~~~~~~~~~~~~~~~~~~~~~
src/_japanese_codecs.c:573:5: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
  v = PyString_FromStringAndSize(NULL, size * 2);
    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_japanese_codecs.c:579:11: warning: incompatible integer to pointer conversion assigning to 'unsigned char *' from 'int'
  p = buf = PyString_AS_STRING(v);
          ^ ~~~~~~~~~~~~~~~~~~~~~
src/_japanese_codecs.c:814:12: warning: incompatible integer to pointer conversion returning 'int' from a function with result type 'PyObject *' (aka 'struct _object *')
    return PyString_FromStringAndSize(NULL, 0);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_japanese_codecs.c:887:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      strncpy(p, d->str, m);
              ^
/usr/include/string.h:64:32: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                  ^
src/_japanese_codecs.c:891:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    strncpy(p, ch, n);
            ^
/usr/include/string.h:64:32: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                  ^
src/_japanese_codecs.c:891:16: warning: passing 'unsigned char [2]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    strncpy(p, ch, n);
               ^~
/usr/include/string.h:64:57: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                                           ^
src/_japanese_codecs.c:905:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    strncpy(p, d->str, m);
            ^
/usr/include/string.h:64:32: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                  ^
src/_japanese_codecs.c:910:5: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
  v = PyString_FromStringAndSize(buf, nbytes);
    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_japanese_codecs.c:965:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (s + d->len <= end && strncmp(s, d->str, d->len) == 0) {
                                         ^
/usr/include/string.h:63:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t);
                             ^
src/_japanese_codecs.c:1088:12: warning: incompatible integer to pointer conversion returning 'int' from a function with result type 'PyObject *' (aka 'struct _object *')
    return PyString_FromStringAndSize(NULL, 0);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_japanese_codecs.c:1169:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      strncpy(p, d->str, m);
              ^
/usr/include/string.h:64:32: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                  ^
src/_japanese_codecs.c:1173:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    strncpy(p, ch, n);
            ^
/usr/include/string.h:64:32: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                  ^
src/_japanese_codecs.c:1173:16: warning: passing 'unsigned char [2]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    strncpy(p, ch, n);
               ^~
/usr/include/string.h:64:57: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                                           ^
src/_japanese_codecs.c:1187:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    strncpy(p, d->str, m);
            ^
/usr/include/string.h:64:32: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                  ^
src/_japanese_codecs.c:1192:5: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
  v = PyString_FromStringAndSize(buf, nbytes);
    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_japanese_codecs.c:1247:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (s + d->len <= end && strncmp(s, d->str, d->len) == 0) {
                                         ^
/usr/include/string.h:63:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t);
                             ^
src/_japanese_codecs.c:1396:12: warning: incompatible integer to pointer conversion returning 'int' from a function with result type 'PyObject *' (aka 'struct _object *')
    return PyString_FromStringAndSize(NULL, 0);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_japanese_codecs.c:1484:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      strncpy(p, d->str, m);
              ^
/usr/include/string.h:64:32: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                  ^
src/_japanese_codecs.c:1488:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    strncpy(p, ch, n);
            ^
/usr/include/string.h:64:32: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                  ^
src/_japanese_codecs.c:1488:16: warning: passing 'unsigned char [2]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    strncpy(p, ch, n);
               ^~
/usr/include/string.h:64:57: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                                           ^
src/_japanese_codecs.c:1502:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    strncpy(p, d->str, m);
            ^
/usr/include/string.h:64:32: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                  ^
src/_japanese_codecs.c:1507:5: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
  v = PyString_FromStringAndSize(buf, nbytes);
    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_japanese_codecs.c:1562:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (s + d->len <= end && strncmp(s, d->str, d->len) == 0) {
                                         ^
/usr/include/string.h:63:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t);
                             ^
src/_japanese_codecs.c:1746:7: warning: implicit declaration of function 'Py_InitModule4' is invalid in C99 [-Wimplicit-function-declaration]
  m = Py_InitModule4("_japanese_codecs", _japanese_codecs_methods,
      ^
src/_japanese_codecs.c:1746:5: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int'
  m = Py_InitModule4("_japanese_codecs", _japanese_codecs_methods,
    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_japanese_codecs.c:1753:38: warning: implicit declaration of function 'PyString_FromString' is invalid in C99 [-Wimplicit-function-declaration]
  PyDict_SetItemString(d, "version", PyString_FromString(version));
                                     ^
src/_japanese_codecs.c:1753:38: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'PyObject *' (aka 'struct _object *')
  PyDict_SetItemString(d, "version", PyString_FromString(version));
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/converters/py-jpCodecs/work/.buildlink/include/python3.1/dictobject.h:152:79: note: passing argument to parameter 'item' here
PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item);
                                                                              ^
37 warnings generated.
gcc -pthread -shared -L/scratch/lang/python31/work/Python-3.1.4 -L/usr/lib -Wl,-rpath,/usr/lib -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 -Wl,-rpath,/usr/pkg/lib -O2 -I/usr/include -I/usr/pkg/include/python3.1 -I/usr/include -I/usr/pkg/include/python3.1 build/temp.netbsd-5.99.55-amd64-3.1/src/_japanese_codecs.o -lpython3.1 -o build/lib.netbsd-5.99.55-amd64-3.1/japanese/c/_japanese_codecs.so
/usr/pkg/lib/python3.1/distutils/dist.py:243: UserWarning: 'licence' distribution option is deprecated; use 'license'
  warnings.warn(msg)
=> Unwrapping files-to-be-installed.
