The problem is in python_prepare_all() : cp etc/keystone-paste.ini {PN}/tests/tmp/ || die It works if i remove this line, which i guess is not very important. I can't test with USE=-test, i dont know why. * Package: sys-auth/keystone-2014.1 * Repository: gentoo * Maintainer: prometheanfire@gentoo.org openstack@gentoo.org * USE: amd64 elibc_glibc kernel_linux mysql python_targets_python2_7 sqlite userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox cp: cannot create regular file ‘keystone/tests/tmp/’: Not a directory * ERROR: sys-auth/keystone-2014.1::gentoo failed (prepare phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_prepare * environment, line 3797: Called distutils-r1_src_prepare * environment, line 1128: Called python_prepare_all * environment, line 3644: Called die * The specific snippet of code: * cp etc/keystone-paste.ini ${PN}/tests/tmp/ || die; * * If you need support, post the output of `emerge --info '=sys-auth/keystone-2014.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-auth/keystone-2014.1::gentoo'`. * The complete build log is located at '/usr/unsecure/tmp/portage/sys-auth/keystone-2014.1/temp/build.log'. * The ebuild environment file is located at '/usr/unsecure/tmp/portage/sys-auth/keystone-2014.1/temp/environment'. * Working directory: '/usr/unsecure/tmp/portage/sys-auth/keystone-2014.1/work/keystone-2014.1' * S: '/usr/unsecure/tmp/portage/sys-auth/keystone-2014.1/work/keystone-2014.1'
fixed, the dir is in git but not the tarball, failfailfailfailfail