=> 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-gd-1.3nb13
(cd /scratch/graphics/py-gd/work/ && /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/freetype2\ -I/usr/pkg/include/python3.1 CPPFLAGS=-I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/freetype2\ -I/usr/pkg/include/python3.1 CXX=c++ CXXFLAGS=-O2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/freetype2\ -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/graphics/py-gd/work/.wrapper/bin:/scratch/graphics/py-gd/work/.buildlink/bin:/scratch/graphics/py-gd/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/graphics/py-gd/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/graphics/py-gd/work/.tools/bin/makeinfo PKG_CONFIG= PKG_CONFIG_LIBDIR=/scratch/graphics/py-gd/work/.buildlink/lib/pkgconfig:/scratch/graphics/py-gd/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/scratch/graphics/py-gd/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 'gd' 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/freetype2 -I/usr/pkg/include/python3.1 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/python3.1 -fPIC -I/usr/pkg/include/ -I/usr/pkg/include/python3.1 -c gdmodule.c -o build/temp.netbsd-5.99.55-amd64-3.1/gdmodule.o
gdmodule.c:71:1: error: unknown type name 'staticforward'
staticforward PyTypeObject Imagetype;
^
gdmodule.c:71:27: error: expected ';' after top level declarator
staticforward PyTypeObject Imagetype;
                          ^
                          ;
gdmodule.c:94:36: error: use of undeclared identifier 'PyFile_Type'; did you mean 'PyFilter_Type'?
        if (PyArg_ParseTuple(args, "O!", &PyFile_Type, &fileobj))
                                          ^~~~~~~~~~~
                                          PyFilter_Type
/scratch/graphics/py-gd/work/.buildlink/include/python3.1/bltinmodule.h:7:26: note: 'PyFilter_Type' declared here
PyAPI_DATA(PyTypeObject) PyFilter_Type;
                         ^
gdmodule.c:96:31: warning: implicit declaration of function 'PyFile_AsFile' is invalid in C99 [-Wimplicit-function-declaration]
                gdImagePng(self->imagedata, PyFile_AsFile(fileobj));
                                            ^
gdmodule.c:96:31: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'FILE *' (aka 'struct __sFILE *')
                gdImagePng(self->imagedata, PyFile_AsFile(fileobj));
                                            ^~~~~~~~~~~~~~~~~~~~~~
/scratch/graphics/py-gd/work/.buildlink/include/gd.h:559:53: note: passing argument to parameter 'out' here
BGD_DECLARE(void) gdImagePng (gdImagePtr im, FILE * out);
                                                    ^
gdmodule.c:100:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                if (fp = fopen(filename, "wb")) gdImagePng(self->imagedata, fp);
                    ~~~^~~~~~~~~~~~~~~~~~~~~~~
gdmodule.c:100:10: note: place parentheses around the assignment to silence this warning
                if (fp = fopen(filename, "wb")) gdImagePng(self->imagedata, fp);
                       ^
                    (                         )
gdmodule.c:100:10: note: use '==' to turn this assignment into an equality comparison
                if (fp = fopen(filename, "wb")) gdImagePng(self->imagedata, fp);
                       ^
                       ==
gdmodule.c:122:36: error: use of undeclared identifier 'PyFile_Type'; did you mean 'PyFilter_Type'?
        if (PyArg_ParseTuple(args, "O!", &PyFile_Type, &fileobj))
                                          ^~~~~~~~~~~
                                          PyFilter_Type
/scratch/graphics/py-gd/work/.buildlink/include/python3.1/bltinmodule.h:7:26: note: 'PyFilter_Type' declared here
PyAPI_DATA(PyTypeObject) PyFilter_Type;
                         ^
gdmodule.c:124:30: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'FILE *' (aka 'struct __sFILE *')
                gdImageGd(self->imagedata, PyFile_AsFile(fileobj));
                                           ^~~~~~~~~~~~~~~~~~~~~~
/scratch/graphics/py-gd/work/.buildlink/include/gd.h:622:52: note: passing argument to parameter 'out' here
BGD_DECLARE(void) gdImageGd (gdImagePtr im, FILE * out);
                                                   ^
gdmodule.c:128:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                if (fp = fopen(filename, "wb")) gdImageGd(self->imagedata, fp);
                    ~~~^~~~~~~~~~~~~~~~~~~~~~~
gdmodule.c:128:10: note: place parentheses around the assignment to silence this warning
                if (fp = fopen(filename, "wb")) gdImageGd(self->imagedata, fp);
                       ^
                    (                         )
gdmodule.c:128:10: note: use '==' to turn this assignment into an equality comparison
                if (fp = fopen(filename, "wb")) gdImageGd(self->imagedata, fp);
                       ^
                       ==
gdmodule.c:184:7: warning: implicit declaration of function 'PyInt_AS_LONG' is invalid in C99 [-Wimplicit-function-declaration]
        ox = PyInt_AS_LONG((PyIntObject *)PyTuple_GET_ITEM(point,0));
             ^
gdmodule.c:184:22: error: use of undeclared identifier 'PyIntObject'; did you mean 'PySetObject'?
        ox = PyInt_AS_LONG((PyIntObject *)PyTuple_GET_ITEM(point,0));
                            ^
gdmodule.c:184:35: error: expected expression
        ox = PyInt_AS_LONG((PyIntObject *)PyTuple_GET_ITEM(point,0));
                                         ^
gdmodule.c:185:22: error: use of undeclared identifier 'PyIntObject'; did you mean 'PySetObject'?
        oy = PyInt_AS_LONG((PyIntObject *)PyTuple_GET_ITEM(point,1));
                            ^
gdmodule.c:185:35: error: expected expression
        oy = PyInt_AS_LONG((PyIntObject *)PyTuple_GET_ITEM(point,1));
                                         ^
gdmodule.c:189:22: error: use of undeclared identifier 'PyIntObject'; did you mean 'PySetObject'?
                x = PyInt_AS_LONG((PyIntObject *)PyTuple_GET_ITEM(point,0));
                                   ^
gdmodule.c:189:35: error: expected expression
                x = PyInt_AS_LONG((PyIntObject *)PyTuple_GET_ITEM(point,0));
                                                ^
gdmodule.c:190:22: error: use of undeclared identifier 'PyIntObject'; did you mean 'PySetObject'?
                y = PyInt_AS_LONG((PyIntObject *)PyTuple_GET_ITEM(point,1));
                                   ^
gdmodule.c:190:35: error: expected expression
                y = PyInt_AS_LONG((PyIntObject *)PyTuple_GET_ITEM(point,1));
                                                ^
gdmodule.c:220:36: error: use of undeclared identifier 'PyIntObject'; did you mean 'PySetObject'?
                gdpoints[i].x = X(PyInt_AS_LONG((PyIntObject *)PyTuple_GET_ITEM(point,0)));
                                                 ^
gdmodule.c:76:16: note: expanded from:
#define X(x) ((x)*self->multiplier_x+self->origin_x)
               ^
gdmodule.c:220:49: error: expected expression
                gdpoints[i].x = X(PyInt_AS_LONG((PyIntObject *)PyTuple_GET_ITEM(point,0)));
                                                              ^
gdmodule.c:76:16: note: expanded from:
#define X(x) ((x)*self->multiplier_x+self->origin_x)
               ^
gdmodule.c:221:36: error: use of undeclared identifier 'PyIntObject'; did you mean 'PySetObject'?
                gdpoints[i].y = Y(PyInt_AS_LONG((PyIntObject *)PyTuple_GET_ITEM(point,1)));
                                                 ^
gdmodule.c:77:16: note: expanded from:
#define Y(y) ((y)*self->multiplier_y+self->origin_y)
               ^
gdmodule.c:221:49: error: expected expression
                gdpoints[i].y = Y(PyInt_AS_LONG((PyIntObject *)PyTuple_GET_ITEM(point,1)));
                                                              ^
gdmodule.c:77:16: note: expanded from:
#define Y(y) ((y)*self->multiplier_y+self->origin_y)
               ^
gdmodule.c:270:36: error: use of undeclared identifier 'PyIntObject'; did you mean 'PySetObject'?
                gdpoints[i].x = X(PyInt_AS_LONG((PyIntObject *)PyTuple_GET_ITEM(point,0)));
                                                 ^
gdmodule.c:76:16: note: expanded from:
#define X(x) ((x)*self->multiplier_x+self->origin_x)
               ^
gdmodule.c:270:49: error: expected expression
                gdpoints[i].x = X(PyInt_AS_LONG((PyIntObject *)PyTuple_GET_ITEM(point,0)));
                                                              ^
gdmodule.c:76:16: note: expanded from:
#define X(x) ((x)*self->multiplier_x+self->origin_x)
               ^
gdmodule.c:271:36: error: use of undeclared identifier 'PyIntObject'; did you mean 'PySetObject'?
                gdpoints[i].y = Y(PyInt_AS_LONG((PyIntObject *)PyTuple_GET_ITEM(point,1)));
                                                 ^
gdmodule.c:77:16: note: expanded from:
#define Y(y) ((y)*self->multiplier_y+self->origin_y)
               ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
6 warnings and 20 errors generated.
error: command 'gcc' failed with exit status 1
*** Error code 1

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

Stop.
make: stopped in /bulk-data/pkgsrc/graphics/py-gd
