Just stucked on this and wasted some valuable time for nothing... Python set up is at fault here: system python is set to 2.3, system targets is set to PYTHON_TARGETS="python{2_7,3_}" and setup.py fails badly for not finding appropriate python modules. Here is the output: --- [ebuild R ] app-portage/layman-2.3.0::gentoo USE="git squashfs subversion sync-plugin-portage -bazaar -cvs -darcs -g-sorcery -gpg -mercurial {-test}" PYTHON_TARGETS="python3_3 -pypy -python2_7 -python3_4" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB >>> Verifying ebuild manifests >>> Running pre-merge checks for app-portage/layman-2.3.0 * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/3.18.9-git/build * Found sources for kernel version: * 3.18.9-git * Checking for suitable kernel configuration options... [ ok ] >>> Emerging (1 of 1) app-portage/layman-2.3.0::gentoo * layman-2.3.0.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> cfg-update-1.8.2-r1: Creating checksum index... * Using ld.bfd linker * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/3.18.9-git/build * Found sources for kernel version: * 3.18.9-git * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... >>> Unpacking layman-2.3.0.tar.gz to /var/tmp/portage/app-portage/layman-2.3.0/work >>> Source unpacked in /var/tmp/portage/app-portage/layman-2.3.0/work >>> Preparing source in /var/tmp/portage/app-portage/layman-2.3.0/work/layman-2.3.0 ... python setup.py setup_plugins !!! Layman API imports failed.Traceback (most recent call last): File "setup.py", line 12, in <module> from layman.version import VERSION File "./layman/__init__.py", line 13, in <module> from layman.api import LaymanAPI File "./layman/api.py", line 25, in <module> from layman.remotedb import RemoteDB File "./layman/remotedb.py", line 46, in <module> from sslfetch.connections import Connector ImportError: No module named sslfetch.connections * ERROR: app-portage/layman-2.3.0::gentoo failed (prepare phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_prepare * environment, line 4498: Called distutils-r1_src_prepare * environment, line 1376: Called python_prepare_all * environment, line 4245: Called esetup.py 'setup_plugins' * environment, line 1833: Called die * The specific snippet of code: * "${@}" || die --- There is nothing interesting in the eclass log; surveyed quickly the environment file and the USE has only python_targets_python3_3. So, either python set up is not properly done in the ebuild or the eclass is at fault here. Stopping the investigation here. Thanks! NOTE: Merging does work when system python is set 3.3 (required target.) Reproducible: Always
+ 25 Jun 2015; Mike Gilbert <floppym@gentoo.org> layman-2.3.0.ebuild, + layman-9999.ebuild: + Call python_setup before esetup.py in python_prepare_all, bug 552906.