Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 698308 - >=net-libs/nodejs-13.0.0 - PYTHON_REQ_USE=threads prevents python-any-r1.eclass from selecting Python 3.7
Summary: >=net-libs/nodejs-13.0.0 - PYTHON_REQ_USE=threads prevents python-any-r1.ecla...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2019-10-23 02:55 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2019-11-06 08:48 UTC (History)
0 users

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 Arfrever Frehtes Taifersar Arahesis 2019-10-23 02:55:09 UTC
Ebuilds have:
PYTHON_REQ_USE="threads"

This means that python-any-r1.eclass would search for a Python implementation installed with USE="threads".
However >=dev-lang/python-3.7 does not "threads" USE flag.

Fix:
-PYTHON_REQ_USE="threads"
+PYTHON_REQ_USE="threads(+)"
Comment 1 Larry the Git Cow gentoo-dev 2019-10-23 08:19:49 UTC
The bug has been referenced in the following commit(s):

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

commit 323440daf06ac6a92d31608ec8d34e4326ec4899
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2019-10-23 08:19:16 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2019-10-23 08:19:46 +0000

    net-libs/nodejs: Set PYTHON_REQ_USE="threads(+)"
    
    Package-Manager: Portage-2.3.77, Repoman-2.3.17
    Bug: https://bugs.gentoo.org/698308
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 net-libs/nodejs/{nodejs-13.0.0.ebuild => nodejs-13.0.0-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)