Summary: | net-libs/libtorrent-rasterbar - Build fails with "ModuleNotFoundError: No module named 'setuptools'" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | abbotta4 |
Component: | Current packages | Assignee: | Mikle Kolyada (RETIRED) <zlogene> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sam, slashbeast, wgh |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log for libtorrent-rasterbar
emerge --info '=net-libs/libtorrent-rasterbar-1.2.12::gentoo |
Description
abbotta4
2021-05-12 15:32:28 UTC
Created attachment 707613 [details]
build.log for libtorrent-rasterbar
Created attachment 707616 [details]
emerge --info '=net-libs/libtorrent-rasterbar-1.2.12::gentoo
Yeah, we need to add the dependency. >DISTUTILS_OPTIONAL=manual means the eclass won't add any dependencies at all. ${PYTHON_DEPS} is needed which we use but you have to manually add setuptools too AFAIK based on how the eclass reads. May be worth updating the eclass documentation as it's a bit confusing: >If you enable DISTUTILS_OPTIONAL, you have to set proper dependencies for your package (using ${PYTHON_DEPS}) and to either call distutils-r1 default phase functions or call the build system manually. Just wanted to report I've run into the same issue - have a system I've not updated in some time, encountered this when trying to update from 1.2.6 to 1.2.14. I was unable to update dev-python/setuptools as suggested due to some dependency nastiness, so I resorted to unmerging this (libtorrent-rasterbar) package as well as the torrent client that depends on it to get my update world moving again. In case this helps anyone else: equery depends net-libs/libtorrent-rasterbar emerge -ca [some bittorrent client as reported by equery] emerge -ca net-libs/libtorrent-rasterbar emerge -uUD world I assume net-libs/libtorrent-rasterbar will build correctly once the rest of my system is up to date, as it did for abbotta4. If not I will report back. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c21179d3301d32b52969e4d4e49c4242c98e671 commit 1c21179d3301d32b52969e4d4e49c4242c98e671 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-10-29 08:56:25 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-10-29 08:57:02 +0000 net-libs/libtorrent-rasterbar: fix setuptools dependency Bug: https://bugs.gentoo.org/789699 Signed-off-by: Sam James <sam@gentoo.org> ...terbar-1.2.14.ebuild => libtorrent-rasterbar-1.2.14-r1.ebuild} | 8 ++++---- ...erbar-2.0.4-r2.ebuild => libtorrent-rasterbar-2.0.4-r3.ebuild} | 5 +++++ 2 files changed, 9 insertions(+), 4 deletions(-) Thanks for the poke! |