Making install in avahi make[2]: Entering directory `/var/tmp/portage/net-dns/avahi-0.6.30-r2/work/avahi-0.6.30/avahi-python/avahi' make[3]: Entering directory `/var/tmp/portage/net-dns/avahi-0.6.30-r2/work/avahi-0.6.30/avahi-python/avahi' make[3]: Nothing to be done for `install-exec-am'. test -z "/usr/lib/python2.7/site-packages/avahi" || /bin/mkdir -p "/var/tmp/portage/net-dns/avahi-0.6.30-r2/image//usr/lib/python2.7/site-packages/avahi" test -z "/usr/lib/python2.7/site-packages/avahi" || /bin/mkdir -p "/var/tmp/portage/net-dns/avahi-0.6.30-r2/image//usr/lib/python2.7/site-packages/avahi" /usr/bin/install -c ServiceTypeDatabase.py '/var/tmp/portage/net-dns/avahi-0.6.30-r2/image//usr/lib/python2.7/site-packages/avahi' /usr/bin/install -c -m 644 __init__.py '/var/tmp/portage/net-dns/avahi-0.6.30-r2/image//usr/lib/python2.7/site-packages/avahi' /bin/true: /bin/true: cannot execute binary file make[3]: *** [install-avahiPYTHON] Error 126 Appears to be because ebuild uses emake install py_compile=true DESTDIR="${D}" || die "make install failed" but Makefile has am__py_compile = PYTHON=$(PYTHON) $(SHELL) $(py_compile) so it's trying to invoke /bin/sh /bin/true, which is invalid. Suggest changing py_compile=true to py_compile='-c :'.
note: I'm using an overlay ebuild for Bug 397477.
*** This bug has been marked as a duplicate of bug 397477 ***
Are you sure this is a duplicate? It doesn't seem to be related to that issue.