| Summary: | dev-python/pypy-bin-7.0.0-r1 - Compiling .../image/usr/lib/pypy2.7/lib-python/2.7/lib2to3/tests/data/py3_test_grammar.py ... File "/usr/lib/pypy2.7/lib-python/2.7/lib2to3/tests/data/py3_test_grammar.py", line 130 x = ... ^ SyntaxError: inval | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jan Ziak (atomsymbol) <0xe2.0x9a.0x9b> |
| Component: | Current packages | Assignee: | Python Gentoo Team <python> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | build.log | ||
Cause: /usr/bin/emerge is running under pypy-bin while pypy-bin it is being updated.
Symptom:
$ pypy /usr/bin/emerge
Traceback (most recent call last):
File "/usr/bin/emerge", line 86, in <module>
exec(data, new_globals)
File "<string>", line 42, in <module>
ImportError: No module named portage
Solution 1: Run "/usr/bin/emerge sys-apps/portage" to re-emerge portage, assuming "pypy" is in PYTHON_TARGETS of sys-apps/portage. Avoid running "pypy /usr/bin/emerge ..." until packages are updated from pypy-bin-6.0.0 to pypy-bin-7.0.0.
Solution 2 (hypothetical): Detect that /usr/bin/emerge is running under pypy, refuse to update pypy-bin, and describe the problem to the user who then re-runs /usr/bin/emerge under python2.7 and not under pypy.
It is gone. |
Created attachment 565564 [details] build.log Installation fails.