easy_install blist problem on 0.6.7

Issue #82 new
Tarek Ziadé
repo owner created an issue

Neal Becker on Distutils-SIG:

I just did easy_install blist on fedora F11 x86_64. I was surprised that it did not build from source, instead d/l somebody's blist.so.

No surprise, testing 'import blist' fails with an undefined symbol.

This is distribute 0.6.7. Please add option to force build from source.

Comments (3)

  1. Daniel Stutzbach

    I was surprised by this (as the author of blist), since I know that blist only depends on the C library and libpython. I thought that libpython had the same ABI regardless of the Linux variant, in which case the binary egg should work fine.

    The exact error is:

    ImportError: /usr/lib/python2.6/site-packages/blist-1.0.2-py2.6-linux-x86_64.egg/blist.so: undefined symbol: PyUnicodeUCS2_FromString

    Python's internal unicode representation is a ./configure option and part of the ABI. There's a long-standing setuptools/distutils bug stating that the unicode representation should be part of the egg platform name:

    http://bugs.python.org/setuptools/issue78 PJE's comment on how to fix it: http://mail.python.org/pipermail/distutils-sig/2006-August/006594.html

    If that were fixed, the user's easy-install would not have picked up this incompatible binary egg.

  2. Log in to comment