Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 403835 - dev-python/pypy-1.8 problem with _iconv_codec module from dev-python/iconvcodec?
Summary: dev-python/pypy-1.8 problem with _iconv_codec module from dev-python/iconvcodec?
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-15 08:08 UTC by Patrick Lauer
Modified: 2012-02-26 14:06 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-15 08:08:31 UTC
* Building of dev-python/bicyclerepair-0.9-r2 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
Comment 1 Marien Zwart (RETIRED) gentoo-dev 2012-02-26 14:06:06 UTC
I've added *-pypy-* to RESTRICT_PYTHON_ABIS in iconvcodec for now. The proper fix here is probably to extend pypy's cpython api emulation, but it doesn't seem worth it to fix iconvcodec before lower-hanging fruit has been picked.