Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 404921 - dev-python/shm-1.2.2 fails to build with pypy
Summary: dev-python/shm-1.2.2 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:36 UTC by Patrick Lauer
Modified: 2012-02-20 14:43 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:36:17 UTC
*********************************************************************
* I was unable to detect the structure of ipc_perm on your system.  *
* I'll make my best guess, but compiling might fail anyway. Please  *
* email this message, the error code of 3, and the name of your OS  *
* to the contact at http://NikitaTheSpider.com/python/shm/.         *
*********************************************************************

running build
running build_py
creating build-2.7-pypy-1.8
creating build-2.7-pypy-1.8/lib.linux-x86_64-2.7
copying shm_wrapper.py -> build-2.7-pypy-1.8/lib.linux-x86_64-2.7
warning: build_py: byte-compiling is disabled, skipping.

running build_ext
building 'shm' extension
creating build-2.7-pypy-1.8/temp.linux-x86_64-2.7
cc -O2 -pipe -fPIC -DZERO_UNDERSCORE_KEY -I/usr/lib64/pypy1.8/include -c shmmodule.c -o build-2.7-pypy-1.8/temp.linux-x86_64-2.7/shmmodule.o -fPIC
shmmodule.c: In function ‘check_memory_identity’:
shmmodule.c:238:35: error: ‘struct ipc_perm’ has no member named ‘key’
shmmodule.c:256:32: error: ‘struct ipc_perm’ has no member named ‘key’
shmmodule.c: At top level:
shmmodule.c:500:26: error: array type has incomplete element type
shmmodule.c:504:20: error: ‘struct ipc_perm’ has no member named ‘key’
shmmodule.c: In function ‘check_semaphore_identity’:
shmmodule.c:621:35: error: ‘struct ipc_perm’ has no member named ‘key’
shmmodule.c:634:35: error: ‘struct ipc_perm’ has no member named ‘key’
shmmodule.c: At top level:
shmmodule.c:898:26: error: array type has incomplete element type
shmmodule.c:901:24: error: ‘struct ipc_perm’ has no member named ‘key’
shmmodule.c: In function ‘set_member_type’:
shmmodule.c:1351:5: error: invalid use of undefined type ‘struct memberlist’
shmmodule.c:1351:19: error: dereferencing pointer to incomplete type
error: command 'cc' failed with exit status 1
 * ERROR: dev-python/shm-1.2.2 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:43:37 UTC
+  20 Feb 2012; Patrick Lauer <patrick@gentoo.org> shm-1.2.2.ebuild:
+  Restricting pypy #404921