running build_ext building '_gd' extension creating build-2.7-pypy-1.8/temp.linux-x86_64-2.7 cc -O2 -pipe -DHAVE_LIBGIF -DHAVE_LIBJPEG -DHAVE_LIBPNG -DHAVE_LIBFREETYPE -fPIC -I/usr/lib64/pypy1.8/include -c _gdmodule.c -o build-2.7-pypy-1.8/temp.linux-x86_64-2.7/_gdmodule.o _gdmodule.c: In function ‘write_file’: _gdmodule.c:210:41: error: ‘PyFile_Type’ undeclared (first use in this function) _gdmodule.c:210:41: note: each undeclared identifier is reported only once for each function it appears in _gdmodule.c: In function ‘image_polygon’: _gdmodule.c:458:9: warning: passing argument 1 of ‘PyInt_AS_LONG’ from incompatible pointer type /usr/lib64/pypy1.8/include/pypy_decl.h:149:18: note: expected ‘struct PyObject *’ but argument is of type ‘struct PyIntObject *’ _gdmodule.c:459:9: warning: passing argument 1 of ‘PyInt_AS_LONG’ from incompatible pointer type /usr/lib64/pypy1.8/include/pypy_decl.h:149:18: note: expected ‘struct PyObject *’ but argument is of type ‘struct PyIntObject *’ _gdmodule.c: In function ‘image_filledpolygon’: _gdmodule.c:527:9: warning: passing argument 1 of ‘PyInt_AS_LONG’ from incompatible pointer type /usr/lib64/pypy1.8/include/pypy_decl.h:149:18: note: expected ‘struct PyObject *’ but argument is of type ‘struct PyIntObject *’ _gdmodule.c:528:9: warning: passing argument 1 of ‘PyInt_AS_LONG’ from incompatible pointer type /usr/lib64/pypy1.8/include/pypy_decl.h:149:18: note: expected ‘struct PyObject *’ but argument is of type ‘struct PyIntObject *’ _gdmodule.c: In function ‘image_setstyle’: _gdmodule.c:738:9: warning: passing argument 1 of ‘PyInt_AS_LONG’ from incompatible pointer type /usr/lib64/pypy1.8/include/pypy_decl.h:149:18: note: expected ‘struct PyObject *’ but argument is of type ‘struct PyIntObject *’ _gdmodule.c: In function ‘image_string16’: _gdmodule.c:1008:21: warning: passing argument 5 of ‘gdImageString16’ from incompatible pointer type /usr/include/gd.h:367:19: note: expected ‘short unsigned int *’ but argument is of type ‘Py_UNICODE *’ _gdmodule.c: In function ‘image_stringup16’: _gdmodule.c:1037:23: warning: passing argument 5 of ‘gdImageStringUp16’ from incompatible pointer type /usr/include/gd.h:369:19: note: expected ‘short unsigned int *’ but argument is of type ‘Py_UNICODE *’ _gdmodule.c: In function ‘PyFileIfaceObj_IOCtx_GetBuf’: _gdmodule.c:1809:5: warning: passing argument 3 of ‘PyString_AsStringAndSize’ from incompatible pointer type /usr/lib64/pypy1.8/include/pypy_decl.h:343:17: note: expected ‘Py_ssize_t *’ but argument is of type ‘int *’ error: command 'cc' failed with exit status 1 * ERROR: dev-python/gdmodule-0.56-r2 failed (compile phase): * Building failed with PyPy 1.8 (Python 2.7) in distutils_building() function
+ 20 Feb 2012; Patrick Lauer <patrick@gentoo.org> gdmodule-0.56-r2.ebuild, + gdmodule-0.56.ebuild: + Restricting pypy #404937