Created attachment 370924 [details] build.log There's a problem with the solution to Bug #500460: it doesn't work on AMD64 systems and causes dev-python/pyfits-3.2 to fail to install. Specially, this loop in the ebuild: for binary in "${ED}"/usr/bin/* "${ED}"/usr/$(get_libdir)/python-exec/*/* do mv ${binary}{,-${PN}} || die "failed renaming" done Causes $binary to be ${ED}/usr/lib64/python-exec/*/* (with literal astericks), since it doesn't match the files installed in $ED/usr/lib/python-exec I'm attaching the build log and the file structure in $ED to clarify. I'm not sure if this is a distutils-r1 or python-r1 bug (for not using get_libdir) or with the pyfits ebuild itself.
Created attachment 370926 [details] List of files in $ED
+ 26 Feb 2014; Sébastien Fabbro <bicatali@gentoo.org> pyfits-3.2.ebuild: + Use scriptdir for python execs +