Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 794958 - net-wireless/soapysdr-0.7.2: No supported Python implementation in PYTHON_TARGETS
Summary: net-wireless/soapysdr-0.7.2: No supported Python implementation in PYTHON_TAR...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-08 16:36 UTC by Daniel M. Weeks
Modified: 2021-06-10 03:37 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 Daniel M. Weeks 2021-06-08 16:36:56 UTC
It looks like src_install is missing a conditional on the python useflag. This /may/ be related to #670798 but I don't think this specific issue was introduced until the 0.7.2 ebuild.

 * Messages for package net-wireless/soapysdr-0.7.2:

 * No Python implementation selected for the build. Please add one
 * of the following values to your PYTHON_TARGETS (in make.conf):
 * 
 * python3_7 python3_8 python3_9
 * ERROR: net-wireless/soapysdr-0.7.2::gentoo failed (install phase):
 *   No supported Python implementation in PYTHON_TARGETS.
 * 
 * Call stack:
 *     ebuild.sh, line  127:  Called src_install
 *   environment, line 3160:  Called python_foreach_impl 'python_optimize'
 *   environment, line 2759:  Called _python_obtain_impls
 *   environment, line  687:  Called _python_validate_useflags
 *   environment, line  785:  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 2021-06-10 03:37:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76878357cf012d531037c2df49a47f2b153d5f46

commit 76878357cf012d531037c2df49a47f2b153d5f46
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-06-10 03:36:32 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-06-10 03:36:32 +0000

    net-wireless/soapysdr: conditionalise Python usage in src_install
    
    Closes: https://bugs.gentoo.org/794958
    Signed-off-by: Sam James <sam@gentoo.org>

 net-wireless/soapysdr/soapysdr-0.7.2.ebuild | 7 +++++--
 net-wireless/soapysdr/soapysdr-9999.ebuild  | 7 +++++--
 2 files changed, 10 insertions(+), 4 deletions(-)