Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 567106 - dev-lang/python-{2.7.10-r1,3.4.3} fail to install: "python_do* and python_new* helpers are banned in EAPIs older than 5"
Summary: dev-lang/python-{2.7.10-r1,3.4.3} fail to install: "python_do* and python_new...
Status: RESOLVED DUPLICATE of bug 567084
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal critical with 4 votes (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-29 15:29 UTC by Osiris
Modified: 2015-12-25 20:02 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
`emerge --info` (emerge-info.txt,5.60 KB, text/plain)
2015-11-29 15:29 UTC, Osiris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Osiris 2015-11-29 15:29:50 UTC
Created attachment 418146 [details]
`emerge --info`

dev-lang/python-3.4.3 fails to install, because it's using the `python_domodule` function in src_install, while being an EAPI 4 ebuild. And according to a commit to python-utils-r1.eclass (https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=423c27482ef4998530d6133609fbee3050f18050), all python_do* and python_new* helpers are banned in EAPIs < 5.

Therefore, the dev-lang/python-3.4.3 ebuild, which was marked stable six days /after/ the above commit (https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f35f3fa7f0f1c7ffbfcc693eab6110991131173b), doesn't install anymore.

Actual error message is:

> * ERROR: dev-lang/python-3.4.3::gentoo failed (install phase):
> *   python_do* and python_new* helpers are banned in EAPIs older than 5.
> *
> * Call stack:
> *     ebuild.sh, line   93:  Called src_install
> *   environment, line 4116:  Called python_domodule 'epython.py'
> *   environment, line 3302:  Called die
> * The specific snippet of code:
> *           die "python_do* and python_new* helpers are banned in EAPIs older than 5.";
Comment 1 Osiris 2015-11-29 16:17:41 UTC
Also, the ebuilds for python-2.7.10-r1, python-2.7.10-r3, python-3.3.5-r1, python-3.3.5-r2 and python-3.4.3-r2 are also affected.
Comment 2 Morton Pellung 2015-11-29 22:53:03 UTC
I see this also:

 * ERROR: dev-lang/python-2.7.10-r1::gentoo failed (install phase):
 *   python_do* and python_new* helpers are banned in EAPIs older than 5.
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_install
 *   environment, line 4155:  Called python_domodule 'epython.py'
 *   environment, line 3329:  Called die
 * The specific snippet of code:
 *           die "python_do* and python_new* helpers are banned in EAPIs older than 5.";


...this is on a brand-new from-scratch installation.
Comment 3 Morton Pellung 2015-11-29 23:02:04 UTC
one more info, rebuild of python is triggered by addition of sqlite flag:

Calculating dependencies... done!
[ebuild   R    ] dev-lang/python-2.7.10-r1:2.7::gentoo  USE="gdbm ipv6 ncurses readline sqlite* ssl threads (wide-unicode) xml (-berkdb) -build -doc -examples -hardened -tk -wininst" 0 KiB
[ebuild  N     ] dev-python/enum34-1.0::gentoo  USE="-doc" PYTHON_TARGETS="python2_7 (-pypy) (-pypy3) -python3_3" 0 KiB
[ebuild   R    ] dev-lang/python-3.4.3:3.4::gentoo  USE="gdbm ipv6 ncurses readline sqlite* ssl threads xml -build -examples -hardened -tk -wininst" 0 KiB
[...]

...and the same emerge/build script worked a few days ago, so something changed in the last days :-/
Comment 4 Starbuck Johnson 2015-11-29 23:05:14 UTC
I just tried to setup a new install (my first Gentoo install in fact) in a VM and on a netbook and both had the same exact failure when attempting to update dev-lang/python-2.7.10.
Comment 5 Mike Gilbert gentoo-dev 2015-11-30 00:45:36 UTC

*** This bug has been marked as a duplicate of bug 567084 ***