Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 891745 - sys-auth/nss-pam-ldapd-0.9.12-r2: No supported Python implementation in PYTHON_TARGETS
Summary: sys-auth/nss-pam-ldapd-0.9.12-r2: No supported Python implementation in PYTHO...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-22 16:39 UTC by Daniel M. Weeks
Modified: 2024-01-14 04:18 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel M. Weeks 2023-01-22 16:39:52 UTC
Previously this same version worked building with PYTHON_TARGETS="" and USE=-utils but now that is not possible.

It looks like this may have been introduced in the EAPI 7->8 update recently:

 src_prepare() {
 	default
-	use utils && python_setup
+

https://github.com/gentoo/gentoo/commit/2a32fc2c682df44bea4cb0661c719765ee081a40

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2024-01-14 04:18:08 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8e57b37d64f0846e166836533c7e0a0cfb37628

commit a8e57b37d64f0846e166836533c7e0a0cfb37628
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-01-14 04:17:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-14 04:17:21 +0000

    sys-auth/nss-pam-ldapd: fix Python REQUIRED_USE
    
    The package appears to need Python at build-time too so fix REQUIRED_USE
    accordingly per https://projects.gentoo.org/python/guide/multi.html#additional-build-time-python-use.
    
    Note that I've not investigated if it really does use Python at build-time,
    just making things consistent here.
    
    Bug: https://bugs.gentoo.org/891745
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild | 3 ++-
 sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-14 04:18:24 UTC
I'll leave the bug open for now if you think it should build fine without Python but not checked at all.