Same as in https://bugs.gentoo.org/933481? Here for net-libs/ldns-1.8.3-r3[python_targets_python3_12] I am still on default/linux/amd64/17.1. Reproducible: Always Steps to Reproduce: 1. emerge net-libs/ldns Actual Results: configure: error: cannot import Python module "distutils". Please check your Python installation. The error was: Traceback (most recent call last): File "<string>", line 1, in <module> ModuleNotFoundError: No module named 'distutils' !!! Please attach the following file when seeking support: !!! /var/tmp/portage/net-libs/ldns-1.8.3-r3/work/ldns-1.8.3-abi_x86_64.amd64/config.log * ERROR: net-libs/ldns-1.8.3-r3::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 136: Called src_configure * environment, line 3102: Called multilib-minimal_src_configure * environment, line 2109: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure' * environment, line 2359: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 2064: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 2062: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure' * environment, line 545: Called multilib-minimal_abi_src_configure * environment, line 2103: Called multilib_src_configure * environment, line 2586: Called econf '--disable-static' '--with-pyldns' '--with-pyldnsx' '--with-ssl=/usr' '--with-drill' '--without-examples' '--disable-rpath' * phase-helpers.sh, line 732: Called __helpers_die 'econf failed' * isolated-functions.sh, line 112: Called die * The specific snippet of code: * die "$@" * * If you need support, post the output of `emerge --info '=net-libs/ldns-1.8.3-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-libs/ldns-1.8.3-r3::gentoo'`. * The complete build log is located at '/var/tmp/portage/net-libs/ldns-1.8.3-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-libs/ldns-1.8.3-r3/temp/environment'. * Working directory: '/var/tmp/portage/net-libs/ldns-1.8.3-r3/work/ldns-1.8.3-abi_x86_64.amd64' * S: '/var/tmp/portage/net-libs/ldns-1.8.3-r3/work/ldns-1.8.3' * Messages for package net-libs/ldns-1.8.3-r3: * ERROR: net-libs/ldns-1.8.3-r3::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 136: Called src_configure * environment, line 3102: Called multilib-minimal_src_configure * environment, line 2109: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure' * environment, line 2359: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 2064: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 2062: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure' * environment, line 545: Called multilib-minimal_abi_src_configure * environment, line 2103: Called multilib_src_configure * environment, line 2586: Called econf '--disable-static' '--with-pyldns' '--with-pyldnsx' '--with-ssl=/usr' '--with-drill' '--without-examples' '--disable-rpath' * phase-helpers.sh, line 732: Called __helpers_die 'econf failed' * isolated-functions.sh, line 112: Called die * The specific snippet of code: * die "$@" * * If you need support, post the output of `emerge --info '=net-libs/ldns-1.8.3-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-libs/ldns-1.8.3-r3::gentoo'`. * The complete build log is located at '/var/tmp/portage/net-libs/ldns-1.8.3-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-libs/ldns-1.8.3-r3/temp/environment'. * Working directory: '/var/tmp/portage/net-libs/ldns-1.8.3-r3/work/ldns-1.8.3-abi_x86_64.amd64' * S: '/var/tmp/portage/net-libs/ldns-1.8.3-r3/work/ldns-1.8.3' ********** emerge --info '=net-libs/ldns-1.8.3-r3::gentoo' Does not fit. Should I attach as file? ********** emerge -pqv '=net-libs/ldns-1.8.3-r3::gentoo' U net-libs/ldns 1.8.3-r3 [1.8.3-r1]
Created attachment 895154 [details] complete build log
The same error on the first try, but if you first upgrade everything else and then reboot, it compiles fine.
We just need to add a dependency on dev-python/setuptools.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d31b50299ed4f0500b09539ec50531af5e1e62ca commit d31b50299ed4f0500b09539ec50531af5e1e62ca Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2024-06-06 15:01:40 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2024-06-06 15:03:05 +0000 net-libs/ldns: depend on dev-python/setuptools Closes: https://bugs.gentoo.org/933604 Signed-off-by: Mike Gilbert <floppym@gentoo.org> net-libs/ldns/ldns-1.8.3-r3.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
Fixed upstream by updating autoconf-archive so that distutils is no longer required.