... creating /var/tmp/portage/dev-python/cython-0.24/work/Cython-0.24-python3_4/Cython.egg-info writing top-level names to /var/tmp/portage/dev-python/cython-0.24/work/Cython-0.24-python3_4/Cython.egg-info/top_level.txt writing /var/tmp/portage/dev-python/cython-0.24/work/Cython-0.24-python3_4/Cython.egg-info/PKG-INFO writing entry points to /var/tmp/portage/dev-python/cython-0.24/work/Cython-0.24-python3_4/Cython.egg-info/entry_points.txt writing dependency_links to /var/tmp/portage/dev-python/cython-0.24/work/Cython-0.24-python3_4/Cython.egg-info/dependency_links.txt writing manifest file '/var/tmp/portage/dev-python/cython-0.24/work/Cython-0.24-python3_4/Cython.egg-info/SOURCES.txt' reading manifest file '/var/tmp/portage/dev-python/cython-0.24/work/Cython-0.24-python3_4/Cython.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.pyx' under directory 'Cython/Debugger/Tests' warning: no files found matching '*.pxd' under directory 'Cython/Debugger/Tests' warning: no files found matching '*.h' under directory 'Cython/Debugger/Tests' warning: no files found matching '*.pxd' under directory 'Cython/Utility' writing manifest file '/var/tmp/portage/dev-python/cython-0.24/work/Cython-0.24-python3_4/Cython.egg-info/SOURCES.txt' Copying /var/tmp/portage/dev-python/cython-0.24/work/Cython-0.24-python3_4/Cython.egg-info to /var/tmp/portage/dev-python/cython-0.24/image/_python3.4/usr/lib64/python3.4/site-packages/Cython-0.24-py3.4.egg-info running install_scripts Installing cythonize script to /var/tmp/portage/dev-python/cython-0.24/image/_python3.4/usr/lib/python-exec/python3.4 Installing cython script to /var/tmp/portage/dev-python/cython-0.24/image/_python3.4/usr/lib/python-exec/python3.4 Installing cygdb script to /var/tmp/portage/dev-python/cython-0.24/image/_python3.4/usr/lib/python-exec/python3.4 * python3_4: running distutils-r1_run_phase python_install_all * ERROR: dev-python/cython-0.24::gentoo failed (install phase): * EXAMPLES are banned in EAPI 6 * * Call stack: * ebuild.sh, line 133: Called src_install * environment, line 4194: Called distutils-r1_src_install * environment, line 1063: Called _distutils-r1_run_common_phase 'python_install_all' * environment, line 304: Called _distutils-r1_run_foreach_impl 'python_install_all' * environment, line 318: Called python_foreach_impl 'distutils-r1_run_phase' 'python_install_all' * environment, line 3629: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_install_all' * environment, line 2706: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_install_all' * environment, line 2704: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_install_all' * environment, line 638: Called distutils-r1_run_phase 'python_install_all' * environment, line 1028: Called python_install_all * environment, line 3795: Called distutils-r1_python_install_all * environment, line 968: Called die * The specific snippet of code: * [[ ${EAPI} != [45] ]] && die "EXAMPLES are banned in EAPI ${EAPI}"; * * If you need support, post the output of `emerge --info '=dev-python/cython-0.24::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/cython-0.24::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-python/cython-0.24/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/cython-0.24/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/cython-0.24/work/Cython-0.24' * S: '/var/tmp/portage/dev-python/cython-0.24/work/Cython-0.24' Reproducible: Always
*** Bug 586398 has been marked as a duplicate of this bug. ***
I can confirm this behavior. The obvious workaround is to disable the examples USE flag but it should probably be dropped appropriately from the ebuild.
Alternatively, we could unban EXAMPLES; it doesn't seem like any explanation was given for banning it in the first place. commit 35486c204403152df48ee25c05b35764952efe40 Author: Michał Górny <mgorny@gentoo.org> Date: Wed Nov 18 22:57:04 2015 +0100 distutils-r1.eclass: Ban EXAMPLES in EAPI 6
It was given, just not in this commit message. The point was to sync src_install to the default and avoid custom extensions.
commit 3cd13aecec20a62bc33dec4004990e32b47ded49 Author: Mike Gilbert <floppym@gentoo.org> Date: Mon Jun 20 14:41:04 2016 -0400 dev-python/cython: drop EXAMPLES code Use of the EXAMPLES variable has been banned in distutils-r1.eclass. Bug: https://bugs.gentoo.org/586368 Package-Manager: portage-2.3.0_rc1_p27 dev-python/cython/cython-0.24.ebuild | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)