Hey, libxmlb has this check: python_check_deps() { python_has_version -b "dev-python/setuptools[${PYTHON_USEDEP}]" } but setuptools is only a dependency with "introspection" use flag: BDEPEND=" ${PYTHON_DEPS} introspection? ( $(python_gen_any_dep 'dev-python/setuptools[${PYTHON_USEDEP}]') ) " causing a situation where setuptools may not be installed at all, but the ebuild still checks for it. * Checking whether python3_12 is suitable ... * dev-lang/python:3.12 ... [ ok ] * python_check_deps ... * dev-python/setuptools[python_targets_python3_12(-)] ... [ !! ] [ !! ] ... ... ... * No Python implementation found for the build. This is usually * a bug in the ebuild. Please report it to bugs.gentoo.org * along with the build log. * ERROR: dev-libs/libxmlb-0.3.14::gentoo failed (setup phase): * No supported Python implementation installed.
Forcing USE="introspection" allows merging the library
commit 4c858a2a78c61667d7eb323b21ebf6c91f5c0bd9 Author: Sam James <sam@gentoo.org> Date: Tue Oct 22 08:32:37 2024 +0100 dev-libs/libxmlb: fix python_check_deps We don't need setuptools unless USE=introspection, match the dep. Signed-off-by: Sam James <sam@gentoo.org> and then commit 2aa5dc44303090a50cde94e7afac9a9cda90d68f Author: Sam James <sam@gentoo.org> Date: Tue Oct 22 09:03:59 2024 +0100 dev-libs/libxmlb: fix python_check_deps Bug: https://bugs.gentoo.org/941965 Fixes: 4c858a2a78c61667d7eb323b21ebf6c91f5c0bd9 Signed-off-by: Sam James <sam@gentoo.org> commit 258c82816692c80adf9a3cac7cfedc49931bd3f5 Author: Sam James <sam@gentoo.org> Date: Tue Oct 22 09:11:50 2024 +0100 dev-libs/libxmlb: fix python_check_deps again Thanks to Ionen for pointing out this will (obviously) return 0 unconditionally... Bug: https://bugs.gentoo.org/941965 Signed-off-by: Sam James <sam@gentoo.org>