Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 735636 - sys-process/criu-3.14-r1 : src_configure(): No supported Python implementation in PYTHON_TARGETS.
Summary: sys-process/criu-3.14-r1 : src_configure(): No supported Python implementatio...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-03 02:56 UTC by Daniel M. Weeks
Modified: 2020-09-22 20:25 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 2020-08-03 02:56:02 UTC
Based on DEPEND and REQUIRED_USE, python is completely optional. However, emerge fails when no python target is selected. Ex:

 * No Python implementation selected for the build. Please add one
 * of the following values to your PYTHON_TARGETS (in make.conf):
 * 
 * python3_6 python3_7 python3_8
 * ERROR: sys-process/criu-3.14-r1::gentoo failed (configure phase):
 *   No supported Python implementation in PYTHON_TARGETS.
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_configure
 *   environment, line 3350:  Called python_setup
 *   environment, line 3151:  Called _python_validate_useflags
 *   environment, line  807:  Called die
 * The specific snippet of code:
 *       die "No supported Python implementation in PYTHON_TARGETS."

Reproducible: Always
Comment 1 Georgy Yakovlev archtester gentoo-dev 2020-09-22 08:22:57 UTC
it seems in latest criu crit component requires python unconditionally.
Comment 2 Larry the Git Cow gentoo-dev 2020-09-22 20:25:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1db39caa60172f86d9f2c1d248e26c87f7ce5676

commit 1db39caa60172f86d9f2c1d248e26c87f7ce5676
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2020-09-22 08:29:20 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2020-09-22 20:24:23 +0000

    sys-process/criu: revbump 3.14-r1, python no longer optional
    
    python is no longer optional, criu target
    requires crit, which requires pycriu.
    
    also check for IA32 emulation only on amd64.
    
    and remove RAW_LDFLAGS, it was added by patch
    which is no longer applied to this version.
    LDFLAGS still not honored, #728148
    
    Closes: https://bugs.gentoo.org/735636
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 .../{criu-3.14-r1.ebuild => criu-3.14-r2.ebuild}   | 28 +++++++++++-----------
 1 file changed, 14 insertions(+), 14 deletions(-)