From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9A727158086 for ; Sun, 31 Oct 2021 04:33:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EC18FE09F4; Sun, 31 Oct 2021 04:33:20 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D3F63E09F4 for ; Sun, 31 Oct 2021 04:33:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C2B2D343585 for ; Sun, 31 Oct 2021 04:33:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 210578F for ; Sun, 31 Oct 2021 04:33:18 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1635654766.e1ab2444c5bc7ea380b30447926371d2904cf29a.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libtorrent-rasterbar/files/, net-libs/libtorrent-rasterbar/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.4-python-symbols.patch net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r3.ebuild net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r4.ebuild X-VCS-Directories: net-libs/libtorrent-rasterbar/files/ net-libs/libtorrent-rasterbar/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e1ab2444c5bc7ea380b30447926371d2904cf29a X-VCS-Branch: master Date: Sun, 31 Oct 2021 04:33:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: edf67801-c53b-4e85-8928-092fd9a58cca X-Archives-Hash: 6d33c8862e9d1c3ba64f123572991334 commit: e1ab2444c5bc7ea380b30447926371d2904cf29a Author: Sam James gentoo org> AuthorDate: Sun Oct 31 04:32:46 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sun Oct 31 04:32:46 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1ab2444 net-libs/libtorrent-rasterbar: fix Python bindings in 2.0.4 Thanks-to: Conrad fps-power.eu> Closes: https://bugs.gentoo.org/820518 Signed-off-by: Sam James 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(+) diff --git a/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.4-python-symbols.patch b/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.4-python-symbols.patch new file mode 100644 index 00000000000..109a6490af2 --- /dev/null +++ b/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.4-python-symbols.patch @@ -0,0 +1,28 @@ +https://github.com/arvidn/libtorrent/commit/f2eefd327f1ca89b053eb1e5f4ed229efe52e47f +https://bugs.gentoo.org/820518 + +From: Nick Korotysh +Date: Fri, 25 Jun 2021 22:08:00 +0300 +Subject: [PATCH] added missed sources to Python bindings CMakeLists.txt + +fixes libtorrent loading module issues: +libtorrent.cpython-39-x86_64-linux-gnu.so: undefined symbol: _Z16bind_sha256_hashv +--- a/bindings/python/CMakeLists.txt ++++ b/bindings/python/CMakeLists.txt +@@ -49,6 +49,7 @@ Python3_add_library(python-libtorrent MODULE WITH_SOABI + src/entry.cpp + src/error_code.cpp + src/fingerprint.cpp ++ src/info_hash.cpp + src/ip_filter.cpp + src/magnet_uri.cpp + src/module.cpp +@@ -56,6 +57,7 @@ Python3_add_library(python-libtorrent MODULE WITH_SOABI + src/session.cpp + src/session_settings.cpp + src/sha1_hash.cpp ++ src/sha256_hash.cpp + src/string.cpp + src/torrent_handle.cpp + src/torrent_info.cpp + diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r3.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r4.ebuild similarity index 97% rename from net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r3.ebuild rename to net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r4.ebuild index 9dc9cb50370..0982c19a126 100644 --- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r3.ebuild +++ b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r4.ebuild @@ -41,6 +41,7 @@ BDEPEND="python? ( PATCHES=( "${FILESDIR}"/${PN}-2.0.4-boost-1.76.patch "${FILESDIR}"/${P}-boost-1.77.patch + "${FILESDIR}"/${P}-python-symbols.patch ) pkg_setup() {