Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 774765 - dev-python/zstandard can not load backend_c because undefined symbol: POOL_free
Summary: dev-python/zstandard can not load backend_c because undefined symbol: POOL_free
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 773898
  Show dependency tree
 
Reported: 2021-03-08 08:48 UTC by Cédric Krier
Modified: 2022-03-21 21:23 UTC (History)
2 users (show)

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 Cédric Krier gentoo-dev 2021-03-08 08:48:35 UTC
app-arch/zstd does not expose publicly the POOL_* API but dev-python/zstandard relies on it.
It seems to have been fixed by upstream with https://github.com/indygreg/python-zstandard/issues/106

Reproducible: Always
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-03-08 14:45:45 UTC
0.15.2 is even worse:

ImportError: zstd C API versions mismatch; Python bindings were not compiled/linked against expected zstd version (10409 returned by the lib, 10409 hardcoded in zstd headers, 10408 hardcoded in the cext)
Comment 2 Larry the Git Cow gentoo-dev 2021-03-08 18:46:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3824bbf01915110ec4a7222212a6af789a762613

commit 3824bbf01915110ec4a7222212a6af789a762613
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2021-03-08 18:44:50 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2021-03-08 18:46:20 +0000

    dev-python/zstandard: Disable the C backend, use CFFI
    
    Closes: https://bugs.gentoo.org/774765
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/zstandard/zstandard-0.15.2-r1.ebuild | 39 +++++++++++++++++++++++++
 1 file changed, 39 insertions(+)