Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 395255 - Stupidity when trying to emerge mercurial on pypy
Summary: Stupidity when trying to emerge mercurial on pypy
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Dirkjan Ochtman (RETIRED)
URL:
Whiteboard:
Keywords:
: 403807 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-12-19 10:31 UTC by Dirkjan Ochtman (RETIRED)
Modified: 2013-08-20 12:36 UTC (History)
6 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 Dirkjan Ochtman (RETIRED) gentoo-dev 2011-12-19 10:31:12 UTC
> Please rebuild dev-python/pypy:1.7 with the following USE flags enabled: threads

Problems with this:

- pypy doesn't have a threads USE flag; should it grow one?
- the error seems to be thrown even when the mercurial ebuild restricts pypy ABI
Comment 1 Arfrever Frehtes Taifersar Arahesis 2011-12-19 21:29:33 UTC
Does build system of PyPy allow to disable support for threads?
(CPython has --without-threads option.)

(Actually python_pkg_setup() doesn't check USE flags for Python versions for restricted Python ABIs.)
Comment 2 Arfrever Frehtes Taifersar Arahesis 2011-12-19 21:31:26 UTC
If you temporarily remove PYTHON_USE_WITH="threads", then does installation of Mercurial for PyPy work? Does Mercurial work at run time with PyPy?
Comment 3 Dirkjan Ochtman (RETIRED) gentoo-dev 2011-12-20 08:45:30 UTC
Mercurial's test suite doesn't pass on pypy, although some things work.
Comment 4 Arfrever Frehtes Taifersar Arahesis 2012-01-01 01:01:23 UTC
I have fixed this bug in Progress Overlay in r863.
Comment 5 Krzysztof Pawlik (RETIRED) gentoo-dev 2012-02-15 17:54:11 UTC
*** Bug 403807 has been marked as a duplicate of this bug. ***
Comment 6 Nikolaj Šujskij 2013-04-03 18:01:41 UTC
Is this still relevant? With new eclass etc?
Comment 7 Dirkjan Ochtman (RETIRED) gentoo-dev 2013-05-06 09:12:26 UTC
I don't know. Does someone who has pypy installed want to test and report back?
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-07-22 07:03:55 UTC
PyPy has threads unconditionally on. So REQ_USE shall be 'threads(+)' for PyPy compat.
Comment 9 Nikolaj Šujskij 2013-08-20 11:34:09 UTC
Mercurial doesn't support PyPy, PyPy doesn't claim that Mercurial works with it. After migration to new eclass mercurial won't be built for PyPy, so I suggest closing as INVALID. REQ_USE='threads(+)' would be a nice optional bonus.
Comment 10 Dirkjan Ochtman (RETIRED) gentoo-dev 2013-08-20 11:53:36 UTC
Good call. Please file a separate bug about the REQ_USE thing (with patch?) with a little more elaborate justification?
Comment 11 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-08-20 12:36:36 UTC
(In reply to Dirkjan Ochtman from comment #10)
> Good call. Please file a separate bug about the REQ_USE thing (with patch?)
> with a little more elaborate justification?

Well, if pypy is disabled, there's no point for (+) in REQ_USE.