Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933604 - net-libs/ldns-1.8.3-r3[python_targets_python3_12]: missing setuptools depency: ModuleNotFoundError: No module named 'distutils'
Summary: net-libs/ldns-1.8.3-r3[python_targets_python3_12]: missing setuptools depency...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Marc Schiffbauer
URL: https://bugs.gentoo.org/933481
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-05 10:58 UTC by Lars
Modified: 2024-06-10 00:40 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
complete build log (build.log,12.15 KB, text/x-log)
2024-06-05 11:00 UTC, Lars
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars 2024-06-05 10:58:12 UTC
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]
Comment 1 Lars 2024-06-05 11:00:02 UTC
Created attachment 895154 [details]
complete build log
Comment 2 Jouni Rinne 2024-06-06 08:09:23 UTC
The same error on the first try, but if you first upgrade everything else and then reboot, it compiles fine.
Comment 3 Mike Gilbert gentoo-dev 2024-06-06 14:52:47 UTC
We just need to add a dependency on dev-python/setuptools.
Comment 4 Larry the Git Cow gentoo-dev 2024-06-06 15:03:22 UTC
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(-)
Comment 5 Eli Schwartz gentoo-dev 2024-06-10 00:40:45 UTC
Fixed upstream by updating autoconf-archive so that distutils is no longer required.