Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 736631

Summary: sys-auth/pambase-20200806: broken python_check_deps
Product: Gentoo Linux Reporter: David Michael <fedora.dm0>
Component: Current packagesAssignee: Mikle Kolyada (RETIRED) <zlogene>
Status: RESOLVED FIXED    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description David Michael 2020-08-10 13:49:39 UTC
The python_check_deps function should be using "has_version -b" to test the BDEPEND dependency.  As is, it's trying to test for the cross-compiled Python version, which has no DEPEND declaration.

Reproducible: Always

Steps to Reproduce:
1. ACCEPT_KEYWORDS=~* cross-emerge -v sys-auth/pambase

Actual Results:  
 * ERROR: sys-auth/pambase-20200806::gentoo failed (setup phase):
 *   No supported Python implementation installed.

Expected Results:  
It should build and install.
Comment 1 Larry the Git Cow gentoo-dev 2020-08-10 16:23:03 UTC
The bug has been closed via the following commit(s):

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

commit 98430a2917ae06a3dd6fec59f559442be94373c1
Author:     Mikle Kolyada <zlogene@gentoo.org>
AuthorDate: 2020-08-10 16:22:20 +0000
Commit:     Mikle Kolyada <zlogene@gentoo.org>
CommitDate: 2020-08-10 16:22:58 +0000

    sys-auth/pambase: fix cross-install
    
    Closes: https://bugs.gentoo.org/736631
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>

 sys-auth/pambase/pambase-20200806.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)