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
it seems in latest criu crit component requires python unconditionally.
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(-)