=> Bootstrap dependency digest>=20010302: found digest-20111104
=> Bootstrap dependency fetch-[0-9]*: found fetch-1.7
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for py31-swish-e-0.5
(cd /tmp/pkgsrc/www/py-swish-e/work/SwishE-0.5/ && /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS=-lpthread\ -lrt PTHREADBASE=/usr DL_CFLAGS= DL_LDFLAGS= DL_LIBS= PYTHON=/usr/pkg/bin/python3.1 CC=gcc CFLAGS=-O3\ -pipe\ -fstack-protector\ -Wno-format\ -fno-builtin\ -I/usr/include\ -I/usr/pkg/include/python3.1\ -I/usr/pkg/include CPPFLAGS=-I/usr/include\ -I/usr/pkg/include/python3.1\ -I/usr/pkg/include CXX=g++ CXXFLAGS=-O3\ -pipe\ -fstack-protector\ -Wno-format\ -fno-builtin\ -I/usr/include\ -I/usr/pkg/include/python3.1\ -I/usr/pkg/include COMPILER_RPATH_FLAG=-Wl,-R F77=f77 FC=f77 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,-R/usr/lib\ -L/usr/pkg/lib/python3.1/config\ -Wl,-R/usr/pkg/lib/python3.1/config\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/tmp/pkgsrc/www/py-swish-e/work/.wrapper/bin:/tmp/pkgsrc/www/py-swish-e/work/.buildlink/bin:/tmp/pkgsrc/www/py-swish-e/work/.gcc/bin:/tmp/pkgsrc/www/py-swish-e/work/.tools/bin:/usr/pkg/bin:/bin:/usr/bin:/usr/pkg/bin:/usr/pkg/bin PREFIX=/usr/pkg PKG_SYSCONFDIR=/usr/pkg/etc CXXCPP=cpp HOME=/tmp/pkgsrc/www/py-swish-e/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=share/man PKGINFODIR=share/info MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ pbulk\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 775 INSTALL_INFO= MAKEINFO=/tmp/pkgsrc/www/py-swish-e/work/.tools/bin/makeinfo PKG_CONFIG= PKG_CONFIG_LIBDIR=/tmp/pkgsrc/www/py-swish-e/work/.buildlink/lib/pkgconfig:/tmp/pkgsrc/www/py-swish-e/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/tmp/pkgsrc/www/py-swish-e/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 'SwishE' extension
creating build
creating build/temp.linux-x86_64-3.1
gcc -DNDEBUG -O3 -pipe -fstack-protector -Wno-format -fno-builtin -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include/ncurses -O3 -pipe -fstack-protector -Wno-format -fno-builtin -I/usr/include -I/usr/pkg/include/python3.1 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.1 -I/usr/pkg/include -fPIC -I/usr/local/include -I/usr/include -I/usr/pkg/include/python3.1 -c SwishE.c -o build/temp.linux-x86_64-3.1/SwishE.o
SwishE.c:51:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PyTypeObject'
SwishE.c:52:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PyTypeObject'
SwishE.c:53:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PyTypeObject'
SwishE.c:54:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PyTypeObject'
SwishE.c: In function 'decode_header_value':
SwishE.c:111:20: warning: assignment makes pointer from integer without a cast
SwishE.c:118:17: warning: assignment makes pointer from integer without a cast
SwishE.c:121:17: warning: assignment makes pointer from integer without a cast
SwishE.c:127:13: warning: passing argument 2 of 'PyList_Append' makes pointer from integer without a cast
/tmp/pkgsrc/www/py-swish-e/work/.buildlink/include/python3.1/listobject.h:55:17: note: expected 'struct PyObject *' but argument is of type 'int'
SwishE.c: In function 'handle_new':
SwishE.c:159:9: error: 'HANDLETYPE' undeclared (first use in this function)
SwishE.c:159:9: note: each undeclared identifier is reported only once for each function it appears in
SwishE.c: In function 'handle_query':
SwishE.c:199:16: error: 'RESULTSTYPE' undeclared (first use in this function)
SwishE.c: In function 'handle_headerNames':
SwishE.c:226:7: warning: passing argument 2 of 'PyList_Append' makes pointer from integer without a cast
/tmp/pkgsrc/www/py-swish-e/work/.buildlink/include/python3.1/listobject.h:55:17: note: expected 'struct PyObject *' but argument is of type 'int'
SwishE.c: In function 'handle_indexNames':
SwishE.c:253:7: warning: passing argument 2 of 'PyList_Append' makes pointer from integer without a cast
/tmp/pkgsrc/www/py-swish-e/work/.buildlink/include/python3.1/listobject.h:55:17: note: expected 'struct PyObject *' but argument is of type 'int'
SwishE.c: In function 'handle_metalist':
SwishE.c:305:7: warning: passing argument 2 of 'PyList_Append' makes pointer from integer without a cast
/tmp/pkgsrc/www/py-swish-e/work/.buildlink/include/python3.1/listobject.h:55:17: note: expected 'struct PyObject *' but argument is of type 'int'
SwishE.c: In function 'handle_getattr':
SwishE.c:335:4: warning: return makes pointer from integer without a cast
SwishE.c: At top level:
SwishE.c:341:5: warning: initialization makes integer from pointer without a cast
SwishE.c:344:5: warning: initialization from incompatible pointer type
SwishE.c:346:5: warning: initialization from incompatible pointer type
SwishE.c: In function 'search_new':
SwishE.c:366:16: error: 'SEARCHTYPE' undeclared (first use in this function)
SwishE.c: In function 'search_getattr':
SwishE.c:459:4: warning: return makes pointer from integer without a cast
SwishE.c: At top level:
SwishE.c:465:5: warning: initialization makes integer from pointer without a cast
SwishE.c:468:5: warning: initialization from incompatible pointer type
SwishE.c:470:5: warning: initialization from incompatible pointer type
SwishE.c: In function 'results_new':
SwishE.c:493:16: error: 'RESULTSTYPE' undeclared (first use in this function)
SwishE.c: In function 'results_getattr':
SwishE.c:586:4: warning: return makes pointer from integer without a cast
SwishE.c: At top level:
SwishE.c:592:5: warning: initialization makes integer from pointer without a cast
SwishE.c:595:5: warning: initialization from incompatible pointer type
SwishE.c:597:5: warning: initialization from incompatible pointer type
SwishE.c:613:2: warning: initialization makes pointer from integer without a cast
SwishE.c: In function 'result_new':
SwishE.c:644:16: error: 'RESULTTYPE' undeclared (first use in this function)
SwishE.c: In function 'result_metalist':
SwishE.c:747:7: warning: passing argument 2 of 'PyList_Append' makes pointer from integer without a cast
/tmp/pkgsrc/www/py-swish-e/work/.buildlink/include/python3.1/listobject.h:55:17: note: expected 'struct PyObject *' but argument is of type 'int'
SwishE.c: In function 'result_getattr':
SwishE.c:770:4: warning: return makes pointer from integer without a cast
SwishE.c: At top level:
SwishE.c:776:5: warning: initialization makes integer from pointer without a cast
SwishE.c:779:5: warning: initialization from incompatible pointer type
SwishE.c:781:5: warning: initialization from incompatible pointer type
SwishE.c: In function 'initSwishE':
SwishE.c:876:14: error: 'PyTypeObject' has no member named 'ob_type'
SwishE.c:877:14: error: 'PyTypeObject' has no member named 'ob_type'
SwishE.c:878:15: error: 'PyTypeObject' has no member named 'ob_type'
SwishE.c:879:6: warning: assignment makes pointer from integer without a cast
error: command 'gcc' failed with exit status 1
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/www/py-swish-e
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/www/py-swish-e