Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943525 - net-libs/libtorrent-rasterbar-1.2.19 ebuild is missing python3_12 support (PYTHON_COMPAT)
Summary: net-libs/libtorrent-rasterbar-1.2.19 ebuild is missing python3_12 support (PY...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-11-14 23:59 UTC by David Duchesne
Modified: 2024-11-15 20:19 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 David Duchesne 2024-11-14 23:59:26 UTC
Please add python3_12 support. Thanks.
(Needed to build qbittorrent-4.6.7 with libtorrent-rasterbar-1.2.19)

Reproducible: Always
Comment 1 Andreas Sturmlechner gentoo-dev 2024-11-15 09:12:36 UTC
qbittorrent-4.6.7 has >=net-libs/libtorrent-rasterbar-1.2.19, so why not use current stable 2.0.10?
Comment 2 David Duchesne 2024-11-15 10:32:17 UTC
(In reply to Andreas Sturmlechner from comment #1)
> qbittorrent-4.6.7 has >=net-libs/libtorrent-rasterbar-1.2.19, so why not use
> current stable 2.0.10?

I wanted to give it a try with this previous libtorrent-rasterbar version to see if it can help to fix the memory usage issues. ( https://github.com/arvidn/libtorrent/issues/6667 )

CMakeLists.txt says both can be used:
set(minLibtorrent1Version 1.2.19)
set(minLibtorrentVersion 2.0.10)

But if that's not recommended to build it against this "old" libtorrent then maybe the qbittorrent ebuild should advertise >=net-libs/libtorrent-rasterbar-2.0.10
Because as of now it is not possible to use net-libs/libtorrent-rasterbar-1.2.19 anyway because of missing python3_12.
Comment 3 Andreas Sturmlechner gentoo-dev 2024-11-15 12:12:40 UTC
(In reply to David Duchesne from comment #2)
> (But if that's not recommended to build it against this "old" libtorrent then
> maybe the qbittorrent ebuild should advertise
> >=net-libs/libtorrent-rasterbar-2.0.10
No, I'm not saying it is not recommended, I don't know about qbittorrent. It's just unrealistic for the old version to receive updates, more likely it'll just be dropped.

(In reply to David Duchesne from comment #2)
> Because as of now it is not possible to use
> net-libs/libtorrent-rasterbar-1.2.19 anyway because of missing python3_12.
Of course it is possible, when setting the necessary python (3_11) flag and potentially on python deps, but a bit of a hassle.
Comment 4 David Duchesne 2024-11-15 13:11:16 UTC
> Of course it is possible, when setting the necessary python (3_11) flag and
> potentially on python deps, but a bit of a hassle.
Indeed, you're right. I was afraid to have to turn it on and bring back python 3_11 on my system. :)
It turns out it is even simpler than that, I noticed an old libtorrent-rasterbar entry in my package.use :

# required by net-p2p/deluge-2.0.3-r5::gentoo[python_single_target_python3_7]
# required by deluge (argument)
>=net-libs/libtorrent-rasterbar-1.2.6 python

It turns out it was only really needed for deluge (which I don't use anymore), qbittorrent-4.6.7 doesn't need libtorrent-rasterbar-1.2.19[python]
I'm going to give it a try with libtorrent-rasterbar-1.2.19 then.
Sorry for the noise! I'm closing this bug.
Comment 5 Larry the Git Cow gentoo-dev 2024-11-15 20:19:46 UTC
The bug has been closed via the following commit(s):

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

commit 85ca8d0618e75d6e1f08a42bcc1f804948d04521
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-11-15 09:12:27 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-11-15 20:19:22 +0000

    net-libs/libtorrent-rasterbar: drop 1.2.19
    
    Closes: https://bugs.gentoo.org/943525
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 net-libs/libtorrent-rasterbar/Manifest             |  1 -
 .../libtorrent-rasterbar-1.2.19.ebuild             | 70 ----------------------
 2 files changed, 71 deletions(-)