Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 404055 - dev-python/smmap-0.8.1 fails to build with pypy
Summary: dev-python/smmap-0.8.1 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-16 06:35 UTC by Patrick Lauer
Modified: 2012-02-20 14:54 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-16 06:35:21 UTC
* Building of dev-python/smmap-0.8.1 with PyPy 1.8 (Python 2.7)...
pypy-c1.8 setup.py build -b build-2.7-pypy-1.8
Error processing line 1 of /usr/lib64/pypy1.8/site-packages/iconv_codec.pth:

  Traceback (most recent call last):
    File "/usr/lib64/pypy1.8/lib-python/modified-2.7/site.py", line 166, in addpackage
      exec line
    File "<string>", line 1, in <module>
    File "/usr/lib64/pypy1.8/site-packages/iconv_codec.py", line 30, in <module>
      from _iconv_codec import makeencoder, makedecoder
  ImportError: unable to load extension module '/usr/lib64/pypy1.8/site-packages/_iconv_codec.pypy-18.so': /usr/lib64/pypy1.8/site-packages/_iconv_codec.pypy-18.so: undefined symbol: PyUnicodeDecodeError_SetStart

Remainder of file ignored
Traceback (most recent call last):
  File "app_main.py", line 51, in run_toplevel
  File "setup.py", line 11, in <module>
    import smmap
  File "/var/tmp/portage/dev-python/smmap-0.8.1/work/smmap-0.8.1/smmap/__init__.py", line 10, in <module>
    from mman import *
  File "/var/tmp/portage/dev-python/smmap-0.8.1/work/smmap-0.8.1/smmap/mman.py", line 2, in <module>
    from util import (
  File "/var/tmp/portage/dev-python/smmap-0.8.1/work/smmap-0.8.1/smmap/util.py", line 15, in <module>
    from sys import getrefcount
ImportError: cannot import name 'getrefcount'
 * ERROR: dev-python/smmap-0.8.1 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:54:09 UTC
+  20 Feb 2012; Patrick Lauer <patrick@gentoo.org> smmap-0.8.1.ebuild:
+  Restricting pypy #404055