Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 398209 - net-dns/avahi-0.6.30-r2 USE=python install failure: /bin/true: cannot execute binary file
Summary: net-dns/avahi-0.6.30-r2 USE=python install failure: /bin/true: cannot execute...
Status: RESOLVED DUPLICATE of bug 397477
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-09 02:05 UTC by Ed Catmur
Modified: 2012-01-10 18:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Catmur 2012-01-09 02:05:36 UTC
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 :'.
Comment 1 Ed Catmur 2012-01-09 02:07:04 UTC
note: I'm using an overlay ebuild for Bug 397477.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-01-10 15:21:29 UTC

*** This bug has been marked as a duplicate of bug 397477 ***
Comment 3 Ed Catmur 2012-01-10 18:58:33 UTC
Are you sure this is a duplicate?  It doesn't seem to be related to that issue.