It looks like this ebuild should use: use python && python_copy_sources * Messages for package sys-libs/libnvme-1.2: * No Python implementation selected for the build. Please add one * of the following values to your PYTHON_TARGETS (in make.conf): * * python3_8 python3_9 python3_10 python3_11 * ERROR: sys-libs/libnvme-1.2::gentoo failed (compile phase): * No supported Python implementation in PYTHON_TARGETS. * * Call stack: * ebuild.sh, line 122: Called src_compile * environment, line 2599: Called python_copy_sources * environment, line 2091: Called _python_obtain_impls * environment, line 791: Called _python_validate_useflags * environment, line 918: Called die * The specific snippet of code: * die "No supported Python implementation in PYTHON_TARGETS." Reproducible: Always
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7a8cf1d75e09370f5b7c35fffc115d63a3bbbae commit c7a8cf1d75e09370f5b7c35fffc115d63a3bbbae Author: Patrick McLean <chutzpah@gentoo.org> AuthorDate: 2022-11-03 20:59:05 +0000 Commit: Patrick McLean <chutzpah@gentoo.org> CommitDate: 2022-11-03 20:59:48 +0000 sys-libs/libnvme: Revbump, fix python deps (bug #878935), swig dep Closes: https://bugs.gentoo.org/878935 Signed-off-by: Patrick McLean <chutzpah@gentoo.org> .../libnvme/{libnvme-1.2.ebuild => libnvme-1.2-r1.ebuild} | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-)
Should the swig dependency also be behind USE=python?
(In reply to Daniel M. Weeks from comment #2) > Should the swig dependency also be behind USE=python? Yes (bug 951534).
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebe0a41b812ca8a272011d6c772bdee7917bad35 commit ebe0a41b812ca8a272011d6c772bdee7917bad35 Author: Sam James <sam@gentoo.org> AuthorDate: 2025-04-21 08:02:03 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-04-21 08:04:27 +0000 sys-libs/libnvme: conditionalise dev-lang/swig dependency ... and revbump to allow people to depclean swig, as I suspect this is the only reason many have it installed. Bug: https://bugs.gentoo.org/878935 Closes: https://bugs.gentoo.org/951534 Signed-off-by: Sam James <sam@gentoo.org> sys-libs/libnvme/{libnvme-1.11.1.ebuild => libnvme-1.11.1-r1.ebuild} | 2 +- sys-libs/libnvme/{libnvme-1.12.ebuild => libnvme-1.12-r1.ebuild} | 2 +- sys-libs/libnvme/{libnvme-1.13.ebuild => libnvme-1.13-r1.ebuild} | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)