Have a trivial ebuild: --------- pyrtm-0.4.2.ebuild # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header$ EAPI="5" PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} pypy ) inherit distutils-r1 DESCRIPTION="Remember The Milk API" HOMEPAGE="https://pypi.python.org/pypi/pyrtm/ http://bitbucket.org/srid/pyrtm/" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.bz2" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" --------- There is a catch: The distfile contains a setup.cfg that confuses setuptools, causing a failure. --------- setup.cfg [build] build-base = _build [sdist] formats = bztar [egg_info] tag_build = tag_date = 0 tag_svn_revision = 0 --------- Simply removing this setup.cfg leads to the compile phase completing. --------- failure log >>> Compiling source in /dev/shm/portage/dev-python/pyrtm-0.4.2/work/pyrtm-0.4.2 ... * python3_3: running distutils-r1_run_phase distutils-r1_python_compile /usr/bin/python3.3 setup.py build running build running build_py creating /dev/shm/portage/dev-python/pyrtm-0.4.2/work/pyrtm-0.4.2-python3_3/lib creating /dev/shm/portage/dev-python/pyrtm-0.4.2/work/pyrtm-0.4.2-python3_3/lib/rtm copying src/rtm/rtm.py -> /dev/shm/portage/dev-python/pyrtm-0.4.2/work/pyrtm-0.4.2-python3_3/lib/rtm copying src/rtm/__init__.py -> /dev/shm/portage/dev-python/pyrtm-0.4.2/work/pyrtm-0.4.2-python3_3/lib/rtm copying src/rtm/consts.py -> /dev/shm/portage/dev-python/pyrtm-0.4.2/work/pyrtm-0.4.2-python3_3/lib/rtm creating /dev/shm/portage/dev-python/pyrtm-0.4.2/work/pyrtm-0.4.2-python3_3/lib/rtm/samples copying src/rtm/samples/__init__.py -> /dev/shm/portage/dev-python/pyrtm-0.4.2/work/pyrtm-0.4.2-python3_3/lib/rtm/samples copying src/rtm/samples/app.py -> /dev/shm/portage/dev-python/pyrtm-0.4.2/work/pyrtm-0.4.2-python3_3/lib/rtm/samples running egg_info writing /dev/shm/portage/dev-python/pyrtm-0.4.2/work/pyrtm-0.4.2-python3_3/pyrtm.egg-info/PKG-INFO writing dependency_links to /dev/shm/portage/dev-python/pyrtm-0.4.2/work/pyrtm-0.4.2-python3_3/pyrtm.egg-info/dependency_links.txt writing entry points to /dev/shm/portage/dev-python/pyrtm-0.4.2/work/pyrtm-0.4.2-python3_3/pyrtm.egg-info/entry_points.txt writing top-level names to /dev/shm/portage/dev-python/pyrtm-0.4.2/work/pyrtm-0.4.2-python3_3/pyrtm.egg-info/top_level.txt writing requirements to /dev/shm/portage/dev-python/pyrtm-0.4.2/work/pyrtm-0.4.2-python3_3/pyrtm.egg-info/requires.txt reading manifest file '/dev/shm/portage/dev-python/pyrtm-0.4.2/work/pyrtm-0.4.2-python3_3/pyrtm.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file '/dev/shm/portage/dev-python/pyrtm-0.4.2/work/pyrtm-0.4.2-python3_3/pyrtm.egg-info/SOURCES.txt' error: Error: setup script specifies an absolute path: /dev/shm/portage/dev-python/pyrtm-0.4.2/work/pyrtm-0.4.2-python3_3/pyrtm.egg-info/SOURCES.txt setup() arguments must *always* be /-separated paths relative to the setup.py directory, *never* absolute paths. * ERROR: dev-python/pyrtm-0.4.2::usr-local failed (compile phase): * (no error message) * ---------
Apparently there has been no more reports, so I'm afraid attempting to solve this in a generic way is not worth the effort. As you said, you can remove the file (or just patch it).
what about inserting a notice in the eclass to speed-up debugging for ebuild writers?
Created attachment 558984 [details, diff] distutils-r1.eclass.patch