Python dependencies appear conditioned on USE=python, however with USE=-python and PYTHON_SINGLE_TARGET="" the build fails: * No Python implementation selected for the build. Please set * the PYTHON_SINGLE_TARGET variable in your make.conf to one * of the following values: * * python3_6 python3_7 python3_8 * ERROR: sys-libs/ldb-2.0.12::gentoo failed (setup phase): * No supported Python implementation in PYTHON_SINGLE_TARGET. * * Call stack: * ebuild.sh, line 125: Called pkg_setup * ldb-2.0.12.ebuild, line 53: Called python-single-r1_pkg_setup * python-single-r1.eclass, line 521: Called python_setup * python-single-r1.eclass, line 511: Called die * The specific snippet of code: * die "No supported Python implementation in PYTHON_SINGLE_TARGET." Reproducible: Always
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42d6e353d6ff73e7c910cbc271e73ed9a3c2cff4 commit 42d6e353d6ff73e7c910cbc271e73ed9a3c2cff4 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2020-08-15 09:10:20 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2020-08-15 09:17:49 +0000 sys-libs/ldb: Revbumps to improve python handling also disable distcc as it breaks build Closes: https://bugs.gentoo.org/726454 Closes: https://bugs.gentoo.org/733188 Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> sys-libs/ldb/{ldb-2.0.12.ebuild => ldb-2.0.12-r1.ebuild} | 9 +++++++-- sys-libs/ldb/{ldb-2.1.4.ebuild => ldb-2.1.4-r1.ebuild} | 9 +++++++-- sys-libs/ldb/{ldb-2.2.0.ebuild => ldb-2.2.0-r1.ebuild} | 9 +++++++-- 3 files changed, 21 insertions(+), 6 deletions(-)
This bug is wrong. Python is required for waf to run. Disabling all the targets is a user error.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e31cbf758673271ca84f5c65f004ca2236ada23 commit 8e31cbf758673271ca84f5c65f004ca2236ada23 Author: David Seifert <soap@gentoo.org> AuthorDate: 2020-08-15 20:31:49 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2020-08-15 20:31:49 +0000 sys-libs/ldb: Require python at build-time unconditionally * waf requires setting up a valid python interpreter before calling waf-utils_src_configure. Closes: https://bugs.gentoo.org/733188 Closes: https://bugs.gentoo.org/737238 Closes: https://github.com/gentoo/gentoo/pull/17126 Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: David Seifert <soap@gentoo.org> sys-libs/ldb/ldb-2.0.12-r1.ebuild | 8 +++++--- sys-libs/ldb/ldb-2.1.4-r1.ebuild | 8 +++++--- sys-libs/ldb/ldb-2.2.0-r1.ebuild | 8 +++++--- 3 files changed, 15 insertions(+), 9 deletions(-)
(In reply to Daniel M. Weeks from comment #0) > Python dependencies appear conditioned on USE=python, however with > USE=-python and PYTHON_SINGLE_TARGET="" the build fails: > > * No Python implementation selected for the build. Please set > * the PYTHON_SINGLE_TARGET variable in your make.conf to one > * of the following values: > * > * python3_6 python3_7 python3_8 > * ERROR: sys-libs/ldb-2.0.12::gentoo failed (setup phase): > * No supported Python implementation in PYTHON_SINGLE_TARGET. > * > * Call stack: > * ebuild.sh, line 125: Called pkg_setup > * ldb-2.0.12.ebuild, line 53: Called python-single-r1_pkg_setup > * python-single-r1.eclass, line 521: Called python_setup > * python-single-r1.eclass, line 511: Called die > * The specific snippet of code: > * die "No supported Python implementation in > PYTHON_SINGLE_TARGET." > > > Reproducible: Always This can't work, because waf requires the presence of a python interpreter to work.