Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 653790 - dev-python/hiredis-0.2.0-r1 stable request
Summary: dev-python/hiredis-0.2.0-r1 stable request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Stabilization (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Sven Wegener
URL:
Whiteboard: Was: dev-python/hiredis-0.2.0 does no...
Keywords:
Depends on:
Blocks: py3_6_switch
  Show dependency tree
 
Reported: 2018-04-22 15:15 UTC by Ștefan Talpalaru
Modified: 2018-06-26 16:18 UTC (History)
2 users (show)

See Also:
Package list:
dev-python/hiredis-0.2.0-r1
Runtime testing required: ---
stable-bot: sanity-check+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ștefan Talpalaru 2018-04-22 15:15:44 UTC
Guess what happens when a Python extension does not link the library it's supposed to wrap. Hint:

In [1]: import hiredis
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-ed1f28f33969> in <module>()
----> 1 import hiredis

/usr/lib64/python2.7/site-packages/hiredis/__init__.py in <module>()
----> 1 from .hiredis import Reader, HiredisError, ProtocolError, ReplyError
      2 from .version import __version__
      3 
      4 __all__ = [
      5   "Reader", "HiredisError", "ProtocolError", "ReplyError",

ImportError: /usr/lib64/python2.7/site-packages/hiredis/hiredis.so: undefined symbol: redisReaderGetReply

---

A fixed ebuild is available in my overlay: https://github.com/stefantalpalaru/gentoo-overlay
Comment 1 Pacho Ramos gentoo-dev 2018-06-24 13:13:19 UTC
[master adcad4d0dadd] dev-python/hiredis: Fix linking (#653790 by Ștefan Talpalaru)
 2 files changed, 53 insertions(+)
 create mode 100644 dev-python/hiredis/files/hiredis-0.2.0-r1-system-libs.patch
 create mode 100644 dev-python/hiredis/hiredis-0.2.0-r1.ebuild
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2018-06-25 23:23:37 UTC
x86 stable
Comment 3 Aaron Bauman (RETIRED) gentoo-dev 2018-06-26 01:36:54 UTC
amd64 stable
Comment 4 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2018-06-26 16:18:11 UTC
arm stable