=> Bootstrap dependency digest>=20010302: found digest-20111104
=> Bootstrap dependency fetch-[0-9]*: found fetch-1.7
===> Building for py31-ming-0.4.3nb4
(cd /tmp/pkgsrc/multimedia/py-ming/work/ming-0.4.3/py_ext && /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/pkg/include\ -I/usr/pkg/include/freetype2\ -I/usr/include\ -I/usr/pkg/include/python3.1 CPPFLAGS=-I/usr/pkg/include\ -I/usr/pkg/include/freetype2\ -I/usr/include\ -I/usr/pkg/include/python3.1 CXX=g++ CXXFLAGS=-O3\ -pipe\ -fstack-protector\ -Wno-format\ -fno-builtin\ -I/usr/pkg/include\ -I/usr/pkg/include/freetype2\ -I/usr/include\ -I/usr/pkg/include/python3.1 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/pkg/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib\ -L/usr/pkg/lib/python3.1/config\ -Wl,-R/usr/pkg/lib/python3.1/config LINKER_RPATH_FLAG=-R PATH=/tmp/pkgsrc/multimedia/py-ming/work/.wrapper/bin:/tmp/pkgsrc/multimedia/py-ming/work/.buildlink/bin:/tmp/pkgsrc/multimedia/py-ming/work/.gcc/bin:/tmp/pkgsrc/multimedia/py-ming/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/multimedia/py-ming/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/multimedia/py-ming/work/.tools/bin/makeinfo PKG_CONFIG= PKG_CONFIG_LIBDIR=/tmp/pkgsrc/multimedia/py-ming/work/.buildlink/lib/pkgconfig:/tmp/pkgsrc/multimedia/py-ming/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/tmp/pkgsrc/multimedia/py-ming/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.linux-x86_64-3.1
copying ./ming.py -> build/lib.linux-x86_64-3.1
copying ./mingc.py -> build/lib.linux-x86_64-3.1
running build_ext
building '_mingc' extension
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/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include -I/usr/pkg/include/python3.1 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include -I/usr/pkg/include/python3.1 -fPIC -I/usr/local/include -I/tmp/pkgsrc/multimedia/py-ming/work/ming-0.4.3/py_ext/../src -I/usr/pkg/include/python3.1 -c ./ming_wrap.c -o build/temp.linux-x86_64-3.1/./ming_wrap.o
./ming_wrap.c: In function 'PySwigObject_format':
./ming_wrap.c:1320:24: warning: initialization makes pointer from integer without a cast
./ming_wrap.c:1322:6: warning: assignment makes pointer from integer without a cast
./ming_wrap.c: In function 'PySwigObject_repr':
./ming_wrap.c:1352:20: warning: initialization makes pointer from integer without a cast
./ming_wrap.c: In function 'PySwigObject_print':
./ming_wrap.c:1374:5: warning: passing argument 1 of 'fputs' makes pointer from integer without a cast
/usr/include/stdio.h:682:12: note: expected 'const char * __restrict__' but argument is of type 'int'
./ming_wrap.c: In function 'PySwigObject_str':
./ming_wrap.c:1386:3: warning: return makes pointer from integer without a cast
./ming_wrap.c: In function '_PySwigObject_type':
./ming_wrap.c:1584:5: warning: initialization from incompatible pointer type
./ming_wrap.c:1585:5: warning: initialization from incompatible pointer type
./ming_wrap.c:1588:5: warning: initialization from incompatible pointer type
./ming_wrap.c:1589:5: warning: initialization from incompatible pointer type
./ming_wrap.c:1596:6: error: 'coercion' undeclared (first use in this function)
./ming_wrap.c:1596:6: note: each undeclared identifier is reported only once for each function it appears in
./ming_wrap.c:1596:15: error: expected '}' before numeric constant
./ming_wrap.c:1618:2: warning: initialization makes integer from pointer without a cast
./ming_wrap.c:1621:2: warning: initialization from incompatible pointer type
./ming_wrap.c:1622:2: warning: initialization from incompatible pointer type
./ming_wrap.c:1626:2: warning: initialization from incompatible pointer type
./ming_wrap.c:1629:3: error: 'cmpfunc' undeclared (first use in this function)
./ming_wrap.c:1629:11: error: expected '}' before 'PySwigObject_compare'
./ming_wrap.c:1676:22: error: 'PyTypeObject' has no member named 'ob_type'
./ming_wrap.c: In function 'PySwigPacked_repr':
./ming_wrap.c:1725:5: warning: return makes pointer from integer without a cast
./ming_wrap.c:1727:5: warning: return makes pointer from integer without a cast
./ming_wrap.c: In function 'PySwigPacked_str':
./ming_wrap.c:1736:5: warning: return makes pointer from integer without a cast
./ming_wrap.c:1738:5: warning: return makes pointer from integer without a cast
./ming_wrap.c: In function '_PySwigPacked_type':
./ming_wrap.c:1785:2: warning: initialization makes integer from pointer without a cast
./ming_wrap.c:1788:2: warning: initialization from incompatible pointer type
./ming_wrap.c:1789:2: warning: initialization from incompatible pointer type
./ming_wrap.c:1790:2: warning: initialization from incompatible pointer type
./ming_wrap.c:1792:3: error: 'cmpfunc' undeclared (first use in this function)
./ming_wrap.c:1792:11: error: expected '}' before 'PySwigPacked_compare'
./ming_wrap.c:1839:22: error: 'PyTypeObject' has no member named 'ob_type'
./ming_wrap.c: In function '_SWIG_This':
./ming_wrap.c:1884:3: warning: return makes pointer from integer without a cast
./ming_wrap.c: In function 'SWIG_Python_GetSwigThis':
./ming_wrap.c:1905:11: warning: assignment makes pointer from integer without a cast
./ming_wrap.c: In function 'SWIG_Python_NewShadowInstance':
./ming_wrap.c:2135:10: warning: assignment makes pointer from integer without a cast
./ming_wrap.c: In function 'SWIG_Python_SetModule':
./ming_wrap.c:2316:22: warning: initialization makes pointer from integer without a cast
./ming_wrap.c: In function 'SWIG_Python_TypeQuery':
./ming_wrap.c:2337:19: warning: initialization makes pointer from integer without a cast
./ming_wrap.c: In function 'SWIG_Python_TypeError':
./ming_wrap.c:2426:21: warning: initialization makes pointer from integer without a cast
./ming_wrap.c: In function 'SWIG_From_int':
./ming_wrap.c:2711:3: warning: return makes pointer from integer without a cast
./ming_wrap.c: In function 'SWIG_AsCharPtrAndSize':
./ming_wrap.c:2913:8: warning: assignment makes pointer from integer without a cast
./ming_wrap.c: In function 'SWIG_FromCharPtrAndSize':
./ming_wrap.c:2946:7: warning: return makes pointer from integer without a cast
./ming_wrap.c: In function 'SWIG_From_unsigned_SS_long':
./ming_wrap.c:2965:36: warning: pointer/integer type mismatch in conditional expression
./ming_wrap.c: In function '_wrap_newSWFInput_file':
./ming_wrap.c:3670:10: warning: assignment makes pointer from integer without a cast
./ming_wrap.c: In function '_wrap_newSWFInput_stream':
./ming_wrap.c:3692:10: warning: assignment makes pointer from integer without a cast
./ming_wrap.c: In function '_wrap_newSWFDBLBitmap':
./ming_wrap.c:4086:10: warning: assignment makes pointer from integer without a cast
./ming_wrap.c: In function '_wrap_newSWFJpegBitmap':
./ming_wrap.c:4136:10: warning: assignment makes pointer from integer without a cast
./ming_wrap.c: In function '_wrap_newSWFJpegWithAlpha':
./ming_wrap.c:4188:10: warning: assignment makes pointer from integer without a cast
./ming_wrap.c:4195:10: warning: assignment makes pointer from integer without a cast
./ming_wrap.c: In function '_wrap_newSWFSoundStream':
./ming_wrap.c:7039:10: warning: assignment makes pointer from integer without a cast
./ming_wrap.c: In function '_wrap_newSWFSound':
./ming_wrap.c:7154:10: warning: assignment makes pointer from integer without a cast
./ming_wrap.c: In function '_wrap_newSWFVideoStream_fromFile':
./ming_wrap.c:8583:10: warning: assignment makes pointer from integer without a cast
./ming_wrap.c: In function 'swig_varlink_repr':
./ming_wrap.c:15157:5: warning: return makes pointer from integer without a cast
./ming_wrap.c: In function 'swig_varlink_str':
./ming_wrap.c:15162:21: warning: initialization makes pointer from integer without a cast
./ming_wrap.c: In function 'swig_varlink_type':
./ming_wrap.c:15236:9: warning: initialization makes integer from pointer without a cast
./ming_wrap.c:15239:9: warning: initialization from incompatible pointer type
./ming_wrap.c:15240:9: warning: initialization from incompatible pointer type
./ming_wrap.c:15241:9: warning: initialization from incompatible pointer type
./ming_wrap.c:15244:9: warning: initialization from incompatible pointer type
./ming_wrap.c:15250:9: warning: initialization from incompatible pointer type
./ming_wrap.c:15255:9: warning: initialization from incompatible pointer type
./ming_wrap.c:15271:19: error: 'PyTypeObject' has no member named 'ob_type'
./ming_wrap.c: In function 'init_mingc':
./ming_wrap.c:15402:5: 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/multimedia/py-ming
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/multimedia/py-ming