[pypy-issue] [issue761] Cannot build an optional C extension in the Storm 1.8 package

Nicola Larosa tracker at bugs.pypy.org
Sat Jun 25 15:21:32 CEST 2011


New submission from Nicola Larosa <pypy at teknico.net>:

Here's the output of trying to build the Storm 1.8 package
<https://launchpad.net/storm> under PyPy 1.5.

Luckily the C extension is optional and building it is easily skipped by
editing the setup.py file, but this could still be interesting.

user at host:~/src/Database/storm-0.18$ PYTHON=~/pypy-1.5/bin/pypy make build
~/pypy-1.5/bin/pypy setup.py build_ext -i
~/pypy-1.5/lib-python/modified-2.7/distutils/dist.py:267: UserWarning: Unknown
distribution option: 'include_package_data'
  warnings.warn(msg)
~/pypy-1.5/lib-python/modified-2.7/distutils/dist.py:267: UserWarning: Unknown
distribution option: 'zip_safe'
  warnings.warn(msg)
running build_ext
building 'storm.cextensions' extension
creating build
creating build/temp.linux-i686-2.7
creating build/temp.linux-i686-2.7/storm
cc -fPIC -Wimplicit -I~/pypy-1.5/include -c storm/cextensions.c -o
build/temp.linux-i686-2.7/storm/cextensions.o
storm/cextensions.c: In function ‘EventSystem_hook’:
storm/cextensions.c:307:5: warning: implicit declaration of function
‘PyTuple_GetSlice’
storm/cextensions.c:307:10: warning: assignment makes pointer from integer
without a cast
storm/cextensions.c:319:17: warning: implicit declaration of function ‘PySet_New’
storm/cextensions.c:319:27: warning: assignment makes pointer from integer
without a cast
storm/cextensions.c:335:21: warning: implicit declaration of function ‘PySet_Add’
storm/cextensions.c: In function ‘EventSystem_unhook’:
storm/cextensions.c:363:10: warning: assignment makes pointer from integer
without a cast
storm/cextensions.c:378:17: warning: implicit declaration of function
‘PySet_Discard’
storm/cextensions.c: In function ‘EventSystem_emit’:
storm/cextensions.c:439:10: warning: assignment makes pointer from integer
without a cast
storm/cextensions.c:442:9: warning: implicit declaration of function
‘PyWeakref_GET_OBJECT’
storm/cextensions.c:442:27: warning: initialization makes pointer from integer
without a cast
storm/cextensions.c:449:13: warning: implicit declaration of function
‘PySet_GET_SIZE’
storm/cextensions.c: In function ‘Compile_single’:
storm/cextensions.c:1556:9: warning: implicit declaration of function
‘PyUnicode_Format’
storm/cextensions.c:1556:13: warning: assignment makes pointer from integer
without a cast
storm/cextensions.c: In function ‘Compile_one_or_many’:
storm/cextensions.c:1682:9: warning: implicit declaration of function
‘PyUnicode_Join’
storm/cextensions.c:1682:9: warning: assignment makes pointer from integer
without a cast
storm/cextensions.c: In function ‘ObjectInfo_get_obj’:
storm/cextensions.c:1932:21: warning: initialization makes pointer from integer
without a cast
cc -shared build/temp.linux-i686-2.7/storm/cextensions.o -o
~/src/Database/storm-0.18/storm/cextensions.pypy-15.so

----------
messages: 2667
nosy: pypy-issue, tekNico
priority: bug
release: 1.5
status: unread
title: Cannot build an optional C extension in the Storm 1.8 package

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue761>
________________________________________


More information about the pypy-issue mailing list