Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 878935 - sys-libs/libnvme-1.2 incomplete python useflag (No Python implementation selected for the build.)
Summary: sys-libs/libnvme-1.2 incomplete python useflag (No Python implementation sele...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-31 23:51 UTC by Daniel M. Weeks
Modified: 2022-11-04 01:32 UTC (History)
1 user (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 Daniel M. Weeks 2022-10-31 23:51:12 UTC
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
Comment 1 Larry the Git Cow gentoo-dev 2022-11-03 20:59:52 UTC
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(-)
Comment 2 Daniel M. Weeks 2022-11-04 01:32:06 UTC
Should the swig dependency also be behind USE=python?