It looks like the ebuild does not include setuptools as a BDEPEND if the python USE is used Reproducible: Always Steps to Reproduce: 1. emerge net-libs/libtorrent-rasterbar-1.2.12 2. The build will fail with the title error in the log Actual Results: The build fails to build libtorrent-rasterbar without the setuptools module Expected Results: Portage should successfully build and install libtorrent-rasterbar emerging dev-python/setuptools and rebuilding libtorrent-rasterbar yielded success
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!