Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 820518 - net-libs/libtorrent-rasterbar-2.0.4-r2[python]: broken build: undefined symbol: _Z16bind_sha256_hashv
Summary: net-libs/libtorrent-rasterbar-2.0.4-r2[python]: broken build: undefined symbo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mikle Kolyada
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2021-10-27 13:24 UTC by Conrad
Modified: 2021-10-31 04:33 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
upstream patch (f2eefd327f1ca89b053eb1e5f4ed229efe52e47f.patch,1.03 KB, patch)
2021-10-27 13:30 UTC, Conrad
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Conrad 2021-10-27 13:24:55 UTC
=net-libs/libtorrent-rasterbar-2.0.4-r2[python] with python 3.9 (3.8 not tested) results in a broken python module that does not load:

>>> import libtorrent
ImportError: /usr/lib/python3.9/site-packages/libtorrent.cpython-39-x86_64-linux-gnu.so: undefined symbol: _Z16bind_sha256_hashv

I was able to fix the error by applying this upstream fix: https://github.com/arvidn/libtorrent/commit/f2eefd327f1ca89b053eb1e5f4ed229efe52e47f
Comment 1 Conrad 2021-10-27 13:30:31 UTC
Created attachment 746991 [details, diff]
upstream patch
Comment 2 Larry the Git Cow gentoo-dev 2021-10-31 04:33:17 UTC
The bug has been closed via the following commit(s):

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

commit e1ab2444c5bc7ea380b30447926371d2904cf29a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-31 04:32:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-31 04:32:46 +0000

    net-libs/libtorrent-rasterbar: fix Python bindings in 2.0.4
    
    Thanks-to: Conrad <conrad_bugtracker@fps-power.eu>
    Closes: https://bugs.gentoo.org/820518
    Signed-off-by: Sam James <sam@gentoo.org>

 ...libtorrent-rasterbar-2.0.4-python-symbols.patch | 28 ++++++++++++++++++++++
 ...ebuild => libtorrent-rasterbar-2.0.4-r4.ebuild} |  1 +
 2 files changed, 29 insertions(+)