``` * ERROR: dev-python/sphinx-5.3.0::gentoo failed (compile phase): * Unknown backend: flit_core.buildapi * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 3455: Called distutils-r1_src_compile * environment, line 1626: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 769: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3146: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2703: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2701: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 1113: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 1608: Called distutils-r1_python_compile * environment, line 1430: Called distutils_pep517_install '/var/tmp/portage/dev-python/sphinx-5.3.0/work/sphinx-5.3.0-python3_11/install' * environment, line 1956: Called _distutils-r1_get_backend * environment, line 571: Called _distutils-r1_backend_to_key 'flit_core.buildapi' * environment, line 442: Called die * The specific snippet of code: * die "Unknown backend: ${backend}" ``` the backend name has been rename to `flit-core.buildapi`, however the `gpep517 get-backend` command returns `flit_core.buildapi` Reproducible: Always
Created attachment 861711 [details] info.txt
Created attachment 861712 [details] pretend-emerge.txt
Created attachment 861713 [details] build-log.txt
Created attachment 861714 [details] environment.txt
dev-python/packaging-23.0-r1 has the same problem.
Have similar issue with dev-python/more-itertools-9.1.0
Created attachment 861719 [details, diff] patch.diff (In reply to dtoch from comment #6) > Have similar issue with dev-python/more-itertools-9.1.0 Try this patch.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ef6f4496d5bf78dc92c23fcd67a6c5187d126ff commit 4ef6f4496d5bf78dc92c23fcd67a6c5187d126ff Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2023-05-15 10:46:40 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2023-05-15 10:46:40 +0000 distutils-r1.eclass: Fix sed mistake Closes: https://bugs.gentoo.org/906385 Closes: https://bugs.gentoo.org/906376 Signed-off-by: Michał Górny <mgorny@gentoo.org> eclass/distutils-r1.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)