Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 736631 - sys-auth/pambase-20200806: broken python_check_deps
Summary: sys-auth/pambase-20200806: broken python_check_deps
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-10 13:49 UTC by David Michael
Modified: 2020-08-11 06:25 UTC (History)
1 user (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 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(-)