Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 404937 - dev-python/gdmodule-0.56-r2 fails to build with pypy
Summary: dev-python/gdmodule-0.56-r2 fails to build with pypy
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-20 02:53 UTC by Patrick Lauer
Modified: 2012-02-20 14:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2012-02-20 02:53:21 UTC
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
Comment 1 Patrick Lauer gentoo-dev 2012-02-20 14:37:54 UTC
+  20 Feb 2012; Patrick Lauer <patrick@gentoo.org> gdmodule-0.56-r2.ebuild,
+  gdmodule-0.56.ebuild:
+  Restricting pypy #404937